Skip to main content
Skip to calculator
Advertisement

Last updated: July 3, 2026

Detention Time Calculator

Quick Answer

The detention time calculator estimates hydraulic residence time with t = V/Q, where V is effective tank or basin volume and Q is flow rate. Use matching volume units; the time unit comes from the flow rate. For example, 1000 m³ divided by 250 m³/h equals 4 hours.

Detention time equals effective volume divided by flow rate. If a basin holds one thousand cubic metres and flow is two hundred fifty cubic metres per hour, the detention time is four hours.

Key Takeaways

  • Detention time is calculated as t = V / Q.
  • Use effective liquid volume, not inactive tank volume or freeboard.
  • Volume units must match between V and Q so only time remains.
  • The result is theoretical; real tanks can short-circuit or have dead zones.
  • Water treatment applications include contact tanks, basins, clarifiers, and reactors.
Helpful
Not helpful
Save as image
Share
Embed
Cite
Write feedback

Formula

t = V / Q

Where:

  • t=Detention time (hydraulic residence time)(time)
  • V=Effective tank or basin volume(volume)
  • Q=Flow rate through the tank(volume/time)
Detention Time — Volume Divided by Flow RateA water treatment basin receives flow Q, holds effective volume V, and discharges at the outlet. The detention time or hydraulic residence time is calculated as t equals V divided by Q.Detention Time in a Water Treatment TankInflow Qvolume / timeEffective Volume Vactive tank or basin waterOutflow Qsame flow basist = V / Qtime = volume ÷ flow rate
Detention Time Calculator — hydraulic residence time from t = V / Q

Worked Examples

Water treatment basin in cubic metres

A 1000 m³ basin receives 250 m³/h of flow.

  1. 1Confirm consistent units: V is in m³ and Q is in m³/h.
  2. 2Apply t = V / Q = 1000 ÷ 250.
  3. 3The detention time is 4 hours.
Final Answer: 4 time units

Small contact tank in gallons

A 500 gallon tank is fed at 50 gal/min.

  1. 1Confirm consistent units: gallons cancel and minutes remain.
  2. 2Apply t = V / Q = 500 ÷ 50.
  3. 3The detention time is 10 minutes.
Final Answer: 10 time units

Large basin daily operations check

A 2400 m³ basin operates at 100 m³/h.

  1. 1Use the effective basin volume V = 2400 m³.
  2. 2Use the hydraulic flow rate Q = 100 m³/h.
  3. 3t = 2400 ÷ 100 = 24 hours.
Final Answer: 24 time units

Introduction

Detention time, also called hydraulic residence time, estimates how long water remains inside a tank, basin, clarifier, or contact chamber. The calculation is simple: divide the effective volume by the flow rate, t = V / Q. It is widely used in water and wastewater treatment to check mixing, sedimentation, disinfection contact, and process sizing. Use consistent units: m³ divided by m³/h gives hours, while gallons divided by gal/min gives minutes. For related solution work, compare this tool with the concentration calculator and molarity calculator.

What is detention time?

Detention time is the theoretical average time a parcel of water spends in a vessel. In hydraulics it is often called residence time or hydraulic retention time. A four-hour result means that, at the stated flow, the tank volume is replaced every four hours on average. Real tanks have short-circuiting, dead zones, baffling effects, and mixing patterns, so field performance can differ from the ideal value.

  • Use effective liquid volume, not total geometric volume above the water line.

  • Use average or design flow consistently with the purpose of the check.

  • The time unit comes directly from the denominator of Q.

  • For batch chemistry calculations, pair residence time checks with titration calculations when dosing reagents.

Formula and unit consistency

The formula is t = V / Q. Volume and flow must use the same volume unit so that only time remains. If V is 1000 m³ and Q is 250 m³/h, cubic metres cancel and the answer is 4 h. If V is 500 gallons and Q is 50 gal/min, gallons cancel and the answer is 10 min.

Volume VFlow QResult unit
m³/hhours
m³/daydays
galgal/minminutes
LL/sseconds

How to calculate detention time step by step

First identify the effective volume that actually participates in flow. Next measure or specify the flow rate through the tank. Convert one side if necessary so the volume units match. Finally divide volume by flow. The result is an ideal hydraulic time that is useful for sizing and screening calculations before detailed process modeling.

  • Measure or estimate active liquid volume V.

  • Measure or specify flow rate Q.

  • Convert units so volume units match exactly.

  • Divide V by Q and report the time unit from Q.

  • Compare the result with treatment objectives or regulatory design criteria.

Where detention time is used in treatment

Designers use detention time for sedimentation basins, equalization tanks, flocculation basins, chlorine contact chambers, clearwells, and biological reactors. Guidance documents such as the EPA wastewater technology fact sheets and EPA disinfection profiling guidance discuss hydraulic contact and treatment performance in practical settings.

For disinfection, detention time alone is not enough; contact time is often corrected for baffling and multiplied by disinfectant residual to obtain CT.

Ideal detention time vs. real hydraulic behavior

The V/Q result assumes ideal plug-flow or completely mixed behavior depending on interpretation. Real vessels may short-circuit when inlet and outlet geometry lets water bypass the full volume. Dead zones and sludge accumulation reduce effective volume. Tracer testing, computational fluid dynamics, and baffling factors can refine the estimate when performance matters.

If measured tracer detention is much lower than V/Q, inspect inlet baffling, outlet weirs, sludge blankets, or unused volume.

Common mistakes and accuracy tips

The most common error is mixing units, such as dividing gallons by m³/h or forgetting that a flow reported per day returns days. Another mistake is using nominal tank volume instead of operating water volume. For chemical feed systems, residence time should be checked alongside dosing and density calculations, such as the liquid ethylene density calculator, when liquids are stored or metered.

  • Do not use peak flow when the question requires average operating residence time.

  • Do not include inactive freeboard as treatment volume.

  • Use consistent significant figures with the flow meter and tank dimensions.

  • Recalculate if sludge accumulation or water level changes reduce active volume.

Quick Reference Card

Detention Time — Quick Reference

Quick referenceDetention Time Calculator

t = V / Q

Valid range: Positive volume and positive flow rate; practical values range from minutes for contact tanks to days for some basins

Common Values

1000 m³ at 250 m³/h4 h
500 gal at 50 gal/min10 min
2400 m³ at 100 m³/h24 h
1 MG at 2 MGD0.5 d = 12 h
10,000 L at 5 L/s2000 s ≈ 33.3 min

Watch Out

  • Do not mix volume units between V and Q.
  • Do not include freeboard or inactive zones as treatment volume.
  • Do not treat theoretical V/Q as guaranteed disinfection contact time.
  • Recalculate when flow rate varies significantly from design conditions.
  • Account for sludge, media, or baffles that change effective volume.

Pro Tips

  • Convert Q to the time unit you want before dividing.
  • Use average flow for operating checks and peak flow for conservative minimum-time checks.
  • For disinfection, apply the appropriate baffling factor or tracer-test result.
  • Document tank water level because active volume changes with level.
  • Check significant figures against tank dimensions and flow meter accuracy.

FAQs

What is the detention time formula?

The detention time formula is t = V / Q, where V is effective tank volume and Q is flow rate. If V is in m³ and Q is in m³/h, t is in hours.

Is detention time the same as hydraulic residence time?

For ideal screening calculations, yes. Detention time, hydraulic residence time, and hydraulic retention time commonly refer to volume divided by flow rate.

Why must units be consistent?

The volume unit in V must cancel the volume unit in Q. Gallons divided by gallons per minute leaves minutes; cubic metres divided by cubic metres per hour leaves hours.

Does V/Q equal actual contact time?

Not always. V/Q is theoretical. Short-circuiting, dead zones, baffling, and mixing can make actual contact time lower or distributed over a range of times.

Which volume should I enter?

Enter the effective liquid volume that participates in flow, not freeboard or unused geometry. For basins with sludge or dead zones, use the reduced active volume if known.

How do I convert detention time from hours to minutes?

Multiply hours by 60. Alternatively, convert the flow rate to a per-minute basis before dividing so the calculator output is directly in minutes.