Air Miles Calculator logo

How far is Barcelona from Mexico City?

The distance between Mexico City (Mexico City International Airport) and Barcelona (Barcelona–El Prat Airport) is 5900 miles / 9496 kilometers / 5127 nautical miles.

Mexico City International Airport – Barcelona–El Prat Airport

Distance arrow
5900
Miles
Distance arrow
9496
Kilometers
Distance arrow
5127
Nautical miles

Search flights

Distance from Mexico City to Barcelona

There are several ways to calculate the distance from Mexico City to Barcelona. Here are two standard methods:

Vincenty's formula (applied above)
  • 5900.451 miles
  • 9495.855 kilometers
  • 5127.352 nautical miles

Vincenty's formula calculates the distance between latitude/longitude points on the earth's surface using an ellipsoidal model of the planet.

Haversine formula
  • 5891.054 miles
  • 9480.732 kilometers
  • 5119.186 nautical miles

The haversine formula calculates the distance between latitude/longitude points assuming a spherical earth (great-circle distance – the shortest distance between two points).

How long does it take to fly from Mexico City to Barcelona?

The estimated flight time from Mexico City International Airport to Barcelona–El Prat Airport is 11 hours and 40 minutes.

Flight carbon footprint between Mexico City International Airport (MEX) and Barcelona–El Prat Airport (BCN)

On average, flying from Mexico City to Barcelona generates about 703 kg of CO2 per passenger, and 703 kilograms equals 1 550 pounds (lbs). The figures are estimates and include only the CO2 generated by burning jet fuel.

Map of flight path from Mexico City to Barcelona

See the map of the shortest flight path between Mexico City International Airport (MEX) and Barcelona–El Prat Airport (BCN).

Airport information

Origin Mexico City International Airport
City: Mexico City
Country: Mexico Flag of Mexico
IATA Code: MEX
ICAO Code: MMMX
Coordinates: 19°26′10″N, 99°4′19″W
Destination Barcelona–El Prat Airport
City: Barcelona
Country: Spain Flag of Spain
IATA Code: BCN
ICAO Code: LEBL
Coordinates: 41°17′49″N, 2°4′42″E