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