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.
- 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.
Frequently Asked Questions
How accurate is Naismith's Rule?
Naismith's Rule is a good baseline but tends to underestimate time for rough terrain, high altitude, or very steep trails. For technical terrain, add 30-50% more time. GPS watches with barometric altimeters give more accurate real-time data.
What about descent time?
Gentle downhill is faster than flat. Steep downhill (over 20%) is slower than flat because you must control your pace. As a rough guide, add half the climbing time for the descent of steep terrain.
How should I plan my start time?
Add a safety buffer of 1-2 hours to the estimated total time. Start early enough to finish well before sunset. In mountains, plan to be below treeline by early afternoon to avoid afternoon thunderstorms.
Ready to run the numbers?
Open Hiking Time Calculator