Detention Time Calculator

Calculate hydraulic detention time for reactors, tanks, and treatment systems. Determine volume or flow rate from residence time requirements.

Detention Time
10.00 hr
600.0 min = 10.000 hr = 0.417 days
Volume
500.00 m³
500,000 L = 132,100 gal
Flow Rate
50.00 m³/hr
1,200.0 m³/day = 220.2 GPM
Per-Tank Detention Time
10.00 hr
1 tank(s) in series
CSTR Conversion
66.7%
1 CSTR(s) in series, k = 0.2 hr⁻¹
PFR Conversion
86.5%
Single PFR, same total τ, k = 0.2 hr⁻¹

Conversion vs. Number of CSTRs

1 CSTR
66.7%
2 CSTRs
75.0%
3 CSTRs
78.4%
4 CSTRs
80.2%
5 CSTRs
81.4%
8 CSTRs
83.2%
10 CSTRs
83.8%
20 CSTRs
85.1%
PFR (∞)
86.5%

Design Guidelines

ApplicationTypical τVolume for Q=50 m³/hr
Rapid Mix1-2 min1.3
Flocculation20-45 min25.0
Sedimentation2-4 hr150.0
Disinfection Contact30-60 min37.5
Activated Sludge4-8 hr300.0
Trickling Filter0.5-2 hr50.0
Anaerobic Digestion15-30 days24,000.0
Chemical Reactor (CSTR)1-4 hr100.0
Planning notes, formulas, and examples

About the Detention Time Calculator

Detention time, also called residence time or retention time, is the average length of time that a fluid element or dissolved substance remains within a reactor, tank, or treatment system. It is one of the most fundamental parameters in chemical engineering and environmental science, directly affecting reaction conversion, treatment efficiency, and process economics.

For a continuous flow system, detention time is simply the ratio of the vessel volume to the volumetric flow rate: τ = V/Q. This simple relationship belies its enormous practical importance. In water treatment, adequate detention time ensures proper flocculation, sedimentation, and disinfection. In chemical reactors, detention time determines the extent of reaction and product yield. In wastewater treatment, biological processes require specific retention times for microbial populations to metabolize pollutants effectively.

This calculator handles multiple reactor configurations including continuously stirred tank reactors (CSTRs), plug flow reactors (PFRs), and series/parallel tank arrangements. It can solve for any unknown variable (detention time, volume, or flow rate) given the other two, and provides conversion charts between different time and volume units commonly used in the water and chemical industries.

When This Page Helps

Quickly calculate detention times, reactor volumes, or required flow rates for any continuous-flow system. Essential for water treatment design, chemical reactor sizing, and environmental engineering calculations.

How to Use the Inputs

  1. Select the variable to solve for: detention time, volume, or flow rate.
  2. Enter the two known values with appropriate units.
  3. Choose the reactor type (CSTR, PFR, or tanks in series) if applicable.
  4. Review the calculated result and unit conversions.
  5. Check the design guidelines table for recommended detention times by application.
  6. Use presets for common water treatment and reactor scenarios.
  7. For tanks in series, enter the number of tanks to see individual and total detention times.
Formula used
Detention Time: τ = V / Q, where τ = detention time (hours), V = volume (m³ or gallons), Q = volumetric flow rate (m³/hr or GPM). For CSTR conversion: X = 1 - 1/(1 + kτ). For PFR conversion: X = 1 - exp(-kτ). For N tanks in series: τ_total = N × V_each / Q.

Example Calculation

Result: τ = 10 hours

A 500 m³ tank receiving 50 m³/hr has a detention time of 500/50 = 10 hours. This is typical for a secondary clarifier in wastewater treatment. If the first-order rate constant k = 0.2 hr⁻¹, a CSTR achieves 67% conversion while a PFR achieves 86% conversion in the same detention time.

Tips & Best Practices

  • For disinfection, the T10 (time for 10% of fluid to pass through) is often used instead of theoretical detention time.
  • Short-circuiting reduces effective detention time below theoretical; use baffles to improve flow patterns.
  • Dead zones in tanks reduce effective volume; actual detention time may be 60-80% of theoretical.
  • For biological treatment, SRT (solids retention time) is different from HRT (hydraulic retention time).
  • Convert units carefully: 1 MGD = 694.4 GPM = 157.73 m³/hr = 3,785.4 m³/day.
  • Design for peak flow while checking that average flow provides sufficient treatment time.

Reactor Types and Performance

The three ideal reactor models in chemical engineering are the batch reactor, continuously stirred tank reactor (CSTR), and plug flow reactor (PFR). In a CSTR, perfect mixing ensures uniform concentration, composition, and temperature throughout the vessel. In a PFR, fluid moves as a plug with no axial mixing — concentration changes progressively along the reactor length. Real reactors fall somewhere between these ideals. Residence time distribution (RTD) studies using tracer tests help characterize the actual flow behavior and identify problems like short-circuiting, dead zones, and channeling.

Water Treatment Applications

Detention time requirements vary significantly across water treatment processes. Rapid mix chambers need only 30-60 seconds of intense mixing to disperse coagulant chemicals. Flocculation basins require 20-45 minutes of gentle mixing for particle aggregation. Sedimentation basins need 2-4 hours for gravity settling. Membrane bioreactors typically operate at 4-10 hours HRT. Anaerobic digesters processing sludge may require 15-30 days. Each process has an optimal detention time range; too short gives incomplete treatment, too long wastes capital on oversized facilities.

Scale-up Considerations

When scaling from laboratory to full-scale reactors, maintaining the same detention time is necessary but often not sufficient. Mixing patterns, heat transfer, and mass transfer characteristics change with scale. Dimensionless groups like the Damköhler number (ratio of reaction rate to transport rate) help engineers identify which phenomena control performance at different scales. Computational fluid dynamics (CFD) modeling is increasingly used to optimize tank geometry and baffle placement for achieving the desired residence time distribution at full scale.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • They are essentially the same concept. "Detention time" is more common in water treatment, while "residence time" is used more in chemical engineering. Both refer to the average time fluid spends in the vessel.