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