🧮 Calculators & Daily Life

Speed, Distance & Time

Given any two of speed, time and distance, calculate the third.

Examples (click to try)

How to Use the Speed, Distance & Time Calculator

Fill in two of speed, time and distance, then press Calculate to find the missing one. Clicking an example chip fills the values and calculates automatically. Tick "Show mph" to read speed in mph and distance in miles.

Worked examples

  • 120 km at 60 km/h → time 2.00 h (distance ÷ speed)
  • 10 km in 1 h → speed 10.0 km/h (distance ÷ time)
  • 80 km/h × 2.5 h → distance 200.0 km (speed × time)
  • 20 km on foot at 4 km/h → time 5.00 h (walking / hiking estimate)
  • Time set to 0 while solving for speed → shows "Values must be greater than zero." (no Infinity)

Common Uses

  • Estimating travel time from distance and average speed.
  • Checking average speed after a drive, ride, walk or delivery route.
  • Finding distance covered when you know speed and elapsed time.

Assumptions and Units

The calculator uses distance = speed × time and treats the entered speed as a constant average over the whole interval. Stops, acceleration, traffic, gradients, and wind are not modelled. Entering 60 km/h for two hours therefore means an average of 60 km/h, regardless of the speed at individual moments.

The mph option uses 1 mile = 1.609344 km. Convert minutes or seconds to hours before entering them. For min/km pacing and race-distance projections, use the Running Pace Calculator.

FAQ

Is my data sent to a server?
No. Everything runs in your browser; nothing is transmitted or stored externally.
Which of the three can it solve?
Enter any two of speed, time and distance and the missing one is computed. A blank speed gives distance ÷ time, a blank time gives distance ÷ speed, a blank distance gives speed × time.
Units?
Distance in km, time in hours, speed in km/h. Tick mph to show speed in mph and distance in miles.
What happens if I enter 0?
Zero and negative values are guarded, so no Infinity or NaN appears. Asking for speed with time set to 0, for example, shows "Values must be greater than zero."
What happens if I fill in all three fields?
It shows "Enter exactly two values." and does not calculate. This is not a checker that verifies whether three entered values agree with the formula, so leave the field you want to solve for empty.
For a round trip at two different speeds, is the average just the mean of the two?
No. For two legs of equal distance the average speed is the harmonic mean. Driving 30 km out at 60 km/h and back at 40 km/h takes 0.5 h plus 0.75 h, so 60 km in 1.25 h gives 48 km/h, not the 50 km/h you get by averaging the speeds. The gap widens as the two speeds diverge, so compute each leg separately, add the times, then work out the overall average.