Hiking Calculator

Hiking calculators / Effort & elevation

Elevation gain and grade calculator

Enter the trailhead and high point elevations and how far apart they are, or open a GPX route. You get the total climb, the average grade of the climb and how steep the whole hike is per mile.

Use a route file (optional)

Export a GPX from your watch, phone app or mapping site. It is read in your browser and never uploaded.

More inputs

Calculated in your browser. Nothing you enter leaves this page.

2,000 ft of gain, 12.6 % average grade

This hike climbs 2,000 ft (610 m) over 6.0 miles: about 333 ft per mile, which is hilly. The climb itself averages 12.6 %.

How we got there

Total elevation gain2,000 ft610 m
Total descent2,000 ft610 m
Average grade of the climb12.6 %7.2° over 3.0 mi of climbing
Gain per mile (whole hike)333 ft/mihilly; 63 m per km
High point7,000 ft2,134 m
Climbing time at Naismith pace1 hthe extra time the climb adds on top of the distance

What counts as elevation gain

Elevation gain is the sum of every uphill on the hike, not the difference between the lowest and highest points. If a trail climbs 2,000 ft, drops 300 ft into a saddle and climbs 300 ft back out, the gain is 2,300 ft. Put those extra ups under More inputs.

For an out-and-back, the calculator counts the climb once as gain and once as descent: you climb it on the way up and descend it on the way down. Extra climbs are added once. If an out-and-back makes you climb back out of a dip on the return as well, add that climb too. If you open a GPX file, the gain is measured from the track itself, after smoothing the elevation over about 100 m to remove GPS noise. More in what counts as elevation gain.

Grade, degrees and gain per mile

Average grade is rise over run: the climb divided by the horizontal distance of the climb, as a percent. A 10 % grade rises 10 ft for every 100 ft forward, about 528 ft per mile, or 5.7°. Hikers usually feel grade in feet per mile, so the calculator shows both, plus gain per mile over the whole hike.

Gain per mileSame climb as a steady gradeWhat it feels like
under 100 ftunder 2 %flat to gently rolling
100–300 ft2–6 %moderate, a steady walk
300–500 ft6–9.5 %hilly, you'll breathe hard
500–800 ft9.5–15 %steep
over 800 ftover 15 %very steep, short steps or hands

The average hides the steep bits. A trail that averages 10 % can have a few hundred yards at 25 % or more. A GPX file shows the steepest 100 m section and draws the profile.

High point and altitude

The calculator flags a high point above 8,000 ft, the elevation where altitude illness starts to be common for people who live near sea level. Headache, nausea and unusual tiredness at altitude are warning signs; going down is the reliable fix. Pace yourself on the climb, drink and eat regularly, and give yourself a day or two to adjust before a big hike if you've just arrived from low elevation.

Read more

Questions

How do you calculate elevation gain?

Add up every climb on the route. For a simple trail that only goes up to a summit and back, that's the summit elevation minus the trailhead elevation. If the trail drops and climbs again on the way, add those climbs too.

How do you calculate the grade of a trail?

Divide the elevation gained by the horizontal distance covered, in the same units, and multiply by 100. 1,000 ft of climb over 2 miles (10,560 ft) is a 9.5 % grade.

How much elevation gain per mile is steep?

Around 500 ft per mile (about a 9.5 % grade) is where most hikers call a trail steep. 1,000 ft per mile is very steep, the kind of trail where the formulas for hiking time get less reliable.

How long does elevation gain add to a hike?

Naismith's rule adds one hour per 2,000 ft of climbing on top of the time for the distance; book time adds 30 minutes per 1,000 ft. See elevation gain per hour.

Why does my watch show a different elevation gain?

GPS and barometric altimeters both drift, and apps smooth the data differently. Two devices on the same hike can differ by 10 to 20 %. Trail guides usually give a rounded figure from a map.

Sources

  • Naismith, W. W. (1892), Scottish Mountaineering Club Journal 2: 136.
  • Tobler, W. (1993), Non-isotropic geographic modeling, NCGIA Technical Report 93-1.

Method checked 2026-11-30. Full formulas on the methodology page.