Air Miles Calculator logo

How far is Ontario, CA, from Harrisburg, PA?

The distance between Harrisburg (Harrisburg International Airport) and Ontario (Ontario International Airport) is 2274 miles / 3659 kilometers / 1976 nautical miles.

The driving distance from Harrisburg (MDT) to Ontario (ONT) is 2580 miles / 4152 kilometers, and travel time by car is about 46 hours 5 minutes.

Harrisburg International Airport – Ontario International Airport

Distance arrow
2274
Miles
Distance arrow
3659
Kilometers
Distance arrow
1976
Nautical miles

Search flights

Distance from Harrisburg to Ontario

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

Vincenty's formula (applied above)
  • 2273.846 miles
  • 3659.400 kilometers
  • 1975.918 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
  • 2268.876 miles
  • 3651.403 kilometers
  • 1971.600 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 Ontario?

The estimated flight time from Harrisburg International Airport to Ontario International Airport is 4 hours and 48 minutes.

Flight carbon footprint between Harrisburg International Airport (MDT) and Ontario International Airport (ONT)

On average, flying from Harrisburg to Ontario generates about 249 kg of CO2 per passenger, and 249 kilograms equals 549 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 Ontario

See the map of the shortest flight path between Harrisburg International Airport (MDT) and Ontario International Airport (ONT).

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 Ontario International Airport
City: Ontario, CA
Country: United States Flag of United States
IATA Code: ONT
ICAO Code: KONT
Coordinates: 34°3′21″N, 117°36′3″W