EN RO

Distance from Mexico City to Shanghai

Straight line

12,929 km
8,034 mi · 6,981 NM

By road

13,052 km
8,110 mi

Travel time

152 h 24 min
flight ≈ 16 h 40 min

Direction

NW 322°
initial bearing

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

How far is Mexico City from Shanghai?

Mexico City (Mexico) and Shanghai (China) are very far apart: 12,929 km in a straight line, that is 8,034 miles or 6,981 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.

By road, Mexico City to Shanghai is 13,052 km (8,110 miles), about 152 h 24 min by car on the fastest route, without traffic or stops. The road follows the straight line closely.

From Mexico City, Shanghai lies to the north-west (initial bearing 322°). The route crosses from Mexico into China. The halfway point is at 53.5268°, -161.3047°.

A direct flight would take about 16 h 40 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 Shanghai?

By road it is 13,052 km (8,110 miles) from Mexico City to Shanghai; in a straight line it is 12,929 km (8,034 miles).

How long is the drive from Mexico City to Shanghai?

About 152 h 24 min on the fastest route (13,052 km), without traffic or stops.

In which direction is Shanghai from Mexico City?

Shanghai is to the north-west of Mexico City, at an initial bearing of 322°.

How long is the flight from Mexico City to Shanghai?

A direct flight would take about 16 h 40 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.