The calculated distance (air line) between Rāmpur and Gorakhpur is approximately 181 miles respectively 291 kilometers.
By car or train, the actual journey to Gorakhpur is certainly longer, as only the direct route (as the crow flies) between Rāmpur and Gorakhpur has been calculated here.