Distance between Mexico City and San Francisco (straight line)
The straight-line distance between Mexico City (Mexico) and San Francisco (United States) is 1,888 miles (3,038 km), as the crow flies, measured from one city centre to the other. It is the shortest path over the Earth's surface; any road between them is longer.
Straight-line distance
1,888 miles
3,038 km · straight line
Heading from Mexico City
317° (northwest)
initial compass bearing to San Francisco
Flight time estimate, not a booking
~3 h 50 min
at about 800 km/h, in the air only
Straight-line (great-circle) distance, as the crow flies. The road distance is longer.
Mexico CitySan FranciscoThe line is the great circle: straight over the globe, curved on a flat map.
Measure your own two places
Pick any two cities, addresses or coordinates in the calculator, or start from where you are standing. It gives the same straight-line distance, in miles and kilometres.
Mexico City to San Francisco at a glance
- Straight-line distance
- 1,888 miles (3,038 km), as the crow flies
- Heading from Mexico City
- 317° (northwest) to San Francisco
- Heading from San Francisco
- 126° (southeast) to Mexico City
- Midpoint
- 29.1014° N, 109.7339° W, halfway along the straight line
- Flight time estimate, not a booking
- About 3 h 50 min in the air at a cruising speed of 800 km/h along the straight line. Take-off, landing, the real flight path and any stops add more.
- Mexico City, Mexico
- 19.4285° N, 99.1277° W (city centre)
- San Francisco, United States
- 37.7749° N, 122.4194° W (city centre)
Nearby city pairs
Other distances from Mexico City
- Mexico City to Miami1,283 miles
- Mexico City to Las Vegas1,511 miles
- Mexico City to Los Angeles1,548 miles
- Mexico City to Chicago1,689 miles
- Mexico City to Toronto2,029 miles
- Mexico City to New York2,087 miles
Other distances from San Francisco
- San Francisco to Los Angeles347 miles
- San Francisco to Las Vegas417 miles
- San Francisco to Houston1,643 miles
- San Francisco to Chicago1,854 miles
- San Francisco to Toronto2,263 miles
- San Francisco to New York2,566 miles
Questions
Is 1,888 miles (3,038 km) the driving distance from Mexico City to San Francisco?
No. 1,888 miles (3,038 km) is the straight-line distance between the two city centres, as the crow flies. A road route is always longer, because roads bend around terrain and water, and MapGO does not measure driving distance or travel time.
How is the distance between Mexico City and San Francisco measured?
Along a great circle: the shortest line over the Earth's surface, from Mexico City's centre (19.4285° N, 99.1277° W) to San Francisco's (37.7749° N, 122.4194° W). This is what "straight-line distance" and "as the crow flies" mean on a globe. On a flat map the line can look curved.
How accurate is this distance?
Within about 0.5% for the two centre points. The figure treats the Earth as a sphere (the haversine formula), while the real Earth is slightly flattened, which shifts a long straight-line distance by up to about 0.5%. Measuring from another part of either city changes it more, since a large city can be tens of kilometres across.
Computed by MapGO from each city's centre point (GeoNames) with the haversine formula. All distances on this page are straight lines over the Earth's surface, not road distances.