Skip to content
Tutorials Center
My learning

Topics

Lesson 24 of 86 · Time, Speed, Distance and Work

Speed, Distance and Time

Learn speed, distance and time, km/h to m/s conversion, average speed, relative speed and chase problems, with worked examples and a runnable converter.

How long will a journey take? How far apart are two travellers after an hour? When will one catch the other? All these questions rest on a single relation between three quantities: speed, distance and time. Master it once and you also unlock the next lessons on trains, boats and streams and races.

This lesson covers the basic formula and its three forms, converting between km/h and m/s, the right way to find average speed (it is not the average of the speeds), relative speed for travellers going in the same or opposite directions, and how to solve problems about usual speed and delay. Two scripts let you check the conversions and the average-speed formula.

The basic relation

Distance = Speed × Time

So Speed = Distance ÷ Time and Time = Distance ÷ Speed. The units must agree: if speed is in km/h and time in hours, distance comes out in km. If distance is in metres and time in seconds, speed is in m/s.

Example 1. A car travels 210 km in 3.5 hours. Its speed is 210 ÷ 3.5 = 60 km/h.

For a fixed distance, speed and time are inversely proportional: doubling the speed halves the time. For a fixed speed, distance and time are directly proportional. These ratio facts solve many questions without any numbers at all.

flowchart TB
    D["Distance"] --> S["Speed = D / T"]
    D --> T["Time = D / S"]
    S --> D2["Distance = S x T"]
    T --> D2

One relation, written three ways. Pick the form that has your unknown on its own.

Converting units

The most common conversion is between km/h and m/s, because 1 km = 1,000 m and 1 hour = 3,600 s:

  • km/h to m/s: multiply by 5/18.
  • m/s to km/h: multiply by 18/5.

Example 2. 72 km/h = 72 × 5/18 = 20 m/s. And 25 m/s = 25 × 18/5 = 90 km/h.

Other useful facts: 1 hour = 60 minutes, so 45 minutes = 3/4 hour; 20 minutes = 1/3 hour; 15 minutes = 1/4 hour. Convert time before substituting.

Average speed

Average speed is total distance divided by total time. It is the single steady speed that would cover the whole journey in the same time.

Example 3. A cyclist rides 30 km at 15 km/h and then 30 km at 10 km/h. The times are 2 h and 3 h, so the total time is 5 h for 60 km: average speed = 60 ÷ 5 = 12 km/h, not 12.5 (the average of 15 and 10).

Two special cases are worth remembering:

  • Equal distances at speeds x and y: the average speed is the harmonic mean, 2xy ÷ (x + y). For 40 km/h and 60 km/h: 2 × 40 × 60 ÷ 100 = 48 km/h.
  • Equal times at speeds x and y: the average speed is the ordinary mean, (x + y) ÷ 2.

For three equal distances at speeds a, b, c: average = 3 ÷ (1/a + 1/b + 1/c). For 20, 30 and 60 km/h: 3 ÷ (3/60 + 2/60 + 1/60) = 3 ÷ (6/60) = 30 km/h.

A round trip is the classic case of equal distances. If you go up a hill at 20 km/h and return at 30 km/h, the average speed for the round trip is 2 × 20 × 30 ÷ 50 = 24 km/h.

Relative speed

When two objects move, what matters is how fast the gap between them changes.

  • Opposite directions (towards or away from each other): relative speed = sum of speeds.
  • Same direction: relative speed = difference of speeds.

Example 4. Two towns are 150 km apart. A car leaves each town at the same time and they drive towards each other at 40 km/h and 35 km/h. They close the gap at 75 km/h, so they meet after 150 ÷ 75 = 2 hours.

Example 5. A walker leaves at 30 km/h. Two hours later a second traveller sets off from the same place in the same direction at 45 km/h. The first has a head start of 2 × 30 = 60 km. The second gains 45 − 30 = 15 km every hour, so catching up takes 60 ÷ 15 = 4 hours after the second starts.

Relative speed is also the key to trains passing each other, which we use heavily in the next lesson.

Usual speed and delay

When a speed change causes the arrival time to change, equate the distances or use ratios.

Example 6. A student walks to school at 5 km/h and arrives 10 minutes late. Walking at 6 km/h he arrives 5 minutes early. How far is the school? The time difference is 15 minutes = 1/4 hour. D ÷ 5 − D ÷ 6 = 1/4, so D ÷ 30 = 1/4, which gives D = 7.5 km. Check: 7.5 ÷ 5 = 1.5 h and 7.5 ÷ 6 = 1.25 h, a difference of 0.25 h.

Example 7. At 3/4 of his usual speed, a man reaches the office 20 minutes late. His new time is 4/3 of the usual time (because time is inversely proportional to speed), which adds 1/3 of the usual time. So 1/3 of the usual time is 20 minutes and the usual time is 60 minutes.

Try it: a converter and travel calculator

This script converts between km/h and m/s and solves for time or speed from a distance. It also shows how a unit slip changes an answer by a factor of 3.6.

JS Speed converter

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Try it: average speed

This script compares the harmonic mean with the plain average for equal distances and verifies the formulas by working out total distance and total time directly.

JS Average speed check

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Common mistakes

  • Averaging the speeds when distances are equal. Use total distance over total time.
  • Mixing units: km with minutes, or m/s with km/h.
  • Adding speeds when objects move in the same direction; subtract instead.
  • Forgetting to account for a head start when finding when one traveller catches another.

Check your understanding

Quick check · 5 questions

of 5 answered You scored / 5 · perfect!

  1. 1. Convert 90 km/h to metres per second.

    90 x 5/18 = 25 m/s.
  2. 2. A car goes from A to B at 60 km/h and returns at 40 km/h. What is its average speed for the whole trip?

    For equal distances use 2xy/(x + y) = 2 x 60 x 40 / 100 = 48 km/h.
  3. 3. Two cyclists start at the same point and ride in opposite directions at 12 km/h and 16 km/h. After how many hours are they 98 km apart?

    They separate at 12 + 16 = 28 km/h, so the time is 98 / 28 = 3.5 hours.
  4. 4. A train travelling at 5/6 of its usual speed is 15 minutes late. What is its usual time for the journey?

    At 5/6 of the speed the time is 6/5 of the usual, an extra 1/5. So 1/5 of the usual time is 15 minutes, and the usual time is 15 x 5 = 75 minutes.
  5. 5. A person runs the first half of a distance at 10 km/h and the second half at 15 km/h. What is the average speed?

    Equal distances: 2 x 10 x 15 / 25 = 12 km/h.

Summary

  • Distance = Speed × Time; keep the units consistent.
  • Multiply by 5/18 to go from km/h to m/s, and by 18/5 to go back.
  • Average speed = total distance ÷ total time; for equal distances it is 2xy ÷ (x + y).
  • Relative speed adds for opposite directions and subtracts for the same direction.
  • At a fixed distance, speed and time are inversely proportional.

Next: Problems on Trains, where the length of the moving object matters too.