Air Miles Calculator logo

How far is San Francisco, CA, from Miami, FL?

The distance between Miami (Miami International Airport) and San Francisco (San Francisco International Airport) is 2585 miles / 4160 kilometers / 2246 nautical miles.

The driving distance from Miami (MIA) to San Francisco (SFO) is 3029 miles / 4875 kilometers, and travel time by car is about 54 hours 56 minutes.

Miami International Airport – San Francisco International Airport

Distance arrow
2585
Miles
Distance arrow
4160
Kilometers
Distance arrow
2246
Nautical miles

Search flights

Distance from Miami to San Francisco

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

Vincenty's formula (applied above)
  • 2585.017 miles
  • 4160.182 kilometers
  • 2246.319 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
  • 2580.995 miles
  • 4153.709 kilometers
  • 2242.823 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 Miami to San Francisco?

The estimated flight time from Miami International Airport to San Francisco International Airport is 5 hours and 23 minutes.

Flight carbon footprint between Miami International Airport (MIA) and San Francisco International Airport (SFO)

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

Map of flight path and driving directions from Miami to San Francisco

See the map of the shortest flight path between Miami International Airport (MIA) and San Francisco International Airport (SFO).

Airport information

Origin Miami International Airport
City: Miami, FL
Country: United States Flag of United States
IATA Code: MIA
ICAO Code: KMIA
Coordinates: 25°47′35″N, 80°17′26″W
Destination 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

Airlines flying from Miami (MIA) to San Francisco (SFO)

Alaska Airlines
American Airlines