Cycling

Solve for speed, distance or time on the bike

The short answer

Fill in any two of distance, riding time and average speed and the third is calculated. Also shown: times for popular ride lengths and your speed set against the hour record.

  • Metric or imperial
  • Link keeps your numbers
  • One-page printout
  • Free, no account

Your result

Average speed25 km/h100 km in 4:00:00
Speed in km/h
25 km/h
Speed in mph
15.5 mph
Speed in m/s
6.94 m/s
Time per km
2:24 /km
Time per mile
3:52 /mi
Riding time
4:00:00
Distance
100 km

How long popular distances take at this speed

RideDistanceRiding time
10 km10 km24:00
10 miles16.1 km38:37
25 miles40.2 km1:36:34
50 km50 km2:00:00
100 km100 km4:00:00
100 miles (century)160.9 km6:26:15
200 km200 km8:00:00
300 km300 km12:00:00
  • Bike computers give two averages: moving speed leaves stops out, overall speed counts them. Here, the riding time you type in is treated as moving time.

Keep going with

The sum behind it

Give it two of these quantities and the remaining one follows:

speed = distance ÷ time time = distance ÷ speed distance = speed × time

Pick what you’re solving for and the form shows just the two boxes you need. A Metric / Imperial toggle switches between km and miles. Outputs show km/h, mph and m/s together, plus pace per kilometre and per mile, since bike computers and route sheets rarely use the same units.

Worked example

Preset: 100 km in 4 hours.

  • Speed: 100 ÷ 4 = 25.0 km/h
  • Imperial: 25 ÷ 1.609344 = 15.5 mph
  • Metric: 25 ÷ 3.6 = 6.94 m/s
  • Per kilometre: 3,600 ÷ 25 = 144 s = 2:24
  • Per mile: 144 × 1.609344 = 232 s = 3:52

Planning a day out

Say you’re sizing up a route. Choose Ride time, type the distance, then a speed. Choosing that speed is the hard part, since a flat two-hour loop says nothing about a hilly day carrying luggage. Find an earlier ride of similar length and terrain and reuse its moving average.

Common distances at three speeds:

Ride At 20 km/h At 25 km/h At 30 km/h
50 km 2:30:00 2:00:00 1:40:00
100 km 5:00:00 4:00:00 3:20:00
100 miles 8:02:48 6:26:15 5:21:52
200 km 10:00:00 8:00:00 6:40:00

Then use Stops. It adds your breaks to get elapsed time and overall speed. The effect is bigger than most people guess; 40 minutes of standing around turns 25 km/h into 21.4 km/h. If an event has a cut-off, only the lower figure counts.

Slow riders gain more per km/h

Because time equals distance over speed, the same boost saves more minutes at low speeds. Over 200 km:

  • 22 km/h: 9:05:27
  • 24 km/h: 8:20:00
  • 26 km/h: 7:41:32

Adding 2 km/h trims 45 minutes when you start slow but only 38 when you start quick. And a five-minute puncture costs what 0.5 km/h would over four hours at 25 km/h.

How you stack up against the hour record

Nothing beats the hour record for pure speed, distance and time: one rider, one track, 60 minutes. Current figures under UCI rules:

Distance Rider Date Track
Men 56.792 km Filippo Ganna 8 October 2022 Grenchen, Switzerland
Women 50.455 km Vittoria Bussi 10 May 2025 Aguascalientes, Mexico

A bar compares your hour distance with the record. By default you’re at 44% of the men’s speed, and the record pace covers 100 km in 1:45:39, which beats your 4 hours by 2 hours 14 minutes.

It’s a scale check, not a fair contest. Those riders had a smooth track, a purpose-built machine and a position no one holds on a road all day.

The averaging trap

Climb 20 km at 15 km/h, descend the same road at 45 km/h, and the answer isn’t 30 km/h. Eighty minutes up plus 26:40 down makes 1:46:40 for 40 km, so the real average is 22.5 km/h. Three times as long is spent crawling, and that drags the average down.

The tool dodges this by using total distance over total time. Combining segments yourself? Total the distances, total the times, and divide a single time.

Miles and kilometres

One mile equals exactly 1.609344 km. Anchors: 10 mph is 16.1 km/h, 15 mph is 24.1, 20 mph is 32.2 and 25 mph is 40.2. A metric century covers 100 km (62.1 miles), whereas an imperial one covers 100 miles (160.9 km), so it’s 61% longer. Set the unit toggle once and everything on the page follows.

Limits

Given your inputs, the maths is exact. Whether you can hold the speed depends on wind, gradient, surface, traffic, drafting and fatigue. If you want speed from watts and riding position, the power-to-speed calculator does that; the gear ratio calculator covers what a given cadence gives you in each gear.

Questions people ask

How many hours does a 100 km ride take?
Roughly 4 hours in the saddle if you average 25 km/h. Slower, at 20 km/h, it stretches to 5 hours; quicker, at 30 km/h, you're done in 3 hours 20 minutes. Café stops and punctures come on top.
What's the formula for average cycling speed?
Speed is distance over hours ridden: 100 km in 4 hours means 25 km/h. If all you have is minutes, scale up: 45 km took 108 minutes, so 45 × 60 ÷ 108 gives 25 km/h.
What counts as a good average speed on a road bike?
No single number fits, because terrain, wind and drafting change the picture. For hard landmarks, look at the UCI hour record: 56.792 km (men) and 50.455 km (women), both solo on a track. The comparison bar uses those.
How long does a 100-mile ride take?
Plan on 6 hours 15 minutes moving time if you hold 16 mph (25.75 km/h). Slow to 14 mph and it's 7 hours 9 minutes. Speed up to 18 mph and you finish in 5 hours 33 minutes.
How do you turn km/h into mph?
Divide the km/h figure by 1.609344: 25 km/h becomes 15.5 mph, and 32.2 km/h becomes 20 mph. For the reverse, multiply mph by 1.609344.
Moving average or overall average, what's the difference?
One counts only wheels-turning time, the other counts everything from start to finish. Take 100 km in 4 hours of riding plus 40 minutes of stops: 25 km/h moving, 21.4 km/h overall.

Where the numbers come from

  1. Union Cycliste Internationale: hour record (track)
  2. Hour record: list of ratified UCI records, Wikipedia
  3. NIST Handbook 44, Appendix C: the international mile is exactly 1609.344 m
Put this calculator on your site

Free for clubs, coaches, schools and blogs. Paste the code and it updates itself.