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 = distance_miles / time_hoursAverage Speed (km/h)
speed_kph = distance_miles / time_hours * 1.60934Time per Mile
pace_min_mile = time_minutes / distance_milesVariables
| Variable | Description | Default |
|---|---|---|
distance_miles | Distance(miles) | 20 |
time_minutes | Total Time(minutes) | 60 |
time_hours | Derived value= time_minutes / 60 | calculated |
How It Works
Cycling Speed Formula
Speed = Distance / Time
Worked Example
A 20-mile ride in 60 minutes.
distance_miles = 20time_minutes = 60
- 01Time in hours = 60 / 60 = 1 hour
- 02Speed = 20 / 1 = 20.0 mph
- 03Speed in km/h = 20 x 1.609 = 32.2 km/h
Ready to run the numbers?
Open Cycling Speed Calculator