Report

Help us improve this tool

Detention Time Calculator

Calculate detention time, retention time, or residence time of a tank or basin from volume and flow rate with unit conversions for water treatment and process engineering.

O M T

What Is Detention Time?

Detention time (DT), also called retention time or residence time, is the average time fluid spends in a tank, basin, or vessel from inlet to outlet. It equals the time needed to fill or empty the vessel at a steady flow rate. Water treatment, wastewater plants, separators, and chemical reactors all use this parameter for design and troubleshooting.

Related process tools on this site include the Wastewater Calculator (HRT and related plant metrics), the Ideal Reactor Calculator, and the Dilution Calculator.

Detention Time Formula

$$\mathrm{DT} = \frac{V}{Q}$$

where $V$ is vessel volume and $Q$ is volumetric flow rate. Units must be consistent; this calculator converts common volume and flow units internally, then reports time in seconds, minutes, hours, or days.

Typical Units by Equipment

  • Flash mix chambers and hydrocyclones: seconds
  • Flocculation basins and phase separators: minutes
  • Clarifiers, oxidation ditches, and many reactors: hours
  • Wastewater ponds and large storage tanks: days

Worked Example

A tank holds $500\,\mathrm{gal}$ with flow $100\,\mathrm{gpm}$:

$$\mathrm{DT} = \frac{500\,\mathrm{gal}}{100\,\mathrm{gpm}} = 5\,\mathrm{min}$$

In hours that is $5/60 = 0.083\,\mathrm{h}$. Primary clarifiers often target about 1 to 3 hours of detention.

How to Use This Calculator

  1. Enter tank or basin volume and choose its unit.
  2. Enter flow rate and choose its unit (gpm, m³/h, MBPD, and more).
  3. Pick the preferred detention time unit and read the live result.

Detention Time vs Hydraulic Retention Time

The math is the same: volume divided by flow. Naming differs by industry. Water and wastewater plants often say detention or retention time. Reactor and digester literature often says hydraulic retention time (HRT). For broader plant calculations that include HRT alongside F/M and sludge metrics, use the Wastewater Calculator.

Frequently Asked Questions

How do I calculate detention time in hours?

Compute DT = V/Q with consistent units, then convert the result to hours. For example, 500 gal at 100 gpm gives 5 minutes, which is 5/60 = 0.083 hours.

What is a typical primary clarifier detention time?

Primary clarifiers commonly operate around 1 to 3 hours, often near 2.5 hours, depending on solids loading and design criteria.

Is detention time the same as residence time?

Yes in the average sense: both mean V/Q for an ideal well-mixed or plug-flow average. Real tanks can have short-circuiting, so measured residence time distributions may differ from the theoretical average.

What flow units can I use?

This tool accepts common SI and US customary rates such as m³/s, m³/h, L/min, gpm, gpd, ft³/day, and thousand barrels per day (MBPD).

Why does detention time matter in sedimentation?

Particles need enough time to settle. Closer densities need longer detention; larger density differences settle faster. Undersized detention reduces removal efficiency.