Air Miles Calculator logo

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

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

The driving distance from San Francisco (SFO) to Harrisburg (MDT) is 2789 miles / 4489 kilometers, and travel time by car is about 48 hours 58 minutes.

San Francisco International Airport – Harrisburg International Airport

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

Search flights

Distance from San Francisco to Harrisburg

There are several ways to calculate the distance from San Francisco to Harrisburg. 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 San Francisco to Harrisburg?

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

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

On average, flying from San Francisco to Harrisburg 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 San Francisco to Harrisburg

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

Airport information

Origin 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
Destination 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