On this page
A tap fills an empty tank in 10 minutes. With the tap off, the full tank empties through its drain in 20 minutes. Open both at once: when does the tank fill? The aptitude-test method subtracts rates, 1/10 − 1/20 = 1/20 of a tank per minute, and answers "20 minutes". For a drain that flows freely under gravity, that answer is wrong. The tank never quite fills at all. The reason is Torricelli's law, and the fix is one rate equation.
The problem is from Kvant magazine's problem book, 2014, issue 2, problem Ф2342, about a bathtub with a tap and a drain (issue PDF, archived copy), with its solution in 2014, issue 4 (archived copy). The same idea appears as a leaky bucket under a tap in the Moscow physics olympiad collection for 1986–2007, problem 1.252 (collection PDF). We work it in our own words and recompute every number.
Why is the "subtract the rates" answer wrong?
Subtracting rates assumes the drain removes water at a fixed rate. A drain open to the air does not. By Torricelli's law, water leaves a hole at depth h with speed v = √(2gh), so the outflow is Q_out = a√(2gh), where a is the hole's area. Deep water drains fast; shallow water drains slowly.
That is why a full tank on its own empties in a slowing trickle, as shown in the time taken to empty a tank through a small hole. That post gives the emptying time from full, t₂ = (S/a)√(2H/g), for a tank of cross-section S and depth H. We use that result here and add a tap.
The subtraction method is right in a different setup: when both flows are fixed, such as a pump on the outlet or a tap drawing a steady flow. Then the level rises in a straight line, as in filling a tank from a pipe's flow rate.
What level does a tank with a tap and an open drain settle at?
The level stops changing when the drain removes exactly what the tap adds. Call that steady depth h*. The tap's flow is Q = SH/t₁, since it fills the tank in t₁. Then:
**Q = a√(2gh*)**
We can eliminate a and g using t₂. From the emptying time, the outflow from a full tank is a√(2gH) = 2SH/t₂. Dividing the two equations:
√(h*/H) = Q/(a√(2gH)) = (SH/t₁)/(2SH/t₂) = t₂/(2t₁)
**h* = H × (t₂/2t₁)²**
The hole's size, the tank's area and g have all cancelled. Only the two measured times matter. For t₁ = 10 min and t₂ = 20 min, t₂/2t₁ = 1, so h* = H exactly. The tank creeps towards the brim but never reaches it in any finite time, because the closer it gets, the closer the outflow comes to matching the inflow.
How fast does the level rise? A worked example
The rate of change of the level is inflow minus outflow, divided by the area S. Writing y = h/H for the fraction full and time in minutes:
dy/dt = 1/t₁ − (2/t₂)√y
Check the two limits: with the drain shut the level rises at 1/t₁; with the tap off, a full tank (y = 1) falls at 2/t₂, which is twice the average rate, as it should be for a Torricelli drain.
This equation has a closed-form solution. Write it as dy/dt = A − B√y with A = 1/t₁ and B = 2/t₂, and substitute s = √y. The time to reach level y from empty is:
t = (2/B²) × [A ln(A/(A − B√y)) − B√y]
Now the numbers, with A = B = 0.1 per minute:
After 5 min the tank is 0.30 full. The constant-rate method says 0.25, so early on the drain is weak and the tank fills faster than the shortcut predicts.
After 10 min: 0.49 full.
After 20 min: 0.71 full, not full. The shortcut has already declared the job done.
After 30 min: 0.83 full.
After 60 min: 0.96 full.
To reach 0.99 takes 86 min, and to reach 1.00 would take for ever: at y = 1, A − B√y = 0 and the logarithm blows up.
We checked each value by integrating the equation numerically in small time steps; the two methods agree.
What changes if you add a second tap?
Kvant's problem goes on to a second, identical tap. Now the inflow is doubled, so the steady level would be H × (2 × 20/(2 × 10))² = 4H. That is far above the brim, so the tank does overflow. With A = 0.2 and B = 0.1 per minute, the time to reach the brim is:
t = 200 × [0.2 ln(0.2/0.1) − 0.1] = 200 × (0.1386 − 0.1) = 7.7 min
After 5 minutes the tank is already 0.71 full. Doubling the inflow raises the steady level four times, because h* goes as the square of the inflow.
How does this look for a rooftop tank?
Take an illustrative 1000 L overhead tank. A pump fills it in t₁ = 25 min (40 L/min) with the outlet closed. With the pump off and an outlet open that drains freely, the full tank empties in t₂ = 40 min.
Steady level. t₂/2t₁ = 40/50 = 0.8, so h* = 0.64H. The tank settles at about 640 L and never fills.
Time to 90% of that (576 L): 65 min.
Time to 99% (634 L): 138 min.
The shortcut would say 1/(1/25 − 1/40) = 66.7 min to fill all 1000 L.
The model assumes a constant tap flow, a tank with straight sides and a small, sharp drain. A real drain has a discharge coefficient below 1 and pipes add friction. Measuring t₂ on the real tank folds a constant discharge coefficient into the answer, which is one reason the h* formula is so useful. Kvant's solution uses the same ideal model.
For more problems that turn a word problem into a rate equation, Fermi Test Prep offers personalised preparation for JEE Main & Advanced with an AI tutor, live classes, adaptive mocks, mentorship and a study plan that updates based on mastery. If you want to check each step of the integration, the Fermi Problem Library has a step-by-step solver that explains the reasoning.
Quick checklist
Drain outflow under gravity: Q_out = a√(2gh); it grows with depth.
Steady level where inflow = outflow: h* = H(t₂/2t₁)².
If t₂ ≤ 2t₁, h* ≤ H: the tank never overflows.
Level equation: dy/dt = 1/t₁ − (2/t₂)√y; solve with s = √y or numerically.
Doubling the inflow multiplies h* by four.
Subtracting rates is right only when both flows are fixed.



