💧 Environmental & Civil Engineering Tool

How to Calculate Detention Time

Calculate hydraulic detention time (HRT / HDT) for water and wastewater treatment facilities. Models rectangular settling basins, circular clarifiers, and direct volume tanks with instant unit conversions.

Basin Dimensions & Influent Flow

Select tank geometry and enter hydraulic flow rate to calculate detention hours.

Plant Presets:
FEET
FEET
FEET

Influent Flow Rate

FLOW
Hydraulic Detention Time
2.58Hours

0.108 Days (155.1 Minutes)

Hydraulic Parameters

Total Basin Volume: 269,299 Gallons
Detention in Minutes: 155.1 min
Surface Overflow Rate (SOR): 833 gpd/sq ft
Applied Math Formula: Detention Time = Volume ÷ Flow Rate

Plant Operator Rule

For primary clarifiers, target a detention time of 2.0 to 2.5 hours. If stormwater influx drops detention time below 1.0 hour, settleable solids carry over into secondary aeration basins!

How to Calculate Detention Time: Complete Engineering Guide

In civil, chemical, and environmental engineering, Hydraulic Detention Time (HDT)—also referred to as Hydraulic Retention Time (HRT) or residence time—is the theoretical average duration that wastewater or drinking water spends inside a clarifier, sedimentation tank, flocculator, or chlorine contact basin.

1. The Master Detention Time Formula

The fundamental equation for detention time divides the physical liquid volume of the basin by the influent volumetric flow rate:

Detention Time (θ) = Tank Volume (V) ÷ Influent Flow Rate (Q)

Depending on your desired time unit (Days, Hours, or Minutes), standard conversion factors apply:

  • In Days: Days = Volume (Gallons) ÷ Flow (Gallons Per Day)
  • In Hours: Hours = [Volume (Gallons) ÷ Flow (Gallons Per Day)] × 24
  • In Minutes: Minutes = Volume (Gallons) ÷ Flow (Gallons Per Minute)

2. Step-by-Step Wastewater Clarifier Worked Example

Problem Statement:

A rectangular primary clarifier measures 90 feet long, 25 feet wide, and has a water depth of 12 feet. The wastewater treatment plant receives an average daily flow of 2.0 MGD (Million Gallons per Day). Calculate the detention time in hours.

Step-by-Step Solution:
  1. Calculate basin cubic volume:
    Volume = 90 ft × 25 ft × 12 ft = 27,000 cu ft
  2. Convert cubic feet to gallons ($1\text{ cu ft} = 7.48052\text{ gallons}$):
    Volume in Gallons = 27,000 × 7.48 = 201,960 Gallons
  3. Convert 2.0 MGD to Gallons Per Day:
    Flow Rate = 2,000,000 GPD
  4. Calculate detention time in days:
    Days = 201,960 ÷ 2,000,000 = 0.10098 Days
  5. Convert to hours ($0.10098 \times 24$):
    Detention Time = 2.42 Hours (~2 Hours and 25 Minutes)

3. Standard Recommended Detention Times

Treatment Process / Tank Type Recommended Detention Time Engineering Purpose
Flash / Rapid Mix Basin 30 seconds to 1 minute Intense turbulent blending of coagulant chemicals (alum, ferric chloride).
Flocculation Basin 20 to 45 minutes Slow gentle agitation to promote pin-floc particle collisions.
Primary Clarifier / Settling Basin 1.5 to 2.5 hours Gravitational sedimentation of settleable organic solids.
Secondary Activated Sludge Clarifier 2.0 to 3.0 hours Clarification of biological mixed liquor suspended solids (MLSS).
Chlorine Contact Chamber 15 to 30 minutes Pathogen inactivation and pathogen disinfection contact kill time.
Aerated Lagoon / Oxidation Pond 10 to 30 days Biological stabilization of complex organic compounds.

Frequently Asked Questions

If detention time drops significantly below design parameters (often during heavy rainfall or hydraulic surges), water moves too quickly through the basin. Heavy solids do not have sufficient time to settle by gravity, causing turbidity breakthrough into downstream filters or effluent streams.

Short-circuiting occurs when water bypasses the bulk volume of the tank along high-velocity thermal currents or dead zones, leaving the tank in a fraction of the calculated theoretical detention time. Operators install inlet baffles and submerged diffuser walls to promote uniform plug-flow conditions.

For a circular clarifier: Volume = 0.785 × Diameter² × Depth (or $\pi \times r^2 \times d$). Multiply the resulting cubic feet by 7.48 to convert to US liquid gallons before dividing by daily flow rate.