The calculated distance (air line) between Besançon and Nancy is approximately 100 miles respectively 160 kilometers.
By car or train, the actual journey to Nancy is certainly longer, as only the direct route (as the crow flies) between Besançon and Nancy has been calculated here.