Detention Time Calculator

Detention Time Calculator

Calculate hydraulic detention time for tanks, reactors, and treatment systems

Updated March 2026

Detention Time

20.00

hours

Turnovers/Day

1.20

Complete volume changes per 24h

Time in Hours

20.000

Standard unit for calculations

T = V / Q = 1000.00 m³ / 50.00 m³/hr = 20.000 hours

What is Detention Time?

Detention time (also called hydraulic retention time or residence time) is the average amount of time that water or fluid remains within a tank, basin, or reactor. It is calculated by dividing the volume of the vessel by the flow rate passing through it, and is fundamental to the design and operation of water treatment plants, wastewater systems, and chemical reactors.

In water treatment, detention time determines how long treatment processes have to act on the water. For example, sedimentation basins require sufficient detention time for particles to settle, disinfection chambers need adequate contact time for chlorine or UV to kill pathogens, and biological reactors must provide enough time for microorganisms to consume organic matter.

The concept is critical because insufficient detention time can result in incomplete treatment, while excessive detention time may lead to inefficient use of tank volume and increased construction costs. Engineers design systems to achieve optimal detention times based on process requirements, regulatory standards, and economic considerations.

How to Use the Detention Time Calculator

Step 1: Enter Tank/Reactor Volume

Input the total volume of your tank, basin, or reactor. Choose from cubic meters (m³), gallons, or liters depending on your preference or regional standards.

Step 2: Enter Flow Rate

Input the flow rate of fluid passing through the system. Select from m³/hr (cubic meters per hour), GPM (gallons per minute), or L/min (liters per minute). This should be the average or design flow rate.

Step 3: Select Time Unit

Choose how you want the detention time displayed: minutes for quick processes, hours for most water treatment applications, or days for lagoons and slow biological processes.

Step 4: Review Results

The calculator displays the detention time, number of turnovers per day (how many times the entire volume is replaced in 24 hours), and the standardized time in hours. The formula used is T = V / Q where T is detention time, V is volume, and Q is flow rate.

Technical Notes

  • All units are converted to m³ and m³/hr internally for calculation accuracy
  • The formula assumes ideal plug flow or completely mixed conditions
  • Actual retention time distribution may vary due to short-circuiting or dead zones
  • For design purposes, use peak flow rates or add safety factors per local regulations

Worked Example

Scenario: Municipal Chlorine Contact Basin

A water treatment plant has a chlorine contact basin with a volume of 5,000 gallons. The plant treats water at a flow rate of 200 GPM (gallons per minute). What is the detention time, and does it meet the EPA requirement of at least 30 minutes contact time?

Given:

  • Volume (V) = 5,000 gallons
  • Flow Rate (Q) = 200 GPM
  • Required minimum detention time = 30 minutes

Step 1: Convert Units

V = 5,000 gal × 0.00378541 = 18.927 m³

Q = 200 GPM × 0.227124 = 45.425 m³/hr

Step 2: Calculate Detention Time

T = V / Q

T = 18.927 m³ / 45.425 m³/hr

T = 0.4167 hours

T = 0.4167 × 60 = 25.0 minutes

Step 3: Evaluate Compliance

The detention time of 25 minutes is less than the required 30 minutes. The plant would need to either:

  • Reduce flow rate to 167 GPM or less during peak disinfection
  • Increase basin volume to at least 6,000 gallons
  • Add baffles to prevent short-circuiting and improve effective volume utilization

Note: The calculator also shows that this system has 57.6 turnovers per day (24 hours / 0.4167 hours), meaning the entire basin volume is replaced nearly 58 times daily.

Frequently Asked Questions

What's the difference between detention time and retention time?

The terms are often used interchangeably, but technically retention time refers to the time a specific particle stays in the system, while detention time is the theoretical average based on volume and flow rate (V/Q). In practice, both describe the same concept for design purposes.

Why is my actual detention time different from calculated?

Real tanks have dead zones (areas with little circulation) and short-circuiting (preferential flow paths). Tracer studies can reveal the actual retention time distribution. Baffles and proper inlet/outlet design help achieve theoretical detention time.

What detention time do I need for sedimentation?

Typical sedimentation basins use 2-4 hours for conventional treatment. Primary clarifiers in wastewater treatment often use 1.5-2.5 hours. The exact value depends on particle size, temperature, and required removal efficiency. Always consult local regulations.

How does temperature affect detention time requirements?

Cold water is more viscous, slowing settling rates and biological reactions. Many processes require 25-50% longer detention times in winter. Chemical disinfection is also slower at low temperatures, requiring extended contact time.

What is the CT value in disinfection?

CT is the product of disinfectant Concentration (mg/L) and contact Time (minutes). For example, 2 mg/L chlorine × 30 minutes = 60 mg·min/L. Different pathogens require specific CT values for inactivation, defined by EPA regulations.

Can I use this for activated sludge systems?

Yes, but for biological reactors, you'll also want to calculate the sludge retention time (SRT) or mean cell residence time (MCRT), which considers biomass wasting and is different from hydraulic detention time.

What if I have multiple tanks in series?

Calculate detention time for each tank individually, then add them together for total system detention time. Tanks in series provide better treatment efficiency than a single large tank due to improved hydraulic behavior (approaching plug flow).

How do I account for empty space in the tank?

Use the effective volume (water volume) not the total tank capacity. Subtract freeboard (empty space at top for waves/foam), sludge accumulation zones, and structural obstructions. The effective volume is typically 80-95% of total tank volume.

Related Tools