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