The calculated distance (air line) between Hamīrpur and Agra is approximately 157 miles respectively 252 kilometers.
By car or train, the actual journey to Agra is certainly longer, as only the direct route (as the crow flies) between Hamīrpur and Agra has been calculated here.