The calculated distance (air line) between Oberviechtach and Nürnberg is approximately 60 miles respectively 97 kilometers.
By car or train, the actual journey to Nürnberg is certainly longer, as only the direct route (as the crow flies) between Oberviechtach and Nürnberg has been calculated here.
Air line (approximately)
97 kilometers
52 nautical miles