# How far is San Francisco, CA, from Mexico City?

The distance between Mexico City (Mexico City International Airport) and San Francisco (San Francisco International Airport) is 1881 miles / 3027 kilometers / 1635 nautical miles.

The driving distance from Mexico City (MEX) to San Francisco (SFO) is 2274 miles / 3660 kilometers, and travel time by car is about 42 hours 34 minutes.

1881
Miles
3027
Kilometers
1635
Nautical miles
4 h 3 min
207 kg

## Distance from Mexico City to San Francisco

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

Vincenty's formula (applied above)
• 1881.019 miles
• 3027.207 kilometers
• 1634.561 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
• 1881.776 miles
• 3028.425 kilometers
• 1635.219 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 Mexico City to San Francisco?

The estimated flight time from Mexico City International Airport to San Francisco International Airport is 4 hours and 3 minutes.

## Flight carbon footprint between Mexico City International Airport (MEX) and San Francisco International Airport (SFO)

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

## Map of flight path and driving directions from Mexico City to San Francisco

See the map of the shortest flight path between Mexico City International Airport (MEX) and San Francisco International Airport (SFO).

## Airport information

Origin Mexico City International Airport
City: Mexico City
Country: Mexico
IATA Code: MEX
ICAO Code: MMMX
Coordinates: 19°26′10″N, 99°4′19″W
Destination San Francisco International Airport
City: San Francisco, CA
Country: United States
IATA Code: SFO
ICAO Code: KSFO
Coordinates: 37°37′8″N, 122°22′30″W