The calculated distance (air line) between Esperanza and Mexico City is approximately 121 miles respectively 195 kilometers.
By car or train, the actual journey to Mexico City is certainly longer, as only the direct route (as the crow flies) between Esperanza and Mexico City has been calculated here.
Air line (approximately)
195 kilometers
105 nautical miles