Skip to content
GYMNICAL

Cycling

Cycling Speed Calculator

Updated 11 Nov 2026 · Source: NIST unit conversion factors ↗

Enter how far you rode in miles and how long it took. The calculator gives your average speed in mph and km/h and your time per mile.

Your numbers

Works in your browser. Nothing you type is sent anywhere or saved.

Average speed
15.0 mph
In km/h24.1
Time per mile4:00

Worked example

  1. 25.0 miles ÷ 1.667 hours = 15.00 mph

Riding time by average speed

Speed10 mi25 mi50 mi100 mi
10 mph1:00:002:30:005:00:0010:00:00
12 mph0:50:002:05:004:10:008:20:00
14 mph0:42:511:47:093:34:177:08:34
16 mph0:37:301:33:453:07:306:15:00
18 mph0:33:201:23:202:46:405:33:20
20 mph0:30:001:15:002:30:005:00:00
22 mph0:27:161:08:112:16:224:32:44

How average speed is worked out

Average speed is distance divided by time in hours. With the defaults, 25 miles in 1 hour 40 minutes is 25 / 1.667 = 15.0 mph, or 24.1 km/h. Flip it around and each mile took 4 minutes.

Type the time as hours, minutes and seconds, for example 1:40:00. For short rides, minutes and seconds such as 42:30 work too.

Moving time or total time?

This choice changes the answer more than anything else. Moving time counts only the minutes the wheels were turning. Total time includes stops at lights, a coffee break and fixing a flat.

Bike computers usually show both. Use moving time to track your riding fitness from week to week, and total time when you plan how long a ride will take out of your day.

What changes your speed on the same route

Because of all this, compare speeds only on the same route in similar weather. A drop in average speed on a windy day is not a drop in fitness.

  • Wind: a headwind on the way out and a tailwind home do not cancel out, because you spend more time in the headwind.
  • Climbing: a hilly route lowers the average even if your effort is the same.
  • Riding position, tire width and pressure.
  • Riding in a group, where the riders behind someone else work less.
  • Stops and slow sections, if you use total time.

Planning a ride with the chart

The chart below the calculator shows how long 10, 25, 50 and 100 miles take at average speeds from 10 to 22 mph. At 16 mph, for example, 50 miles takes about 3 hours 8 minutes of moving time.

For an event, take a speed you have held on similar ground and add your planned stop time on top. If the route has big climbs, use the speed from your hilliest regular ride, not your flat loop.

Linking speed to gears and power

Your speed at a given pedaling rate depends on the gear you are in. The bike gear calculator shows the speed for any chainring, cog and cadence.

Speed is a poor fitness measure on its own because wind and hills change it so much. Power is steadier, and the watts per kg calculator relates it to body weight. Runners can find the same kind of math in the pace calculator.

Related pages

Bike Gear Calculator

Questions

How long does it take to ride 10 miles?

About 1 hour at 10 mph, 50 minutes at 12 mph and 30 minutes at 20 mph.

How do I convert mph to km/h?

Multiply by 1.609. So 15 mph is about 24.1 km/h, and 20 mph is about 32.2 km/h.

How long is a 100 mile ride?

At a 16 mph average, about 6 hours 15 minutes of riding, plus any stops.

Does this work for an indoor bike?

Yes, if the bike shows a distance. Indoor distance is an estimate from the machine, so it may not match the same effort outdoors.

How we calculate: every formula, with its author and year, is on our method page; data sources and their licenses are on sources.

gymnical.com gives estimates from published formulas and public data. It is not medical advice and not a training prescription. Last reviewed November 2026.