Detention Time Calculator

Use this detention time calculator to estimate how long a fluid remains inside a tank from its volume and flow rate.

--

Run the calculator.

Quick Answer: Detention time is DT = V / Q. Keep volume and flow in compatible units, then convert the result to minutes, hours, or days as needed.

What This Detention Time Calculator Helps You Do

This page gives you the two practical detention-time workflows people actually use: direct volume divided by flow, or rectangular tank dimensions plus flow. That makes it useful for treatment-process checks, tank sizing sanity checks, and operations review.

The result is reported in both hours and days so you can compare it quickly with design criteria without doing additional unit conversion.

How to Calculate Detention Time Calculator

  1. Choose how to enter volume: Use direct volume if you already know the tank capacity, or switch to rectangular tank mode to compute volume from dimensions.
  2. Enter the flow rate: Select the flow unit that matches your process data so the calculator can convert it to a common basis.
  3. Calculate the residence time: The tool divides volume by flow and reports the answer in hours and days for easier process interpretation.
  4. Interpret the result: Short detention times indicate rapid turnover, while longer detention times suggest extended contact or settling periods.

Detention Time Calculator Formula

DT = V / Q
Variable Meaning Unit
DT Detention time hours or days
V Tank volume gal or m³
Q Volumetric flow rate gpm, gpd, m³/h, or m³/d

Use the worked examples below to check how the formula behaves with real values. If the result looks unexpected, verify the unit assumptions and the meaning of each variable before interpreting the answer.

Worked Examples

Direct volume - Primary clarifier style example
  • Volume: 50,000 gal
  • Flow: 250 gpm

Result: Detention time is 3.33 h or 0.139 d.

This is a moderate contact time for a continuously flowing system.

Metric direct volume - Compact process tank
  • Volume: 120 m³
  • Flow: 18 m³/h

Result: Detention time is 6.67 h.

Metric volume and flow are converted directly without extra geometry steps.

Rectangular tank - Dimension-based estimate
  • Length: 20 m
  • Width: 6 m
  • Depth: 3 m
  • Flow: 40 m³/h

Result: Detention time is 9.00 h.

The geometry mode is useful when you know basin dimensions but not the finished volume figure.

Daily flow basis - Small treatment unit
  • Volume: 15,000 gal
  • Flow: 180,000 gpd

Result: Detention time is 2.00 h.

Daily flow rates are converted to an hourly basis before the detention time is reported.

How to Interpret Your Results

Range Meaning Action
Under 1 hour Very fast turnover. Check whether the process still has enough time for mixing, settling, or reaction.
1 to 8 hours Moderate detention time. Compare against the design target for the unit process you are evaluating.
Over 8 hours Long residence time. Confirm whether the volume and flow assumptions reflect normal operating conditions.

Frequently Asked Questions

Detention time is the average time a fluid remains in a tank or basin, calculated from the available volume and the volumetric flow rate.

Convert the volume and flow to compatible units, divide volume by flow, and then express the result on an hourly basis.

The terms are often used similarly in practice, although specific industries may use retention time for more detailed hydraulic or process interpretations.

Because volume and flow must refer to the same base units before division. A mismatch can change the answer by large factors.
Note: This calculator gives an ideal average detention time from bulk volume and flow. Real systems may deviate because of dead zones, short-circuiting, or changing operating conditions.

References

Last reviewed: March 2026