Autocoder

Pipes and cisterns aptitude questions with solutions

Last updated 2026-11-19

Pipes and cisterns is time and work with water: an inlet pipe is a worker who adds to the tank, and an outlet or leak is a worker who undoes the work. The same rate arithmetic solves every question.

Here are the formulas and 14 questions covering inlets, outlets, leaks, alternate opening and litres per minute, all with full working. If you are comfortable with time and work, this will feel familiar. For the test plan, see how to crack an aptitude test.

Key formulas for pipes and cisterns

Shortcuts and common mistakes

Pipes and cisterns aptitude questions with solutions: questions with worked answers

  1. 1

    Pipe A fills a tank in 12 hours and pipe B in 15 hours. How long do both take together?

    easy

    Time = 12 × 15 / 27 = 180/27 = 20/3 hours. Check: 1/12 + 1/15 = 9/60 = 3/20. Final answer: 6 hours 40 minutes.

  2. 2

    A pipe fills a tank in 6 hours but a leak empties it in 8 hours. How long will it take to fill with the leak?

    easy

    Net rate = 1/6 - 1/8 = 1/24. Final answer: 24 hours.

  3. 3

    An inlet fills a tank in 20 minutes and an outlet empties it in 30 minutes. With both open, how long to fill the empty tank?

    easy

    Net rate = 1/20 - 1/30 = 1/60. Final answer: 60 minutes.

  4. 4

    Pipes A and B fill a tank in 10 and 15 hours, and pipe C empties it in 30 hours. All are open. How long to fill the tank?

    medium

    Net rate = 1/10 + 1/15 - 1/30 = (3 + 2 - 1)/30 = 4/30 = 2/15. Time = 15/2. Final answer: 7.5 hours.

  5. 5

    Pipe A fills a tank in 20 minutes and pipe B in 30 minutes. Both are opened for 5 minutes, then B is closed. How long in total to fill the tank?

    medium

    In 5 minutes they fill 5 × (1/20 + 1/30) = 5 × 5/60 = 5/12. Remaining 7/12 at A's rate takes 20 × 7/12 = 11 2/3 minutes. Total = 16 2/3 minutes. Final answer: 16 minutes 40 seconds.

  6. 6

    A pipe fills a tank in 4 hours. Because of a leak it takes 4.5 hours. How long does the leak take to empty a full tank?

    medium

    Leak rate = 1/4 - 1/4.5 = 1/4 - 2/9 = 1/36. Final answer: 36 hours.

  7. 7

    Two pipes fill a tank in 36 and 45 minutes. Both are opened, and the second is closed so that the tank is full in exactly 30 minutes. For how long was the second pipe open?

    medium

    First pipe works 30 minutes: 30/36 = 5/6. The remaining 1/6 is filled by the second pipe at 1/45 per minute: (1/6) × 45 = 7.5. Final answer: 7.5 minutes.

  8. 8

    A fills a tank in 10 hours, B in 15 hours, and outlet C empties it in 20 hours. How long to fill with all three open?

    medium

    Net rate = 1/10 + 1/15 - 1/20 = (6 + 4 - 3)/60 = 7/60. Time = 60/7 hours. Final answer: 8 4/7 hours.

  9. 9

    Pipe A is three times as fast as pipe B. Together they fill a tank in 24 minutes. How long does each take alone?

    medium

    Let B's rate be r, A's 3r. 4r = 1/24 so r = 1/96. B alone takes 96 minutes and A alone takes 32 minutes. Final answer: A 32 minutes, B 96 minutes.

  10. 10

    Two taps fill a cistern in 12 and 16 hours and a waste pipe empties it in 24 hours. With all open, how long does it take to fill?

    hard

    Net rate = 1/12 + 1/16 - 1/24 = (4 + 3 - 2)/48 = 5/48. Time = 48/5 = 9.6 hours. Final answer: 9 hours 36 minutes.

  11. 11

    A and B are opened alternately for one minute each, starting with A. A alone fills the tank in 20 minutes and B alone in 30 minutes. When is the tank full?

    hard

    Per two minutes: 1/20 + 1/30 = 1/12. After 24 minutes (12 cycles) the tank is exactly full, and the last minute is B's, completing the job. Final answer: 24 minutes.

  12. 12

    A tank is filled by an inlet in 8 hours and, with a leak, in 12 hours. If the tank is full and the inlet is closed, how long does the leak take to empty it?

    hard

    Leak rate = 1/8 - 1/12 = 1/24. Final answer: 24 hours.

  13. 13

    A 1,200-litre tank has two inlets giving 25 and 15 litres per minute and an outlet draining 10 litres per minute. How long to fill from empty?

    hard

    Net = 25 + 15 - 10 = 30 litres per minute. Time = 1,200/30 = 40. Final answer: 40 minutes.

  14. 14

    Pipes A and B together fill a tank in 4 hours. After 2 hours A is closed and B alone needs 5 more hours to finish. How long would A take alone?

    hard

    In 2 hours they fill 2/4 = 1/2. B fills the other 1/2 in 5 hours, so B's rate = 1/10. A's rate = 1/4 - 1/10 = 3/20. A alone takes 20/3 hours. Final answer: 6 hours 40 minutes.

Frequently asked questions

How is a leak different from an outlet pipe?

Mathematically it is the same: a negative rate. A leak is simply an outlet you did not plan for.

What if the tank is half full at the start?

Use the same net rate but only half the work. Time = (1/2) / net rate.

What happens if the outlet is faster than the inlets?

The net rate is negative, so the tank empties. In such questions the answer is the time to empty.

How does this relate to other topics?

It is the same method as time and work, and the arithmetic is similar to time, speed and distance. The TCS interview guide covers the later rounds.

Related guides

More in Aptitude Questions for Placements

See all in this section