EN RO

Distance from Madrid to Mexico City

Straight line

9,077 km
5,640 mi · 4,901 NM

By road

780 km
485 mi

Travel time

8 h 59 min
flight ≈ 11 h 51 min

Direction

WNW 288°
initial bearing

Open in the calculator (stops, directions, fuel cost) → Mexico City → Madrid

How far is Madrid from Mexico City?

Madrid (Spain) and Mexico City (Mexico) are very far apart: 9,077 km in a straight line, that is 5,640 miles or 4,901 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.

By road, Madrid to Mexico City is 780 km (485 miles), about 8 h 59 min by car on the fastest route, without traffic or stops. The road follows the straight line closely.

From Madrid, Mexico City lies to the west (initial bearing 288°). The route crosses from Spain into Mexico. The halfway point is at 40.3503°, -58.1005°.

A direct flight would take about 11 h 51 min (800 km/h cruise plus take-off and landing). The road distance and driving time are calculated on the map from OpenStreetMap roads.

Frequently asked questions

How far is Madrid from Mexico City?

By road it is 780 km (485 miles) from Madrid to Mexico City; in a straight line it is 9,077 km (5,640 miles).

How long is the drive from Madrid to Mexico City?

About 8 h 59 min on the fastest route (780 km), without traffic or stops.

In which direction is Mexico City from Madrid?

Mexico City is to the west of Madrid, at an initial bearing of 288°.

How long is the flight from Madrid to Mexico City?

A direct flight would take about 11 h 51 min at an average cruising speed of 800 km/h.

How is the distance calculated?

The straight-line distance is computed on the WGS84 ellipsoid with the Vincenty formula, accurate to the metre. The road distance comes from OpenStreetMap roads.