EN RO

Distance from Shanghai to Mecca

Straight line

8,045 km
4,999 mi · 4,344 NM

By road

9,558 km
5,939 mi

Travel time

117 h 30 min
flight ≈ 10 h 33 min

Direction

WNW 285°
initial bearing

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

How far is Shanghai from Mecca?

Shanghai (China) and Mecca (Saudi Arabia) are very far apart: 8,045 km in a straight line, that is 4,999 miles or 4,344 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.

By road, Shanghai to Mecca is 9,558 km (5,939 miles), about 117 h 30 min by car on the fastest route, without traffic or stops. The road is 19% longer than the straight line.

From Shanghai, Mecca lies to the west (initial bearing 285°). The route crosses from China into Saudi Arabia. The halfway point is at 33.1569°, 78.5448°.

A direct flight would take about 10 h 33 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 Shanghai from Mecca?

By road it is 9,558 km (5,939 miles) from Shanghai to Mecca; in a straight line it is 8,045 km (4,999 miles).

How long is the drive from Shanghai to Mecca?

About 117 h 30 min on the fastest route (9,558 km), without traffic or stops.

In which direction is Mecca from Shanghai?

Mecca is to the west of Shanghai, at an initial bearing of 285°.

How long is the flight from Shanghai to Mecca?

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