Distance from Shanghai to Madrid
Straight line
By road
Travel time
Direction
Open in the calculator (stops, directions, fuel cost) → Madrid → Shanghai
How far is Shanghai from Madrid?
Shanghai (China) and Madrid (Spain) are very far apart: 10,277 km in a straight line, that is 6,386 miles or 5,549 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.
By road, Shanghai to Madrid is 12,388 km (7,697 miles), about 144 h 37 min by car on the fastest route, without traffic or stops. The road is 21% longer than the straight line.
From Shanghai, Madrid lies to the north-west (initial bearing 321°). The route crosses from China into Spain. The halfway point is at 57.2983°, 65.2605°.
A direct flight would take about 13 h 21 min (800 km/h cruise plus take-off and landing). The road distance and driving time are calculated on the map from OpenStreetMap roads.
Other distances from Shanghai
- Shanghai – Kunshan 51 km
- Shanghai – Suzhou 83 km
- Shanghai – Changshu City 83 km
- Shanghai – Wuxi 118 km
- Shanghai – Ningbo 150 km
- Shanghai – Hangzhou 161 km
- Shanghai – Puyang 247 km
- Shanghai – Nanjing 270 km
- Shanghai – Hefei 402 km
Other distances from Madrid
- Madrid – Ciudad Lineal 5 km
- Madrid – Móstoles 17 km
- Madrid – Alcalá de Henares 30 km
- Madrid – Valladolid 162 km
- Madrid – Zaragoza 274 km
- Madrid – Gasteiz / Vitoria 284 km
- Madrid – Córdoba 296 km
- Madrid – Valencia 302 km
- Madrid – Bilbao 323 km
Frequently asked questions
How far is Shanghai from Madrid?
By road it is 12,388 km (7,697 miles) from Shanghai to Madrid; in a straight line it is 10,277 km (6,386 miles).
How long is the drive from Shanghai to Madrid?
About 144 h 37 min on the fastest route (12,388 km), without traffic or stops.
In which direction is Madrid from Shanghai?
Madrid is to the north-west of Shanghai, at an initial bearing of 321°.
How long is the flight from Shanghai to Madrid?
A direct flight would take about 13 h 21 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.