TrailCam

Guides

How to calculate a hike's average grade from distance and elevation gain

Grade is rise over run, written as a percentage instead of a fraction. A trail that climbs 100 metres over a kilometre of distance has an average grade of 10 percent. The division is genuinely that simple. What takes a moment longer is knowing which two numbers to divide — a hike report already hands you both of them — and what an average grade quietly leaves out about a climb that was never actually even.

The short answer

Divide elevation gain by distance, then multiply by 100 to get a percentage. If a hike gained 300 metres of elevation over a 5-kilometre (5,000-metre) distance, that is 300 Ãˇ 5,000 = 0.06, or a 6 percent average grade. Both numbers need to be in the same unit before you divide — metres over metres, or feet over feet — otherwise the result is meaningless.

Rise over run, and where the two numbers come from

Grade compares how much a route climbed to how far it went to get there. The "rise" is elevation gain: the cumulative total of every upward stretch along the route, added together, which is the same figure a hiking app reports as climb at the end of a hike. The "run" is the distance covered. Both numbers are already sitting in a route summary after a walk — there is nothing extra to measure, only a division to do with what is already on the screen.

One detail worth being precise about: grade is elevation gain over distance, not elevation gain over net elevation change. A loop that climbs a ridge and comes back down to the same car park has a net change of zero, but it still has real elevation gain and a real average grade for the climbing portions — net change and grade are answering different questions, the same way net change and cumulative gain are.

A worked example

Say a hike covered 6.4 kilometres and gained 480 metres of elevation. Convert the distance to metres: 6.4 km = 6,400 m. Divide: 480 Ãˇ 6,400 = 0.075, or 7.5 percent average grade. A steeper, shorter example: 1.8 kilometres (1,800 m) with 360 metres of gain comes to 360 Ãˇ 1,800 = 0.2, a 20 percent average grade — a noticeably steep sustained climb.

In feet and miles, the same idea holds as long as the units match: a 2.5-mile climb (13,200 feet) with 660 feet of gain is 660 Ãˇ 13,200 ≈ 0.05, a 5 percent average grade. Mixing feet of gain with a distance still in miles, without converting one of them first, is the one arithmetic mistake that quietly wrecks this calculation.

Why the distance you divide by already does the right job

Grade is technically rise over horizontal run, not rise over the slanted distance actually walked up the slope. That distinction matters less here than it might seem, because the distance a GPS-based hiking app reports is already calculated from the horizontal position of each recorded point — latitude and longitude — rather than from a three-dimensional measurement that accounts for how steeply the ground tilted between one point and the next. So the distance figure sitting in a route summary is, for this purpose, already the number the formula wants, with no separate adjustment needed.

An average grade hides the steep parts

A single average grade folds a flat approach, a steep pitch and a gentler summit ridge into one number, the same way an average pace folds together every stretch of a hike into one figure. A trail that is mostly level with one short, sharp climb near the top can average out to a modest 8 percent, while the climb itself, taken on its own, might run closer to 25 percent for a few hundred metres. Both descriptions are honest — the average genuinely reflects the whole route — but neither one substitutes for looking at where the elevation profile actually gets steep, which is what the profile drawn under a map is for in the first place.

This is also why two hikes with the same average grade can feel completely different underfoot. A steady, unrelenting 10 percent grade for an hour and a trail that alternates between flat stretches and a brutal 30 percent pitch can both average out to the same number, while asking very different things of the legs along the way.

The same noise that affects elevation gain affects grade too

Elevation gain is built from altitude readings that are noisier than GPS position, and a grade calculated from it inherits whatever uncertainty was already in that number. A hike that shows 300 metres of gain in one app and 400 in another, for the reasons covered in why two apps disagree about elevation, will produce two different average grades from the identical walk, purely because the gain figure feeding the calculation was different to begin with. Distance is the steadier of the two inputs, so most of the disagreement in a grade figure traces back to elevation gain rather than to the division itself.

Worth knowing, separately: grade as a percentage is not the same as an angle in degrees, and the two are easy to conflate. A 100 percent grade is a 45-degree slope, not vertical — grade climbs faster than the angle does, so a 20 percent grade, which sounds like a fifth of the way to straight up, is actually just over 11 degrees.

Where TrailCam fits in

TrailCam reports distance and elevation gain for every route, alongside moving time and pace, with the elevation profile drawn underneath a replayed hike so the steep sections are visible rather than buried inside a single average. Both numbers a grade calculation needs are there after a hike without any extra tracking to turn on. TrailCam is free to download.

Questions

What is a good formula for average grade?
Elevation gain divided by distance, in matching units, multiplied by 100 for a percentage. A 5 percent grade means 5 metres of climb for every 100 metres of distance covered — the units cancel out, so the same formula works in feet or metres as long as both numbers use the same one.
Should I use net elevation change or elevation gain to calculate grade?
Elevation gain. Net change is the difference between your start and end altitude, and it can be zero on a loop even though real climbing happened. Grade describes how steep the climbing itself was, which needs the cumulative gain figure, not the net change.
Why do two apps give different average grades for the same hike?
Almost always because their elevation gain totals differ, not because the distance or the arithmetic differs. Elevation gain is built from noisier altitude readings than distance is, so a grade calculated from it carries the same disagreement between apps that the underlying elevation gain figure already had.

Recording your own routes

TrailCam is an iPhone app that records your route with GPS, keeps video clips, photos and voice notes pinned to the spot where you took them, and exports the result as GPX 1.1 or CSV. It is free to download.

Download on the App Store