Speed, distance and time are linked by one simple relationship: distance equals speed multiplied by time. Choose which one you want to find, enter the other two, and the calculator does the rearranging for you.
It covers trip planning, running and cycling pace, and the classic school problems. Distance is in kilometers, speed in km/h and time in hours, and the results are also shown in miles, mph and hours and minutes.
How are speed, distance and time related?
Speed is distance divided by time: s = d ÷ t. Rearranged, distance = speed × time and time = distance ÷ speed. These three versions answer everyday questions — how long a trip will take, how fast you need to go, or how far you can get.
The formula gives average speed over a journey. Real trips include stops and changes of pace, so the actual travel time is usually longer than distance ÷ cruising speed. Keep the units consistent — km with km/h, miles with mph.
How to use the speed, distance and time calculator
- Choose what to calculate: distance, speed or time.
- Enter the two values you know.
- Read the answer, plus the time in hours and minutes and the imperial equivalents.
Formula
d = s × t
Where d is the distance (km), s is the speed (km/h), t is the time (h).
Choose any value to calculate — the calculator rearranges the formula for you.
Worked examples
Travel time for a road trip
- Calculate
- Time
- Distance
- 300 km
- Speed
- 90 km/h
- Time
- 3.3333 h
- Time in hours and minutes
- 3 h 20 min
- Speed in mph
- 55.92 mph
t = 300 km ÷ 90 km/h = 3.33 hours, which is 3 hours 20 minutes.
Average running speed
- Calculate
- Speed
- Distance
- 10 km
- Time
- 0.75 h
- Speed
- 13.333 km/h
- Time in hours and minutes
- 0 h 45 min
- Speed in mph
- 8.28 mph
s = 10 km ÷ 0.75 h = 13.33 km/h — a 45-minute 10K is a 4:30 per kilometer pace.
Time to travel 100 km at different speeds
| Speed | Time | Speed in mph |
|---|---|---|
| 5 km/h | 20 h 0 min | 3.1 |
| 15 km/h | 6 h 40 min | 9.3 |
| 30 km/h | 3 h 20 min | 18.6 |
| 50 km/h | 2 h 0 min | 31.1 |
| 80 km/h | 1 h 15 min | 49.7 |
| 100 km/h | 1 h 0 min | 62.1 |
| 120 km/h | 0 h 50 min | 74.6 |
Average speed over a round trip
Average speed is total distance divided by total time, not the average of the speeds. Drive 60 km out at 60 km/h and back at 40 km/h: the trip takes 1 hour out and 1.5 hours back, so the average is 120 ÷ 2.5 = 48 km/h, not 50. The slow leg counts for longer because you spend more time on it.
The three versions of the formula
Distance = Speed × Time. Speed = Distance ÷ Time. Time = Distance ÷ Speed. Make sure the units match — a speed in km/h with a time in hours gives a distance in km.
Common mistakes
- Writing 3.33 hours as 3 hours 33 minutes — 0.33 hours is 20 minutes.
- Mixing units, such as distance in miles with speed in km/h.
- Treating average speed as constant speed when planning tight connections.
- Averaging two speeds for a round trip. Divide the total distance by the total time instead.
Frequently asked questions
How do I calculate travel time?
Divide the distance by your average speed. 150 km at 100 km/h takes 1.5 hours.
How do I convert decimal hours to minutes?
Multiply the decimal part by 60. 1.75 hours is 1 hour plus 0.75 × 60 = 45 minutes.
How do I convert speed to running pace?
Divide 60 by the speed in km/h to get minutes per kilometer. 12 km/h is 60 ÷ 12 = 5 minutes per km.
How do I work out the speed I need to arrive on time?
Divide the distance by the time you have. 150 km in 1 hour 40 minutes (1.667 h) needs an average of 90 km/h, before allowing for stops.
Sources
- University Physics Volume 1, 3.1: Position, Displacement, and Average Velocity, OpenStax, Rice University
- NIST Guide to the SI, Appendix B: Conversion Factors (SP 811), National Institute of Standards and Technology (NIST)
Last updated · Calculations checked by automated tests· Editorial policy