Distance from Mogadishu to Shanghai

The great-circle distance between Mogadishu, Somalia and Shanghai, China is 8,571 km (5,326 mi · 4,628 nmi) — the shortest possible route over the Earth's surface, the path aircraft approximately follow.

The numbers
Great-circle distance
8,571 km · 5,326 mi · 4,628 nmi
Initial bearing Mogadishu → Shanghai
58° (ENE)
Initial bearing Shanghai → Mogadishu
264° (W)
Nonstop flight (rough estimate)
≈ 10 h 45 min
Time zones
Mogadishu UTC+03:00 · Shanghai UTC+08:00 (+5 h)
Sunrise gap today
305 min — the sun rises later in Mogadishu

Flight time is a cruise-speed approximation (no routing/wind); driving distance depends on roads and is typically 20–40% longer than great-circle.

The two cities
Mogadishu
2.0371, 45.3438
Sunrise / sunset today
02:49 UTC / 14:55 UTC
Shanghai
31.2222, 121.4581
Sunrise / sunset today
21:43 UTC / 09:52 UTC

Open in the distance calculator Find the halfway point

Distances here are straight-line (great-circle). Road routes typically run 1.2–1.4× longer — here's why, with the visual.