Two Trains Crossing: Formula, Relative Speed and Examples
Two Trains Crossing problems use the combined lengths of the trains and their relative speed. For trains moving in opposite directions, speeds are added; for trains moving in the same direction, speeds are subtracted. The crossing time is found by dividing the total distance covered by the relative speed, with all units kept consistent.
What is Two Trains Crossing?
If the train lengths are L₁ and L₂, the required distance is L₁ + L₂. For opposite directions, relative speed is S₁ + S₂. For the same direction, relative speed is |S₁ − S₂|. Therefore, crossing time is calculated as (L₁ + L₂) ÷ relative speed, after converting speeds and lengths into compatible units.
Two Trains Crossing Formula & Tricks
Important Formulas
Add the lengths of the trains and divide by the sum of their speeds when they move towards each other.
Add the train lengths and divide by the positive difference between their speeds when they move in the same direction.
Use this conversion when lengths are given in metres and time is required in seconds.
The total length of both trains equals the relative distance covered during crossing.
Quick Tricks
Use addition for opposite directions and subtraction for the same direction. The direction determines relative speed, not the order in which the trains are mentioned.
For complete crossing, the rear of one train must pass the front and then the entire length of the other train. Hence, distance is L₁ + L₂, not the difference of lengths.
When lengths are in metres and time is in seconds, convert every speed to m/s before applying the formula.
Two Trains Crossing Concepts
Trains Moving in Opposite Directions
The trains reduce the gap between them simultaneously, so their relative speed is S₁ + S₂. The crossing time is (L₁ + L₂) ÷ (S₁ + S₂). For example, trains of lengths 150 m and 250 m moving at 54 km/h and 36 km/h have relative speed 90 km/h = 25 m/s. Their crossing time is 400 ÷ 25 = 16 seconds.
Trains Moving in the Same Direction
The faster train gains on the slower train at S₁ − S₂, where S₁ > S₂. Complete crossing still requires a relative distance equal to L₁ + L₂. For example, if lengths are 180 m and 120 m and speeds are 72 km/h and 54 km/h, relative speed is 18 km/h = 5 m/s, so time is 300 ÷ 5 = 60 seconds.
Finding Unknown Train Length
If one train has length L₁, then the other length is L₂ = relative speed × time − L₁. Relative speed must be calculated using addition or subtraction according to the direction of motion.
Comparing Crossing Times
Since time = total length ÷ relative speed, a higher relative speed gives a shorter crossing time. If the total lengths are unchanged, the ratio of times is the inverse ratio of relative speeds.
Two Trains Crossing Video Lessons
Watch short topic-wise lessons for quick revision.
Two Trains in Opposite Directions
Learn how to calculate the time, speed, distance, and relative speed involved when two trains cross each other while travelling in opposite directions.
Practice Two Trains Crossing Questions
Practise published questions related to this topic.
Two Trains Crossing Quick Quiz
Attempt 5 questions and check your score instantly.
Keep practising
Practice more Two Trains Crossing questions in the PrepShots app and continue from your current topic.
Practice More Questions - Start ₹1 Trial →Quick Revision Notes
Two Trains Crossing: Quick Revision
Use the direction of motion to select relative speed, then divide the combined train length by that speed.
- Complete crossing distance = length of first train + length of second train.
- Opposite directions: relative speed = S₁ + S₂.
- Same direction: relative speed = |S₁ − S₂|.
- Crossing time = (L₁ + L₂) ÷ relative speed.
- Convert km/h to m/s by multiplying by 5/18.
- Convert m/s to km/h by multiplying by 18/5.
- For an unknown total length, use total length = relative speed × time.
- Use the same units for distance, speed and time before calculation.
Two Trains Crossing FAQs
What is the formula for two trains crossing in opposite directions?
Time = (L₁ + L₂) ÷ (S₁ + S₂). Lengths and speeds must use compatible units.
What is the formula when two trains move in the same direction?
Time = (L₁ + L₂) ÷ |S₁ − S₂|. Subtract the slower speed from the faster speed.
Why are train lengths added when two trains cross?
For complete crossing, one train must cover its own length relative to the other train and also pass the other train’s full length. Therefore, the relative distance is L₁ + L₂.
Two trains of lengths 100 m and 150 m move in opposite directions at 36 km/h and 54 km/h. What is their crossing time?
Relative speed = 90 × 5/18 = 25 m/s. Time = (100 + 150) ÷ 25 = 10 seconds.
Two trains move in the same direction at 72 km/h and 54 km/h. What is their relative speed?
Relative speed = 72 − 54 = 18 km/h, which equals 18 × 5/18 = 5 m/s.
How is the length of one train found if crossing time is given?
First find total length using total length = relative speed × time. Then subtract the known train length from the total.
