Trains, Boats and Streams Problem Solver

Find crossing times for poles, platforms and other trains, train lengths, and upstream and downstream speeds, with a diagram of the distance covered and steps.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Choose the situation

    Pick a type such as two trains crossing each other.

  2. 2
    Enter lengths and speeds

    Type lengths in metres and speeds in km/h, and choose the direction.

  3. 3
    Check the diagram

    Look at the distance the train or boat must cover.

  4. 4
    Read the steps

    Follow the conversion, relative speed and time calculation.

  5. 5
    Convert speeds

    Use the converter below the solver for any other speeds.

  6. 6
    Practise

    Try new numbers or the timed practice and save problems to the notebook.

About this tool

Train and boat problems are a fixture of quantitative aptitude tests. They look different from ordinary speed questions because the moving object has length, or because the water itself moves. Two ideas solve almost all of them: the distance a train covers while passing something is its own length plus the length of what it passes, and relative speed adds when objects move towards each other and subtracts when they move the same way. This solver covers six types: passing a pole, crossing a platform or bridge, two trains crossing each other, finding a train's length, a boat's round trip with a stream, and finding the still-water and stream speeds from upstream and downstream speeds. A diagram shows the distance to cover, the steps convert km/h to m/s, and a converter, formula sheet, notebook and practice mode are included.

Who it is for

Candidates for railway, bank, SSC, CAT and campus placement tests, students meeting relative velocity in physics, and anyone who wants a clear method for these classic puzzles.

Units first

Most questions give speeds in km/h and lengths in metres, then ask for seconds. Multiply km/h by 5/18 to get m/s: 72 km/h is 20 m/s, 54 km/h is 15 m/s, 90 km/h is 25 m/s. Convert first, then use time = distance ÷ speed. The converter under the solver works both ways.

Trains passing things

A train passing a pole or a person covers its own length. Crossing a platform, bridge or tunnel, it covers its length plus the platform's, because the front must travel until the back has cleared the far end. The diagram draws the train and the platform with the total distance above.

Two trains

Trains moving towards each other close the gap at the sum of their speeds; trains moving the same way at the difference. The distance to cover is the sum of their lengths. Two trains of 120 m and 180 m at 60 and 48 km/h in opposite directions have a relative speed of 108 km/h, or 30 m/s, and cross in 300 ÷ 30 = 10 seconds.

Boats and streams

Downstream, the stream helps: speed = boat speed + stream speed. Upstream, it slows the boat: boat − stream. Given the two, the boat's still-water speed is their average and the stream speed is half the difference.

Worked example

A boat goes 15 km/h in still water and the stream flows at 3 km/h. Downstream it makes 18 km/h and upstream 12 km/h. A 36 km trip each way takes 36 ÷ 18 = 2 hours down and 36 ÷ 12 = 3 hours back, 5 hours in all, which is more than the 4.8 hours it would need in still water.

Limits

The problems assume constant speeds and ignore acceleration and braking, as aptitude tests do. Lengths are in metres and speeds in km/h; convert other units first. The solver does not handle trains starting at different times; break those questions into parts.

Worked example

Trains 120 m and 180 m at 60 and 48 km/h towards each other: 108 km/h = 30 m/s, 300 ÷ 30 = 10 s.

Quick facts

Frequently asked questions

How do I convert km/h to m/s?

Multiply by 5 and divide by 18. For example 72 km/h × 5/18 = 20 m/s.

Why add the platform length?

The train has crossed only when its last carriage leaves the platform, so the front travels the platform length plus the train's own length.

When do I add speeds and when do I subtract?

Add them when the objects move towards each other; subtract when they move in the same direction.

How do I find the stream speed?

Subtract the upstream speed from the downstream speed and halve it. The boat's still-water speed is the average of the two.

Why is a round trip slower with a stream?

The boat spends longer going against the current than it saves going with it, so the average speed falls below the still-water speed.

Can I practise timed questions?

Yes. The practice tab has trains only, trains and boats, and all types, with a 60-second sprint.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages