Distance from Rabat to Shanghai

The great-circle distance between Rabat, Morocco and Shanghai, China is 10,962 km (6,812 mi · 5,919 nmi) — the shortest possible route over the Earth's surface, the path aircraft approximately follow.

The numbers
Great-circle distance
10,962 km · 6,812 mi · 5,919 nmi
Initial bearing Rabat → Shanghai
43° (NE)
Initial bearing Shanghai → Rabat
319° (NW)
Nonstop flight (rough estimate)
≈ 13 h 33 min
Time zones
Rabat UTC+01:00 · Shanghai UTC+08:00 (+7 h)
Sunrise gap today
518 min — the sun rises later in Rabat

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
Rabat
34.0132, -6.8326
Sunrise / sunset today
06:54 UTC / 17:30 UTC
Shanghai
31.2222, 121.4581
Sunrise / sunset today
22:16 UTC / 09:02 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.