Distance Speed Time Calculator: Formula & Examples
- Average speed
- km/h
- Result
- Finish time
- 50 min
- You entered
- Distance
- 10 km
- You entered
This calculator works out distance, speed, or time when you enter the other two values. You pick which quantity you want to find, type in the two known numbers, and get the answer in the unit you chose—kilometres per hour, miles per hour, metres per second, or minutes per kilometre. The tool uses the standard formula distance = speed × time and rearranges it for whichever value is missing.
Formula
The core relationship is:
distance = speed × time
Rearranged for the other two:
- speed = distance ÷ time
- time = distance ÷ speed
Where:
- distance is measured in metres, kilometres, miles, or any length unit.
- speed is the rate of travel, e.g. km/h, m/s, mph.
- time is the duration of travel, e.g. seconds, minutes, hours.
Units must match. If speed is in km/h, time must be in hours to get distance in kilometres. If you use minutes, convert first: 1 hour = 60 minutes, 1 minute = 60 seconds.
Worked Example
Using the calculator defaults: you run 10 km in 50 minutes.
- Convert time to hours: 50 min ÷ 60 = 0.8333 h.
- Speed = distance ÷ time = 10 km ÷ 0.8333 h = 12.0 km/h.
- Pace = time ÷ distance = 50 min ÷ 10 km = 5.0 min/km.
The calculator shows speed 12.00 km/h and pace 5.00 min/km, matching the steps above.
When to Use This Calculator
This tool is useful in everyday situations and planning:
- Running or cycling: find your average speed from a known distance and finish time, or estimate finish time for a target pace.
- Driving: estimate arrival time given distance and average speed, or check if you can cover a distance within a time limit.
- Physics homework: solve basic motion problems with constant speed.
- Logistics: estimate delivery times or travel times for planning.
The formula assumes constant speed. Real trips have stops, traffic, and acceleration, so the result is an average, not a precise prediction.
How to Read the Result
The first output (the headline) is the quantity you asked for. If you entered time and distance, you get speed and pace. If you entered speed and time, you get distance. The calculator also gives a secondary output (pace) when relevant, which is common in running and walking contexts.
For example, a pace of 5.00 min/km means you cover one kilometre every 5 minutes. A speed of 12 km/h means you cover 12 kilometres in one hour. Both describe the same performance.
Common Mistakes and Unit Mix-ups
The most frequent error is mixing units without converting. For instance, using a speed in km/h with a time in minutes gives a distance that is off by a factor of 60. Always convert time to the same base as the speed:
- If speed is km/h, time must be hours.
- If speed is m/s, time must be seconds.
- If speed is mph, time must be hours.
Another mistake is confusing pace (time per distance) with speed (distance per time). A faster runner has a lower pace (e.g. 4 min/km) but a higher speed (15 km/h).
Rounding too early can also cause small errors. Keep extra decimal places during intermediate steps, then round the final answer.
Limits of the Formula
The simple formula works only for constant speed. In real life, speed changes: you speed up, slow down, stop at lights, or climb hills. The result is an average speed, not a moment-by-moment value. For varying motion, you would need calculus or a speedometer reading.
Also, the formula assumes a straight-line distance or a path length. If you drive a winding road, the odometer distance is the actual path length, not the straight-line distance between start and end. Use the path length for travel time, not map coordinates.
Frequently Asked Questions
How do I calculate distance with speed and time?
Multiply speed by time. For example, driving at 60 km/h for 2 hours gives 60 × 2 = 120 km. Make sure the time unit matches the speed unit (hours for km/h, seconds for m/s).
What is the difference between speed and pace?
Speed is distance per unit time (e.g. km/h). Pace is time per unit distance (e.g. minutes per kilometre). They are reciprocals: pace = 60 ÷ speed (when speed is in km/h and pace in min/km). A higher speed means a lower pace.
How do I convert minutes per mile to minutes per kilometre?
1 mile = 1.60934 km. To convert a pace from min/mile to min/km, divide the minutes per mile by 1.60934. For example, 8 min/mile ÷ 1.60934 = 4.97 min/km. For speed, multiply km/h by 0.621371 to get mph.
Can I use this calculator for walking or driving?
Yes, the formula applies to any moving object. For walking, you might use pace (min/km). For driving, use speed (km/h or mph). Just keep units consistent.
Why does the calculator give a different result than my phone’s GPS?
GPS apps often measure instantaneous speed or use a different distance (e.g. actual path vs. straight line). This calculator gives an average over the whole trip. Also, GPS distance can be slightly off due to signal errors, especially indoors or in dense areas.
What if I only know speed and distance, not time?
Divide distance by speed to get time. For example, 150 km at 50 km/h = 3 hours. Convert to minutes or seconds as needed.
Related
Formula used
in t | Finish time | min | 50 | 0 in d | Distance | km | 10 | 0 out pace | Average pace | min/km | t / d | 2 out speed | Average speed | km/h | d / (t / 60) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.