Time, Speed and Distance — Relative Speed, Trains & Boats

The core relation, unit conversion, relative speed for trains crossing each other, boats in streams, and average speed — with worked solutions.

ConceptFreeQuantitative Aptitude › Time, Speed and Distance⏱ 4 min readUpdated 15 Nov 2026

One relation carries this whole topic: distance = speed × time. Everything else — trains, boats, races — is that relation with a careful reading of what is moving relative to what.

Where it appears

  • SSC CGL / CHSL: 2–3 questions, trains and boats being the favourites.
  • IBPS PO / Clerk: 1–2, often inside a word problem.
  • RRB NTPC and Group D: 3–4 questions — a strong scoring area for railway aspirants.

The basics

RelationFormula
DistanceSpeed × Time
SpeedDistance / Time
TimeDistance / Speed
km/h to m/sMultiply by 5/18
m/s to km/hMultiply by 18/5
Average speed over equal distances2xy / (x + y)

If the distance is fixed, speed and time are inversely proportional: a speed ratio of a:b means a time ratio of b:a.

Relative speed

SituationRelative speed
Same directionDifference of speeds
Opposite directionsSum of speeds
Train crossing a poleDistance = length of train
Train crossing a platformDistance = train + platform
Two trains crossingDistance = sum of both lengths

Boats and streams

QuantityFormula
Downstream speedb + s
Upstream speedb − s
Speed of boat in still water(down + up) / 2
Speed of stream(down − up) / 2

Worked examples

Example 1 — unit conversion

Q. A train runs at 72 km/h. How far does it travel in 25 seconds?

Solution. 72 km/h = 72 × 5/18 = 20 m/s, so the distance is 20 × 25 = 500 m.

Example 2 — train and platform

Q. A 240 m train crosses a 360 m platform in 30 seconds. Find its speed in km/h.

Solution. Distance covered = 240 + 360 = 600 m in 30 s, so speed = 20 m/s = 20 × 18/5 = 72 km/h.

Example 3 — two trains, opposite directions

Q. Two trains 150 m and 200 m long run towards each other at 54 km/h and 72 km/h. How long do they take to cross?

Solution. Relative speed = 54 + 72 = 126 km/h = 126 × 5/18 = 35 m/s.

Total length = 350 m, so time = 350 / 35 = 10 seconds.

Example 4 — average speed

Q. A man goes to a town at 30 km/h and returns at 20 km/h. Find his average speed.

Solution. Equal distances, so average = 2xy/(x + y) = 2 × 30 × 20 / 50 = 24 km/h.

Not 25. The slower leg takes longer, so it carries more weight.

Example 5 — boats

Q. A boat covers 36 km downstream in 3 hours and the same distance upstream in 4 hours and 30 minutes. Find the speed of the boat and of the stream.

Solution. Downstream = 36/3 = 12 km/h; upstream = 36/4.5 = 8 km/h.

Boat = (12 + 8)/2 = 10 km/h; stream = (12 − 8)/2 = 2 km/h.

Example 6 — late and early

Q. Walking at 4/5 of his usual speed, a man reaches office 10 minutes late. What is his usual time?

Solution. Speed ratio 4:5 means time ratio 5:4. The extra one part equals 10 minutes, so the usual time of 4 parts is 40 minutes.

Short tricks

  • Convert once, early. Pick m/s for train questions and km/h for journeys, then stay there.
  • Inverse proportion handles every "if he had walked faster" question without equations.
  • Crossing a pole means the train covers only its own length — a free mark if you read it correctly.
  • 2xy/(x + y) applies only to equal distances. For equal times, the plain average is right.

Common mistakes

  • Mixing units — metres with km/h in the same line.
  • Taking the plain average of two speeds over equal distances.
  • Forgetting the platform's length, or adding it when the train crosses a pole.
  • Reversing upstream and downstream.

Practice questions

  1. A train 180 m long crosses a pole in 9 seconds. Find its speed in km/h.
  2. Two trains of 120 m and 180 m run in the same direction at 90 km/h and 72 km/h. How long does the faster take to overtake the slower?
  3. A car covers the first half of a journey at 40 km/h and the second half at 60 km/h. Find the average speed.
  4. A boat takes twice as long upstream as downstream. If the stream runs at 3 km/h, find the boat's speed in still water.
  5. A man covers a distance in 3 hours at 50 km/h. At what speed must he return to make the average for the round trip 60 km/h?

Answers

  1. 72 km/h. 180/9 = 20 m/s = 72 km/h.
  2. 60 seconds. Relative speed = 18 km/h = 5 m/s; total length 300 m; 300/5 = 60.
  3. 48 km/h. 2 × 40 × 60 / 100 = 48.
  4. 9 km/h. Twice the time means half the speed, so b − 3 = (b + 3)/2 → b = 9.
  5. 75 km/h. One way is 150 km; the round trip of 300 km at 60 km/h takes 5 hours, leaving 2 hours for the return, so 150/2 = 75.