Detention Time Calculator (HRT, t = V/Q)

Compute hydraulic retention time (HRT) for clarifiers, aeration tanks, and reservoirs from the V/Q formula.

Science t = V / Q HRT Metric + gallons
Rate this calculator · 4.0 (2)

Detention time

t = V / Q · HRT · wastewater

Instructions — Detention Time Calculator (HRT, t = V/Q)

  1. Pick what to solve — detention time (most common), tank volume, or required flow rate.
  2. Enter the two known values with their units. Volume can be m³, liters, US gallons, or cubic feet. Flow can be m³/h, L/h, L/min, L/s, gpm, or gpd.
  3. Choose the output time unit — seconds, minutes, hours, or days. The calculator converts internally to m³/h and back to your selected unit.
  4. Read the result — the headline shows the answer plus a breakdown in m³, m³/h, and seconds for cross-checking.

Formulas

Hydraulic retention time: t = V ÷ Q, where V is tank volume and Q is volumetric flow.

Required tank volume: V = Q × t for sizing reactors to a target retention.

Maximum acceptable flow: Q = V ÷ t — used to set hydraulic loading limits.

Unit conversions: 1 m³ = 1000 L = 264.17 US gal = 35.31 ft³. 1 m³/h = 4.40 gpm = 0.278 L/s. 1 gpm = 0.227 m³/h.

Theoretical vs. effective HRT: real reactors lose 10–40% of nominal HRT to dead zones and short-circuiting. Tracer studies measure actual residence time distribution.

Reference

Typical HRT by process. Coagulation 1–3 min. Flocculation 15–45 min. Primary clarifier 1.5–2.5 h. Aeration tank 4–8 h. Secondary clarifier 2–4 h. Disinfection contact 20–60 min. Anaerobic digester 15–30 days.

Why V/Q is an approximation. The formula assumes ideal mixing (CSTR) or plug flow with no dead zones. Real tanks have non-uniform velocity fields; tracer studies routinely find effective HRT 30% below the nominal value.

Drinking water rules. US EPA CT (concentration × time) requirements for disinfection are calculated using effective HRT, often taken as t₁₀ — the time at which 10% of an injected tracer has passed through. Designers apply a baffling factor of 0.3 to 0.7 to nominal HRT.

Article — Detention Time Calculator (HRT, t = V/Q)

Detention time calculator: hydraulic retention time (HRT)

Detention time, also called hydraulic retention time (HRT), is the average time water spends in a tank: t = V ÷ Q. Sedimentation tanks run 1.5–2.5 hours, aeration basins 4–8 hours, anaerobic digesters 15–30 days. Real tanks usually deliver 60–90% of the calculated value because of dead zones and short-circuiting.

Every part of a water or wastewater plant is sized around detention time. Coagulation needs minutes to disperse chemicals. Flocculation needs tens of minutes to grow particles big enough to settle. Sedimentation needs hours. Disinfection needs enough contact for pathogen kill. Get any of these wrong and the effluent fails specification, or capital cost balloons.

What is detention time?

Detention time is the answer to one question: how long does a typical drop of water stay inside the tank before leaving? In an ideal plug-flow reactor, every drop spends the same time inside. In a continuously stirred tank reactor (CSTR), residence time follows an exponential distribution. Real tanks fall between these extremes, and the calculated V/Q is only an average.

Engineers care because every treatment mechanism has a time constant. Bacteria need hours to consume organics. Coagulant chemicals need seconds to disperse, then minutes to bind particles. Free chlorine needs minutes to kill enteric viruses, hours to kill protozoan cysts. Match HRT to the slowest mechanism in your process train and the design works.

Did you know

Lake Baikal in Siberia has a natural hydraulic retention time of about 330 years — water that enters today won't leave for three centuries. Pollution doesn't flush out; it accumulates. The ocean averages roughly 3000 years end-to-end.

The detention time formula

The basic formula is simple division:

Detention time / HRT
t = V / Q average residence time
V = Q · t required tank size
Q = V / t maximum flow capacity

The trick is keeping units consistent. Volume in m³ divided by flow in m³/h gives hours. Volume in gallons divided by flow in gpd gives days. Volume in liters divided by flow in liters per second gives seconds. Mix units (gallons with m³/h, or liters with gpd) and the answer is meaningless.

Typical detention times in water treatment

Each unit operation has a target HRT window built from decades of practice. Cross-checking your design against these ranges catches sizing errors quickly:

  • Rapid mixing 10–60 seconds for coagulant dispersion.
  • Flocculation 15–45 minutes at G·t values of 30,000–80,000.
  • Primary clarifier 1.5–2.5 hours, surface overflow 24–48 m³/m²/day.
  • Aeration basin 4–8 hours conventional, 12–24 hours extended aeration.
  • Secondary clarifier 2–4 hours, surface overflow 16–32 m³/m²/day.
  • Disinfection contact 20–60 minutes for chlorine, less for UV.
  • Anaerobic digester 15–30 days mesophilic, 10–20 days thermophilic.
2 h
Primary clarifier
Suspended solids
Settles 50–70% TSS
20 d
Anaerobic digester
Biogas + stabilization
240× longer than clarifier

Detention time vs. sludge age (SRT)

In activated sludge the HRT formula isn't the only time that matters. Sludge retention time (SRT, also called mean cell residence time or sludge age) tracks how long bacteria stay in the system, decoupled from how long water stays. Biomass returns from the clarifier underflow to the aeration basin, so it accumulates while water moves through.

Typical conventional activated sludge runs HRT of 6 hours and SRT of 10 days. Nitrification — bacterial conversion of ammonia to nitrate — requires SRT above 8 days at 20°C, longer in cold weather. SRT controls effluent quality more than HRT in mature biological systems.

Detention time pitfalls

Theoretical V/Q is an upper bound on residence. The actual time spent in the tank is shorter because of three real-world effects:

  • Dead zones — water trapped in corners or behind baffles barely circulates, shrinking effective volume by 10–30%.
  • Short-circuiting — inlet jets that punch straight to the outlet let some water bypass treatment entirely.
  • Density currents — temperature differences between inflow and tank cause warm water to ride over cold (or vice versa), again reducing contact.
Don't trust V/Q for disinfection compliance

US EPA disinfection rules use the t₁₀ value — the time at which 10% of a tracer pulse has emerged from the tank. For typical baffled basins, t₁₀ is 0.3 to 0.7 times the theoretical HRT. Designing to V/Q alone will overstate kill credit and risk violation.

Worked detention time examples

Three quick walks through the math:

Aeration tank. Volume 4000 m³, flow 12,000 m³/day (500 m³/h). HRT = 4000 / 500 = 8 hours. Conventional activated sludge range; adequate for BOD removal and partial nitrification at warm temperatures.

Disinfection chamber. Need 30-minute chlorine contact at 1000 gpm. Q = 1000 gpm × 0.227 = 227 m³/h. V = Q · t = 227 × 0.5 = 113.5 m³ — about 30,000 US gallons. Add a baffling factor of 0.5 to reach effective contact, so actual sizing target is 227 m³.

Storage reservoir. A 10 million gallon tank serves 2 MGD demand. HRT = 10/2 = 5 days. Long enough that chlorine residual decays substantially — operators often add booster stations or monitor for nitrification in chloraminated systems.

Tip

Convert flow to m³/h first, then divide volume in m³. The intermediate units always work out cleanly. For US units, multiply gpm by 0.227 to get m³/h, or divide MGD by 0.158 to get m³/h.

Detention time for disinfection (CT values)

Drinking water disinfection uses CT — concentration of disinfectant in mg/L multiplied by contact time in minutes — to credit pathogen kill. The Surface Water Treatment Rule (SWTR) tables give required CT for each log-reduction of Giardia and viruses at different temperatures and pH. Free chlorine at 1.0 mg/L and 5°C needs about 35 min·mg/L for 3-log Giardia kill.

Designers use t₁₀ (10th-percentile residence time from a tracer test) instead of theoretical V/Q. Without a tracer test, the EPA's baffling factor table assigns 0.1 for unbaffled basins up to 0.7 for serpentine pipe contactors. Get this wrong and your plant may pass design review but fail field verification.

Did you know

The 1993 Milwaukee Cryptosporidium outbreak sickened 403,000 people and killed at least 69. Subsequent investigation traced the failure partly to inadequate effective contact time during a runoff event. The case drove EPA to tighten CT requirements and mandate baffling-factor analysis nationwide.

FAQ

Detention time, also called hydraulic retention time (HRT), is the average time water spends inside a tank or reactor. It equals tank volume divided by volumetric flow: t = V / Q. Engineers use it to size clarifiers, aeration basins, contact chambers, and digesters.
Convert volume to m³ and flow to m³/h, divide V by Q. A 1000 m³ tank receiving 50 m³/h has HRT = 1000/50 = 20 hours. For a US gpd flow, convert: 1 MGD ≈ 158 m³/h. For gpm flow: 1 gpm ≈ 0.227 m³/h.
Real tanks have dead zones (water that barely moves) and short-circuiting (water that races from inlet to outlet). Tracer studies show effective HRT is typically 60–90% of the calculated V/Q value. Baffles, inlet diffusers, and longer length-to-width ratios push effective HRT closer to theoretical.
US EPA guidelines suggest 1.5–2.5 hours at average flow, with surface overflow rates of 24–48 m³/m²/day. Settling tanks shorter than 1 hour rarely remove enough suspended solids; longer than 3 hours risks septicity and grease release.
HRT is how long water stays. SRT (sludge retention time, also called MCRT or sludge age) is how long bacteria stay. In activated sludge they're decoupled: HRT might be 6 hours while SRT is 10 days, because biomass is recycled from the clarifier underflow back to the aeration basin.
Short HRT causes incomplete treatment: coagulants don't flocculate fully, settling is poor, biological organisms wash out faster than they grow. Effluent quality drops, suspended solids and BOD rise. Standards compliance fails.
Long HRT raises capital cost (bigger tanks), risks septic conditions where dissolved oxygen drops to zero, generates odors from sulfide and methane, and can release stored solids back into the water column. Tertiary lagoons sometimes use long HRT deliberately for polishing, but most aerobic processes target a defined window.