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