Air Miles Calculator logo

How far is Shanghai from Baku?

The distance between Baku (Heydar Aliyev International Airport) and Shanghai (Shanghai Hongqiao International Airport) is 3945 miles / 6349 kilometers / 3428 nautical miles.

The driving distance from Baku (GYD) to Shanghai (SHA) is 5280 miles / 8498 kilometers, and travel time by car is about 103 hours 54 minutes.

Heydar Aliyev International Airport – Shanghai Hongqiao International Airport

Distance arrow
3945
Miles
Distance arrow
6349
Kilometers
Distance arrow
3428
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)
  • 3945.309 miles
  • 6349.360 kilometers
  • 3428.380 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
  • 3936.890 miles
  • 6335.811 kilometers
  • 3421.064 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 Hongqiao International Airport is 7 hours and 58 minutes.

Flight carbon footprint between Heydar Aliyev International Airport (GYD) and Shanghai Hongqiao International Airport (SHA)

On average, flying from Baku to Shanghai generates about 450 kg of CO2 per passenger, and 450 kilograms equals 991 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 Hongqiao International Airport (SHA).

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 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