ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude
Trains and relative speed: crossing a pole, a platform or a train
Work out how long a train takes to pass a pole, a platform or another train: add every length it must clear, then divide by its speed, or by the sum or difference of two speeds when both are moving.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Find the time a train takes to cross a pole or a standing person, taking the train's own length as the distance.
- Add the length of a platform, bridge or tunnel to the train's length before dividing by the train's speed.
- Use relative speed for two trains: add their speeds when they move in opposite directions and subtract them when they move in the same direction.
- Work backwards from crossing times to find the length or the speed of a train.
Before you start
Every train question rests on distance = speed x time, with one extra twist: a train has length. It has not finished passing anything until its last coach is clear, so the distance it covers is more than the gap between its engine and the object. Lengths are usually in metres and times in seconds, so change a speed in km/h to m/s first by multiplying by 5/18; 54 km/h, for instance, is 15 m/s. In this lesson each train keeps a steady speed, its length runs from the front of the engine to the back of the last coach, and unknown values are called n or k because x stands for multiply.
Crossing a pole or a platform
A pole, a signal post or a person standing beside the track has almost no width. The crossing starts when the engine reaches it and ends when the last coach passes it, so the train moves forward by exactly its own length: time = train length / speed. A 180 m train at 20 m/s passes a pole in 180 / 20 = 9 seconds. A platform, a bridge or a tunnel has a length of its own. The engine must travel the whole platform and then the train's own length before the rear leaves the far end, so distance = train length + platform length. The same train clears a 220 m platform in (180 + 220) / 20 = 20 seconds.
Relative speed when both are moving
If the object being crossed is also moving, what matters is how fast the gap between the two closes. This rate is the relative speed. Two trains running towards each other close the gap at the sum of their speeds. Two trains running the same way close it only at the difference, because the slower one keeps moving away from the faster. To pass each other completely, two trains of lengths a and b metres must cover a + b metres at the relative speed, so time = (a + b) / relative speed. A person walking beside the track, or a passenger sitting in another train, is treated like a pole: only the length of the passing train counts, but the speed used is still the relative speed.
Working backwards to a length or a speed
Some questions give crossing times and ask for a length or a speed. Use distance = speed x time in reverse. Suppose a train passes a pole in 12 seconds and a 300 m bridge in 27 seconds. The extra 27 - 12 = 15 seconds are spent covering the 300 m of bridge, so the speed is 300 / 15 = 20 m/s, which is 20 x 18/5 = 72 km/h, and the train's length is 20 x 12 = 240 m. Check: 20 x 27 = 540 m, which is 240 m of train plus 300 m of bridge. When the answer choices are in km/h, convert only at the end by multiplying by 18/5.
Common mistakes
Leaving out the train's own length when it crosses a platform or a bridge, which makes the time too short. Adding the speeds of two trains going the same way, or subtracting them for trains coming towards each other. Dividing metres by a speed still in km/h. Counting only one train's length when two trains pass each other. Giving a person or a pole a length of its own. Multiplying by 18/5 when the change from km/h to m/s needs 5/18; the m/s figure is always the smaller one. Finally, re-read what is asked: a time in seconds, a length in metres or a speed in km/h.
A crossing checklist
1. Sketch the track and note what must be cleared: a point such as a pole or a person, or a length such as a platform or a second train. 2. Add up every length to be cleared; this is the distance. 3. Choose the speed: the train's own speed for anything standing still, the sum of speeds for movement towards each other, the difference for movement in the same direction. 4. Put the speed in m/s and divide the distance by it. 5. Sense-check: a platform takes longer than a pole, and a small relative speed means a long crossing time.
Worked examples
A goods train 240 m long runs at 72 km/h. How long does it take to pass a signal post, and how long to pass completely through a station platform 160 m long?
- Change the speed to m/s: 72 x 5/18 = 20 m/s.
- Signal post: the distance is the train's length, so time = 240 / 20 = 12 seconds.
- Platform: the distance is 240 + 160 = 400 m, so time = 400 / 20 = 20 seconds.
- Sense check: the platform adds 160 m, which takes 160 / 20 = 8 more seconds, and 12 + 8 = 20.
Answer: The train passes the signal post in 12 seconds and clears the platform in 20 seconds.
Two passenger trains, 150 m and 120 m long, run towards each other on parallel tracks at 50 km/h and 58 km/h. How long do they take to cross each other completely?
- They move in opposite directions, so the relative speed is 50 + 58 = 108 km/h.
- In m/s: 108 x 5/18 = 30 m/s.
- The distance to be covered is the sum of the lengths: 150 + 120 = 270 m.
- Time = 270 / 30 = 9 seconds.
Answer: The trains cross each other in 9 seconds.
An express train 200 m long running at 68 km/h overtakes a goods train 160 m long running at 50 km/h on a parallel track in the same direction. How long does the overtaking take?
- Same direction, so the relative speed is 68 - 50 = 18 km/h, which is 18 x 5/18 = 5 m/s.
- To pass completely, the express must gain 200 + 160 = 360 m on the goods train.
- Time = 360 / 5 = 72 seconds, which is 1 minute 12 seconds.
- Using the sum of the speeds by mistake would give 118 km/h and only about 11 seconds, far too quick for one train gaining on another.
Answer: The overtaking takes 72 seconds, that is 1 minute 12 seconds.
Practice checks
- A train 250 m long, running at 54 km/h, takes 30 seconds to pass a platform completely. How long is the platform?
- A train 300 m long runs at 90 km/h. How long does it take to pass a signal post?
- Two trains, 150 m and 125 m long, run on parallel tracks in opposite directions at 45 km/h and 54 km/h. How long do they take to cross each other completely?
- A passenger sits in a train moving at 40 km/h. A goods train 250 m long, running in the same direction on the next track at 76 km/h, overtakes her. How long does the goods train take to pass her?
- A train passes a pole in 18 seconds and a bridge 360 m long in 42 seconds. What is the speed of the train?
Sources checked
- SSC CGL Scheme and Syllabus, labelled 2024 — Tier-I Quantitative Aptitude and Tier-II Mathematical Abilities (Time and distance (relative speed)); not verified as the full 2026-cycle syllabus
- OpenStax, University Physics Volume 1 — Section 4.5, relative motion in one dimension: a velocity is stated relative to a reference frame, velocities along one line combine as signed numbers, and a train overtaken by a faster train moving the same way has a relative velocity equal to the difference of their speeds; physical relationships only