Hiking Calculator

Hiking calculators / Guides

What counts as elevation gain, and why apps disagree

Elevation gain is the sum of every uphill on a hike, not just the difference between the trailhead and the top. Two people with different watches can record the same hike and get totals that differ by hundreds of feet. Here's why, and which number to plan with.

Total gain, not net gain

Total elevation gain (also called total ascent or cumulative climb) adds up every uphill stretch. Net gain is just the high point minus the start.

Say a trail starts at 5,000 ft, climbs to a 6,200 ft shoulder, drops 300 ft into a saddle, then climbs to a 7,000 ft summit.

  • Net gain: 7,000 − 5,000 = 2,000 ft.
  • Total gain on the way up: 1,200 + 1,100 = 2,300 ft.
  • Out and back, you climb the 300 ft out of the saddle again on the return, so the round trip has 2,600 ft of gain.

Time and effort formulas want total gain for the whole route you'll walk. Guidebooks and apps usually mean round-trip total gain, but not always, so check. The elevation gain calculator works out total gain, average grade and gain per mile from the start, the high point and any extra climbs.

Three ways to measure elevation

SourceHow it worksTypical weakness
GPSHeight from satellite positionsVertical error is larger than horizontal; noisy point to point
Barometric altimeterHeight from air pressureGood at small changes, but drifts when the weather changes the pressure
Elevation model (DEM)Looks up each point of your track on a digital map of the groundGrid too coarse for cliffs and tight switchbacks; tracks that wander off the true line

GPS alone is the noisiest. A barometric sensor, built into many watches and some phones, follows small ups and downs better, but a front moving through during the day can shift the reading, so it is usually calibrated against GPS or a known height. Elevation models give the same answer every time for the same line, but they smooth over small bumps and can be thrown off by steep ground, where a few feet sideways is a big change in height.

Many apps replace the recorded heights with values from an elevation model after you upload. That is one reason your watch and the website can show different totals for the same file.

Why noise inflates gain

Every small up-tick in the data counts as climbing, and every down-tick as descent. Random errors don't cancel out in a total-gain sum; they add.

A worked example: record a perfectly flat 1,000-point walk where every other point reads 2 m (about 7 ft) too high. Each of those 500 bumps adds 2 m of gain, so the raw total is 1,000 m (about 3,300 ft) of climbing on a walk with none. Real errors are less tidy than that, but the effect is the same: the more points and the more noise, the more phantom climb.

Smoothing and thresholds

To stop noise from piling up, devices and apps smooth the data or ignore small changes. Common approaches are averaging heights over a window, resampling the track at a fixed distance, or only counting a climb once it passes a minimum height. Each company picks its own method and settings, and most don't publish them.

The trade-off is unavoidable. Smooth too little and noise inflates the total. Smooth too much and real short climbs disappear, so a rolling trail reads lower than it is. Different choices on the same track easily move the total by 10–20 %.

When you open a GPX file in our calculators, we resample the track every 20 m and average elevation over five samples, about 100 m of trail, before adding up the climbs. That keeps real climbs and drops most of the jitter. The details are on the methodology page.

Which number to plan with

  • Prefer a published figure from the land manager or a guidebook when there is one.
  • If several apps disagree, a middle value is usually safer than the lowest.
  • Recorded tracks from other hikers vary; look at several, not one.
  • A short rolling trail is where the methods disagree most. On a single big climb they agree better.

Then put the total gain into the hiking time calculator or the difficulty calculator. A 15 % error in gain changes the time far less than an hour of stops does, so don't agonize over the exact number; plan with a buffer and a turnaround time.

Questions

Why does my watch show more elevation gain than the trail guide?

Usually noise: small up-and-down errors add up in the total. A barometric watch can also drift if the weather changes during the hike. Your watch may smooth less than the source of the trail guide's number.

Is elevation gain for the round trip or one way?

Most trail sites list round-trip total gain, but some list the one-way climb to the top. For an out-and-back with no dips along the way, the two are the same. Check the description if the number looks low.

Does descent count as elevation gain?

No. Gain counts only the uphill. Descent (total loss) is listed separately; on a loop or out-and-back it equals the gain.