The calculated distance (air line) between Magenta and Florence is approximately 164 miles respectively 265 kilometers.
By car or train, the actual journey to Florence is certainly longer, as only the direct route (as the crow flies) between Magenta and Florence has been calculated here.