EN RO

Distance from Mogadishu to Shanghai

Straight line

8,576 km
5,329 mi · 4,631 NM

By road

8,558 km
5,318 mi

Travel time

103 h 40 min
flight ≈ 11 h 13 min

Direction

ENE 58°
initial bearing

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

How far is Mogadishu from Shanghai?

Mogadishu (Somalia) and Shanghai (China) are very far apart: 8,576 km in a straight line, that is 5,329 miles or 4,631 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.

By road, Mogadishu to Shanghai is 8,558 km (5,318 miles), about 103 h 40 min by car on the fastest route, without traffic or stops. The road follows the straight line closely.

From Mogadishu, Shanghai lies to the north-east (initial bearing 58°). The route crosses from Somalia into China. The halfway point is at 20.7377°, 79.9173°.

A direct flight would take about 11 h 13 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 Mogadishu from Shanghai?

By road it is 8,558 km (5,318 miles) from Mogadishu to Shanghai; in a straight line it is 8,576 km (5,329 miles).

How long is the drive from Mogadishu to Shanghai?

About 103 h 40 min on the fastest route (8,558 km), without traffic or stops.

In which direction is Shanghai from Mogadishu?

Shanghai is to the north-east of Mogadishu, at an initial bearing of 58°.

How long is the flight from Mogadishu to Shanghai?

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