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