Air Miles Calculator logo

How far is Beijing from Shanghai?

The distance between Shanghai (Shanghai Hongqiao International Airport) and Beijing (Beijing Capital International Airport) is 668 miles / 1075 kilometers / 580 nautical miles.

The driving distance from Shanghai (SHA) to Beijing (PEK) is 757 miles / 1218 kilometers, and travel time by car is about 13 hours 51 minutes.

Shanghai Hongqiao International Airport – Beijing Capital International Airport

Distance arrow
668
Miles
Distance arrow
1075
Kilometers
Distance arrow
580
Nautical miles

Search flights

Distance from Shanghai to Beijing

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

Vincenty's formula (applied above)
  • 667.912 miles
  • 1074.901 kilometers
  • 580.400 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
  • 668.898 miles
  • 1076.487 kilometers
  • 581.257 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 Shanghai to Beijing?

The estimated flight time from Shanghai Hongqiao International Airport to Beijing Capital International Airport is 1 hour and 45 minutes.

What is the time difference between Shanghai and Beijing?

There is no time difference between Shanghai and Beijing.

Flight carbon footprint between Shanghai Hongqiao International Airport (SHA) and Beijing Capital International Airport (PEK)

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

Map of flight path and driving directions from Shanghai to Beijing

See the map of the shortest flight path between Shanghai Hongqiao International Airport (SHA) and Beijing Capital International Airport (PEK).

Airport information

Origin 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
Destination Beijing Capital International Airport
City: Beijing
Country: China Flag of China
IATA Code: PEK
ICAO Code: ZBAA
Coordinates: 40°4′48″N, 116°35′5″E