Air Miles Calculator logo

How far is Shanghai from Madrid?

The distance between Madrid (Adolfo Suárez Madrid–Barajas Airport) and Shanghai (Shanghai Hongqiao International Airport) is 6374 miles / 10257 kilometers / 5539 nautical miles.

Adolfo Suárez Madrid–Barajas Airport – Shanghai Hongqiao International Airport

Distance arrow
6374
Miles
Distance arrow
10257
Kilometers
Distance arrow
5539
Nautical miles

Search flights

Distance from Madrid to Shanghai

There are several ways to calculate the distance from Madrid to Shanghai. Here are two standard methods:

Vincenty's formula (applied above)
  • 6373.710 miles
  • 10257.492 kilometers
  • 5538.603 nautical miles

Vincenty's formula calculates the distance between latitude/longitude points on the earth's surface using an ellipsoidal model of the planet.

Haversine formula
  • 6360.319 miles
  • 10235.941 kilometers
  • 5526.966 nautical miles

The haversine formula calculates the distance between latitude/longitude points assuming a spherical earth (great-circle distance – the shortest distance between two points).

How long does it take to fly from Madrid to Shanghai?

The estimated flight time from Adolfo Suárez Madrid–Barajas Airport to Shanghai Hongqiao International Airport is 12 hours and 34 minutes.

Flight carbon footprint between Adolfo Suárez Madrid–Barajas Airport (MAD) and Shanghai Hongqiao International Airport (SHA)

On average, flying from Madrid to Shanghai generates about 768 kg of CO2 per passenger, and 768 kilograms equals 1 692 pounds (lbs). The figures are estimates and include only the CO2 generated by burning jet fuel.

Map of flight path from Madrid to Shanghai

See the map of the shortest flight path between Adolfo Suárez Madrid–Barajas Airport (MAD) and Shanghai Hongqiao International Airport (SHA).

Airport information

Origin Adolfo Suárez Madrid–Barajas Airport
City: Madrid
Country: Spain Flag of Spain
IATA Code: MAD
ICAO Code: LEMD
Coordinates: 40°29′36″N, 3°34′0″W
Destination Shanghai Hongqiao International Airport
City: Shanghai
Country: China Flag of China
IATA Code: SHA
ICAO Code: ZSSS
Coordinates: 31°11′52″N, 121°20′9″E