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