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
- An inlet that fills a tank in n hours adds 1/n of the tank per hour. An outlet that empties it in m hours removes 1/m per hour.
- With both open, the net rate is 1/n - 1/m. If the result is positive the tank fills, otherwise it empties.
- Two inlets together fill in ab/(a + b) hours. Add any further pipes the same way.
- If a leak is discovered because the filling time rose from a to b hours, the leak empties the full tank in ab/(b - a) hours.
- When pipes open alternately, find the work done per cycle, then deal with the remainder.
- If rates are in litres per minute, tank volume = net rate × time.
Shortcuts and common mistakes
- Write each pipe as a signed rate: plus for inlets, minus for outlets. Then add.
- For a leak, remember that the filling time with the leak is longer than the time without it.
- Compare every answer with a sanity check: with a leak, the tank must take longer to fill.
- If the net rate is zero or negative, the tank never fills, so check the sign first.
Pipes and cisterns aptitude questions with solutions: questions with worked answers
1 Pipe A fills a tank in 12 hours and pipe B in 15 hours. How long do both take together?
easyTime = 12 × 15 / 27 = 180/27 = 20/3 hours. Check: 1/12 + 1/15 = 9/60 = 3/20. Final answer: 6 hours 40 minutes.
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?
easyNet rate = 1/6 - 1/8 = 1/24. Final answer: 24 hours.
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?
easyNet rate = 1/20 - 1/30 = 1/60. Final answer: 60 minutes.
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?
mediumNet rate = 1/10 + 1/15 - 1/30 = (3 + 2 - 1)/30 = 4/30 = 2/15. Time = 15/2. Final answer: 7.5 hours.
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?
mediumIn 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 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?
mediumLeak rate = 1/4 - 1/4.5 = 1/4 - 2/9 = 1/36. Final answer: 36 hours.
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?
mediumFirst 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 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?
mediumNet rate = 1/10 + 1/15 - 1/20 = (6 + 4 - 3)/60 = 7/60. Time = 60/7 hours. Final answer: 8 4/7 hours.
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?
mediumLet 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 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?
hardNet 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 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?
hardPer 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 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?
hardLeak rate = 1/8 - 1/12 = 1/24. Final answer: 24 hours.
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?
hardNet = 25 + 15 - 10 = 30 litres per minute. Time = 1,200/30 = 40. Final answer: 40 minutes.
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?
hardIn 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
- Probability aptitude questions with solutions
- Problems on ages aptitude questions with solutions
- Problems on trains aptitude questions with solutions
- Profit and loss aptitude questions with solutions
- Pseudocode Aptitude Questions with Output Tracing
- Quadratic equation aptitude questions
- Ratio and proportion aptitude questions with solutions
- Reading Comprehension Aptitude Questions with Answers
- Seating Arrangement Aptitude Questions with Solutions
- Sentence Correction Aptitude Questions with Answers
- Simple interest aptitude questions with solutions
- Simplification aptitude questions with solutions