Skip to content

Problems on Trains

Trains crossing poles, platforms, people and each other. Open a topic to read its notes and practise it: each question shows whether you were right and why, as soon as you answer.

Topics: notes and practice

Train crossing a pole or a man15 questions

A train has length, so it cannot be treated as a point. When it passes a pole, a signal, a tree or a man standing still, the front reaches the object first and the rear leaves it last. In that time the train travels exactly its own length. So the distance to cover is the length of the train, and length = speed × time.

Lengths are usually in metres and times in seconds, so change km/h into m/s by multiplying by 5/18. These pairs come up again and again.

km/h m/s
18 5
36 10
54 15
72 20
90 25
108 30

The three standard questions follow from one formula.

  • Time to cross: time = length ÷ speed. A train 120 m long at 36 km/h (10 m/s) passes a pole in 12 seconds.
  • Speed: speed = length ÷ time. A train 240 m long that passes a pole in 16 seconds runs at 15 m/s = 54 km/h.
  • Length: length = speed × time. At 20 m/s, a train that takes 9 seconds to pass a pole is 180 m long.

The length of a given train does not change, so time and speed are inversely proportional. If the speed rises by 25%, the speed becomes 5/4 of the old one and the time becomes 4/5. If two trains have the same speed, their times are in the ratio of their lengths. If they have the same length, their times are in the inverse ratio of their speeds.

The same rule holds for any object that is very short compared with the train: a telegraph pole, a milestone, a lamp post, a person standing. A passenger sitting inside the train is not passed, because he moves with it. When the length is given in km or the time in minutes, bring everything to metres and seconds before dividing.

Problem 1. A train 175 m long runs at 90 km/h. How long does it take to pass a signal post?

Answer: 7 s

The speed is 90 × 5/18 = 25 m/s. Time = 175 ÷ 25 = 7 seconds.

Problem 2. A train running at 45 km/h passes a tree in 16 seconds. What is its length?

Answer: 200 m

The speed is 45 × 5/18 = 12.5 m/s. Length = speed × time = 12.5 × 16 = 200 m.

Problem 3. A train passes a pole in 18 seconds. If its speed were 20% higher, how long would it take?

Answer: 15 s

The speed becomes 6/5 of the old one, so the time becomes 5/6 of 18 seconds. 5/6 × 18 = 15 seconds.

Practise this topic15 questions, each with its solution

Train crossing a platform or bridge15 questions

To cross a platform, a bridge or a tunnel completely, the train must first bring its front to the far end and then bring its rear off the platform as well. The distance covered is the length of the train plus the length of the platform. The common slip is to use only one of them.

  • Time to cross = (train + platform) ÷ speed.
  • Platform length = speed × time − length of the train.
  • Speed = (train + platform) ÷ time.

Some questions give the time for a pole and for a platform. Passing a pole needs only the train's own length. So the extra time taken for the platform is spent on the platform alone. Platform length ÷ extra time gives the speed, and speed × pole time gives the length of the train. In general, length of train : length of platform = t₁ : (t₂ − t₁), where t₁ is the pole time and t₂ the platform time.

A tunnel needs one more idea. From the moment the front enters to the moment the rear leaves, the distance is tunnel + train. The whole train is inside the tunnel only from the moment the rear enters to the moment the front reaches the far end. That distance is tunnel − train, and it exists only if the tunnel is longer than the train.

The train Distance
Crosses a platform or bridge Train + platform
Is wholly inside a tunnel Tunnel − train
Passes a pole Train

Two crossings at the same speed with two different lengths give the speed directly from the difference of the lengths and the difference of the times.

A stationary train. A train passing another train that stands still covers the sum of both lengths at its own speed, so time = (l₁ + l₂) ÷ v. If the standing train has the same length, the time is twice the pole time. A train 150 m long at 54 km/h (15 m/s) passes a standing train 150 m long in 300 ÷ 15 = 20 seconds, twice its pole time of 10 seconds.

Problem 4. A train 250 m long, running at 90 km/h, crosses a platform 350 m long. How long does it take?

Answer: 24 s

The speed is 90 × 5/18 = 25 m/s. Distance = 250 + 350 = 600 m, so the time = 600 ÷ 25 = 24 seconds.

Problem 5. A train takes 18 seconds to pass a pole and 30 seconds to cross a platform 240 m long. What is the length of the train and its speed?

Answer: 360 m and 72 km/h

The extra 30 − 18 = 12 seconds cover the platform, so the speed = 240 ÷ 12 = 20 m/s = 72 km/h. Length = 20 × 18 = 360 m.

Problem 6. A train 300 m long, running at 54 km/h, passes through a tunnel 900 m long. For how many seconds is the whole train inside the tunnel?

Answer: 40 s

The speed is 15 m/s. The whole train is inside while it covers 900 − 300 = 600 m, so the time = 600 ÷ 15 = 40 seconds. (Crossing the tunnel completely takes 1200 ÷ 15 = 80 seconds, which is a different question.)

Practise this topic15 questions, each with its solution

Two trains in opposite directions15 questions

Two trains moving towards each other close the gap at the sum of their speeds. They have crossed completely when the front of each has passed the rear of the other, so the distance to cover is the sum of the two lengths.

time to cross = (l₁ + l₂) ÷ (v₁ + v₂)

Change km/h to m/s once, after adding: 54 + 66 = 120 km/h = 120 × 5/18 = 100/3 m/s. A passenger sitting in one train sees the other pass in the same way: the full length of the other train goes by him at the relative speed.

Some useful forms:

  • Combined length: (v₁ + v₂) × time. Subtract one length to find the other.
  • Missing speed: the relative speed is total length ÷ time, and the unknown speed is that minus the known one.
  • Passing a man on the platform: if the trains pass a man in t₁ and t₂ seconds, their speeds are l₁/t₁ and l₂/t₂. They cross each other in (l₁ + l₂) ÷ (l₁/t₁ + l₂/t₂) seconds.
  • Equal lengths: if two trains of the same length pass a pole in t₁ and t₂ seconds, they cross each other in 2t₁t₂ ÷ (t₁ + t₂) seconds, which is the "harmonic" combination and not the plain average.
  • Ratio of speeds given: divide the relative speed in the same ratio. At 4 : 5 and 108 km/h, the speeds are 48 and 60 km/h.

If the speed of one train changes, only the relative speed changes, and the time for the same total length changes in inverse proportion.

Problem 7. Two trains 120 m and 180 m long run in opposite directions at 54 km/h and 66 km/h. How long do they take to cross each other?

Answer: 9 s

The relative speed is 54 + 66 = 120 km/h = 120 × 5/18 = 100/3 m/s. Distance = 120 + 180 = 300 m. Time = 300 ÷ 100/3 = 9 seconds.

Problem 8. Two trains run towards each other at 60 km/h and 48 km/h and cross in 12 seconds. One train is 150 m long. How long is the other?

Answer: 210 m

The relative speed is 108 km/h = 30 m/s, so in 12 seconds they cover 360 m together. The other train is 360 − 150 = 210 m long.

Problem 9. Two trains of equal length pass a pole in 12 seconds and 18 seconds. In what time do they cross each other when running in opposite directions?

Answer: 14.4 s

Let each train be L long. The speeds are L/12 and L/18, which add up to 5L/36. They must cover 2L, so the time = 2L ÷ 5L/36 = 72/5 = 14.4 seconds. Quick form: 2 × 12 × 18 ÷ (12 + 18) = 14.4.

Practise this topic15 questions, each with its solution

Two trains in the same direction15 questions

When two trains run the same way, the faster one gains on the slower at the difference of the speeds. The faster train has overtaken the slower completely when its front has gone past the slower train's rear and its own rear has then cleared the slower train's front. So the distance is again the sum of the two lengths, but the speed is now the difference.

time to overtake = (l₁ + l₂) ÷ (v₁ − v₂)

Opposite directions add the speeds and same directions subtract them. Because the total length is the same in both cases, the time is inversely proportional to the relative speed. If a pair of trains takes 12 seconds in opposite directions and 60 seconds in the same direction, then (v₁ + v₂) : (v₁ − v₂) = 60 : 12 = 5 : 1.

  • Relative speed: subtract. 63 km/h and 45 km/h give 18 km/h = 5 m/s.
  • Missing speed: relative speed = total length ÷ time. Add it to the slower train's speed to get the faster.
  • Missing length: relative speed × time − the known length.
  • Both crossing times known: the sum of the speeds is the length ÷ the opposite time, and the difference is the length ÷ the same-direction time. Add and halve to get the faster speed, and subtract and halve to get the slower.
  • A gap at the start: if the front of the faster train starts some distance behind the rear of the slower, add that gap to the distance.

A faster train that overtakes a slower one always needs a speed difference. If the speeds are equal, it never overtakes.

Same station, later start. If a train leaves a station and a faster one leaves the same station t hours later on the same line, the first has a head start of speed × t. The second catches it after head start ÷ (v₂ − v₁) hours. A train at 40 km/h leaves at 6 a.m. and another at 60 km/h leaves at 8 a.m.: the head start is 80 km and the gap closes at 20 km/h, so the catch-up takes 4 hours, at 12 noon.

Problem 10. A train 100 m long, running at 63 km/h, overtakes a train 140 m long, running at 45 km/h in the same direction. How long does it take?

Answer: 48 s

The relative speed is 63 − 45 = 18 km/h = 5 m/s. Distance = 100 + 140 = 240 m, so the time = 240 ÷ 5 = 48 seconds.

Problem 11. A train 180 m long overtakes a train 120 m long, running at 36 km/h on a parallel track in the same direction, in 30 seconds. What is the speed of the first train?

Answer: 72 km/h

The distance is 180 + 120 = 300 m in 30 seconds, so the relative speed is 10 m/s = 36 km/h. The first train is faster by that amount: 36 + 36 = 72 km/h.

Problem 12. Two trains 250 m and 150 m long run on parallel tracks. They cross in 10 seconds when running in opposite directions and in 80 seconds when running in the same direction. Find their speeds.

Answer: 81 km/h and 63 km/h

The total length is 400 m. Sum of speeds = 400 ÷ 10 = 40 m/s. Difference = 400 ÷ 80 = 5 m/s. The faster is (40 + 5) ÷ 2 = 22.5 m/s = 81 km/h, and the slower is (40 − 5) ÷ 2 = 17.5 m/s = 63 km/h.

Practise this topic15 questions, each with its solution

Train and a moving person15 questions

A man walking, running or cycling along the track is not standing still, so the speeds must be combined. The train has passed him when it has covered its own length, but at the relative speed.

  • Man moving the same way as the train: relative speed = train speed − man's speed.
  • Man moving towards the train: relative speed = train speed + man's speed.
  • Time to pass = length of train ÷ relative speed.

The man's speed is small and is usually given in km/h, so convert it to m/s with the train's speed. If the man is much slower than the train, his speed still matters. Treating him as standing gives an answer that is slightly wrong and is a typical wrong option.

The same relation gives the other two quantities. Length = relative speed × time. The man's speed = train speed − relative speed (same direction) or relative speed − train speed (opposite direction).

Two men. The train's length is the same for both men, so equate the two lengths. If the train passes men walking at 2 km/h and 4 km/h, in the same direction, in 9 s and 10 s, then 9(v − 2) = 10(v − 4), so v = 22 km/h. Keep both speeds in km/h and both times in seconds; the factor 5/18 is common and cancels.

A pole and a man. The time for the pole gives L = v × t₁. The time for the man gives L = (v − u) × t₂. From v·t₁ = (v − u)·t₂, v = u·t₂ ÷ (t₂ − t₁), with u in the same units as v. This needs the man's speed u to be known.

A man inside the train. A passenger walking along a moving train covers the length of the train at his own speed relative to the train, so the speed of the train does not enter the working.

Problem 13. A train 125 m long, running at 63 km/h, passes a man running towards it at 12 km/h. How long does it take?

Answer: 6 s

The relative speed is 63 + 12 = 75 km/h = 75 × 5/18 = 125/6 m/s. Time = 125 ÷ 125/6 = 6 seconds.

Problem 14. A train 200 m long, running at 54 km/h, passes a cyclist riding in the same direction in 20 seconds. What is the speed of the cyclist?

Answer: 18 km/h

The relative speed is 200 ÷ 20 = 10 m/s = 36 km/h. The cyclist is slower than the train, so his speed is 54 − 36 = 18 km/h.

Problem 15. A train passes a man walking at 3 km/h in the same direction in 36 seconds, and another man walking at 3 km/h in the opposite direction in 30 seconds. How long is the train?

Answer: 300 m

Let the train's speed be v km/h. The length is the same: 36(v − 3) = 30(v + 3). So 6v = 198 and v = 33 km/h. Length = (33 − 3) × 5/18 × 36 = 300 m. (Check: 36 × 5/18 × 30 = 300 m.)

Practise this topic15 questions, each with its solution

Trains meeting and journey problems15 questions

These questions put trains on a route between two stations. They use time, speed and distance directly, not the lengths of the trains.

Meeting. Two trains that start together from the two stations and move towards each other close the gap at the sum of their speeds. Time to meet = distance ÷ (v₁ + v₂). At that moment each has run for the same time, so the distances covered are in the ratio of the speeds. If one train starts earlier, first find how much of the distance it has covered alone, then divide the rest by the sum of the speeds. If one train starts from the same station later and runs the same way, the gap at its start is divided by the difference of the speeds.

After meeting. If two trains starting together from P and Q reach Q and P in t₁ and t₂ hours after meeting, then the speed of the train from P : the speed of the train from Q = √t₂ : √t₁. The train that needs less time after the meeting is the faster one.

Late and early arrival. The distance is the same at both speeds. If the train is late by a at s₁ and early by b at s₂, then d/s₁ − d/s₂ = a + b. If it is late by a at s₁ and late by b at s₂, then d/s₁ − d/s₂ = a − b. Solve for d. Keep time in hours: 20 minutes = 1/3 hour.

  • If the train runs at a/b of its usual speed, the time becomes b/a of the usual time. At 5/6 of the speed, a journey of 6 hours takes 7.2 hours, which is 1 hour 12 minutes late.
  • Stoppage per hour. A train's speed with stops is lower than its speed without stops because of the halts. Stoppage per hour = (speed without stops − speed with stops) ÷ speed without stops × 60 minutes. At 54 km/h without stops and 45 km/h with stops, this is 9/54 × 60 = 10 minutes an hour.
  • A halt on the way is lost time. To arrive on time, the train must cover the rest of the distance in the time that is left.
  • If a speed is raised by r km/h and a known time is saved, the usual speed comes from a quadratic that can be done by trial with whole numbers.

Problem 16. Stations P and Q are 420 km apart. Trains leave them at 7 a.m. towards each other at 50 km/h from P and 70 km/h from Q. At what time do they meet, and how far from P?

Answer: 10:30 a.m., 175 km from P

They close at 50 + 70 = 120 km/h, so the time = 420 ÷ 120 = 3.5 hours. That is 10:30 a.m. The first train has run 50 × 3.5 = 175 km.

Problem 17. A train usually runs at 45 km/h. One day it runs at 36 km/h and arrives 20 minutes late. How long is the journey?

Answer: 60 km

20 minutes = 1/3 hour. The slower run takes 1/3 hour longer: d/36 − d/45 = 1/3. The left side is d × (5 − 4)/180 = d/180, so d = 60 km.

Problem 18. Two trains start together from P and Q towards each other. After meeting, the train from P takes 25 hours to reach Q and the train from Q takes 36 hours to reach P. What is the ratio of their speeds?

Answer: 6 : 5

The speed of the train from P : the speed of the train from Q = √36 : √25 = 6 : 5. The train from P needs less time after the meeting, so it is the faster.

Practise this topic15 questions, each with its solution

Quick revision
Item Rule
km/h to m/s Multiply by 5/18 (36 km/h = 10 m/s)
Pole, signal or standing man Distance = length of train
Platform or bridge Distance = train + platform
Whole train inside a tunnel Distance = tunnel − train
Two trains, opposite directions Add the speeds, add the lengths
Two trains, same direction Subtract the speeds, add the lengths
Man walking with the train Relative speed = train − man
Man walking towards the train Relative speed = train + man
Equal trains, pole times t₁ and t₂ Opposite crossing = 2t₁t₂ ÷ (t₁ + t₂)
Meeting from two stations Time = distance ÷ sum of speeds
After meeting, times t₁ and t₂ Speed ratio = √t₂ : √t₁
Late and early d/s₁ − d/s₂ = a + b (late a, early b); = a − b (late by a and b)
Stoppage per hour (speed without stops − speed with stops) ÷ speed without stops × 60 min
Common mistakes
  • Leaving out the length of the platform, the bridge or the other train. The train must also clear its own length.
  • Adding speeds for trains moving in the same direction, or subtracting them for trains moving towards each other.
  • Mixing units, such as a speed in km/h with lengths in metres. Convert to m/s before dividing.
  • Treating a walking or running man as standing still. His speed changes the relative speed.
  • Using the plain average of two times for equal trains crossing. Use 2t₁t₂ ÷ (t₁ + t₂).
  • Taking the whole train to be inside a tunnel for the same time as it takes to cross it. The inside time uses tunnel − train, and the crossing time uses tunnel + train.

By ICE Academy · Updated 4 Dec 2026 · Found a mistake? Write to info@iceacademy.in

All 90 questions of this chapter on paper, with the answer key and solutions. Free: the first download asks for your name, phone number and email.

Exams that test this chapter