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