Cycling Speed Calculator Formula
Understand the math behind the cycling speed calculator. Each variable explained with a worked example.
Formulas Used
Average Speed
speed_mph = round(distance_miles / total_hours * 100) / 100Average Speed
speed_kph = round(distance_miles * 1.60934 / total_hours * 100) / 100Pace
min_per_mile = round(total_hours * 60 / distance_miles * 100) / 100Distance
distance_km = round(distance_miles * 1.60934 * 100) / 100Variables
| Variable | Description | Default |
|---|---|---|
distance_miles | Distance(miles) | 25 |
hours | Hours(hr) | 1 |
minutes | Minutes(min) | 30 |
total_hours | Derived value= hours + minutes / 60 | calculated |
How It Works
How Cycling Speed Is Calculated
Formula
Speed = Distance / Time
Context
Average cycling speeds vary widely: casual riders average 10-14 mph, fitness cyclists 15-18 mph, competitive cyclists 18-25 mph, and professionals 25-30+ mph. Wind, terrain, and bike type significantly affect speed.
Worked Example
You cycled 25 miles in 1 hour 30 minutes.
distance_miles = 25hours = 1minutes = 30
- 01Total time = 1 + 30/60 = 1.5 hours
- 02Speed = 25 / 1.5 = 16.67 mph
- 03Speed in km/h = 16.67 * 1.609 = 26.82 km/h
- 04Pace = 90 / 25 = 3.60 min/mile
Ready to run the numbers?
Open Cycling Speed Calculator