The formula
speed = distance ÷ time
Speed, distance and time are tied together by one relationship. Keep the units consistent: kilometers with kilometers per hour and hours. The same formula works with miles and mph.
How to use this calculator
- Enter speed in km/h.
- Enter distance in km.
- Enter time in hours.
- Read the answer on the right. It updates as you type, and the numbered steps underneath show how it was worked out.
Worked example
Using Speed: 60 km/h; Distance: 150 km.
- time = distance ÷ speed
- = 2.5
Time: 2.5 hours
Common questions
How do I convert a decimal time like 2.5 hours?
Multiply the decimal part by 60. 0.5 × 60 = 30, so 2.5 hours is 2 hours 30 minutes.
How do I calculate average speed for a whole trip?
Divide total distance by total time. Do not average the speeds of each leg unless each leg took the same time.