Speed Distance Time Calculator
This calculator solves for average speed, distance, or elapsed time when the other two quantities are known. Choose metric kilometers and kilometers per hour, or imperial miles and miles per hour, and enter time in decimal hours.
By Dr. Hassan Khames EliwaLast updated
Result
- Distance
- 150 km
- Time
- 2.5 hours
- Time in minutes
- 150
How it works
Choose the unknown before entering numbers
The three relationships are speed = distance / time, distance = speed × time, and time = distance / speed. Select the quantity you want to solve, then supply the two visible inputs. Hidden values from a different mode or unit system are not used in the calculation.
Metric mode pairs kilometers with kilometers per hour. Imperial mode pairs miles with miles per hour. Both modes use hours, so the same arithmetic applies without an intermediate conversion. Changing the selector changes which labeled input fields are used; it does not convert the numbers you previously entered into another unit system.
Average speed is an overall rate
If you include traffic stops in elapsed time, the resulting speed is a whole-trip average including those stops. If you enter moving time only, it is a moving average. Neither answer is inherently wrong, but they describe different things. Pick the time definition that matches the decision you are making.
Distance means path length, not straight-line displacement. A return trip can have substantial distance even though it ends at its starting point. This calculator does not use direction, gradients, acceleration, weather, or a route model. Solving time with a fixed speed assumes that the supplied speed represents the whole journey.
Boundaries and display precision
Known distance can be zero. Known speed and known time must be greater than zero, so division has a defined denominator. Active inputs must be finite and no greater than one trillion in their displayed units. Results show up to six decimal places, and time is also displayed in minutes. Very small positive results can therefore appear as zero after display rounding; retain suitable input precision for your task.
Worked example
Metric average speed
A driver covers 150 kilometers in 2.5 hours, including a short stop. Select Speed and Metric, then enter distance 150 and time 2.5. Dividing 150 by 2.5 gives 60 km/h.
The full output is Speed 60 km/h, Distance 150 km, Time 2.5 hours, and Time in minutes 150. The figure is not a recommended cruising speed: while the car was stopped, it was contributing time but no distance. Some moving sections must have been faster than the overall average if other sections were slower.
Imperial travel time
For a 120-mile journey modeled at 60 mph, select Time and Imperial. Enter distance 120 miles and speed 60 mph. The results are 60 mph, 120 miles, 2 hours, and 120 minutes. Add any planned stops separately if the 60 mph figure describes movement only. A scheduling buffer is also separate from the mathematical travel time.
Expert tips
Common mistakes
- Treating the units selector as automatic conversion. The metric and imperial fields retain their own values. After switching, read the labels and enter the intended quantities again instead of assuming 150 kilometers has become 150 miles.
- Using zero as a known speed to request an infinite arrival time. The tool rejects that input. A stationary vehicle has no finite arrival time for a positive remaining distance under a constant-speed model.
- Presenting the result as a guarantee. Real journeys include intersections, queues, rest stops, and changing road conditions. Use an achievable average and add a deliberate allowance when an arrival deadline matters.
Frequently asked questions
Can it solve all three quantities?
Yes. Select Speed, Distance, or Time. The form shows only the required known inputs, and the chosen unknown becomes the primary result.
Is this the same as pace?
No. Speed is distance per unit time, while pace is time per unit distance. For running-style minutes per kilometer or mile, use the pace calculator.
Does it convert kilometers to miles?
Not directly. It supports a coherent metric input set and a coherent imperial input set. Use the unit converter when you need to translate a particular distance.
Why are zero distance and zero time handled differently?
Zero distance can represent no travel and produces zero calculated speed or time when the other known input is positive. A known zero time is rejected because calculating speed would require division by zero.
Can I use it for cycling or walking?
Yes. The equations are independent of travel type. Choose realistic average speeds and consistent units, and remember that the calculation does not estimate effort, safety, or terrain effects.
Related calculators
Related guides
MathPercentages people get wrong: change, difference and pointsThe denominator determines the answer. Learn to distinguish percentage change, symmetric difference and percentage-point movements.14 November 2026 · 7 min read
MathStandard deviation without the jargonThe average tells you the centre. Standard deviation helps describe the spread, provided you know what the data represents.14 November 2026 · 7 min readAbout the author
Dr. Hassan Khames Eliwa holds a PhD in Construction & Built Environment and has more than 20 years of international project controls experience. He is Director of Eliwa Project Controls Limited in Auckland and founder of PMMilestone.org and PMMilestone.com.
Buy me a coffee