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