Pipes and Cistern: formulas & methods

Keep the method clear, then put it into practice.

Treat tank capacity as 1 unit. Inlets add water; outlets remove it. Check that water remains in the tank.

a
Time to fill; same time unit.
b
empty a full tank alone; same time unit.
f
Current filled fraction.
r
net fraction of capacity per time unit.

Inlet and outlet rates

Inlet: +1/a; outlet: −1/b

Use signs when combining rates.

Two inlets

Fill time = 1/(1/a + 1/b)

Initially empty tank; constant independent rates.

Inlet plus outlet

r = 1/a − 1/b

Positive r fills; negative r drains.

Time to fill

T = (1 − f)/r

Require r > 0; f is the starting fraction.

Time to empty

T = f/(r_out − r_in)

Require r_out > r_in.

Find a leak

Leak rate = 1/a − 1/T

An inlet fills alone in a; with the leak it takes T > a.

Explanations and worked examples

Open a method when you need more detail.

Full notation guide
a
Time to fill; same time unit.
b
empty a full tank alone; same time unit.
f
Current filled fraction.
r
net fraction of capacity per time unit.
t
Elapsed time.
T
time to the stated target.
r_in
Total inlet rate.
r_out
total outlet rate, each a nonnegative magnitude.
1. Convert filling and emptying times into signed rates

Normalise the tank’s full capacity to 1. A pipe filling it in a hours adds 1/a per hour; a pipe emptying it in b hours removes 1/b per hour.

Net rate = sum of inlet rates − sum of outlet rates
Worked example

Two inlets fill a tank in 6 hours and 12 hours respectively. Find their joint filling time.

  1. Combined rate = 1/6 + 1/12 = 1/4 tank per hour.
  2. Time for one tank = 4 hours.

4 hours.

Remember

  • Use consistent units. Real flow can depend on water level; these formulas assume the question’s stated constant-rate model.
2. An inlet and an outlet operating together

Compare rates, not the time numbers. An inlet taking less time than the outlet has the higher rate and can fill the tank despite the outlet.

r = 1/a − 1/b
From empty: T = ab/(b − a), when b > a
Worked example

An inlet fills a tank in 8 hours and an outlet empties it in 12. How long to fill an empty tank with both open?

  1. Net rate = 1/8 − 1/12 = 1/24 tank per hour.
  2. Filling time = 24 hours.

24 hours.

Remember

  • If rates are equal, the level does not rise. If the outlet is faster, an empty tank cannot accumulate water under this model.
3. Start from the actual water level

When the tank is already partly full, only the missing fraction needs filling. To empty it, divide the water currently present by the net draining rate.

Filling time = (1 − f)/r, r > 0
Emptying time = f/(r_out − r_in), r_out > r_in
Worked example

A tank is 3/5 full. An inlet adds 1/10 tank per hour while an outlet removes 1/15. Find the time to fill.

  1. Net rate = 1/10 − 1/15 = 1/30.
  2. Missing fraction = 2/5.
  3. Time = (2/5)/(1/30) = 12 hours.

12 hours.

Remember

  • Do not use full capacity as the remaining work. At an empty or full boundary, physical constraints override an unconstrained linear formula.
4. Recover an unknown leak rate

The leak accounts for the difference between the inlet’s standalone filling rate and the observed net rate. Its full-tank emptying time is the reciprocal of that difference.

Leak rate = 1/a − 1/T
Leak-alone emptying time = aT/(T − a)
Worked example

A pipe fills a tank in 10 hours alone, but takes 15 hours with a leak. How long would the leak take to empty a full tank?

  1. Leak rate = 1/10 − 1/15 = 1/30.
  2. Emptying one full tank therefore takes 30 hours.

30 hours.

Remember

  • Require T > a. Assume the leak acts at the same constant rate throughout, including the separate emptying scenario.
5. Pipes opening or closing at different times

Break the process into stages and track the filled fraction. If a stage reaches full capacity before the next switching event, stop at that earlier time.

New fraction = old fraction + net rate × elapsed time
Worked example

An inlet fills a tank in 6 hours. It runs alone for 2 hours, then a second inlet that fills in 12 hours joins. When is the tank full?

  1. First stage fills 2/6 = 1/3.
  2. Remaining = 2/3; new rate = 1/6 + 1/12 = 1/4.
  3. Additional time = (2/3)/(1/4) = 8/3 hours.

4 hours 40 minutes from the start.

Remember

  • Convert fractional hours to minutes by multiplying the fractional part by 60.
6. Alternating inlet and outlet operation

Compute full cycles while checking that the tank neither fills nor empties in the middle. In the last cycle, solve for the fraction of the active interval needed to reach the target.

Cycle change = total water added − total water removed
Worked example

An inlet fills in 4 hours and an outlet empties in 8. Starting empty, the inlet runs for one hour, then the outlet for one hour, repeatedly. When does the tank first fill?

  1. Each complete two-hour cycle adds 1/4 − 1/8 = 1/8.
  2. After 6 cycles (12 hours), the tank is 3/4 full.
  3. The next inlet hour adds the remaining 1/4.

After 13 hours.

Remember

  • Eight complete cycles would overlook filling during an earlier inlet turn. A drain cannot remove water from an empty tank.
Practise pipes and cistern questions