EN RO

Distance from Mexico City to Madrid

Straight line

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

By road

777 km
483 mi

Travel time

9 h
flight ≈ 11 h 51 min

Direction

NE 50°
initial bearing

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

How far is Mexico City from Madrid?

Mexico City (Mexico) and Madrid (Spain) 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, Mexico City to Madrid is 777 km (483 miles), about 9 h by car on the fastest route, without traffic or stops. The road follows the straight line closely.

From Mexico City, Madrid lies to the north-east (initial bearing 50°). The route crosses from Mexico into Spain. 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 Mexico City from Madrid?

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

How long is the drive from Mexico City to Madrid?

About 9 h on the fastest route (777 km), without traffic or stops.

In which direction is Madrid from Mexico City?

Madrid is to the north-east of Mexico City, at an initial bearing of 50°.

How long is the flight from Mexico City to Madrid?

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.