Speed, Distance and Time: Formula and Unit Traps

By Anatolie · Updated 2026-11-21

Speed, distance, and time are tied together by one relationship, and if you know any two of them you can find the third. The arithmetic is easy; almost every wrong answer comes from the units — minutes treated as decimals, or kilometres mixed with miles.

The formula, three ways round

speed = distance ÷ time
distance = speed × time
time = distance ÷ speed

A common memory aid is the triangle: D on top, S and T side by side underneath. Cover the quantity you want and the other two show you the operation — D over S means divide, S next to T means multiply.

Worked examples

Finding speed. A train covers 150 km in 2.5 hours: 150 ÷ 2.5 = 60 km/h.

Finding distance. Driving at 80 km/h for 45 minutes: first convert 45 minutes to 0.75 hours, then 80 × 0.75 = 60 km.

Finding time. 210 km at 70 km/h: 210 ÷ 70 = 3 hours.

The speed, distance & time calculator solves for whichever value you pick, in km, miles, metres or nautical miles, with times typed as decimals or h:mm:ss.

Trap 1: minutes are not decimals

1 hour 30 minutes is 1.5 hours, not 1.3. To turn minutes into a decimal fraction of an hour, divide by 60: 15 min = 0.25 h, 20 min ≈ 0.333 h, 45 min = 0.75 h. Going the other way, multiply the decimal part by 60: 2.4 hours is 2 hours plus 0.4 × 60 = 24 minutes.

Trap 2: mixed units

The formula only works if the units agree — km with hours and km/h, or metres with seconds and m/s. Convert first, then calculate.

FromToMultiply byExample
km/hm/s÷ 3.636 km/h = 10 m/s
m/skm/h× 3.625 m/s = 90 km/h
mphkm/h× 1.60934460 mph ≈ 96.6 km/h
knotskm/h× 1.85220 knots ≈ 37 km/h

The calculator accepts all of these units directly and converts between them for you. For any other unit, the unit converter handles the conversion before you plug the numbers in.

Trap 3: average speed is not the average of the speeds

Drive 60 km at 30 km/h, then the same 60 km back at 60 km/h. It's tempting to say the average was 45 km/h, but the first leg took 2 hours and the second only 1. The real average is total distance over total time: 120 km ÷ 3 h = 40 km/h. You spend longer at the slower speed, so it pulls the average down. Always add up the distances and the times separately, then divide.

Pace: the runner's version

Runners usually think in pace — minutes per kilometre — which is simply time ÷ distance, the inverse of speed. To convert, divide 60 by the speed in km/h: 12 km/h is a 5:00 per km pace, and 10 km/h is 6:00 per km. The running pace calculator works in pace directly and builds a split table for a race distance.