Calculate elevation gain per mile from total gain and distance, or find total gain or distance from a rate, including treadmill incline and hiking time.

Use cumulative uphill gain over the entire route, not net elevation change.

Hiking time estimate
Blank omits hiking time; needed if descent or breaks are supplied.

Blank uses 0.

Blank uses 0.

Calculator Functions

FunctionWhat it doesWhat it requires
Elevation gain per distanceFinds the average climb per mile or per kilometer of a routeRequires the cumulative elevation gain (ft or m) and the route distance (mi or km)
Total elevation gainFinds the total climb from a gain rate, or from a treadmill incline, and a distanceRequires the elevation gain rate (ft/mi, m/km, ft/km, m/mi or % incline) and the route distance (mi or km)
Total distanceFinds the distance over which a gain rate adds up to a total climbRequires the cumulative elevation gain (ft or m) and the elevation gain rate, both above zero

Each function has a result unit, and each result also shows the total gain in feet, the route distance in miles, the climb density as a percentage and a climbing band. The optional Hiking time estimate takes a flat-ground speed, a total descent and break minutes.

Elevation Gain Per Mile Formulas

R = G ÷ D
RElevation gain per distance (ft/mi or m/km)
GCumulative elevation gain (ft or m)
DRoute distance (mi or km)

G is the sum of every uphill section along the route. It is not the net change between the start and the finish, so a loop that returns to its starting height still has a gain.

Elevation gain per distance

The main formula as written. 500 ft of gain over 10 miles is 50 ft/mi, and 2,500 ft over 5 miles is 500 ft/mi, or 94.697 m/km. One ft/mi equals 0.3048 ÷ 1.609344 = 0.1894 m/km [1]. Climb density is the same ratio as a percentage: gain divided by distance in the same unit, so 500 ft/mi is 500 ÷ 5,280 = 9.47%.

Feet per mileMeters per kmClimb densityClimbing band
100 ft/mi18.9 m/km1.89%Easy / flat
200 ft/mi37.9 m/km3.79%Easy–moderate
250 ft/mi47.3 m/km4.73%Easy–moderate
400 ft/mi75.8 m/km7.58%Moderate
500 ft/mi94.7 m/km9.47%Moderate
600 ft/mi113.6 m/km11.36%Strenuous
800 ft/mi151.5 m/km15.15%Very strenuous
1,000 ft/mi189.4 m/km18.94%Very strenuous

The climbing bands change at 200, 400, 600 and 800 ft/mi. They are a rough guide built into the calculator and are not an official trail grade.

Total elevation gain

G = R × D

400 ft/mi held for 8 miles adds up to 3,200 ft. With the rate set to % incline the same formula covers a treadmill: gain = distance × incline ÷ 100, so 3 miles at a 5% incline is 0.15 miles of climb, or 792 ft.

Total distance

D = G ÷ R

Climbing 3,000 ft at 600 ft/mi takes 5 miles. Both entries must be above zero, because a zero rate never reaches the gain.

Hiking time estimate

T = D ÷ v + G ÷ 2,000 +
d ÷ 4,000 + B ÷ 60

T is the time in hours, D the distance, v the flat-ground speed, G the gain in feet, d the total descent in feet and B the break time in minutes. Naismith’s rule allows an hour for every three miles plus an hour for every 2,000 ft of ascent [2]. The calculator keeps the 2,000 ft per hour and replaces three miles an hour with the speed entered. Naismith’s rule has no term for descent [2], so the 4,000 ft per hour allowance is a rule of thumb added here. A 10-mile route with 2,500 ft up and 2,500 ft down at 3 mi/h with 30 minutes of breaks comes to 3.3333 + 1.25 + 0.625 + 0.5 = 5.7083 hours.

Limits of This Estimate

  • Gain per mile is an average over the whole route. A short steep climb and a long steady one can give the same figure, so the elevation profile still matters.
  • The time estimate is a planning rule of thumb. Measured against recorded walks, Naismith’s rule holds up for whole routes but misjudges steep or difficult sections [2], and terrain, load, weather and fitness all move the result.
  • The treadmill formula treats belt distance as horizontal distance. At a 15% incline that overstates the climb by about 1%.
  • These estimates are based on the best available data and estimations.

Sources

  1. NIST, Guide for the Use of the International System of Units (SP 811), Appendix B.8: the foot as 0.3048 m and the mile as 1,609.344 m, both exact
  2. Wood, Mackaness, Simpson and Armstrong (2023), Improved prediction of hiking speeds using a data driven approach, arXiv:2303.16065: Naismith’s rule of an hour per three miles plus an hour per 2,000 ft of ascent, its lack of a descent term, and its accuracy against recorded walks