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