Time, speed and distance: relative speed, trains and boats

Speed questions look different on the surface, but they all use distance = speed × time. These are the main variations.

CAT CUET Bank/SSC Updated 27 Oct 2026

Units first

1 km/h = 1000 m ÷ 3600 s = 5/18 m/s. So 72 km/h = 20 m/s and 54 km/h = 15 m/s. Convert before you do anything else.

Average speed

If you cover the same distance at x and then at y, the average speed is 2xy/(x + y). Going at 60 km/h and returning at 40 km/h gives 2 × 60 × 40 / 100 = 48 km/h, not 50.

Relative speed and trains

Which distance and speed to use
SituationDistance to coverSpeed to use
Train passes a pole or a personLength of the trainTrain speed
Train passes a platform or bridgeTrain + platform lengthTrain speed
Two trains, opposite directionsSum of both lengthsSum of speeds
Two trains, same directionSum of both lengthsDifference of speeds

Example. A 150 m train at 54 km/h (15 m/s) crosses a 300 m platform in (150 + 300) ÷ 15 = 30 seconds.

Example. Trains of 120 m and 180 m run in opposite directions at 40 and 50 km/h. The relative speed is 90 km/h = 25 m/s, so they cross in 300 ÷ 25 = 12 seconds.

Boats and streams

With boat speed b in still water and stream speed s: downstream = b + s, upstream = b − s. So b = (down + up)/2 and s = (down − up)/2.

Example. A boat goes 36 km downstream in 2 hours and returns in 3 hours. Down = 18 km/h, up = 12 km/h, so the boat's speed is 15 km/h and the stream's is 3 km/h.

FAQ

Why isn't average speed the simple average?

You spend more time at the slower speed, so it counts for more. The harmonic mean 2xy/(x+y) accounts for that.

Do I add train lengths when one train overtakes another?

Yes. To pass fully, the faster train covers both lengths at the difference of the speeds.

Sources

Practise this