Pipes and Cisterns: Every Formula, Concept and Problem Type Explained

pipes and cisterns tricks for competitive exams
Advertisement

Pipes and cisterns is one of the most predictable topics in competitive exam mathematics. Every question — regardless of how it is worded — comes back to one core idea: how fast is a tank being filled or emptied, and how long does it take when multiple pipes work together?

The connection to Time and Work is direct and intentional. If you have already mastered Time and Work, pipes and cisterns will take you less than an hour to fully understand. An inlet pipe filling a tank is identical in structure to a worker completing a job — the formulas are the same; only the vocabulary changes (inlet, outlet, leak, cistern).

In SSC CGL Tier 1, pipes and cisterns contributes $1\text{–}2$ questions. In Tier 2, this increases to $2\text{–}3$ questions. In IBPS PO Prelims and RRB NTPC, $1\text{–}2$ questions appear regularly. The questions are formula-driven and highly repetitive in pattern — making this one of the highest-accuracy topics once the core framework is internalized.

Part 1: Core Concept — The Work Framework

Tank as a Unit of Work

Think of filling the entire tank as completing $1$ unit of work:

  • An inlet pipe that fills the tank in $n\text{ hours}$ completes $+\dfrac{1}{n}$ of the work per hour.

  • An outlet pipe (or leak) that empties the full tank in $n\text{ hours}$ removes $-\dfrac{1}{n}$ of the work per hour.

  • Filling pipes are positive (they add to work done).

  • Emptying pipes (outlets/leaks) are negative (they subtract from work done).

The Master Formula

$$\text{Combined (Net) Rate} = \text{Sum of all individual rates} = \sum \text{Inlet Rates} - \sum \text{Outlet Rates}$$

$$\text{Time to Complete} = \frac{1}{\text{Combined Net Rate}}$$

This single framework handles every pipes and cisterns problem without exception.

Part 2: Single Pipe Problems

Type 1 — Basic Partial Fill in Given Time

Worked Example 1:

Pipe A fills a tank in $6\text{ hours}$. How much of the tank is filled in $4\text{ hours}$?

$$\text{Rate of A} = \frac{1}{6}\text{ tank per hour}$$

$$\text{Work done in } 4\text{ hours} = 4 \times \frac{1}{6} = \frac{4}{6} = \frac{2}{3}\text{ of the tank}$$

Type 2 — Finding Full Fill Time from Partial Work

Worked Example 2:

A pipe fills $\dfrac{1}{4}$ of a tank in $3\text{ hours}$. How long will it take to fill the complete tank?

$$\text{Rate} = \frac{1/4}{3} = \frac{1}{12}\text{ tank per hour} \implies \text{Time to fill} = 12\text{ hours}$$

Part 3: Two Pipes Working Together

1. Both Pipes Filling

If Pipe A fills a tank in $A\text{ hours}$ and Pipe B fills it in $B\text{ hours}$:

$$\text{Time} = \frac{A \times B}{A + B}$$

Worked Example 3:

Pipe A fills a tank in $12\text{ hours}$ and Pipe B fills it in $8\text{ hours}$. If both are opened together, how long will it take to fill the tank?

  • Direct Formula:

    $$\text{Time} = \frac{12 \times 8}{12 + 8} = \frac{96}{20} = \frac{24}{5} = 4.8\text{ hours} \quad (\text{or } 4\text{ hours } 48\text{ minutes})$$

  • Fraction Method (More Flexible):

    $$\text{Combined Rate} = \frac{1}{12} + \frac{1}{8} = \frac{2}{24} + \frac{3}{24} = \frac{5}{24}$$

    $$\text{Time} = \frac{1}{5/24} = \frac{24}{5} = 4.8\text{ hours} \;\checkmark$$

2. One Pipe Filling, One Pipe Emptying

$$\text{Net Rate} = \text{Fill Rate} - \text{Empty Rate} = \frac{1}{A} - \frac{1}{B} \implies \text{Time to Fill} = \frac{A \times B}{B - A} \quad (\text{when } B > A)$$

Worked Example 4:

Pipe A fills a tank in $10\text{ hours}$. Pipe B empties it in $15\text{ hours}$. Both open together — find the time to fill.

$$\text{Net Rate} = \frac{1}{10} - \frac{1}{15} = \frac{3}{30} - \frac{2}{30} = \frac{1}{30}\text{ tank per hour}$$

$$\text{Time to fill} = 30\text{ hours}$$

Important Check: If $\text{Empty Rate} > \text{Fill Rate}$, the net rate is negative — the tank never fills (it empties instead). Always verify the sign of the net rate.

Worked Example 5:

Pipe A fills a tank in $6\text{ hours}$ and Pipe B empties it in $4\text{ hours}$. Both open together — what happens?

$$\text{Net Rate} = \frac{1}{6} - \frac{1}{4} = \frac{2}{12} - \frac{3}{12} = -\frac{1}{12}\text{ tank per hour}$$

Since the net rate is negative, a full tank will empty in $12\text{ hours}$ and an empty tank will never fill.

Part 4: Three Pipes Working Together

Worked Example 6 (All Three Filling):

Pipes A, B, and C fill a tank in $6$, $8$, and $12\text{ hours}$ respectively. All three open together — find the time to fill.

$$\text{Combined Rate} = \frac{1}{6} + \frac{1}{8} + \frac{1}{12}$$

Taking $\text{LCM}(6, 8, 12) = 24$:

$$\text{Combined Rate} = \frac{4}{24} + \frac{3}{24} + \frac{2}{24} = \frac{9}{24} = \frac{3}{8}$$

$$\text{Time} = \frac{8}{3} = 2\frac{2}{3}\text{ hours} = 2\text{ hours } 40\text{ minutes}$$

Worked Example 7 (Two Filling, One Emptying):

Pipes A and B fill a tank in $10$ and $15\text{ hours}$ respectively. Pipe C empties it in $20\text{ hours}$. All three open together — find the time to fill.

$$\text{Net Rate} = \frac{1}{10} + \frac{1}{15} - \frac{1}{20}$$

Taking $\text{LCM}(10, 15, 20) = 60$:

$$\text{Net Rate} = \frac{6}{60} + \frac{4}{60} - \frac{3}{60} = \frac{7}{60}$$

$$\text{Time} = \frac{60}{7} = 8\frac{4}{7}\text{ hours} \approx 8.57\text{ hours}$$

Part 5: Pipe Opened and Closed After Partial Fill

This is the most frequently tested problem type in SSC CGL and IBPS PO. One pipe runs for a fixed duration, then another joins — or one pipe is shut off mid-way.

Type A — Second Pipe Opens After Some Time

Worked Example 8:

Pipe A fills a tank in $12\text{ hours}$. After $4\text{ hours}$, Pipe B (which fills in $8\text{ hours}$) is also opened. Find the total time to fill the tank.

  • Work done by A in first $4\text{ hours}$:

    $$4 \times \frac{1}{12} = \frac{1}{3}$$

  • Remaining work:

    $$1 - \frac{1}{3} = \frac{2}{3}$$

  • Combined rate $(A + B)$:

    $$\frac{1}{12} + \frac{1}{8} = \frac{2}{24} + \frac{3}{24} = \frac{5}{24}$$

  • Time for remaining work:

    $$\frac{2/3}{5/24} = \frac{2}{3} \times \frac{24}{5} = \frac{16}{5} = 3.2\text{ hours}$$

  • Total Time:

    $$4 + 3.2 = 7.2\text{ hours} \quad (\text{or } 7\text{ hours } 12\text{ minutes})$$

Type B — One Pipe Closed Before the Tank Is Full

Worked Example 9:

Pipes A and B together fill a tank in $6\text{ hours}$. Pipe A alone fills it in $10\text{ hours}$. If A is closed after $4\text{ hours}$, how long does B take to finish filling the tank?

  • Rate of B alone:

    $$\text{Rate of B} = \frac{1}{6} - \frac{1}{10} = \frac{5}{30} - \frac{3}{30} = \frac{2}{30} = \frac{1}{15}$$

  • Work done by $(A + B)$ in $4\text{ hours}$:

    $$4 \times \frac{1}{6} = \frac{4}{6} = \frac{2}{3}$$

  • Remaining work:

    $$1 - \frac{2}{3} = \frac{1}{3}$$

  • Time for B alone to finish:

    $$\frac{1/3}{1/15} = \frac{1}{3} \times 15 = 5\text{ hours}$$

Part 6: Tank Partially Filled — Find Net Time

Worked Example 10:

A tank is $\dfrac{2}{3}$ full. Pipe A can fill the full tank in $9\text{ hours}$, and Pipe B can empty the full tank in $6\text{ hours}$. If both pipes are opened simultaneously, when will the tank empty completely?

  • Net Rate:

    $$\frac{1}{9} - \frac{1}{6} = \frac{2}{18} - \frac{3}{18} = -\frac{1}{18}\text{ tank per hour}$$

    (Negative net rate $\implies$ tank empties at $\dfrac{1}{18}$ of full capacity per hour.)

  • Current water level to empty: $\dfrac{2}{3}$ of the tank

  • Time to empty completely:

    $$\text{Time} = \frac{2/3}{1/18} = \frac{2}{3} \times 18 = 12\text{ hours}$$

Part 7: Leak Problems

A leak at the bottom of a tank acts as a continuous outlet pipe. Leak problems typically give two times: the normal fill time without a leak, and the longer fill time with the leak active.

The Leak Formula

$$\text{Leak Rate} = \frac{1}{\text{Normal Fill Time}} - \frac{1}{\text{Fill Time with Leak}}$$

Worked Example 11:

A pipe fills a tank in $20\text{ hours}$. Due to a leak at the bottom, it takes $30\text{ hours}$ to fill. How long will the leak alone take to empty the full tank?

$$\text{Leak Rate} = \frac{1}{20} - \frac{1}{30} = \frac{3}{60} - \frac{2}{60} = \frac{1}{60}\text{ tank per hour}$$

$$\text{Time for leak to empty full tank} = 60\text{ hours}$$

Worked Example 12:

A pipe fills a tank in $15\text{ hours}$, while a leak at the bottom empties a full tank in $20\text{ hours}$. How long will it take to fill the tank with both the pipe and the leak active?

$$\text{Net Rate} = \frac{1}{15} - \frac{1}{20} = \frac{4}{60} - \frac{3}{60} = \frac{1}{60}\text{ tank per hour} \implies \text{Time} = 60\text{ hours}$$

Part 8: Efficiency & Capacity-Based Problems (In Litres)

Some problems give the capacity of the tank directly in litres and pipe flow rates in $\text{litres/hour}$ (or $\text{litres/minute}$). The framework is identical — work directly with real volume units.

Worked Example 13:

A tank holds $1,200\text{ litres}$. Pipe A fills at $60\text{ litres/hour}$, Pipe B fills at $40\text{ litres/hour}$, and Pipe C empties at $30\text{ litres/hour}$. All three open together — find the time to fill.

$$\text{Net Rate} = 60 + 40 - 30 = 70\text{ litres/hour}$$

$$\text{Time} = \frac{1,200}{70} = \frac{120}{7} = 17\frac{1}{7}\text{ hours} \approx 17.14\text{ hours} \quad (\text{or } 17\text{ hours } 9\text{ minutes})$$

Bonus SSC CGL Pattern — Finding Unknown Tank Capacity

A leak empties a full tank in $10\text{ hours}$. An inlet pipe fills water at $4\text{ litres/minute}$. When both are open, the full tank empties in $15\text{ hours}$. Find the tank's capacity.

  • Inlet Pipe Rate (fraction/hour):

    $$\text{Leak Rate} - \text{Inlet Rate} = \frac{1}{15} \implies \text{Inlet Rate} = \frac{1}{10} - \frac{1}{15} = \frac{1}{30}\text{ tank/hour}$$

  • Time for Inlet Pipe alone to fill the tank $= 30\text{ hours} = 30 \times 60 = 1,800\text{ minutes}$.

  • Total Tank Capacity:

    $$\text{Capacity} = 1,800\text{ minutes} \times 4\text{ litres/minute} = 7,200\text{ litres}$$

Part 9: Alternate Opening — Pipes Open in Turns

A classic SSC CGL Tier 2 pattern: two or more pipes are opened alternately (one hour each) rather than simultaneously.

Worked Example 14:

Pipe A fills a tank in $4\text{ hours}$ and Pipe B fills it in $6\text{ hours}$. They are opened alternately for $1\text{ hour}$ each, starting with A ($1^{\text{st}}$ hour A, $2^{\text{nd}}$ hour B, $3^{\text{rd}}$ hour A, and so on). How long does it take to fill the tank?

  • Work in $1^{\text{st}}$ hour (A): $\dfrac{1}{4}$

  • Work in $2^{\text{nd}}$ hour (B): $\dfrac{1}{6}$

  • Work in $1$ complete cycle ($2\text{ hours}$):

    $$\frac{1}{4} + \frac{1}{6} = \frac{3}{12} + \frac{2}{12} = \frac{5}{12}$$

  • Work in $2$ cycles ($4\text{ hours}$):

    $$2 \times \frac{5}{12} = \frac{10}{12} = \frac{5}{6}$$

  • Remaining work after $4\text{ hours}$:

    $$1 - \frac{5}{6} = \frac{1}{6}$$

  • In the $5^{\text{th}}$ hour (A's turn): Pipe A fills $\dfrac{1}{4}$ per hour, so time needed to fill $\dfrac{1}{6}$ is:

    $$\frac{1/6}{1/4} = \frac{4}{6} = \frac{2}{3}\text{ hour} = 40\text{ minutes}$$

  • Total Time:

    $$4 + \frac{2}{3} = 4\frac{2}{3}\text{ hours} = 4\text{ hours } 40\text{ minutes}$$

Advanced Mains Trap (Alternate Fill + Empty): If Pipe A fills and Pipe B empties alternately, always subtract Pipe A's $1$-hour fill work from total capacity before dividing by the $2$-hour net cycle work — because the moment Pipe A reaches $100\%$ full at the end of its turn, the task is finished and Pipe B does not get another turn to empty it.

Part 10: Exam Traps and Speed Tips

  • Trap 1 — Outlet Rate Greater Than Inlet Rate: Always compute the net rate first. If the net rate is negative, the tank empties — no fill time exists. Do not panic if an equation gives a negative number; check whether the question asks "how long to empty" instead of "how long to fill".

  • Trap 2 — "Together" vs. "Alternately":

    • "Both pipes open together" $\rightarrow$ add rates simultaneously ($R_A + R_B$).

    • "Pipes open alternately" $\rightarrow$ compute work per multi-hour cycle, then resolve the final partial turn.

  • Trap 3 — Time vs. Rate Confusion: Never average or add times directly — you can only add rates (work per hour):

    • $\times$ Wrong: Two pipes fill in $6$ and $4\text{ hours} \implies \text{together} = \frac{6 + 4}{2} = 5\text{ hours}$.

    • $\checkmark$ Correct: $\text{Rates} = \frac{1}{6} + \frac{1}{4} = \frac{5}{12} \implies \text{Time} = \frac{12}{5} = 2.4\text{ hours}$.

  • Trap 4 — Leak Problems with "Takes Longer": When a leak is present, fill time increases. Always subtract the slower rate from the faster rate: $\text{Leak Rate} = \frac{1}{T_{\text{normal}}} - \frac{1}{T_{\text{with leak}}}$. Never add them.

Speed Tip — The LCM Unit-Work Method

For problems with multiple pipes, assume the Total Tank Capacity $= \text{LCM of all given times}$. Express each pipe's rate in whole units per hour to eliminate fractions completely.

Worked Example 15 — LCM Method:

Pipes A, B, and C fill a tank in $4$, $6$, and $12\text{ hours}$ respectively. All three open together — find total fill time.

  • Assume Tank Capacity $= \text{LCM}(4, 6, 12) = 12\text{ units}$

  • Rate of A $= \dfrac{12}{4} = 3\text{ units/hour}$

  • Rate of B $= \dfrac{12}{6} = 2\text{ units/hour}$

  • Rate of C $= \dfrac{12}{12} = 1\text{ unit/hour}$

  • Combined Rate $= 3 + 2 + 1 = 6\text{ units/hour}$

  • Total Time:

    $$\text{Time} = \frac{12}{6} = 2\text{ hours}$$

No fractions, no common denominators — just clean whole-number arithmetic.

Quick Reference Formula Sheet

Situation

Formula

Single pipe fill time

$\text{Time} = \dfrac{1}{\text{Rate}}$

Two pipes filling together

$\text{Time} = \dfrac{A \times B}{A + B}$

One filling ($A$), one emptying ($B$)

$\text{Net Rate} = \dfrac{1}{A} - \dfrac{1}{B} \implies \text{Time} = \dfrac{A \times B}{B - A} \quad (B > A)$

Three pipes ($A, B$ fill; $C$ empties)

$\text{Net Rate} = \dfrac{1}{A} + \dfrac{1}{B} - \dfrac{1}{C}$

Partial fill remaining work

$\text{Remaining} = 1 - \text{Work Done}$

Leak rate

$\text{Leak Rate} = \dfrac{1}{T_{\text{normal}}} - \dfrac{1}{T_{\text{with leak}}}$

Efficiency / Capacity (in litres)

$\text{Time} = \dfrac{\text{Tank Capacity}}{\text{Net Flow Rate}}$

Alternate pipes ($2\text{-hour}$ cycle)

$\text{Work per Cycle} = \text{Rate}_A + \text{Rate}_B$

Exam-Wise Strategy & Time Budget

Exam

Expected Questions

Common Types

Time Budget

SSC CGL Tier 1

$1\text{–}2$Two pipes, leak problems$60\text{–}75\text{ sec each}$

SSC CGL Tier 2

$2\text{–}3$Partial fill, alternate opening, tank capacity$90\text{ sec each}$

IBPS PO Prelims

$1\text{–}2$Two/three pipes combined, LCM method$60\text{ sec each}$

IBPS PO Mains

$1\text{–}2$Leak $+$ efficiency/litres problems$90\text{ sec each}$

RRB NTPC

$1\text{–}2$Basic fill/empty, two pipes$60\text{ sec each}$

2-Week Pipes and Cisterns Practice Plan

Week

Focus Area

Daily Target

Week 1

Single pipe $+$ two pipes together $+$ leak problems$15\text{ questions}$, $20\text{ minutes}$

Week 2

Partial fill $+$ alternate opening $+$ LCM method $+$ capacity problems$15\text{ mixed questions}$, $20\text{ minutes}$

Frequently Asked Questions

The connection is direct and complete. In Time and Work, a worker completes $\frac{1}{n}$ of a job per day when the full job takes $n\text{ days}$. In Pipes and Cisterns, an inlet pipe fills $\frac{1}{n}$ of a tank per hour when it takes $n\text{ hours}$ to fill. The formulas are identical — only the context changes. If you are comfortable with Time and Work problems, Pipes and Cisterns requires only learning the new vocabulary: inlet, outlet, leak, and cistern.

Convert the problem into a flow-rate problem. Compute $\text{Net Rate} = \text{Total Inflow Rate} - \text{Total Outflow Rate}$ (in $\text{litres/hour}$ or $\text{litres/minute}$), then apply $\text{Time} = \frac{\text{Tank Capacity}}{\text{Net Rate}}$. This is identical to the fraction method — just using actual volume units instead of fractions of the tank. The LCM method also works seamlessly by taking the given capacity as the total work units.

A negative net rate ($\text{Net Rate} < 0$) means the outflow exceeds the inflow — the tank is losing water faster than it is gaining. The tank will empty rather than fill. If a question asks "how long to fill," a negative net rate means the tank cannot be filled with those pipes open simultaneously. In exam questions, this situation is normally framed as "how long to empty a full (or partially full) tank" — not fill.

The LCM method assigns a whole-number capacity to the tank equal to the $\text{LCM}$ of all given times. Each pipe's rate becomes a clean integer ($\text{Rate} = \frac{\text{Capacity}}{\text{Time}}$), eliminating fractions entirely. Use it whenever you have three or more pipes, partial-fill stages, or alternate-opening cycles — it converts messy fraction addition into simple whole-number arithmetic and drastically reduces calculation errors.

Pipes and cisterns calculations rely heavily on rapid LCM computation, fraction addition/subtraction, and quick division. SpeedMath.in's fraction, LCM, and division modules build the exact mental arithmetic reflexes that make these steps take seconds rather than minutes, letting you focus entirely on problem logic rather than rough-work calculation.

Advertisement

Have You Learned Something New? Spread It!

Copied!

Ready to put it into practice?

Apply what you've learned — sharpen your speed, test your knowledge, and challenge yourself.