Speed, distance and time calculator
One relationship seen from three sides. Pick what you are solving for, fill in the other two, and every unit is shown at once.
Result
- Speed (km/h)
- 80
- Speed (km/h)
- 80
- Speed (mph)
- 49.71
- Speed (m/s)
- 22.222
- Distance (km)
- 120
- Distance (miles)
- 74.565
- Total hours
- 1.5
How this is calculated
All three are rearrangements of one equation. Everything is converted to kilometres and hours internally, then back out to whichever units you asked for, so mixing miles with minutes is safe.
- km/h
- — kilometres per hour
- m/s
- — metres per second — exactly 3.6 km/h
- mph
- — miles per hour, where a mile is exactly 1.609344 km
Worked example
Cover 120 km in 1 hour 30 minutes and your average speed is 120 ÷ 1.5 = 80 km/h, which is 49.71 mph or 22.22 m/s. Turn it around: at 80 km/h, 120 km takes 1.5 hours. The conversion to m/s is worth remembering — divide km/h by 3.6 — because stopping distances and reaction times are usually quoted in metres per second.
How to use it
- Choose which of the three you are missing.
- Enter the other two, in whatever units you have them.
- Read the result in every unit; no second conversion step is needed.
Limitations and assumptions
- This is average speed over the whole journey. It says nothing about the speed at any particular moment.
- Zero time has no defined speed, so it is refused rather than returning an infinite value.
- Acceleration, stops and traffic are not modelled. For a real journey use the travel time calculator, which allows for breaks.
- The result is arithmetic, not a legal statement about speed limits.
Questions
How do I convert km/h to m/s?
Divide by 3.6. The conversion is exact: an hour is 3,600 seconds and a kilometre is 1,000 metres, so the ratio is 1000/3600, which simplifies to 1/3.6.
What is average speed?
Total distance divided by total time, including any time spent stopped. It is usually lower than the speed you actually travelled at, which is why a journey at a "60 km/h average" involves driving faster than 60 for much of it.
Why does the time come out as a decimal?
Because the arithmetic works in hours. The result is also split into hours, minutes and seconds underneath, which is the form people actually use.
Related calculators
This page has not yet had an editorial review.
