How far is York, PA from Harrisburg, PA?

Distance by Flight

Shortest distance between York and Harrisburg is 23.03 miles (37.07 km).

Flight distance from York, PA to Harrisburg, PA is 23.03 miles. Estimated flight time is 00 hours 03 minutes.

Driving distance

The driving distance from York, Pennsylvania to Harrisburg, Pennsylvania is: 26.15 miles (42.08 km) by car.

Driving from York to Harrisburg will take approximately 00 hours 33 minutes.

Harrisburg image
#1 York

County seat of York County, Pennsylvania, United States

Population 28768
GPS Coordinates 39°57'45"N 76°43'40"W
Latitude 39.9626000
Longitude -76.7277400
Altitude 118
Country United States
Harrisburg image
#2 Harrisburg

The capital of Pennsylvania. It is located on the Susquehanna River in the central part of the state. Harrisburg is known for its many parks and green spaces, its many historical sites, and its many attractions, such as the State Capitol Building and the Harrisburg Symphony Orchestra.

Population 49322
GPS Coordinates 40°16'25"N 76°53'4"W
Latitude 40.2737000
Longitude -76.8844200
Altitude 101
Country United States

Estimated Travel Time Between York and Harrisburg

The distance between York and Harrisburg is 42 km if you choose to drive by road. You can go 00 hours 28 minutes if you drive your car at an average speed of 90 kilometers / hour. For different choices, please review the avg. speed travel time table on the below.

There is no time difference between York and Harrisburg. The current time is 04:18:53.

Average Speed Travel Time
30 mph (48.3 km/h) 00 hours 52 minutes
40 mph (64.37 km/h) 00 hours 39 minutes
50 mph (80.47 km/h) 00 hours 31 minutes
60 mph (96.56 km/h) 00 hours 26 minutes
70 mph (112.65 km/h) 00 hours 22 minutes
75 mph (120.7 km/h) 00 hours 20 minutes
80 mph (128.75 km/h) 00 hours 19 minutes

Gas Consumption

A car with a fuel efficiency of 8.3 l/100 km will need 3.49 liters (0.92 gallon) of gas to cover the route between York and Harrisburg.
The estimated cost of gas to go from York to Harrisburg is $3.43 (diesel $4.4).

Pennsylvania gas prices.

Gasoline Mid Grade Premium Diesel
Gallon $3.72 $4.12 $4.44 $4.77
Total $3.43 $3.8 $4.1 $4.4

Take a look at our Gas Cost Calculator feature. It will figure out how much it will cost to drive this particular distance.

The average gas price (in Pennsylvania ) per gallon of daily gas for calculations is $3.717 (Diesel $4.767) /gallon. Last changed prices on December 22, 2024.

How did we calculate the distance?

The place names are translated into coordinates to approximate the distance between York and Harrisburg (latitude and longitude). Cities, states, and countries each have their own regional center. The Haversine formula is used to measure the radius.

Distance to Other Cities

Harrisburg image

Driving distance from Philadelphia, PA to York 101.42 miles (163 km)

Harrisburg image

Driving distance from Upland, PA to York 83.58 miles (135 km)

Harrisburg image

Driving distance from Upper Darby, PA to York 100.17 miles (161 km)

Harrisburg image

Driving distance from Whitman, PA to York 106.47 miles (171 km)

Harrisburg image

Driving distance from Abington, PA to York 102.7 miles (165 km)

Harrisburg image

Driving distance from Allentown, PA to York 90.15 miles (145 km)

Harrisburg image

Driving distance from Altoona, PA to York 154.16 miles (248 km)

Harrisburg image

Driving distance from Bensalem, PA to York 109.66 miles (176 km)

Harrisburg image

Driving distance from Bethlehem, PA to York 97.67 miles (157 km)

Harrisburg image

Driving distance from Bristol, PA to York 115.6 miles (186 km)

Harrisburg image

Driving distance from Croydon, PA to York 113.47 miles (183 km)

Harrisburg image

Driving distance from Erie, PA to York 321.08 miles (517 km)

Gas Cost Calculator