Distance from Madrid to Shanghai

Flying the shortest possible route, Shanghai lies 10,255 km (6,372 miles, 5,537 nautical miles) from Madrid — the great-circle distance between their coordinates.

The numbers
Great-circle distance
10,255 km · 6,372 mi · 5,537 nmi
Initial bearing Madrid → Shanghai
44° (NE)
Initial bearing Shanghai → Madrid
321° (NW)
Nonstop flight (rough estimate)
≈ 12 h 43 min
Time zones
Madrid UTC+01:00 · Shanghai UTC+08:00 (+7 h)
Sunrise gap today
517 min — the sun rises later in Madrid

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
Madrid
40.4165, -3.7026
Sunrise / sunset today
06:53 UTC / 17:06 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.