Air Miles Calculator logo

How far is Shanghai from San Francisco, CA?

The distance between San Francisco (San Francisco International Airport) and Shanghai (Shanghai Hongqiao International Airport) is 6167 miles / 9925 kilometers / 5359 nautical miles.

San Francisco International Airport – Shanghai Hongqiao International Airport

Distance arrow
6167
Miles
Distance arrow
9925
Kilometers
Distance arrow
5359
Nautical miles

Search flights

Distance from San Francisco to Shanghai

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

Vincenty's formula (applied above)
  • 6167.405 miles
  • 9925.477 kilometers
  • 5359.329 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
  • 6154.639 miles
  • 9904.931 kilometers
  • 5348.235 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 San Francisco to Shanghai?

The estimated flight time from San Francisco International Airport to Shanghai Hongqiao International Airport is 12 hours and 10 minutes.

Flight carbon footprint between San Francisco International Airport (SFO) and Shanghai Hongqiao International Airport (SHA)

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

Map of flight path from San Francisco to Shanghai

See the map of the shortest flight path between San Francisco International Airport (SFO) and Shanghai Hongqiao International Airport (SHA).

Airport information

Origin San Francisco International Airport
City: San Francisco, CA
Country: United States Flag of United States
IATA Code: SFO
ICAO Code: KSFO
Coordinates: 37°37′8″N, 122°22′30″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