Problems on Trains with Speed and Crossing Examples

For any complete train-crossing problem, use time = distance ÷ speed. The required distance is the train length for a pole or person, the sum of train and object lengths for a platform, bridge or tunnel, and the sum of both train lengths when two trains completely cross. For moving trains, use relative speed: add speeds in opposite directions and subtract them in the same direction.

On this page

Distances and Times for Complete Crossings

ApplicationFormula / conditionExample
Basic relationTime = Distance ÷ Speed; Distance = Speed × Time; Speed = Distance ÷ Time. Use compatible units for distance, speed and time.
Pole or personTime = Train length ÷ Train speed. The stationary object is treated as having negligible length.
Platform, bridge or tunnelTime = (Train length + Object length) ÷ Train speed. The train has completely crossed only when its rear end leaves the object.
Two trains crossing completelyRequired distance = Length₁ + Length₂. This applies to trains moving in either direction.
Speed conversionkm/h to m/s: multiply by 5/18. m/s to km/h: multiply by 18/5. Convert before calculating when lengths are in metres and time is required in seconds.72 km/h = 72 × 5/18 = 20 m/s.

Relative Speed for Two Moving Trains

ConceptMeaning / condition
Opposite directionsRelative speed = Speed₁ + Speed₂; time = (Length₁ + Length₂) ÷ (Speed₁ + Speed₂). Both trains move towards each other.
Same directionRelative speed = |Speed₁ − Speed₂|; time = (Length₁ + Length₂) ÷ relative speed. The faster train must completely overtake the slower train.
Zero relative speedIf two trains have equal speeds in the same direction, complete overtaking does not occur. The relative speed is zero.

Finding Unknown Lengths and Speeds

MethodRule / condition
Unknown bridge or tunnel lengthObject length = Speed × Time − Train length. The train crosses the object completely.
Unknown train lengthTrain length = Speed × Time − Object length. Speed and time must give a distance in the same unit as the object length.
Speed from a crossingTrain speed = Required distance ÷ Time. Use train length alone for a pole, or combined lengths for a platform, bridge or tunnel.
Difference between object and pole timesObject length = Speed × (Object-crossing time − Pole-crossing time). The same train travels at the same speed in both cases.

Supporting Data and Comparisons

Distance Used in Common Train Problems

Choose the distance according to what the train must completely pass.

Situation Distance covered Speed used
Pole or person Train length Train speed
Platform, bridge or tunnel Train length + object length Train speed
Two trains, opposite directions Sum of both train lengths Sum of speeds
Two trains, same direction Sum of both train lengths Difference of speeds

Note: Convert units before division.

Exam Applications

A 180 m train travels at 54 km/h. How long does it take to cross a pole?

  1. Convert speed: 54 × 5/18 = 15 m/s.
  2. For a pole, distance = train length = 180 m.
  3. Time = 180 ÷ 15 = 12 seconds.

Answer: 12 seconds

A 250 m train crosses a 150 m platform at 72 km/h. Find the time.

  1. Convert speed: 72 × 5/18 = 20 m/s.
  2. Required distance = 250 + 150 = 400 m.
  3. Time = 400 ÷ 20 = 20 seconds.

Answer: 20 seconds

A 120 m train and a 180 m train move in opposite directions at 36 km/h and 54 km/h. Find the crossing time.

  1. Relative speed = 36 + 54 = 90 km/h = 25 m/s.
  2. Required distance = 120 + 180 = 300 m.
  3. Time = 300 ÷ 25 = 12 seconds.

Answer: 12 seconds

A 100 m train at 72 km/h overtakes a 200 m train at 54 km/h. Find the time for complete overtaking.

  1. Relative speed = 72 − 54 = 18 km/h = 5 m/s.
  2. Required distance = 100 + 200 = 300 m.
  3. Time = 300 ÷ 5 = 60 seconds.

Answer: 60 seconds

Learn with Short Video Lessons

Watch short topic-wise lessons for quick revision.

11 Lessons
Lesson 1 of 11 Quick Revision

Trains Crossing a Pole or Person

Learn how to calculate the time, speed, or length of a train when it crosses a pole or a person using the appropriate distance and speed relationships.

Continue with more lessons and practice in PrepShots.Watch More in App - Start ₹1 Trial →
More Video Lessons Scroll to explore →

Practice Quantitative Aptitude Questions

Practise published questions from across Quantitative Aptitude.

Quantitative Aptitude Quick Quiz

Attempt 5 questions from across Quantitative Aptitude and check your score instantly.

Exam Applications

  • A train crosses a pole, signal or person, so only the train length is used.
  • A train crosses a platform, bridge or tunnel, requiring the sum of the train and object lengths.
  • Two trains completely cross in opposite directions, requiring the sum of speeds and train lengths.
  • A faster train overtakes another train in the same direction, requiring the difference of speeds and the sum of train lengths.

Continue Your Preparation with PrepShots

Continue on PrepShots