Air Miles Calculator logo

How far is San Francisco, CA, from Harrisburg, PA?

The distance between Harrisburg (Harrisburg International Airport) and San Francisco (San Francisco International Airport) is 2438 miles / 3923 kilometers / 2118 nautical miles.

The driving distance from Harrisburg (MDT) to San Francisco (SFO) is 2794 miles / 4496 kilometers, and travel time by car is about 49 hours 1 minutes.

Harrisburg International Airport – San Francisco International Airport

Distance arrow
2438
Miles
Distance arrow
3923
Kilometers
Distance arrow
2118
Nautical miles

Search flights

Distance from Harrisburg to San Francisco

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

Vincenty's formula (applied above)
  • 2437.703 miles
  • 3923.103 kilometers
  • 2118.306 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
  • 2431.819 miles
  • 3913.634 kilometers
  • 2113.193 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 Harrisburg to San Francisco?

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

Flight carbon footprint between Harrisburg International Airport (MDT) and San Francisco International Airport (SFO)

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

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

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

Airport information

Origin Harrisburg International Airport
City: Harrisburg, PA
Country: United States Flag of United States
IATA Code: MDT
ICAO Code: KMDT
Coordinates: 40°11′36″N, 76°45′48″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