How-to guides · 3 min read

Speed, Distance and Time Formula: Examples and Average Speed

Speed, Distance and Time Formula: Examples and Average Speed — illustration
In short: speed = distance ÷ time. A car covering 150 km in 3 hours has a speed of 50 km/h.

The three formulas

  • speed = distance ÷ time
  • distance = speed × time
  • time = distance ÷ speed
60 km/h for 2.5 hours
Answer Distance = 150
Step-by-step working 1 steps
  1. 1
    distance = speed × time
    60 × 2.5 = 150

Keep the units consistent

If speed is in km/h, time must be in hours. 30 minutes is 0.5 hours. To convert km/h to m/s divide by 3.6.

90 km at 60 km/h
Answer Time = 1.5
  • If hours: 1 h 30 min
Step-by-step working 2 steps
  1. 1
    time = distance ÷ speed
    90 ÷ 60 = 1.5
  2. 2
    If the time unit is hours
    1.5 h = 1 h 30 min

Average speed on a round trip

Drive 120 km out at 60 km/h and back at 40 km/h. Times: 2 h and 3 h, total 5 h for 240 km, so the average is 48 km/h — not 50.

Use the speed, distance and time calculator and the unit converter.

Converting between km/h, m/s and mph

To change km/h into m/s, divide by 3.6, since 1 km is 1,000 m and 1 hour is 3,600 s. One mile is exactly 1.609344 km, so 1 mph is 1.609344 km/h.

km/hm/smph
308.3318.64
5013.8931.07
6016.6737.28
902555.92
10027.7862.14
12033.3374.56

Check any conversion with the unit converter when units differ.

Two objects moving together or apart

When two objects move toward each other, add their speeds to get the closing speed. Two trains 300 km apart travel toward each other at 60 km/h and 40 km/h. They close the gap at 100 km/h, so they meet after 300 ÷ 100 = 3 hours.

Hours until two trains meet
Answer3
Order-of-operations steps 2 steps

Start: 300 ÷ (60 + 40)

  1. Add
    60 + 40 = 100→ 300 ÷ 100
  2. Divide
    300 ÷ 100 = 3→ 3

When one object chases another in the same direction, subtract the speeds. A car at 80 km/h that is 20 km behind a lorry at 60 km/h closes the gap at 20 km/h and catches it after 1 hour.

Running pace versus speed

Runners often use pace, the time per kilometre, instead of speed. A 5 km run in 25 minutes is a speed of 5 ÷ (25/60) = 12 km/h, and a pace of 5:00 per km.

5 km timeSpeed (km/h)Pace (min/km)
20 min154:00
25 min125:00
30 min106:00
35 min8.577:00

Pace and speed are reciprocals: when one goes up, the other goes down.

A full worked word problem

A cyclist rides 24 km at 12 km/h, then 24 km at 16 km/h. What is the average speed? The times are 2 hours and 1.5 hours, total 3.5 hours for 48 km.

Average speed over two equal distances
Answer13.7142857143
Order-of-operations steps 4 steps

Start: 48 ÷ (24 ÷ 12 + 24 ÷ 16)

  1. Divide
    24 ÷ 12 = 2→ 48 ÷ (2 + 24 ÷ 16)
  2. Divide
    24 ÷ 16 = 1.5→ 48 ÷ (2 + 1.5)
  3. Add
    2 + 1.5 = 3.5→ 48 ÷ 3.5
  4. Divide
    48 ÷ 3.5 = 13.71428571→ 13.71428571

The average is 13.714 km/h, below the simple mean of 14. Equal distances at different speeds always give an average below the simple mean, because more time is spent at the slower speed. For more word-problem technique see how to solve word problems.

Frequently asked questions

How do I convert minutes to hours?

Divide by 60: 45 minutes is 0.75 hours.

What is average speed?

Total distance divided by total time.

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

Divide by 3.6.

How do I find when two moving objects meet?

Add their speeds if they move toward each other and divide the distance between them by the combined speed.

Written and reviewed by Mateuss M.

Mateuss M. writes and reviews mathematical content for CalcSolver, focusing on online calculators, formulas, equations, and practical math tools. He reviews calculator functionality, calculation methods, formulas, examples, and explanations to help ensure that each tool is clear, useful, and easy to understand.

Keep reading