SDT Verytasium

Speed distance time calculator

Use this free speed distance time calculator to find any one of speed, distance or time from the other two — in mph, km/h, m/s, knots, feet or nautical miles, or as a running pace — with your arrival time and a multi-leg average speed tool. Units start in miles or kilometres to suit your country.

Time (hours, minutes, seconds)
Examples:

How to use the speed distance time calculator

Choose what you want to find — speed, distance or time — and enter the other two. Units are your choice: kilometres, miles, metres, nautical miles, feet or yards for distance; km/h, mph, m/s, knots, ft/s or a running pace (min/km, min/mile) for speed; hours, minutes and seconds for time. The answer appears as you type, converted into every other unit, with the running pace and, if you add a departure time, the arrival time. The calculator starts in miles and mph in the US and UK and in kilometres elsewhere, and remembers your choice.

The speed, distance and time formulas

The classic memory aid is the DST triangle: write D on top and S and T underneath. Cover the one you want; what is left shows the operation — D over S·T means divide, S next to T means multiply. Units must match: kilometres with km/h and hours, metres with m/s and seconds.

Worked examples

  1. Speed: 150 km in 2 h → 150 ÷ 2 = 75 km/h (46.6 mph, 20.8 m/s).
  2. Time: 300 km at 80 km/h → 300 ÷ 80 = 3.75 h = 3 h 45 min. Leave at 09:30 and you arrive at 13:15.
  3. Distance: 65 mph for 2 h 30 min → 65 × 2.5 = 162.5 miles (261.5 km).
  4. Running pace: a marathon (42.195 km) in 4 h is 10.55 km/h, a pace of 5:41 per km or 9:09 per mile.
  5. Sea and air: 240 nautical miles at 12 knots takes 20 h. One knot is one nautical mile (1852 m) per hour.

Converting time and speed units

The most common mistake is mixing minutes and decimal hours: 1 h 30 min is 1.5 h, not 1.3 h. Divide minutes by 60 (and seconds by 3600) before using the formula — or simply type hours, minutes and seconds into the three boxes and let the calculator do it.

FromToMultiply by
km/hm/s÷ 3.6 (× 0.2778)
m/skm/h× 3.6
mphkm/h× 1.609344
km/hmph× 0.621371
knotskm/h× 1.852
mphm/s× 0.44704
min/km pacekm/h60 ÷ pace

Average speed for a trip with several legs

Average speed is total distance ÷ total time — not the average of the speeds. Drive 60 km at 60 km/h and 60 km back at 30 km/h: the total is 120 km in 3 h, so the average is 40 km/h, not 45 km/h. The second tab adds as many legs as you like (distance plus hours and minutes) and gives the true average. This is the harmonic-mean trap that appears in aptitude tests and GCSE/SAT questions.

Speed vs velocity, and where the formula stops working

Speed is how fast; velocity is speed with a direction. The formula here gives average speed over the whole distance — your speedometer shows instantaneous speed, which varies. For constant acceleration use the SUVAT equations (v = u + at, s = ut + ½at²); for objects in flight see the projectile motion calculator. For the cost of a road trip, combine the distance here with the fuel cost calculator, and round lab answers with the significant figures calculator.

Useful reference speeds

ThingTypical speed
Walking5 km/h (3.1 mph)
Cycling (commuter)15–20 km/h
Motorway / interstate100–130 km/h (60–80 mph)
High-speed train250–320 km/h
Airliner cruise~900 km/h (Mach 0.8)
Sound in air (20 °C)343 m/s (1235 km/h)
Light in vacuum299 792 458 m/s

Frequently asked questions

What is the formula for speed, distance and time?

Speed = distance ÷ time, distance = speed × time, and time = distance ÷ speed.

How do I calculate time from distance and speed?

Divide distance by speed: 300 km ÷ 80 km/h = 3.75 h = 3 h 45 min.

How do I convert km/h to m/s?

Divide by 3.6 (or multiply by 5/18): 72 km/h = 20 m/s. Multiply m/s by 3.6 to get km/h.

How do I calculate average speed for a whole trip?

Divide total distance by total time. Do not average the speeds — use the multi-leg tab.

What is a knot?

One nautical mile (1852 m) per hour, about 1.151 mph or 1.852 km/h.

How do I work out running pace?

Pace = time ÷ distance. Choose min/km or min/mi as the speed unit to see pace directly, e.g. a 4-hour marathon is 5:41 per km.

Does it work in miles?

Yes. It starts in miles and mph in the US and UK and in kilometres elsewhere, and you can switch any time.

More tools