How-to guides · 3 min read
Speed, Distance and Time Formula: Examples and Average Speed

The three formulas
- speed = distance ÷ time
- distance = speed × time
- time = distance ÷ speed
60 km/h for 2.5 hours
Step-by-step working 1 steps
- 1distance = speed × time
60 × 2.5 = 150
Keep the units consistent
If speed is in km/h, time must be in hours. 30 minutes is 0.5 hours. To convert km/h to m/s divide by 3.6.
90 km at 60 km/h
- If hours: 1 h 30 min
Step-by-step working 2 steps
- 1time = distance ÷ speed
90 ÷ 60 = 1.5
- 2If the time unit is hours
1.5 h = 1 h 30 min
Average speed on a round trip
Drive 120 km out at 60 km/h and back at 40 km/h. Times: 2 h and 3 h, total 5 h for 240 km, so the average is 48 km/h — not 50.
Related tools
Use the speed, distance and time calculator and the unit converter.
Converting between km/h, m/s and mph
To change km/h into m/s, divide by 3.6, since 1 km is 1,000 m and 1 hour is 3,600 s. One mile is exactly 1.609344 km, so 1 mph is 1.609344 km/h.
| km/h | m/s | mph |
|---|---|---|
| 30 | 8.33 | 18.64 |
| 50 | 13.89 | 31.07 |
| 60 | 16.67 | 37.28 |
| 90 | 25 | 55.92 |
| 100 | 27.78 | 62.14 |
| 120 | 33.33 | 74.56 |
Check any conversion with the unit converter when units differ.
Two objects moving together or apart
When two objects move toward each other, add their speeds to get the closing speed. Two trains 300 km apart travel toward each other at 60 km/h and 40 km/h. They close the gap at 100 km/h, so they meet after 300 ÷ 100 = 3 hours.
Hours until two trains meet
Order-of-operations steps 2 steps
Start: 300 ÷ (60 + 40)
- Add
60 + 40 = 100→ 300 ÷ 100 - Divide
300 ÷ 100 = 3→ 3
When one object chases another in the same direction, subtract the speeds. A car at 80 km/h that is 20 km behind a lorry at 60 km/h closes the gap at 20 km/h and catches it after 1 hour.
Running pace versus speed
Runners often use pace, the time per kilometre, instead of speed. A 5 km run in 25 minutes is a speed of 5 ÷ (25/60) = 12 km/h, and a pace of 5:00 per km.
| 5 km time | Speed (km/h) | Pace (min/km) |
|---|---|---|
| 20 min | 15 | 4:00 |
| 25 min | 12 | 5:00 |
| 30 min | 10 | 6:00 |
| 35 min | 8.57 | 7:00 |
Pace and speed are reciprocals: when one goes up, the other goes down.
A full worked word problem
A cyclist rides 24 km at 12 km/h, then 24 km at 16 km/h. What is the average speed? The times are 2 hours and 1.5 hours, total 3.5 hours for 48 km.
Average speed over two equal distances
Order-of-operations steps 4 steps
Start: 48 ÷ (24 ÷ 12 + 24 ÷ 16)
- Divide
24 ÷ 12 = 2→ 48 ÷ (2 + 24 ÷ 16) - Divide
24 ÷ 16 = 1.5→ 48 ÷ (2 + 1.5) - Add
2 + 1.5 = 3.5→ 48 ÷ 3.5 - Divide
48 ÷ 3.5 = 13.71428571→ 13.71428571
The average is 13.714 km/h, below the simple mean of 14. Equal distances at different speeds always give an average below the simple mean, because more time is spent at the slower speed. For more word-problem technique see how to solve word problems.
Frequently asked questions
How do I convert minutes to hours?
Divide by 60: 45 minutes is 0.75 hours.
What is average speed?
Total distance divided by total time.
How do I convert km/h to m/s?
Divide by 3.6.
How do I find when two moving objects meet?
Add their speeds if they move toward each other and divide the distance between them by the combined speed.
Keep reading
Ratio and Proportion Explained: Simplify, Scale, Share
Simplify ratios, solve proportions by cross-multiplying, scale recipes and share amounts in a given ratio, with worked examples.
Study tipsHow to Solve Math Word Problems: A Four-Step Method
A repeatable four-step method for math word problems — read, define, calculate, check — with percentage and speed examples.
Charts & referencesMetric to Imperial Conversion Cheat Sheet (Exact Factors)
Exact conversion factors between metric and US/imperial units for length, mass and volume, with worked conversions you can reuse.
Money & everydayUnit Price Comparison: How to Tell Which Pack Is Cheaper
Compare prices by cost per 100 g (or per unit) to find the better deal, with a worked example and a table showing when bigger is not cheaper.