Problems on trains aptitude questions with solutions
Last updated 2026-11-19
Train problems are time, speed and distance problems where the length of the train matters. The key observation is that to cross an object the train must cover its own length plus the length of that object.
The page lists the formulas and then 12 questions with full working: poles, platforms, tunnels, trains in opposite and same directions, and men walking alongside. Review time, speed and distance first if unit conversion is a problem. The overall plan is in how to crack an aptitude test.
Key formulas for trains
- Time to cross a pole or a person standing still = length of train / speed.
- Time to cross a platform, bridge or tunnel = (train length + platform length) / speed.
- Two trains in opposite directions: relative speed = s1 + s2. Same direction: relative speed = s1 - s2.
- Time for two trains to cross each other = (L1 + L2) / relative speed.
- Convert km/h to m/s by multiplying by 5/18 when lengths are in metres.
- If two trains cross a pole in t1 and t2 seconds, their speeds are L1/t1 and L2/t2.
Shortcuts and common mistakes
- Always change km/h into m/s before dividing metres by speed.
- A person walking in the same direction as the train reduces the relative speed; a person walking towards the train increases it.
- If a train crosses a pole in t1 and a platform in t2, the platform length equals speed times (t2 - t1).
- Draw a quick sketch: it shows which lengths are being added.
Problems on trains aptitude questions with solutions: questions with worked answers
1 A 120 m train moving at 60 km/h passes a pole. How long does it take?
easy60 km/h = 60 × 5/18 = 50/3 m/s. Time = 120 / (50/3) = 7.2. Final answer: 7.2 seconds.
2 A 150 m train moving at 54 km/h crosses a 300 m platform. How long does it take?
easy54 km/h = 15 m/s. Distance = 150 + 300 = 450 m. Time = 450/15 = 30. Final answer: 30 seconds.
3 A train running at 36 km/h passes a pole in 10 seconds. Find its length.
easy36 km/h = 10 m/s. Length = 10 × 10 = 100. Final answer: 100 m.
4 Two trains of lengths 100 m and 120 m run in opposite directions at 40 km/h and 50 km/h. How long do they take to cross each other?
mediumRelative speed = 90 km/h = 25 m/s. Total length = 220 m. Time = 220/25 = 8.8. Final answer: 8.8 seconds.
5 Two trains of lengths 100 m and 80 m run in the same direction at 60 km/h and 48 km/h. How long does the faster one take to overtake the slower one?
mediumRelative speed = 12 km/h = 10/3 m/s. Total length = 180 m. Time = 180/(10/3) = 54. Final answer: 54 seconds.
6 A 150 m train passes a man walking in the same direction in 18 seconds. The man walks at 6 km/h. Find the train's speed.
mediumRelative speed = 150/18 = 25/3 m/s = 30 km/h. Train speed = 30 + 6 = 36. Final answer: 36 km/h.
7 A train crosses a pole in 15 seconds and a 100 m platform in 25 seconds. Find its length and speed.
mediumThe extra 10 seconds covers the 100 m platform, so speed = 10 m/s. Length = 10 × 15 = 150 m. Final answer: 150 m and 10 m/s (36 km/h).
8 Two trains running in opposite directions cross a man on the platform in 27 s and 17 s, and cross each other in 23 s. Find the ratio of their speeds.
mediumL1 = 27 v1 and L2 = 17 v2. (27v1 + 17v2)/(v1 + v2) = 23, so 27v1 + 17v2 = 23v1 + 23v2, 4v1 = 6v2, and v1 : v2 = 3 : 2. Final answer: 3 : 2.
9 A 200 m train passes through a 1 km tunnel in 1 minute 12 seconds. Find its speed in km/h.
mediumDistance = 1,200 m in 72 s, so speed = 16.67 m/s. Multiply by 18/5: 60. Final answer: 60 km/h.
10 Two trains of equal length 200 m cross each other in 10 s when going in opposite directions and in 50 s in the same direction. Find the speeds.
hardv1 + v2 = 400/10 = 40 m/s and v1 - v2 = 400/50 = 8 m/s. So v1 = 24 m/s and v2 = 16 m/s. Final answer: 86.4 km/h and 57.6 km/h.
11 A 300 m train at 54 km/h overtakes a man walking in the same direction at 3 m/s. How long does it take to pass him?
hardTrain speed = 15 m/s. Relative speed = 12 m/s. Time = 300/12 = 25. Final answer: 25 seconds.
12 A train travelling at 60 km/h would save 1 hour on a journey if its speed were 20% higher. Find the distance.
hardNew speed = 72 km/h. d/60 - d/72 = 1 gives d × (12 - 10)/720 = 1, so d = 360. Final answer: 360 km.
Frequently asked questions
Why do we add the lengths when a train crosses a platform?
The front must travel to the end of the platform and the rear must then clear it, so the distance equals train length plus platform length.
When do I subtract the speeds?
When the trains, or train and person, are moving in the same direction. For opposite directions, add.
Do I need to convert units every time?
Yes. If lengths are in metres and times in seconds, convert km/h to m/s with 5/18.
What else should I practise?
Boats and streams uses the same relative speed logic. The TCS interview guide covers where aptitude appears in the process.
Related guides
More in Aptitude Questions for Placements
- Profit and loss aptitude questions with solutions
- Pseudocode Aptitude Questions with Output Tracing
- Quadratic equation aptitude questions
- Ratio and proportion aptitude questions with solutions
- Reading Comprehension Aptitude Questions with Answers
- Seating Arrangement Aptitude Questions with Solutions
- Sentence Correction Aptitude Questions with Answers
- Simple interest aptitude questions with solutions
- Simplification aptitude questions with solutions
- Statement and Assumption Aptitude Questions with Answers
- Statement and Conclusion Aptitude Questions with Answers
- Syllogism Aptitude Questions with Venn Solutions