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