Air Miles Calculator logo

How far is Shanghai from Madrid?

The distance between Madrid (Adolfo Suárez Madrid–Barajas Airport) and Shanghai (Shanghai Pudong International Airport) is 6394 miles / 10290 kilometers / 5556 nautical miles.

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

Distance arrow
6394
Miles
Distance arrow
10290
Kilometers
Distance arrow
5556
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)
  • 6393.933 miles
  • 10290.037 kilometers
  • 5556.175 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
  • 6380.522 miles
  • 10268.455 kilometers
  • 5544.522 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 Pudong International Airport is 12 hours and 36 minutes.

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

On average, flying from Madrid to Shanghai generates about 770 kg of CO2 per passenger, and 770 kilograms equals 1 699 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 Pudong International Airport (PVG).

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 Pudong International Airport
City: Shanghai
Country: China Flag of China
IATA Code: PVG
ICAO Code: ZSPD
Coordinates: 31°8′36″N, 121°48′18″E