How to calculate elevation gain for a hike or ride

Free

How much climbing is really on the menu? To calculate the elevation gain of a hike, a trail run or a bike ride, just draw the route in MapPlanner: an elevation profile opens under the map with total ascent and descent, the lowest and highest points and color-coded gradients, so you spot every steep pitch before your legs do.

Elevation gain that updates as you draw

Pick your activity above the map, then click to set your start and waypoints: the line follows trails and roads. For hiking and cycling, the elevation gain appears live beside the distance and time and changes with every point you add.

The elevation button just under the map opens the full profile. Move your mouse along the curve and a marker tracks the same spot on the map, while a tooltip shows the altitude, the distance from the start and the gradient right there. On a phone, slide your finger along the curve instead.

Route elevation profile on a smartphone in MapPlanner, with a tooltip showing altitude, distance and gradient at the touched point and the matching marker on the map

Plan your own route

MapPlanner helps you calculate distances, elevation, duration and plan your hikes, runs and bike rides on an interactive map.

  • Automatic distance & elevation calculation
  • Topographic, satellite maps
  • GPX/KML export for your GPS
  • Real-time GPS tracking

Reading an elevation profile

Think of the profile as a cross-section of the ground you will cover. It gives you four things:

  • elevation gain and loss: every climb and every descent added up, the figure that says most about the effort;
  • minimum and maximum altitude along the route;
  • gradient, shown by the color of the curve: 0–5%, 5–10%, 10–15%, 15–20% and over 20%;
  • average gradient, in the route details under the map, which divides the total climbing and descending by the distance.
Elevation profile of a hike under the map in MapPlanner: curve colored by gradient with its percentage legend, plus elevation gain, elevation loss, minimum altitude and maximum altitude

Want the gradient on the map itself? In the map properties, color the route by slope: the legend matches the profile.

From elevation to time and difficulty

The terrain does more than draw a nice curve. It feeds the estimated duration, which slows down on steep climbs, as well as the difficulty rating, which weighs each section by its gradient. On a bike, the climbs list shows every ascent with its category, from a short bump up to hors catégorie, plus its length, elevation gain, average gradient and maximum gradient.

Once the route is saved, its page keeps the interactive profile. Click the minimum or maximum altitude to see exactly where it sits on the map. Badges also flag a hike or run that climbs above 2,500 m (high altitude) or 3,500 m (very high altitude), as well as a hike or bike ride with a high average gradient.

Tips for sizing up the terrain

  • Check where the climbing happens. 800 m spread over a whole day is not the same outing as 800 m in one go straight from the trailhead; plan your break before the steepest section.
  • Walking with kids or a stroller? Look for orange and red, even on a stroll that looks flat on the map: a ramp above 10% sometimes hides in the middle.
  • Trail runners can hunt for 10–15% sections to build a hill session; for a long easy run, keep the profile mostly green.
  • Compare two variants: the profile recalculates each time you edit the route and a short detour can save you a wall.
  • Allow some margin on very short steps: altitudes are smoothed, so a brief pitch can be steeper than the gradient shown.

See the terrain of your next outing

The elevation profile, the gain and loss figures and the slope colors are free and work without an account, on desktop or phone. A free account lets you save routes and come back to their profile later. Draw your route in the planner, open the profile under the map and you will know what lies ahead.

Elevation gain and profiles: common questions

How do I calculate the elevation gain of a hike before I go?

Draw the route in the MapPlanner planner. For hiking and cycling the elevation gain shows live; the elevation button under the map opens the full profile with both gain and loss.

What is the difference between elevation gain and elevation loss?

Elevation gain adds up every climb on the route, elevation loss every descent. On a loop the two are close; on a one-way route the gap matches the height difference between start and finish.

How accurate is the elevation gain?

Altitudes come from a terrain model with a 30 m grid, smoothed so that noise in the data does not inflate the total. It is a reliable basis for comparing and preparing routes, best read as an estimate.

Is the elevation profile free?

Yes, for every activity and without an account. A free account also lets you save your routes.

More features

What our Explorer users say

⭐⭐⭐⭐⭐

I planned a 5-mile running loop around my neighborhood in minutes. The distance and pace estimate were spot on for my morning run before work.

Sarah K. New runner
⭐⭐⭐⭐⭐

With the isochrone mode, I plan my hikes in no time! I instantly see how far I can go with my available time. GPS tracking keeps me on trail in the Rockies.

Jessica W. Passionate hiker
⭐⭐⭐⭐⭐

We prepared a 25-mile cycling loop with friends and exported the GPX track. Everyone followed the same route on their Garmin without getting lost. Perfect organization!

Mike R. Weekend cyclist
⭐⭐⭐⭐⭐

Before a hike in Shenandoah, I checked the elevation and duration. The route followed real trails, which saved me from unpleasant surprises. Very reliable!

Emily L. Beginner hiker
⭐⭐⭐⭐⭐

I wanted an easy walk for my kids. I set a short max distance and MapPlanner helped me create the perfect loop. We had a wonderful family afternoon.

David N. Family outing
⭐⭐⭐⭐⭐

I love planning my outings in advance. I saved several routes for the weekends. It saves me so much time compared to figuring it out on the go.

Karen G. Occasional hiker
⭐⭐⭐⭐⭐

By exploring the routes around my area, I discovered great trails I didn’t know about. MapPlanner opened new places for me to explore right in my backyard.

Chris P. Trail discovery
⭐⭐⭐⭐⭐

I keep track of my progress with the history feature. Comparing my running pace and distance over the months keeps me motivated and accountable.

Ashley T. Performance tracking
⭐⭐⭐⭐⭐

For our MTB group ride, we created the route and sent the GPX to everyone. Nobody got separated — the whole group stayed together from start to finish.

Brian B. Club activity
⭐⭐⭐⭐⭐

I love taking photos while hiking. MapPlanner automatically places my pictures on the map. It’s awesome to review the route and share it with friends.

Lauren F. Discovery outing
⭐⭐⭐⭐⭐

Depending on the activity, I switch the map style: topo for the mountains, street for the city, satellite to scout terrain. It makes route planning super intuitive.

Tyler S. Experienced hiker
⭐⭐⭐⭐⭐

MapPlanner now estimates my times based on my own pace. I know exactly how long my next run will take. Perfect for squeezing in a workout on a tight schedule.

Rachel J. Aspiring runner

Popular routes

Discover the most popular routes near you

Miles at the Meadow - 5k / 10K (2 loops)
pete.augrom
Running
Very easy

Miles at the Meadow - 5k / 10K (2 loops)

3.095mi
•
33m
•
5.63mph
Virginia - The Plains
Fusion Invitational High School 5K Course
nm8zkrv8hk
Running
Easy

Fusion Invitational High School 5K Course

3.201mi
•
34m
•
5.65mph
Colorado - Commerce City
ada
rajan
Running
Strenuous

ada

11.669mi
•
4h10m
•
2.8mph
New York - New York
Route 2 - Prayer Walk Connecting Churches (Ferguson)
SR St. Louis
Walk
Very easy

Route 2 - Prayer Walk Connecting Churches (Ferguson)

1.441mi
•
31m
Missouri - Ferguson
Central park
Fibula
Running
Moderate

Central park

6.393mi
•
1h
•
6.39mph
New York - New York
Miles at the Meadow - 1 mile
pete.augrom
Running
Very easy

Miles at the Meadow - 1 mile

1.012mi
•
11m
•
5.52mph
Virginia - The Plains
2026 HHHH 25mi Route
buschlive
Bike
Moderate

2026 HHHH 25mi Route

24.79mi
•
2h30m
•
9.92mph
Texas - Hutchins
Chincoteague National Wildlife Refuge
Gaynor
Bike
Very easy

Chincoteague National Wildlife Refuge

9.532mi
•
2h
•
4.77mph
Virginia - Chincoteague Island