Calculate elevation gain, difficulty, and calories for hikes, runs, and treadmill workouts
Whether you're planning a mountain hike, tracking your treadmill workout, or analyzing a trail's difficulty, understanding elevation gain is essential. This elevation gain calculator handles all three common scenarios: computing gain from a fixed incline (perfect for treadmills), calculating metrics from two elevation points, and summing cumulative gain across multiple waypoints on a route. Elevation gain is one of the most important metrics in outdoor fitness. A flat 10-mile run and a 10-mile run with 3,000 feet of climbing are completely different challenges — yet many basic fitness trackers treat them the same. By factoring in vertical gain, you can accurately estimate how difficult a hike or run will be, how many calories you'll burn, and what pace to expect. The calculator provides multiple difficulty metrics side-by-side. The Shenandoah National Park difficulty formula — the gold standard used by ranger stations — gives a single number summarizing the combined challenge of distance and elevation. The NWHiker formula provides an alternative scoring system used widely in the Pacific Northwest. Energy Miles (developed by the National Outdoor Leadership School using the Petzoldt formula) convert your hike into an equivalent flat-terrain distance, making it easy to compare routes of different steepness. For treadmill users, this tool solves the classic three-way equation: given any two of incline %, distance, and elevation gain, it computes the third. The incline-to-elevation conversion uses the trigonometrically precise formula (distance × sin(arctan(grade/100))) rather than the cruder approximation, ensuring accuracy even at steep grades like 15%. The waypoint mode is especially useful for trail planning. Enter a series of elevation readings — from a GPS track, topo map, or altimeter — and the calculator sums all the uphill sections to give you total gain, total loss, net elevation change, and the highest and lowest points. A CSS elevation profile chart visualizes the terrain shape at a glance. Calorie estimation uses a MET-based model that accounts for your body weight, the distance covered, and the elevation gained. Steeper terrain demands more energy, reflected in a higher metabolic equivalent. Adjusted pace calculation shows how much slower you'll move on hilly terrain compared to flat ground — critical for race pacing and training zone management. The reference grade table at the bottom shows elevation gain at common incline settings (1% through 15%) for your specific distance, so treadmill users can instantly see what different incline settings mean in real-world elevation terms. The stair climbing mode converts flights of stairs to elevation gain — one standard flight equals 10 feet (3.05 meters) of vertical. All results can be exported to CSV for logging in spreadsheets or training journals, and the print layout makes it easy to bring a summary to the trailhead.
Understanding Elevation Gain
What Is Elevation Gain?
Elevation gain (also called ascent or vertical gain) is the total amount of upward vertical distance traveled during an activity. Unlike net elevation change — which simply compares start and end altitudes — elevation gain counts every uphill section separately. If a trail goes up 500 feet, down 200 feet, and back up 300 feet, the total elevation gain is 800 feet even though the net change might be just 600 feet. This distinction matters because your muscles work hard on every uphill regardless of what came before or after. For treadmills, since the belt moves at a constant incline, elevation gain is simply the distance multiplied by the sine of the incline angle — a straightforward trigonometric calculation.
How Is Elevation Gain Calculated?
From a fixed incline (treadmill): Elevation Gain = Distance × sin(arctan(Grade% / 100)). This trigonometric formula is more precise than the approximation (Distance × Grade/100), especially at grades above 15%. From two elevation points: Net Gain = End Elevation − Start Elevation; Grade% = (Gain / Horizontal Distance) × 100; Angle = arctan(Grade/100) × 180/π. From waypoints: sum all positive differences between consecutive elevation readings. Difficulty uses two formulas — Shenandoah: √(elevation_ft × 2 × distance_miles); NWHiker: ((gain_ft / (distance_miles × 5280) × 100 × 5.5) + √(distance_miles² × 6)) / 2.5. Energy Miles (NOLS): distance_miles + (elevation_gain_ft / 500).
Why Does Elevation Gain Matter?
Elevation gain fundamentally changes the difficulty, duration, and energy cost of an activity. A general rule of thumb is that every 1,000 feet of elevation gain is roughly equivalent to an extra mile of flat hiking in terms of effort. Ignoring elevation when planning a hike or race can lead to serious underestimation of time and energy needed. For training, understanding your actual elevation workload helps you target the right intensity zones, avoid overtraining, and measure progress. For treadmill workouts, incline dramatically increases calorie burn — even a modest 3% grade raises energy expenditure by roughly 15–20% compared to flat walking. The difficulty scores and energy miles help you compare routes objectively and communicate challenge level to others.
Limitations et mises en garde
All formulas here are models based on averages. Actual calorie burn varies by individual fitness level, pack weight, trail conditions (rocky vs. smooth), altitude above sea level, temperature, and hydration status. The Shenandoah difficulty score was designed for day hikes in the mid-Atlantic and may underestimate difficulty in the high mountains where altitude reduces oxygen availability. The calorie model uses standard MET values and assumes an average hiking pace — fast hikers or those carrying heavy packs will burn more. Pace adjustment formulas (Standard method: ~3.5% per 1% grade) are approximations; the biomechanics literature (Minetti et al.) shows the actual relationship is non-linear. Waypoint calculations depend entirely on the accuracy of your elevation readings — GPS elevation accuracy is typically ±10–30 feet.
Comment Utiliser Ce Calculateur
Choisissez votre mode de calcul
Select one of four tabs: From Incline (for treadmills or fixed-grade routes), From Points (for start and end elevations), From Waypoints (for multi-segment routes), or Stair Climbing. Each mode shows the relevant inputs for your scenario.
Enter Your Inputs
In Incline mode, enter your grade (%) or degrees and distance — or enter any two of the three values to solve for the missing one. In Points mode, enter start and end elevations. In Waypoints mode, click Add Waypoint to build your elevation list. Toggle Imperial/Metric to match your data.
Examinez Vos Résultats
Results update automatically as you type. Check the elevation gain, grade, and angle at the top, then scroll down to see difficulty scores (Shenandoah and NWHiker), energy miles equivalent, and the reference grade table showing how your distance compares to common incline settings.
Export or Print
Click Export CSV to download all results for your training log or spreadsheet. Click Print Results for a clean printable summary you can bring to the trailhead or share with a training partner.
Questions Fréquemment Posées
What is the difference between elevation gain and net elevation change?
Elevation gain counts only the uphill portions of your route — every time you go up, that vertical distance is added to the total, regardless of any descents. Net elevation change is simply the end altitude minus the start altitude. For example, a hike that goes up 800 feet, descends 300 feet, then climbs another 400 feet has a total elevation gain of 1,200 feet but a net elevation change of only 900 feet. Elevation gain is the more useful metric for assessing difficulty and calorie burn, since your muscles work hard on every uphill regardless of the overall direction of travel.
How accurate is the treadmill elevation gain calculation?
The trigonometric formula (Distance × sin(arctan(Grade/100))) is highly accurate for treadmill calculations because treadmill grade is constant throughout the workout. The simple approximation (Distance × Grade/100) introduces less than 0.5% error at grades below 10%, and about 1% error at 15% — acceptable for practical use. The main sources of inaccuracy are the treadmill's own grade measurement (many consumer treadmills are calibrated within ±0.5%) and the distance odometer (typically accurate within 1–3%). For most fitness tracking purposes, these combined errors are well within acceptable range.
What is the Shenandoah difficulty score and how is it interpreted?
The Shenandoah difficulty formula — √(elevation_gain_feet × 2 × distance_miles) — was developed by Shenandoah National Park rangers to quickly communicate trail difficulty to hikers. A score of 0–50 is Easy (suitable for beginners), 51–100 is Moderate (some fitness needed), 101–150 is Challenging (good fitness required), 151–200 is Difficult (strong hikers), 201–350 is Very Difficult (technical terrain), and 351+ is Extreme (expert hikers only). The formula is a rule of thumb calibrated for mid-Atlantic trails and may slightly underestimate difficulty at high altitude or on exposed alpine terrain where weather and thin air add challenge.
What are Energy Miles and why are they useful?
Energy Miles (also called Equivalent Flat Distance) come from the Petzoldt/NOLS formula: Energy Miles = Distance (miles) + Elevation Gain (feet) / 500. They convert any hike — regardless of steepness — into an equivalent flat-terrain distance in terms of energy expenditure. This makes it easy to compare routes of very different profiles. A 5-mile hike with 2,000 feet of gain equals 9 Energy Miles, roughly equivalent in effort to a flat 9-mile walk. It is also useful for planning rest stops and food intake, since backpackers can estimate calorie needs based on Energy Miles rather than raw distance.
Comment est calculée l'estimation des calories ?
Calorie estimation uses a MET (Metabolic Equivalent of Task) model: Calories = MET × Weight (kg) × Duration (hours). The MET value increases with terrain steepness — approximately 3.5 for flat walking, 5.3 for moderate hiking, and up to 8.0 for steep hiking with a heavy pack. This calculator estimates duration from your distance and an average hiking pace, then applies the appropriate MET based on grade. The estimate is most accurate for steady-state hiking at moderate pace. Actual burn varies based on individual fitness, pack weight, altitude, and temperature. Add 10–20% for rough or rocky terrain, and 15–25% if carrying a heavy backpack.
How does incline affect running pace?
For every 1% increase in grade, running pace slows by approximately 3–5% using the Standard method (flat_pace × (1 + grade × 0.035)). So a runner doing 8:00 min/mile on flat ground might run 8:17 per mile at 3% grade and 8:50 per mile at 10% grade. The Minetti biomechanics model shows the relationship is actually non-linear — very steep grades (above 20%) slow pace disproportionately, while modest negative grades (around -3% to -5%) can slightly increase speed before becoming detrimental to form. For race pacing and training, use these adjusted pace estimates to set realistic expectations on hilly courses.