Speed, Distance and Time Calculator With Working
Enter any two values to calculate speed, distance or time. For example, 150 km in 2 hours and 30 minutes gives 60 km/h. Choose metres and seconds, kilometres and hours, or miles and hours. Use the separate converter to switch between speed units. Everything is calculated in your browser. Nothing you type is saved or sent anywhere.
JavaScript is needed to calculate. The method, formulae and worked example below stay readable without it.
Find the quantity you need
Choose what to find and your unit set, then enter the other two values. Your answer and working use the selected units.
Your answer and working
Enter your values and choose Calculate to see every step.
Convert a speed between units
Use this before the calculator above if your question mixes km/h, m/s and mph.
Converted speed and working
Enter your values and choose Calculate to see every step.
How to use this calculator
- Choose which of distance, speed and time to find and fill in the other two.
- Choose the unit set before typing: metres with seconds, kilometres with hours, or miles with hours. Inputs clear when the unit set changes.
- For an hours-based unit set, enter hours and any additional minutes. For average speed, use the total elapsed time, including stops.
- Use the speed converter if your question mixes km/h, m/s and mph.
Formulae used
| Distance | s = v × t |
|---|---|
| Speed | v = s ÷ t |
| Time | t = s ÷ v |
| km/h to m/s | ÷ 3.6 |
| m/s to km/h | × 3.6 |
AQA's June 2024 equations sheet prints 'distance travelled = speed × time, s = vt'. Average speed is the total distance divided by the total time. The factor 3.6 comes from 1000 m ÷ 3600 s.
Worked example
A vehicle travels 30 km at 60 km/h, then 30 km at 30 km/h. What is the average speed?
- First leg: time = 30 ÷ 60 = 0.5 h. Second leg: time = 30 ÷ 30 = 1 h.
- Total distance = 60 km and total time = 1.5 h.
- Average speed = 60 ÷ 1.5 = 40 km/h.
- The mean of the two speeds, 45 km/h, is wrong because more time is spent at the slower speed.
Answer: 40 km/h.
Mistakes that cost marks
- Averaging two speeds instead of dividing total distance by total time.
- Mixing units, such as a distance in km with a time in minutes.
- Forgetting to convert minutes to hours: 30 minutes is 0.5 h.
- Confusing speed with velocity. Speed has size only; velocity has direction too.
- Reading the gradient of a distance-time graph as distance. The gradient is speed.
Common questions
What is the average speed formula?
Average speed = total distance ÷ total time.
How do I convert km/h to m/s?
Divide by 3.6. For example 72 km/h is 20 m/s.
Can I calculate in km/h or mph?
Yes. Choose kilometres and hours for km/h, or miles and hours for mph. Changing the unit set clears the inputs. For 30 minutes, enter 0.5 hours; do not enter 30 in an hours field.
Can I use it for acceleration problems?
It can find average speed from total distance and elapsed time even if speed changes. It does not find acceleration or instantaneous speed. For constant-acceleration questions use the SUVAT calculator.
Do I need an account, and is my data saved?
No account is needed. The calculation happens in your browser, and what you type is not saved or sent to a server or an analytics service.
Limits and accuracy
Constant or average speed only; not instantaneous speed or acceleration. Hours are decimal hours: 1 hour 30 minutes is 1.5, not 1.30. Results are shown to 6 significant figures.
Official sources
- AQA: Physics Equations Sheet, GCSE Physics (8463), for use in June 2024 (official PDF) (checked 2026-11-18)
- OpenStax: time, velocity and speed (checked 2026-11-24)
Formula facts were read from these sources on the dates shown. Calculation is done by the same code that the worked examples above were checked against. This tool has had no separate tutor review.
Learn the method behind it
Want someone to check your working?
A calculator gives you an answer; a tutor shows you why it works. If a topic keeps going wrong, you can work through it with a tutor in a free 30-minute demo. No payment details are needed.
Request a free 30-minute demo