GPS Track Elevation Gain Calculator

Cumulative elevation gain, the total climbing along a route, is the figure hikers and cyclists care about, and it is usually far larger than the net change. Raw GPS elevations jitter, so summing every tiny rise overstates the climb. This calculator takes a list of elevations in track order and a smoothing threshold, then applies a hysteresis filter that only counts a gain or loss once the running change exceeds the threshold. It reports total gain, total loss, net change, the high and low points, and the elevation range.

0.00
0.00
0.00
0.00

Elevation gain method

Accumulate running change as you step through points
When running change >= +threshold: add to gain, reset
When running change <= -threshold: add to loss, reset
Net change = last elevation - first elevation
Range = max elevation - min elevation

The threshold is a hysteresis band that filters sensor noise. Gain minus loss equals net change. A higher threshold yields a smaller, more conservative gain.

Elevation gain context

  • Cumulative gain counts only uphill sections, so it exceeds net change.
  • Raw GPS and barometric elevation jitters by a meter or two; the threshold removes it.
  • A loop has zero net change but real gain and loss.
  • Use a consistent unit (meters or feet) for both the list and the threshold.
  • Higher thresholds give smaller, more conservative gain totals.

Elevation gain: frequently asked questions

What is cumulative elevation gain?

Cumulative elevation gain is the sum of all the uphill sections along a track: every time the elevation rises from one point to the next, that rise is added up. It is the figure hikers and cyclists call total climbing or total ascent, and it is usually much larger than the net change.

Why is a smoothing threshold needed?

Raw GPS and barometric elevation readings jitter by a meter or two even on flat ground. Summing every tiny rise inflates the total. A threshold ignores changes smaller than a set value, so only real climbs count. Enter a threshold in the same units as your elevations (a few meters is typical).

How does the threshold work?

The calculator accumulates elevation change and only commits a gain or loss once the running change exceeds the threshold. This standard hysteresis filter removes sensor noise while preserving genuine ascents and descents, similar to what fitness apps do.

What is the difference between gain and net change?

Net change is simply the last elevation minus the first. Gain counts only the uphill portions and loss counts only the downhill portions; gain minus loss equals net change. A loop that returns to its start has zero net change but substantial gain and loss.

What format should the elevation list use?

Enter one elevation value per line, in order along the track, in any consistent unit (meters or feet). The calculator reports gain, loss, net change, the maximum and minimum elevation, and the total range in the same unit.

Official sources

Reviewed by the CalculatorHub team, edited by James Graham, 17 June 2026. See our methodology.