Air Miles Calculator logo

How far is Barcelona from San Francisco, CA?

The distance between San Francisco (San Francisco International Airport) and Barcelona (Barcelona–El Prat Airport) is 5970 miles / 9608 kilometers / 5188 nautical miles.

San Francisco International Airport – Barcelona–El Prat Airport

Distance arrow
5970
Miles
Distance arrow
9608
Kilometers
Distance arrow
5188
Nautical miles

Search flights

Distance from San Francisco to Barcelona

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

Vincenty's formula (applied above)
  • 5970.333 miles
  • 9608.319 kilometers
  • 5188.077 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
  • 5956.221 miles
  • 9585.609 kilometers
  • 5175.815 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 Barcelona?

The estimated flight time from San Francisco International Airport to Barcelona–El Prat Airport is 11 hours and 48 minutes.

Flight carbon footprint between San Francisco International Airport (SFO) and Barcelona–El Prat Airport (BCN)

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

Map of flight path from San Francisco to Barcelona

See the map of the shortest flight path between San Francisco International Airport (SFO) and Barcelona–El Prat Airport (BCN).

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 Barcelona–El Prat Airport
City: Barcelona
Country: Spain Flag of Spain
IATA Code: BCN
ICAO Code: LEBL
Coordinates: 41°17′49″N, 2°4′42″E