+91 98186 32779
🎖️ 15,000+ Officers SelectedSince 2001Retired SSB Officer FacultyOwn 5-Acre GTO GroundSee Results →
Home / CDS / OTA Study Material / Maths / Boats and Streams: Upstream, Downstream, Relative Speed
CDS / OTA · Maths

Boats and Streams: Upstream, Downstream, Relative Speed

One idea, speed measured against the water instead of the bank, solves boat questions and train questions alike. Every formula is here, with seven solved CDS sums.

⏱ 13 min read ★ Graduate / CDS level ✓ Exam-ready notes By The Cavalier
🎯 What you'll learn
  • The four formulas for boat and stream sums, and the one picture that explains them
  • Ratio shortcuts that turn a six-line equation into a one-line answer
  • River crossings, floating objects and why the stream cancels out in the water's frame
  • Relative speed for trains and walkers, plus the six traps UPSC sets

India's National Waterway 1 runs 1,620 km along the Ganga from Prayagraj to Haldia, and cargo barges ply it (see our explainer on inland waterways and navigation). The same engine gives two different speeds: the river helps on the way down and holds you back on the way up. That one fact is the whole chapter, and in 17 CDS maths papers from 2018 to 2026 it produced four direct boat questions, two of them in 2026. The same logic, speed measured against a moving background, solves the train and walker questions too.

The Four Formulas and the One Picture Behind Them

Let u be the boat's speed in still water and v the speed of the stream. The boat's speed relative to the bank is the boat's speed relative to the water plus the speed of the water relative to the bank. Going with the stream the two add, and going against it they subtract.

QuantityFormulaWhy
Downstream speed (D)D = u + vBoat and stream push the same way
Upstream speed (U)U = u − vStream pushes back; needs u greater than v to make progress
Boat in still wateru = (D + U) ÷ 2Add the two lines, the v's cancel
Streamv = (D − U) ÷ 2Subtract the two lines, the u's cancel

Two more results fall out of these. The ratio of the two unknowns is u : v = (D + U) : (D − U). And for a round trip of equal distances, the average speed is 2DU ÷ (D + U) = (u² − v²) ÷ u, always less than u. The first is a ratio-and-proportion move (our ratio and proportion page has the basics), and the second is the equal-distance average speed rule from our averages page.

Worked example 1: two times, find u and v

A boat goes 30 km upstream in 6 hours and 30 km downstream in 3 hours. Find its speed in still water and the speed of the stream.

U = 30 ÷ 6 = 5 km/h D = 30 ÷ 3 = 10 km/h u = (10 + 5) ÷ 2 = 7.5 km/h v = (10 − 5) ÷ 2 = 2.5 km/h
Worked example 2: the round trip

A boat with u = 12 km/h goes 36 km down a river with v = 3 km/h and comes back. Find the total time and the average speed.

D = 15, U = 9 Time down = 36 ÷ 15 = 2.4 h Time up = 36 ÷ 9 = 4 h Total = 6.4 h, distance = 72 km Average = 72 ÷ 6.4 = 11.25 km/h Check: (144 − 9) ÷ 12 = 11.25
The trap in example 2

The average is not 12 km/h, and not the mean of 15 and 9 either. The boat spends longer at the slow speed, which pulls the average below u.

Ratio Shortcuts: Same Distance, Same Time

Boat questions usually give a ratio. Ask: is the distance the same, or the time?

  • Same distance: times are in the inverse ratio of speeds. If the time downstream : upstream is a : b, then D : U = b : a.
  • Same time: distances are in the same ratio as speeds. If a boat covers 36 km down and 24 km up in equal time, D : U = 36 : 24 = 3 : 2.

Then use u : v = (D + U) : (D − U). Memorise this table of ratios:

D : Uu : v
2 : 13 : 1
3 : 25 : 1
3 : 12 : 1
4 : 37 : 1
5 : 34 : 1
Illustration of two river lanes: a boat heading with the current whose own arrow and the stream arrow add into one long green arrow, and a boat heading against the current whose green arrow is much shorter
Downstream, the boat's own speed and the stream add up (long green arrow). Upstream, the stream is subtracted (short green arrow). Illustration: The Cavalier
Worked example 3: the time ratio

A boat takes twice as long to go upstream as downstream over the same distance. The stream flows at 4 km/h. What is the speed of the boat in still water?

Time up : time down = 2 : 1, so D : U = 2 : 1 u : v = (2 + 1) : (2 − 1) = 3 : 1 v = 4, so u = 12 km/h
Worked example 4: equal times

In the same time a boat goes 36 km downstream and 24 km upstream. If the stream is 2 km/h, find the boat's speed.

D : U = 36 : 24 = 3 : 2, so u : v = 5 : 1 v = 2, so u = 10 km/h Check: D = 12, U = 8; 36 ÷ 12 = 3 h and 24 ÷ 8 = 3 h
Worked example 5: a time difference (needs a quadratic)

A boat takes 1 hour longer to go 24 km upstream than to come back downstream. The stream is 2 km/h. Find u.

24 ÷ (u − 2) − 24 ÷ (u + 2) = 1 24 × 4 ÷ (u² − 4) = 1, so u² − 4 = 96, u² = 100 u = 10 km/h (reject −10) Check: 24 ÷ 8 = 3 h, 24 ÷ 12 = 2 h

The last type is where the quadratic equations chapter comes in. The shortcut: the difference of the two times is always d × 2v ÷ (u² − v²).

Crossing the River and Floating Objects

When a boat crosses the river sideways, the two speeds are at right angles and do not interfere: the boat crosses at its engine speed and drifts at the stream's speed.

Worked example 6: heading straight across

A boat steered straight across a river at 4 m/s in still water. The river is 160 m wide and flows at 3 m/s. How long does the crossing take, how far downstream does the boat land, and how fast does it move relative to the bank?

Time = width ÷ speed across = 160 ÷ 4 = 40 s Drift = 3 × 40 = 120 m Speed over ground = √(4² + 3²) = 5 m/s Path length = 5 × 40 = 200 m

To land directly opposite you must head slightly upstream, and the crossing speed becomes √(u² − v²).

The floating-object trick

Imagine you sit on the water itself. The stream vanishes: a floating ball is stationary and the boat moves at its still-water speed in every direction. A boat sails upstream, drops a ball overboard, and the crew notice 10 minutes later and turn round. How long to catch the ball? 10 minutes: away for 10, back for 10, whatever the stream's speed.

Relative Speed: The Same Idea for Trains and Walkers

The boat sum is a relative speed sum with the water as background. Our time, speed and distance page has the basic relation.

SituationRelative speedDistance to cover
Moving towards each other (or train crossing a train going the other way)Add the speedsGap between them, or the sum of the two lengths
Same direction (overtaking, or a faster one catching a slower one)Subtract the speedsGap, head start, or the length of the train passed
Train crossing a pole, man or platformThe train's speed (relative to the man if he moves)Train length (plus platform length)

Always convert first: km/h × 5/18 = m/s. Two shortcuts:

  • Head start. If a walker leaves t hours earlier at speed a, the gap is a × t. The catch-up time is gap ÷ speed difference.
  • The square-root rule. Two bodies start together from opposite ends and pass each other. If, after meeting, the first takes t₁ to finish and the second t₂, then speed of first : speed of second = √t₂ : √t₁.

Trap Patterns

What UPSC sets, and where students slip
  1. Averaging D and U for the round trip. The right average is 2DU ÷ (D + U).
  2. Swapping same-distance and same-time. Times flip the ratio; distances do not.
  3. Halving the wrong thing. u : v = (D + U) : (D − U) has no halving; CDS 2026-I tested this.
  4. Mixing units: km/h with m/s, minutes with hours.
  5. Adding instead of subtracting for trains going the same way, or forgetting a train's length.

How UPSC Has Asked It: Past Papers Solved

Six genuine CDS questions, two on boats and four on relative speed. Each answer is our own solution, checked against the key.

CDS 2026-I · Q18

A person goes downstream at x km/h and upstream at y km/h by the same boat. What is the ratio of speed of boat in still water to speed of water?

(a) x/y   (b) y/x   (c) (x + y)/(x − y)   (d) (x − y)/(x + y)

Answer: (c). u = (x + y)/2 and v = (x − y)/2, so u : v = (x + y) : (x − y).

CDS 2026-II · Q44

A boatman can row to a place (Y) at a distance of 24 km from the starting point (X) and back in 14 hours. If he can row 4 km with the stream in the same time as 3 km against it, what is the speed of the stream?

(a) 0.5 km/hr   (b) 1 km/hr   (c) 2 km/hr   (d) 2.5 km/hr

Answer: (a). Same time, so D : U = 4 : 3. Let D = 4k, U = 3k. Then 24/(4k) + 24/(3k) = 14, so (6 + 8)/k = 14 and k = 1. D = 4, U = 3, so v = (4 − 3)/2 = 0.5 km/h.

CDS 2023-I · Q10

A train crosses a man in another train in 10 s (opposite direction) and 20 s (same direction). Length of first train = 200 m, second = 150 m. Find speed of first train.

(a) 60 km/hr   (b) 56 km/hr   (c) 54 km/hr   (d) 52 km/hr

Answer: (c). The man is a point, so only the first train's 200 m is crossed; the 150 m is a distractor. Opposite: relative speed = 200/10 = 20 m/s = a + b. Same direction: 200/20 = 10 m/s = a − b. So a = 15 m/s = 54 km/h.

CDS 2025-II · Q51

Two trains X and Y are travelling in the same direction at 100 km/hr and 60 km/hr respectively. Train X crosses a man in train Y in 9 seconds. What is the length of train X?

(a) 80 m   (b) 100 m   (c) 120 m   (d) 150 m

Answer: (b). Relative speed = 40 km/h = 40 × 5/18 = 100/9 m/s. Length = (100/9) × 9 = 100 m.

CDS 2026-II · Q36

A train completely crossed two persons X and Y moving in the same direction as the train in 8 seconds and 8.1 seconds respectively. X is walking at a uniform speed of 3 km/hr and Y is walking at a uniform speed of 4 km/hr. What is the speed of the train?

(a) 81 km/hr   (b) 82 km/hr   (c) 83 km/hr   (d) 84 km/hr

Answer: (d). The train's length is the same in both crossings: (s − 3) × 8 = (s − 4) × 8.1 (the 5/18 factor cancels). So 8s − 24 = 8.1s − 32.4, which gives 0.1s = 8.4 and s = 84 km/h.

CDS 2026-I · Q16

A train P starts from station X for station Y and another train Q starts from station Y for station X at the same time. After passing each other, P takes 4 hours to reach Y and Q takes 1 hour to reach X. If the average speed of P is 60 km/h, then what is the average speed of Q?

(a) 72 km/h   (b) 80 km/h   (c) 96 km/h   (d) 120 km/h

Answer: (d). By the square-root rule, speed of P : speed of Q = √1 : √4 = 1 : 2, so Q runs at 2 × 60 = 120 km/h. Inverting the ratio by mistake would give 30.

Pattern

The boat question now arrives as a ratio or an equation rather than a bare number, and relative-speed sums turn up in most papers. Learn u : v = (D + U) : (D − U), the head-start method and the square-root rule, and each takes under a minute.

Practice MCQs (with answers)

  1. A boat's speed in still water is 9 km/h and the stream flows at 3 km/h. How long does it take to go 24 km upstream?
    1. 2 hours
    2. 3 hours
    3. 4 hours
    4. 6 hours
  2. A boat's downstream speed is 18 km/h and its upstream speed is 10 km/h. What is the speed of the stream?
    1. 3 km/h
    2. 4 km/h
    3. 5 km/h
    4. 6 km/h
  3. A boat covers 20 km downstream in 2 hours and returns in 4 hours. Its speed in still water is
    1. 6.5 km/h
    2. 7 km/h
    3. 7.5 km/h
    4. 8 km/h
  4. The downstream and upstream speeds of a boat are in the ratio 3 : 2. What is the ratio of the boat's speed in still water to the speed of the stream?
    1. 5 : 1
    2. 3 : 1
    3. 6 : 1
    4. 2 : 1
  5. A boat has a still-water speed of 10 km/h and the stream flows at 2 km/h. Its average speed over a round trip of equal distances is
    1. 10 km/h
    2. 9.6 km/h
    3. 8 km/h
    4. 9.8 km/h
  6. A boat takes three times as long to go a distance upstream as downstream. Its still-water speed is 8 km/h. What is the speed of the stream?
    1. 2 km/h
    2. 3 km/h
    3. 3.5 km/h
    4. 4 km/h
  7. A swimmer heads straight across a river 100 m wide at 4 m/s in still water. The river flows at 3 m/s. How far downstream does he land?
    1. 75 m
    2. 100 m
    3. 125 m
    4. 25 m
  8. Two trains of length 100 m and 150 m run in opposite directions at 60 km/h and 40 km/h. How long do they take to cross each other completely?
    1. 6 s
    2. 7.5 s
    3. 10 s
    4. 9 s
Answer key

1-c, 2-b, 3-c, 4-a, 5-b, 6-d, 7-a, 8-d. Q3: D = 10, U = 5, so u = 7.5. Q5: (100 − 4) ÷ 10 = 9.6; the trap is 10. Q6: D : U = 3 : 1, so u : v = 2 : 1 and v = 4. Q7: time = 100 ÷ 4 = 25 s, drift = 3 × 25 = 75 m. Q8: relative speed 100 km/h = 250/9 m/s, total length 250 m, so time = 9 s.

Quick Revision

Revise in two minutes
  • D = u + v, U = u − v. u = (D + U)/2, v = (D − U)/2. u : v = (D + U) : (D − U), with no halving. Boat must have u greater than v to go upstream.
  • Same distance: time ratio is inverse of speed ratio. Same time: distances in the speed ratio.
  • Round trip, equal distances: average = 2DU/(D + U) = (u² − v²)/u, less than u. Time = 2du/(u² − v²).
  • Straight across a river: time = width ÷ u; drift = v × time; ground speed √(u² + v²). The stream does not change crossing time.
  • Floating object: work in the water's frame. Away for t, back in t.
  • Relative speed: opposite add, same subtract; km/h × 5/18 = m/s. Head start gap = speed × time. Meeting trains: speeds in the ratio √t₂ : √t₁.

Frequently asked questions

What is the formula for upstream and downstream speed?

Downstream speed is the boat's speed in still water plus the stream speed (u + v). Upstream speed is the boat's speed in still water minus the stream speed (u − v). From these, u = (downstream + upstream) ÷ 2 and v = (downstream − upstream) ÷ 2.

How do you find the average speed of a boat on a round trip?

For equal distances it is 2DU ÷ (D + U), not the mean of the two speeds. It also equals (u² − v²) ÷ u, always below the still-water speed.

Why does the stream not matter when a boat crosses straight across a river?

The boat's motion across the river and the stream's motion along it are at right angles and do not affect each other. The crossing time is the width divided by the boat's own speed. The stream only decides how far downstream the boat lands.

How is relative speed used in train questions?

Towards each other the speeds add, and the same way they subtract. The distance is the sum of both lengths, or just the train's length for a man or pole. Convert km/h to m/s by multiplying by 5/18.

What is the shortcut for the speed ratio of two bodies that meet and then finish their journeys?

If two bodies start at the same time from opposite ends and pass each other, their speeds are in the ratio of the square roots of the times each takes after meeting, reversed. If the first takes t₁ and the second t₂, then speed 1 : speed 2 = √t₂ : √t₁.

Speed questions are quick marks in CDS maths

Cavalier's CDS/OTA batches drill boats, trains and relative speed in timed sets, until each sum takes under a minute.