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