Skip to content
Omnikalc

Residence time calculator: how long does water stay in a tank?

Enter the volume of a tank or basin and the flow rate through it to get the residence time, the volumes per day and the time needed to flush out 95 % of a dissolved substance.

Updated on
Your inputs
gal

Value out of range

gpm

Value out of range

Results

Residence time in hours

4.17 hours

Residence time (hydraulic detention time)
4:10:00
Tank volumes through the tank per day
5.76 per day
Time to flush out 95 % of a tracer (perfectly mixed tank)
12.5 hours

How long a liquid stays in a tank decides how much it settles, reacts or disinfects. This residence time calculator takes the volume of a tank or basin and the flow rate through it to give the residence time, the number of volume turnovers per day and the time needed to flush out 95 % of a dissolved substance.

How the calculation works

  • Residence time θ = volume ÷ flow rate. With 50,000 gallons and 200 gallons per minute, θ = 250 minutes.
  • In hours = minutes ÷ 60.
  • Volumes per day = flow × 1,440 minutes ÷ volume, the number of times the contents are replaced in a day.
  • 95 % washout time = 3 × θ for a perfectly mixed tank, since 1 − e^−3 ≈ 0.95.

Example

A basin holds 50,000 gallons and receives 200 gallons per minute. The residence time is 50,000 ÷ 200 = 250 minutes, which is 4.17 hours. The contents are replaced 5.76 times a day, and in a perfectly mixed tank it takes about 12.5 hours to flush out 95 % of a dissolved tracer.

Why it matters

Residence time is a basic design number in water and wastewater treatment, chemical reactors, aquaculture, ponds and pools. A settling basin needs enough time for solids to sink, a contact tank needs enough time for the disinfectant to act, and a pond needs enough time for algae to grow or be flushed out.

Good to know

The calculation gives the average time, and the real distribution is wider because of mixing, short-circuiting and dead zones. For a chlorine contact tank, regulators use the time at which only 10 % of the water has left, called t10, which is often 30 to 70 % of the theoretical time. In a river or lake the same formula gives the flushing time. Use the same time unit for the volume and the flow, and use the working volume rather than the total volume of the tank.

The tank volume calculator finds the volume to use, the tank drain time calculator shows how long it takes to empty and the pump power calculator sizes the pump for the flow.

Frequently asked questions

What is residence time?

It is the average time a unit of water or fluid spends in a tank or reactor. It equals the volume divided by the flow rate, and it is also called hydraulic detention time or retention time.

What is a typical detention time in water treatment?

Sedimentation basins are designed for about 2 to 4 hours, flocculation basins for 20 to 40 minutes and chlorine contact tanks for at least 30 minutes. The design rules depend on the process and local standards.

Is the real time the same as the calculated time?

No. Short-circuiting and dead zones mean some water leaves sooner and some stays longer. Baffles improve the flow pattern, and a tracer test measures the true distribution.

Why does the washout time use 3 × θ?

In a perfectly mixed tank the tracer concentration falls as e^(−t/θ). After 3θ it has fallen to 5 %, so 95 % has left.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.