Air Miles Calculator logo

How far is San Francisco, CA, from Cody, WY?

The distance between Cody (Yellowstone Regional Airport) and San Francisco (San Francisco International Airport) is 843 miles / 1356 kilometers / 732 nautical miles.

The driving distance from Cody (COD) to San Francisco (SFO) is 1082 miles / 1741 kilometers, and travel time by car is about 20 hours 48 minutes.

Yellowstone Regional Airport – San Francisco International Airport

Distance arrow
843
Miles
Distance arrow
1356
Kilometers
Distance arrow
732
Nautical miles

Search flights

Distance from Cody to San Francisco

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

Vincenty's formula (applied above)
  • 842.651 miles
  • 1356.115 kilometers
  • 732.244 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
  • 841.523 miles
  • 1354.300 kilometers
  • 731.264 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 Cody to San Francisco?

The estimated flight time from Yellowstone Regional Airport to San Francisco International Airport is 2 hours and 5 minutes.

Flight carbon footprint between Yellowstone Regional Airport (COD) and San Francisco International Airport (SFO)

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

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

See the map of the shortest flight path between Yellowstone Regional Airport (COD) and San Francisco International Airport (SFO).

Airport information

Origin Yellowstone Regional Airport
City: Cody, WY
Country: United States Flag of United States
IATA Code: COD
ICAO Code: KCOD
Coordinates: 44°31′12″N, 109°1′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