S4Success4Sure
Quantitative Aptitude · Topic guide

Pipes and Cisterns: Inlet, Outlet and Leak Problems

Pipes and cisterns is the time-and-work chapter with water tanks. IBPS Clerk, SBI Clerk and SSC CHSL ask it as a single question, while IBPS PO and RBI Grade B use it in quantity comparison and occasionally in caselet form. The only new idea is negative work: an outlet pipe or a leak empties the tank, so its rate is subtracted from the filling pipes.

Last updated 26 November 2026 · By the Success4Sure editorial team · Free

Rates and signs

A pipe that fills a tank in 20 hours adds 1/20 of the tank per hour; a pipe that empties it in 30 hours removes 1/30 per hour. When pipes run together, add inlet rates and subtract outlet rates. If the net rate is negative, the tank empties.

Net rate = Σ inlet rates − Σ outlet rates

Capacity-units method

Assume the tank capacity as the LCM of the given times. For pipes of 10 and 15 hours with an outlet of 30 hours, take 30 units: the inlets add 3 and 2 units per hour, the outlet removes 1. Net 4 units an hour fills 30 units in 7.5 hours.

Leaks

If a pipe alone fills a tank in 8 hours but takes 10 hours because of a leak, the leak’s rate is 1/8 − 1/10 = 1/40. The leak alone would empty a full tank in 40 hours.

Leak time = ab / (b − a)

Pipes closed or opened later

Split the time into phases. Find how much is filled in the first phase with all open pipes, subtract from capacity, and let the remaining pipes complete the rest. Add the phases for the total time.

Shortcuts and tricks

  • Two inlets with times a and b fill together in ab/(a + b); an inlet a with outlet b (b > a) fills in ab/(b − a).
  • If a tank is half full, only half the capacity units need filling — a common trap.
  • When an outlet is faster than the inlets, the answer is the time to empty, not to fill.
  • Use capacity in litres only if the question gives litres; otherwise units are enough.
  • For "cistern fills in x hours with leak", leak rate = 1/(normal time) − 1/x.

Worked examples

Example 1

Pipe A fills a tank in 20 hours and pipe B in 30 hours. How long will both together take?

Solution

Capacity 60 units; A adds 3, B adds 2 per hour. Together 5 units an hour, so 60 ÷ 5 = 12 hours.

Example 2

A pipe fills a tank in 12 hours and another empties it in 18 hours. If both are opened, when will the tank be full?

Solution

Net rate = 1/12 − 1/18 = 1/36. The tank fills in 36 hours.

Example 3

Pipes A and B fill a tank in 10 and 15 hours; pipe C empties it in 30 hours. All three are opened together. Find the time to fill.

Solution

Capacity 30 units: 3 + 2 − 1 = 4 units per hour, so 30 ÷ 4 = 7.5 hours.

Example 4

A pipe normally fills a tank in 8 hours, but because of a leak it takes 10 hours. How long would the leak take to empty a full tank?

Solution

Leak rate = 1/8 − 1/10 = 1/40, so the leak empties the tank in 40 hours.

Example 5

Pipes A and B fill a tank in 16 and 24 minutes. Both are opened, and B is closed after 6 minutes. How long does it take in all to fill the tank?

Solution

Capacity 48 units; A adds 3, B adds 2 per minute. In 6 minutes both fill 30 units. A fills the remaining 18 units in 6 minutes. Total = 12 minutes.

Practice questions

Question 1

Two pipes fill a tank in 15 hours and 10 hours. Together they fill it in:

  1. 12.5 hours
  2. 5 hours
  3. 7.5 hours
  4. 6 hours
Show answer & explanation

Answer: D. 6 hours

Capacity 30 units; the pipes add 2 and 3 units an hour, so 30 ÷ 5 = 6 hours together.

Question 2

An inlet fills a tank in 6 hours and an outlet empties it in 9 hours. With both open, the tank fills in:

  1. 15 hours
  2. 3 hours
  3. 12 hours
  4. 18 hours
Show answer & explanation

Answer: D. 18 hours

Net rate = 1/6 − 1/9 = 1/18 of the tank per hour, so it fills in 18 hours.

Question 3

A pipe fills a tank in 5 hours, but a leak makes it take 6 hours. The leak alone empties the full tank in:

  1. 11 hours
  2. 25 hours
  3. 30 hours
  4. 36 hours
Show answer & explanation

Answer: C. 30 hours

Leak rate = 1/5 − 1/6 = 1/30, so the leak alone needs 30 hours to empty the full tank.

Question 4

Pipes A and B fill a tank in 12 and 15 hours, and pipe C empties it in 20 hours. With all three open, the tank fills in:

  1. 8 hours
  2. 10 hours
  3. 12 hours
  4. 9 hours
Show answer & explanation

Answer: B. 10 hours

On 60 units, the net hourly rate is 5 + 4 − 3 = 6 units, so the tank fills in 10 hours.

Question 5

Pipes A and B fill a tank in 20 and 30 minutes. Both are opened and A is closed after 5 minutes. The total time to fill the tank is:

  1. 22.5 minutes
  2. 20 minutes
  3. 25 minutes
  4. 17.5 minutes
Show answer & explanation

Answer: A. 22.5 minutes

On 60 units, both fill 25 units in 5 minutes; B then fills 35 units at 2 per minute in 17.5 minutes.

FAQs

Is a leak the same as an outlet pipe?

Mathematically, yes: both remove water at a fixed rate and their rates are subtracted. The wording differs only in how the information is given. A leak is usually described indirectly, through the extra time it causes, so you have to compute its rate first.

What if the net rate comes out negative?

Then the tank cannot be filled; it will empty instead. If the tank starts full, the time to empty is capacity divided by the net outflow rate. Some questions deliberately set this up to test whether you notice the sign.

Practise for these exams

More Quantitative Aptitude topics