The calculated distance (air line) between Middelfart and Viborg is approximately 67 miles respectively 107 kilometers.
By car or train, the actual journey to Viborg is certainly longer, as only the direct route (as the crow flies) between Middelfart and Viborg has been calculated here.
Air line (approximately)
107 kilometers
58 nautical miles