Speed, distance and time are linked by one relationship, so knowing any two gives you the third. This speed distance time calculator has three modes: solve for time, solve for distance or solve for speed.
Speed Distance Time Calculator
Solve the distance = speed × time relationship for whichever value you need.
The starting values are 120 for the distance and 60 for the speed, which gives a time of 2.000. In distance mode, a speed of 60 for a time of 2 gives 120.
How are speed, distance and time calculated?
Each mode rearranges the same formula, distance equals speed times time.
Speed = Distance ÷ Time
Distance = Speed × Time
Time = Distance ÷ Speed
Worked example: the starting values
Time = 120 ÷ 60 = 2.000
Distance = 60 × 2 = 120
Speed = 120 ÷ 2 = 60
The result is in whatever units go with your inputs. A distance in miles and a speed in miles per hour give a time in hours. The calculator shows time to three decimals.
Worked examples for different journeys
Finding speed
A journey of 63 miles in 1 h 45 min uses a time of 1.75. In speed mode the calculator gives 63 ÷ 1.75 = 36.
Finding distance
For 96 mph over 135 minutes, enter a time of 2.25. In distance mode, 96 × 2.25 = 216 miles.
A two-leg trip
A cyclist rides 20 km in 1 h, then 30 km in 2 h. The total is 50 km in 3 h, so the average speed is 50 ÷ 3 = 16.67 km/h. Run the three-hour total through the speed mode and do not average the two leg speeds.
How speed and time change the result
The first table keeps a distance of 120 and changes the speed.
| Speed | Time | In hours and minutes |
|---|---|---|
| 40 | 3.000 | 3 h 00 min |
| 50 | 2.400 | 2 h 24 min |
| 60 | 2.000 | 2 h 00 min |
| 70 | 1.714 | 1 h 43 min |
Time falls as speed rises, but by less each time. The 10 units between 40 and 50 save 36 minutes, while the 10 between 60 and 70 save 17 minutes.
Distance covered at 60
In distance mode with a speed of 60, a time of 0.5, 1.5, 2 and 4 gives 30, 90, 120 and 240. The distance rises in proportion to the time, so doubling the time doubles the distance.
Converting minutes into hours
Time must be a decimal when the speed is per hour. Divide the minutes by 60: 45 minutes is 0.75, 20 minutes is 0.333 and 1 h 45 min is 1.75. Going the other way, take the decimal part and multiply by 60, so 2.333 hours is 2 hours and 20 minutes. A walk of 3 miles in 50 minutes uses a time of 0.833 and gives a speed of 3 ÷ 0.833 = 3.6 miles per hour.
Changing units
The units of the answer follow from the units you enter, and mixing them gives a wrong result. To change units, convert the inputs first. A speed of 60 miles per hour is 96.56 kilometres per hour, a speed of 100 kilometres per hour is 62.14 miles per hour, and a speed of 1 metre per second is 3.6 kilometres per hour.
Average speed on a round trip
If you drive out at 60 km/h and back at 40 km/h over the same distance, the average is not 50. Take a one-way distance of 120 km. The way out takes 2 hours and the way back takes 3 hours, so the 240 km take 5 hours and the average is 48 km/h. The slower leg takes more time, so it counts for more.
Average Speed for a Trip with Several Legs
For a trip in parts, divide the total distance by the total time. Do not average the speeds. Driving 60 miles at 30 mph (2 hours) and 60 miles at 60 mph (1 hour) covers 120 miles in 3 hours, an average of 40 mph, not 45.
Speed Unit Conversions
| From | To | Multiply by |
|---|---|---|
| mph | km/h | 1.609 |
| km/h | mph | 0.6214 |
| m/s | km/h | 3.6 |
| km/h | m/s | 0.2778 |
| knots | mph | 1.151 |
| mph | ft/s | 1.467 |
Keep the units consistent before you calculate. A distance in kilometers with a speed in km/h gives a time in hours; a speed in m/s needs the distance in meters and gives seconds. To turn a trip time into a clock time, use the Arrival Time Calculator.
Frequently asked questions
How do I calculate speed, distance and time?
Use distance = speed × time and rearrange it. Speed is distance ÷ time and time is distance ÷ speed.
How do I find time from distance and speed?
Divide the distance by the speed. The starting values give 120 ÷ 60 = 2.000.
How do I handle minutes in a speed calculation?
Divide the minutes by 60 to get hours. A time of 135 minutes is 2.25 h.
Is average speed the average of two speeds?
No. Divide total distance by total time. A trip at 60 km/h out and 40 km/h back averages 48 km/h.
What units does the answer use?
The units that match your inputs. Miles and mph give hours, and km and km/h also give hours.
How do I convert hours and minutes to a decimal?
Divide the minutes by 60 and add them to the hours. 1 h 45 min is 1.75 and 2 h 20 min is 2.333.
How do I convert miles per hour to kilometres per hour?
Multiply by 1.609. 60 miles per hour is about 96.56 kilometres per hour.
Why does a faster speed save less time each time?
Time is distance divided by speed, so each extra unit of speed has a smaller effect. For 120 miles, going from 40 to 50 saves 36 minutes and from 60 to 70 saves 17.
How do I find average speed for a trip with different speeds?
Divide the total distance by the total time. 60 miles at 30 mph and 60 miles at 60 mph average 40 mph over the whole trip.




