The calculated distance (air line) between Hamamatsu and Gifu-shi is approximately 74 miles respectively 120 kilometers.
By car or train, the actual journey to Gifu-shi is certainly longer, as only the direct route (as the crow flies) between Hamamatsu and Gifu-shi has been calculated here.