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