Speed, Distance and Time Calculator
Choose what you want to find. Enter the other two, with time in hours, minutes and seconds. You also get the speed in every common unit and the running pace per kilometre and per mile.
Last reviewed
Speed
12 km/h
pace 5:00 per km · 8:03 per mile
| Unit | Value |
|---|---|
| kilometres per hour (km/h) | 12 |
| miles per hour (mph) | 7.456 |
| metres per second (m/s) | 3.333 |
| knots (kn) | 6.479 |
| feet per second (ft/s) | 10.94 |
- Pace per km
- 5:00
- Pace per mile
- 8:03
This is average speed: the total distance divided by the total time. It does not tell you how fast you were going at any moment.
The speed formula
Speed is how far something travels in a given time:
speed = distance ÷ time
The formula can be turned round to find either of the other two, which is why the calculator can solve for any of the three:
- Speed = distance ÷ time
- Distance = speed × time
- Time = distance ÷ speed
The units must agree. Kilometres and hours give km/h, and metres and seconds give m/s. The calculator converts everything for you. What it works out is the average speed over the whole trip, which is the total distance divided by the total time. This is the same speed that a mathematician writes as the rate of change of distance with time.
Worked examples
Finding the speed. You run 10 km in 50 minutes. Fifty minutes is 3,000 seconds, so your speed is 10,000 m ÷ 3,000 s = 3.33 m/s, which is 12 km/h, or 7.456 mph.
Finding the distance. You drive at 90 km/h for 2 hours 30 minutes. That is 2.5 hours, so the distance is 90 × 2.5 = 225 km.
Finding the time. A trip of 100 km at 80 km/h takes 100 ÷ 80 = 1.25 hours, which is 1:15:00 (1 hour 15 minutes). A marathon of 42.195 km at 12 km/h takes 3.51625 hours, which is 3 hours 30 minutes 58.5 seconds.
Running pace
Runners think in pace, the time for each kilometre or mile, rather than speed. Pace is the reciprocal of speed, so a faster runner has a shorter pace. The calculator shows both.
| Time for 10 km | km/h | mph | Pace per km | Pace per mile |
|---|---|---|---|---|
| 0:40:00 | 15 | 9.321 | 4:00 | 6:26 |
| 0:45:00 | 13.33 | 8.285 | 4:30 | 7:15 |
| 0:50:00 | 12 | 7.456 | 5:00 | 8:03 |
| 0:55:00 | 10.91 | 6.779 | 5:30 | 8:51 |
| 1:00:00 | 10 | 6.214 | 6:00 | 9:39 |
| 1:10:00 | 8.571 | 5.326 | 7:00 | 11:16 |
A marathon is 26 miles and 385 yards, which is 42.195 km. To finish in 4 hours you need an average of 10.55 km/h, a pace of 5:41 per km or 9:09 per mile.
Speed units
All the units are exact multiples of one another, because the mile, foot and nautical mile are defined in metres:
| Unit | In metres per second |
|---|---|
| 1 km/h | 0.2778 (1,000 ÷ 3,600) |
| 1 mph | 0.44704 (exactly) |
| 1 knot | 0.5144 (1,852 ÷ 3,600) |
| 1 ft/s | 0.3048 (exactly) |
So 60 mph is 96.56 km/h (60 × 1.609344), and 1 knot is 1.852 km/h. For conversions on their own, use the speed converter or the length converter.
Average speed is not the speed you drive at
If you drive the first half of a journey at 60 km/h and the second half at 40 km/h, your average speed is not 50 km/h. The slower half takes longer, so it counts for more. For 120 km split in two, the first 60 km takes 1 hour and the second takes 1.5 hours: 120 km in 2.5 hours is 48 km/h. Always divide the total distance by the total time.
Common mistakes
- Mixing minutes and hours. 50 minutes is 0.8333 hours, not 0.50. Enter hours, minutes and seconds separately.
- Averaging speeds. The average of two speeds is not the average speed unless the times are equal.
- Mixing mph and km/h. 100 km/h is 62.14 mph, not 100.
- Ignoring stops. Average speed over a journey includes the stops. Time spent stationary lowers it.
- Confusing pace and speed. A lower pace number (4:00 per km) is a faster runner.
Related calculators
- Speed converter and length converter.
- Distance calculator and mileage calculator.
- Fuel cost calculator and density calculator.
How it is calculated
Distance, speed and time are converted to metres, metres per second and seconds using exact definitions (1 mile = 1,609.344 m, 1 nautical mile = 1,852 m, 1 foot = 0.3048 m). The formula is solved in exact decimal arithmetic, and the answer is converted to the unit you chose and shown to four significant figures. Times are shown to the nearest hundredth of a second, and pace to the nearest second.
Frequently asked questions
What is the formula for speed?
Speed = distance ÷ time. If you drive 150 km in 2 hours, your average speed is 75 km/h. Rearranged, distance = speed × time and time = distance ÷ speed.
How do I work out the time for a journey?
Divide the distance by the speed. 100 km at 80 km/h takes 100 ÷ 80 = 1.25 hours, which is 1 hour 15 minutes. The calculator gives the answer in hours, minutes and seconds.
What is running pace and how is it related to speed?
Pace is the time taken per unit of distance, the reciprocal of speed. 10 km in 50 minutes is 12 km/h, which is a pace of 5:00 per kilometre, or about 8:03 per mile.
How do I convert km/h to mph?
Divide km/h by 1.609344, because a mile is exactly 1,609.344 metres. 96.56 km/h is 60 mph. To go the other way, multiply mph by 1.609344. The table of units in the results does this for you.
What is a knot?
One nautical mile per hour. A nautical mile is exactly 1,852 metres, so 1 knot is 1.852 km/h, or about 1.151 mph. Knots are used for ships and aircraft.
Is this average speed or instant speed?
Average speed: the total distance divided by the total time, including any stops. It cannot tell you how fast you were going at a particular moment, which a speedometer shows.
Related calculators
- Speed ConverterConvert any speed.
- Distance CalculatorChoose what you are measuring between.
- Length ConverterConvert any length or distance.
- Mileage CalculatorEnter the miles, choose the United States, the United Kingdom or your own rate, and see the amount.
- Fuel Cost CalculatorEnter the distance, how much fuel your car uses and what fuel costs.
- Density CalculatorChoose which of density, mass and volume you want, and enter the other two in any units.