The calculated distance (air line) between Shāhpur and Agra is approximately 152 miles respectively 245 kilometers.
By car or train, the actual journey to Agra is certainly longer, as only the direct route (as the crow flies) between Shāhpur and Agra has been calculated here.