Detention Time Calculator

Calculate hydraulic detention or retention time from a vessel's usable volume and average flow rate.

Calculate detention time
Use matching cubic-metre units to obtain the average residence time in hours.

About detention time

Detention time, also called hydraulic retention time or theoretical residence time, estimates how long a parcel of liquid remains inside a tank, basin, reactor, or treatment unit. It is one of the most useful first checks in water and wastewater engineering because many physical, chemical, and biological processes need sufficient contact time to work. The basic relationship is detention time equals usable volume divided by average volumetric flow rate. When volume is entered in cubic metres and flow in cubic metres per hour, the answer is in hours. The result is a theoretical average rather than a promise that every molecule follows the same path. Real vessels can contain dead zones, short-circuiting flow paths, recirculation regions, sludge, media, or internal equipment that reduces effective volume. A tracer study can reveal the actual residence-time distribution, while this calculator provides the ideal completely mixed or plug-flow design value. For preliminary sizing, compare the calculated time with the minimum contact time required by the relevant process, regulation, or equipment specification. Use the working liquid volume, not simply the tank's external geometric capacity. If the operating water level changes, calculate at the normal or conservative level appropriate to the design question. Flow must represent the same operating condition. Average daily flow is useful for typical performance, while peak hourly flow shows whether contact time becomes too short during high demand or storm events. Equal volume and flow units are essential: litres with litres per minute produces minutes, while cubic metres with cubic metres per hour produces hours. For a continuous system at steady flow, a 1,200 cubic metre basin receiving 300 cubic metres per hour has a four-hour theoretical detention time. Two identical basins in series have a combined ideal time equal to the sum of their individual times, provided the same flow passes through both. For parallel units, divide the total flow according to the actual hydraulic split before evaluating each unit. This calculator is suited to clarification basins, storage tanks, chlorine contact chambers, equalization tanks, digesters, and laboratory reactors. It does not replace process-specific design criteria, hydraulic modelling, safety factors, or professional review. Treat the answer as a transparent baseline: verify the inputs, account for unavailable volume and flow variation, and then apply the standards that govern the facility.

Detention time examples

Volume and flowDetention timeApplication
1,200 m³ at 300 m³/h4 hoursA medium treatment basin at steady flow.
750 m³ at 200 m³/h3.75 hoursAn equalization tank under normal loading.
90 m³ at 60 m³/h1.5 hoursA compact contact vessel at design flow.

How to calculate detention time

  1. Determine the usable liquid volume of the tank in cubic metres.
  2. Enter the average flow rate through the vessel in cubic metres per hour.
  3. Select Calculate detention time to divide volume by flow.
  4. Compare the result with the process requirement and repeat with peak flow when needed.

Detention time FAQ

What is the detention time formula?

Divide the usable tank volume by the volumetric flow rate. Matching the volume unit in both quantities makes the resulting time unit easy to identify.

Is detention time the same as retention time?

The terms are often used interchangeably for the theoretical average residence time. Some disciplines use more specific definitions, so follow the terminology in the applicable design standard.

Should I use average or peak flow?

Use average flow to describe typical operation and peak flow to test the shortest expected contact time. Good designs commonly evaluate both conditions.

Why can actual detention time differ?

Dead zones, short-circuiting, mixing, deposits, and internal structures alter the active volume and flow path. A tracer test is the usual way to characterize actual hydraulic behavior.

Can I use litres and minutes?

Yes, provided volume is in litres and flow is in litres per minute. The quotient will then be minutes rather than hours.