Air Miles Calculator logo

How far is Shanghai from Baku?

The distance between Baku (Heydar Aliyev International Airport) and Shanghai (Shanghai Pudong International Airport) is 3971 miles / 6391 kilometers / 3451 nautical miles.

The driving distance from Baku (GYD) to Shanghai (PVG) is 5311 miles / 8548 kilometers, and travel time by car is about 104 hours 32 minutes.

Heydar Aliyev International Airport – Shanghai Pudong International Airport

Distance arrow
3971
Miles
Distance arrow
6391
Kilometers
Distance arrow
3451
Nautical miles

Search flights

Distance from Baku to Shanghai

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

Vincenty's formula (applied above)
  • 3971.097 miles
  • 6390.862 kilometers
  • 3450.789 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
  • 3962.630 miles
  • 6377.235 kilometers
  • 3443.431 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 Baku to Shanghai?

The estimated flight time from Heydar Aliyev International Airport to Shanghai Pudong International Airport is 8 hours and 1 minutes.

Flight carbon footprint between Heydar Aliyev International Airport (GYD) and Shanghai Pudong International Airport (PVG)

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

Map of flight path and driving directions from Baku to Shanghai

See the map of the shortest flight path between Heydar Aliyev International Airport (GYD) and Shanghai Pudong International Airport (PVG).

Airport information

Origin Heydar Aliyev International Airport
City: Baku
Country: Azerbaijan Flag of Azerbaijan
IATA Code: GYD
ICAO Code: UBBB
Coordinates: 40°28′2″N, 50°2′48″E
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