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