Hiking Time Calculator Formula
Understand the math behind the hiking time calculator. Each variable explained with a worked example.
Formulas Used
Moving Time
moving_time = round((flat_time_hr + climb_time_hr) * fitness_factor * 10) / 10Total Time (with breaks)
total_time = round((flat_time_hr + climb_time_hr) * fitness_factor * 1.2 * 10) / 10Average Moving Speed
avg_speed = round(distance_miles / ((flat_time_hr + climb_time_hr) * fitness_factor) * 10) / 10Variables
| Variable | Description | Default |
|---|---|---|
distance_miles | Trail Distance(miles) | 8 |
elevation_gain_ft | Total Elevation Gain(ft) | 2000 |
fitness_factor | Fitness Level | 1 |
flat_time_hr | Derived value= distance_miles / 3 | calculated |
climb_time_hr | Derived value= elevation_gain_ft / 2000 | calculated |
How It Works
How Hiking Time Is Estimated
Naismith's Rule
Developed in 1892 by Scottish mountaineer William Naismith:
Time = Distance / Speed + Elevation Gain / Climbing Rate
Adjustments
Worked Example
Estimate time for an 8-mile trail with 2,000 ft elevation gain, average fitness.
distance_miles = 8elevation_gain_ft = 2000fitness_factor = 1
- 01Flat time = 8 / 3 = 2.67 hours.
- 02Climb time = 2000 / 2000 = 1.0 hours.
- 03Moving time = (2.67 + 1.0) x 1 = 3.67 hours.
- 04Total with breaks = 3.67 x 1.2 = 4.4 hours.
- 05Average speed = 8 / 3.67 = 2.2 mph.
Ready to run the numbers?
Open Hiking Time Calculator