Advertisement
Advertisement
CHEMISTRY

Detention Time Calculator — tank volume over flow rate

Work out the theoretical hydraulic detention time of a basin from its volume and flow, and the volume a target detention time would require.

Use the water depth actually held, not the wall height. Freeboard is not detention volume.
Used only for the last grid figure, which reports the volume that target would need at this flow.
Theoretical detention time
0
 
0
Tank volume, US gallons
0
Tank volume, cubic metres
0
Flow, gallons per day
0
Volume for target time, gal
Tip: this is the theoretical detention time, the answer you get by dividing volume by flow. The time water actually spends in a basin is measured by a tracer study and is normally shorter, because some of the flow short-circuits.
Advertisement

The detention time calculator above divides a tank volume by a flow rate to give hydraulic detention time, sometimes called hydraulic retention time. It accepts the tank as rectangular dimensions, circular dimensions or a volume you already know, takes the flow in the units plants and permits actually use, and reports the result in hours, minutes and days at once. A second figure works the other way and reports the volume a detention time you name would require at the same flow.

Arb Digital publishes free calculators for the arithmetic that sits underneath operational work. The division here is trivial; the units are not, and neither is the gap between the theoretical figure this page computes and the real residence time of water in a basin. Both are covered below, because a detention time quoted without saying which one it is has lost most of its meaning.

What This Detention Time Calculator Does

It computes theoretical hydraulic detention time, T = V ÷ Q, for any tank where the volume and the flow through it are known. That covers sedimentation basins, flocculation basins, grit chambers, contact basins, equalisation tanks, aeration basins, package plants and storage vessels in industrial process work. The tank geometry inputs exist because plant records usually give dimensions rather than a volume, and converting a rectangular basin in feet to gallons by hand is a common place to lose a factor.

The supporting grid prints the tank volume in both US gallons and cubic metres, the flow converted to gallons per day, and the volume that would be needed to achieve the target detention time you enter. That last number is the design-side question: given a flow you have to handle and a detention time your process requires, how big does the basin have to be.

Two boundaries worth stating. The live tank volume calculator computes the capacity of tanks in a wide range of shapes, including partially filled horizontal cylinders and dished ends, and this page deliberately keeps its geometry simple rather than duplicating that. The live flow rate calculator relates pipe diameter, velocity and flow through the continuity equation, which is how you get a flow figure in the first place. This page consumes a volume and a flow; those two produce them.

How to Use It

  1. Choose how the tank is described. Rectangular and circular modes ask for dimensions and a unit; the third mode takes a volume you already have.
  2. Enter the side water depth, not the wall height. Freeboard holds no water and including it inflates the detention time.
  3. Enter the flow and pick its unit. MGD, gallons per minute, cubic metres per day and litres per second are all handled, so you do not have to convert first.
  4. Read the detention time in hours, with minutes and days shown underneath because different processes are conventionally quoted in different ones.
  5. Set a target time if you want the volume side of the question, and read the required volume from the last grid figure.

The Formula and How It Is Calculated

Hydraulic detention time is volume divided by flow: T = V / Q. The only requirement is that the volume and the flow are expressed in consistent units, which is where the arithmetic usually goes wrong rather than in the division itself. This page converts everything to US gallons and gallons per day internally, then reports the time in days, hours and minutes.

Working the default example: a rectangular basin 100 ft long, 20 ft wide with 12 ft of water holds 24,000 cubic feet. At 7.48052 gallons per cubic foot that is 179,532 gallons. A flow of 1.5 MGD is 1,500,000 gallons per day, so T = 179,532 ÷ 1,500,000 = 0.1197 days, which is 2.87 hours or 172.4 minutes. Reversing it, a four-hour detention time at 1.5 MGD would need 1,500,000 × 4 ÷ 24 = 250,000 gallons.

Detention time appears throughout drinking water and wastewater practice, and the requirements attached to it come from regulation rather than from arithmetic. In the United States, contact time for disinfection of surface water supplies is regulated through the EPA Surface Water Treatment Rules, which set out what systems must demonstrate and leave the determination to the state primacy agency. On the discharge side, the EPA NPDES Permit Writers' Manual describes how effluent limits and monitoring conditions are derived and written into a permit. Neither the numbers on this page nor any number on it constitute a demonstration of compliance with either.

Advertisement

Theoretical Detention Time Against Actual

The single most important thing to understand about the result on this page is that it assumes ideal plug flow: every parcel of water enters, travels the length of the basin at the same speed, and leaves after exactly V ÷ Q. Real basins do not behave that way. Inlet jets, density currents from temperature or solids differences, wind, dead corners behind baffles and poorly distributed outlets all cause short-circuiting, where some of the flow reaches the outlet far sooner than the theoretical time.

The consequence is that the fastest-moving fraction of the water gets less treatment than the calculation suggests. That is why actual residence time distributions are established by tracer study rather than assumed, and why regulators and process engineers work from a measured value where the process is doing something that matters. The reference procedures for tracer testing and for the water quality measurements that go with it are published in Standard Methods for the Examination of Water and Wastewater, issued jointly by the American Public Health Association, the American Water Works Association and the Water Environment Federation.

Practically, this means the number this page returns is the right one for sizing, for comparing basins, for spotting a gross error in plant records and for understanding how a change in flow moves the process. It is not a measurement, and it should not be presented as one.

Detention Time Is Not Solids Retention Time

In a biological treatment process two residence times run simultaneously and are frequently confused. Hydraulic detention time, the quantity on this page, describes how long the water stays. Solids retention time, also called sludge age or mean cell residence time, describes how long the biomass stays, and it is set by how much solids inventory is held against how much is wasted each day.

They are independent by design. A process that recycles settled solids back to the head of the aeration basin holds biomass for many days while the water passes through in hours. That decoupling is the whole point of the activated sludge concept: it lets a slow-growing microbial population accumulate in a tank that the water moves through quickly. Changing the hydraulic detention time by adjusting flow does not directly change sludge age, and treating one figure as a proxy for the other leads to conclusions that do not follow.

If you are working on loading rather than residence, the wastewater loading calculator covers the mass-per-day arithmetic, and the chemical oxygen demand calculator handles the strength measurement that most loading figures are built from.

Flow Varies, So Detention Time Varies

A detention time computed at average daily flow is one point on a curve, and it is rarely the point that matters. Municipal flows follow a strong daily pattern, with morning and evening peaks that can be twice the daily mean, and wet weather can push a combined system far beyond that. Because time is inversely proportional to flow, doubling the flow halves the detention time. A basin that gives four hours at average flow gives two at twice average.

The useful habit is to compute the detention time at three flows: average day, peak hour and the minimum overnight flow. The peak figure tells you the worst case the process sees; the minimum figure matters for anything where excessive residence causes its own problems, such as septicity in a long-detained wet well or loss of disinfectant residual in oversized storage. A single average-flow number conceals both ends.

Where the tank in question is a pipeline rather than a basin, remember that the volume is the internal volume of the pipe, which the pipe volume calculator gives directly from length and diameter. For a circular basin, the cylinder volume calculator does the same job in general geometric terms, and the volume converter handles any unit the plant records happen to be in.

What This Number Cannot Tell You

Detention time is a residence measure and nothing more. It says nothing about whether a process removes what it is supposed to remove. Two basins with identical detention times can perform very differently depending on their inlet arrangement, baffling, surface overflow rate, temperature, the character of the solids and the chemistry upstream of them. Detention time is one of several parameters used together, not a performance figure.

It also cannot tell you whether a tank meets a requirement. Requirements are set by the regulation that applies to the specific system, by the permit, and by the authority with jurisdiction, and they are demonstrated with measured data from accredited analysis, not with a division carried out on a web page. This page reports arithmetic and names the standards; it makes no determination about any installation.

Need a different calculation?

Arb Digital publishes hundreds of free calculators across chemistry, maths, finance and marketing — no sign-up, no limits. If something you need is missing, tell us and we will look at building it.

Browse All Free Tools Suggest a Tool

Common Mistakes to Avoid

  • Using wall height instead of side water depth — freeboard is not detention volume and including it inflates the answer directly.
  • Mixing MGD with gallons per minute — a flow of 1.5 entered against the wrong unit is wrong by a factor of 1,440 in one direction or 694 in the other.
  • Quoting theoretical detention time as actual — short-circuiting means real residence is normally shorter, and only a tracer study establishes by how much.
  • Computing at average flow only — peak hourly flow can halve the detention time, and that is usually the condition worth knowing.
  • Confusing hydraulic detention time with sludge age — they are deliberately decoupled in any process that recycles solids.

Related Free Tools From Arb Digital

Get the capacity of an awkwardly shaped vessel from the tank volume calculator, or a pipeline's internal volume from the pipe volume calculator. The flow rate calculator derives flow from pipe diameter and velocity, the cylinder volume calculator covers circular basins geometrically, and the volume converter moves between gallons, litres and cubic units. For process strength and loading work, see the chemical oxygen demand calculator and the wastewater loading calculator. The full free online tools hub lists everything else.

Frequently Asked Questions

What is hydraulic detention time?

It is the average time a parcel of water would spend in a tank, calculated as the tank volume divided by the flow rate through it. It is also called hydraulic retention time, and the two terms mean the same thing.

How do I calculate detention time in hours?

Divide the volume by the flow in consistent units, then convert. A 179,532 gallon basin at 1,500,000 gallons per day gives 0.1197 days, which is 2.87 hours or about 172 minutes.

Why is actual detention time shorter than the calculated value?

Because real basins do not behave as ideal plug flow. Inlet jets, density currents, wind and dead zones cause part of the flow to short-circuit toward the outlet, so some water leaves sooner than the theoretical figure suggests.

How is actual detention time measured?

By a tracer study, in which a traceable substance is introduced and its concentration is followed at the outlet to build a residence time distribution. Reference procedures are published in Standard Methods for the Examination of Water and Wastewater.

Is detention time the same as sludge age?

No. Detention time describes how long the water stays; sludge age, or solids retention time, describes how long the biomass stays. Processes that recycle settled solids hold them for days while water passes through in hours.

What flow should I use in the calculation?

Whichever condition you are examining. Average daily flow gives a typical figure, peak hourly flow gives the shortest detention the process experiences, and minimum flow gives the longest. Detention time is inversely proportional to flow.

Does this calculator tell me if a tank is adequate?

No. It reports volume divided by flow. Adequacy depends on the applicable regulation, the discharge permit and the determination of the authority with jurisdiction, supported by measured data from accredited analysis.

This calculator is provided for education and general reference. It computes a published arithmetic relationship and is not engineering, operational, regulatory or public health guidance; requirements for any water or wastewater system are set by your water authority or permitting agency and must be demonstrated with results from an accredited laboratory.

Advertisement
Advertisement

Take it further