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