7,200
min
120
h
5
day
500
m³
4.167
m³/h
7,200
min
120
h
5
day
500
m³
4.167
m³/h
The Detention Time Calculator computes the theoretical time that water or fluid remains in a tank, basin, or reactor. Detention time (also called retention time or residence time) is a fundamental design parameter in water treatment, wastewater treatment, chemical engineering, and environmental engineering. It determines the contact time available for physical, chemical, or biological processes to occur.
Detention time directly affects treatment efficiency: insufficient time means incomplete reactions or settling, while excessive time means oversized infrastructure and higher costs. Proper detention time design ensures that sedimentation basins, mixing chambers, disinfection contact tanks, and chemical reactors achieve their treatment objectives reliably.
Detention time (DT) is calculated as:
$$DT = \frac{V}{Q}$$
Where $$V$$ is the volume of the tank or basin and $$Q$$ is the volumetric flow rate. Both must be in consistent units for the result to have meaningful time units.
For example, with volume in m³ and flow in m³/hour:
$$DT = \frac{V \text{ (m}^3\text{)}}{Q \text{ (m}^3\text{/h)}} = \text{hours}$$
The calculator handles unit conversions internally, accepting volume in m³, liters, or US gallons, and flow rate in m³/day, m³/hour, L/min, or US gal/min. Results are provided in hours, days, and minutes for convenience.
Note that this gives the theoretical (hydraulic) detention time, assuming perfect plug flow. Actual detention time may differ due to short-circuiting, dead zones, and mixing patterns within the vessel.
Typical detention times vary by application: sedimentation basins need 2–4 hours, flocculation chambers 20–45 minutes, chlorine contact tanks 30–120 minutes, activated sludge aeration basins 4–8 hours, and anaerobic digesters 15–30 days. If your calculated DT falls outside the typical range for your application, consider resizing the tank or adjusting the flow rate. Short-circuiting can reduce effective DT by 30–50% compared to theoretical values.
Inputs
Results
DT = 500 m³ / (100 m³/day ÷ 24) = 500 / 4.167 = 120 hours = 5 days
Inputs
Results
DT = 50 m³ / 50 m³/h = 1.0 hour = 60 minutes, adequate for chlorine disinfection
Detention time is the theoretical average time that fluid spends inside a tank, basin, or reactor. It equals the volume divided by the volumetric flow rate: DT = V/Q. It is also called retention time, residence time, or hydraulic retention time depending on the application context.
Theoretical detention time assumes all fluid stays for exactly V/Q. Actual detention time varies because of short-circuiting (some fluid exits early), dead zones (stagnant areas), and mixing patterns. Tracer studies using dyes or salts measure actual detention time distributions. Effective detention time is typically 50-80% of theoretical due to these effects.
Primary sedimentation in water treatment typically requires 2-4 hours. Secondary clarifiers for activated sludge need 2-3 hours. Settling efficiency follows Stokes' law: larger particles settle faster. Very fine particles may require chemical coagulation/flocculation before sedimentation regardless of detention time.
Disinfection effectiveness depends on the CT value (concentration × contact time). For chlorine disinfection, a CT of 15-30 mg·min/L is typical for bacteria. The contact time component is the detention time. Baffled contact tanks provide more plug-flow behavior, increasing effective contact time relative to unbaffled tanks.
Short-circuiting occurs when some fluid passes through a tank much faster than the theoretical detention time, following a direct path from inlet to outlet. This reduces treatment effectiveness because the short-circuited portion receives inadequate contact time. Baffles, diffusers, and proper inlet/outlet design minimize short-circuiting.
First determine the required detention time from design standards or regulations. Then calculate the required volume: V = Q × DT. Apply a safety factor (typically 1.2-1.5) to account for short-circuiting and operational variations. Consider using baffles, length-to-width ratios of 4:1 or greater, and proper inlet/outlet structures to improve hydraulic efficiency.
Conventional activated sludge aeration basins have detention times of 4-8 hours. Extended aeration systems use 18-24 hours. High-rate systems may use only 2-4 hours. The required detention time depends on the organic loading rate, sludge age (SRT), and treatment objectives for BOD, nitrogen, and phosphorus removal.
Lower temperatures slow biological and chemical reactions, requiring longer detention times. For biological processes, reaction rates roughly halve for every 10°C decrease (van't Hoff rule). Winter design may require 50-100% longer detention times than summer design. Chemical disinfection is also slower at lower temperatures, requiring higher CT values.
Yes. Excessively long detention times in water treatment can lead to: anaerobic conditions (producing odors and taste issues), biological growth on tank surfaces, increased disinfection byproduct formation, and unnecessarily large and expensive infrastructure. Design should match detention time to the specific process requirements.
Use consistent units: if volume is in m³ and flow is in m³/hour, the result is in hours. This calculator handles conversions automatically. In practice, water treatment uses m³ and m³/day or m³/hour. US practice often uses gallons and MGD (million gallons per day). Always verify unit consistency in design calculations.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!
E-factor Calculator
Specialized Chemistry Calculators
Process Mass Intensity Calculator
Specialized Chemistry Calculators
Green Chemistry Metrics Calculator
Specialized Chemistry Calculators
Crude Protein Calculator
Specialized Chemistry Calculators
Hydraulic Retention Time Calculator
Specialized Chemistry Calculators
Activated Sludge Calculator
Specialized Chemistry Calculators