HomeArticlesGuideWater Treatment Chemistry
GUIDE

Water Treatment and Environmental Process Chemistry Guide

Work through oxygen demand, detention time, hydraulic retention time, and bubble pressure in water treatment — the calculations behind sizing a treatment train.

Updated 2026-07-04

Overview

Designing or auditing a water or wastewater treatment process comes down to answering a handful of quantitative questions: how much oxidizable material is actually in the water, how long does it need to sit in each treatment stage, and how do the physical mechanics of that stage — like injected air bubbles — actually behave. Chemical oxygen demand quantifies the first question, detention time and hydraulic retention time size the tanks and reactors that answer the second, and the Young-Laplace equation explains the bubble physics behind aeration and flotation, the third.

This guide works through those questions in the order they'd come up when sizing a real treatment train: first characterizing what's in the influent water, then sizing the physical settling stage, then sizing the biological treatment stage against that same oxygen-demand measurement, and finally examining the bubble-level physics that makes aeration work. Each step links to the calculator built for that specific piece of plant design or environmental chemistry coursework.

Step 1: Quantify Oxidizable Material with Chemical Oxygen Demand

Chemical oxygen demand (COD) measures how much oxygen would be required to chemically oxidize all the organic (and some inorganic) material in a water sample, using a strong oxidant like potassium dichromate under acidic, heated conditions. It's reported in milligrams of O₂ per liter and serves as the standard, fast proxy for a wastewater stream's overall pollution load — much faster to measure than the 5-day biochemical oxygen demand (BOD) test, though it captures a broader (and sometimes non-biodegradable) set of oxidizable compounds.

There are two ways to arrive at a COD value. Theoretical COD (ThCOD) is calculated directly from a compound's molecular formula by balancing its complete combustion to CO₂ and H₂O and converting the oxygen consumed into an equivalent mass — useful when you know exactly what compound you're dealing with, like glucose or a specific industrial solvent. Measured COD, by contrast, comes from an actual dichromate titration on a real (often mixed and unknown) sample, using the difference between a blank and sample titration volume, the dichromate normality, and the sample volume to back-calculate the oxygen demand. The Chemical Oxygen Demand Calculator supports both modes — enter a molecular formula for ThCOD, or enter titration volumes and normality for a measured result.

Step 2: Size the Physical Settling Stage with Detention Time

Once you know how polluted the influent is, the next design question for a physical treatment stage — a sedimentation basin, clarifier, or grit chamber — is how long water needs to remain in the tank for gravity to do its work. Detention time is the simplest possible residence-time calculation: detention time = tank volume ÷ flow rate, giving the average time any given parcel of water spends in the tank.

This number directly controls settling performance: too short a detention time and suspended solids don't have enough time to settle out before the water exits, degrading effluent quality and overloading downstream filtration. Typical design targets for primary sedimentation basins run 1.5 to 2.5 hours, while grit chambers are often sized for just a few minutes since they're removing much denser, faster-settling particles like sand. The Detention Time Calculator takes tank volume and flow rate in whatever units you have on hand and returns detention time in hours and minutes, along with the volume-to-flow ratio used to get there.

Step 3: Size the Biological Stage with Hydraulic Retention Time

Hydraulic retention time (HRT) uses the exact same formula as detention time — reactor volume ÷ flow rate — but the term is specifically used for biological treatment stages: activated sludge basins, anaerobic digesters, and other reactors where microorganisms, not gravity, are doing the treatment work. The distinction in terminology reflects a difference in what's being optimized: physical settling depends on particle size and density, while biological treatment depends on giving a microbial population enough contact time to metabolize the incoming organic load.

HRT targets vary enormously by process: aerobic activated sludge systems often run HRTs of just hours to a few days, while anaerobic digesters — which rely on slower-growing methanogenic organisms — typically need 15 to 30 days. Too short an HRT risks washing out the microbial population faster than it can reproduce, collapsing treatment performance; too long wastes reactor volume and capital cost. The Hydraulic Retention Time Calculator computes HRT from reactor volume and influent flow, and — if you supply both influent and effluent COD from Step 1's measurements — also reports the organic loading rate and the actual COD removal efficiency achieved.

Step 4: Understand Aeration Bubble Physics with the Young-Laplace Equation

Most biological treatment stages need oxygen delivered to the microorganisms doing the work, almost always through injected air bubbles, and the physical behavior of those bubbles is governed by the Young-Laplace equation: ΔP = γ × (1/R₁ + 1/R₂), where γ is the surface tension of the liquid and R₁, R₂ are the two principal radii of curvature of the interface. For a spherical bubble, this simplifies to ΔP = 2γ/R (one curved surface for a droplet) or ΔP = 4γ/R (two surfaces, inside and outside the thin film, for a true soap-film bubble).

The practical consequence for treatment design is a direct tradeoff: smaller bubbles require substantially higher internal pressure to form and sustain (since ΔP scales inversely with radius), but they also have a much larger total surface area per unit volume of air injected, which increases the interfacial area available for oxygen to diffuse into the surrounding water. This is exactly why fine-bubble diffusers — despite the extra blower energy needed to overcome their higher internal pressure — are the modern standard for activated sludge aeration, delivering substantially better oxygen transfer efficiency than older coarse-bubble systems. The same equation also governs dissolved air flotation, where fine bubbles need to be small enough to attach efficiently to suspended solids and oils without prematurely coalescing. The Young-Laplace Equation Calculator computes the pressure difference for a given surface tension and radius across spherical bubble or droplet geometries.

Key Terms

  • Chemical oxygen demand (COD) — the oxygen equivalent, in mg/L, of all chemically oxidizable material in a water sample, measured with a strong oxidant
  • Theoretical COD (ThCOD) — COD calculated directly from a compound's molecular formula via stoichiometric oxidation balance, rather than measured by titration
  • Biochemical oxygen demand (BOD) — the oxygen consumed specifically by microorganisms metabolizing organic material over a 5-day incubation period
  • Detention time — the average residence time of water in a physical treatment tank, equal to volume divided by flow rate
  • Hydraulic retention time (HRT) — the same volume-over-flow calculation as detention time, applied specifically to biological treatment reactors
  • Organic loading rate — the mass of organic material (as COD or BOD) fed into a reactor per unit volume per day
  • Young-Laplace equation — the relationship ΔP = γ(1/R₁ + 1/R₂) describing the pressure difference across a curved liquid interface, such as a bubble or droplet
  • Surface tension (γ) — the energy per unit area at a liquid interface, which determines how much pressure a curved surface like a bubble sustains

Frequently Asked Questions

Chemical oxygen demand (COD) measures the oxygen equivalent of all chemically oxidizable material in a water sample using a strong oxidant like dichromate, while biochemical oxygen demand (BOD) measures only what microorganisms actually consume, over 5 days of incubation. COD is preferred for quick process control because it takes hours rather than days and captures non-biodegradable oxidizable compounds that BOD would miss entirely. The [Chemical Oxygen Demand Calculator](/chemical-oxygen-demand-calculator/) computes theoretical COD directly from a compound's molecular formula, or from dichromate titration data if you're working from lab results.
Theoretical COD (ThCOD) is calculated by balancing the complete oxidation of the compound's carbon and hydrogen to CO₂ and H₂O (adjusting for any oxygen already in the molecule), then converting the oxygen required for that reaction into a mass of O₂ per mole of the compound. Glucose (C₆H₁₂O₆), for example, has a ThCOD of about 1.07 grams of O₂ per gram of glucose. The [Chemical Oxygen Demand Calculator](/chemical-oxygen-demand-calculator/) runs this stoichiometric balance automatically once you enter the carbon, hydrogen, and oxygen atom counts.
Detention time and hydraulic retention time (HRT) are mathematically the same formula — volume divided by flow rate — but they're used in different treatment contexts: detention time typically describes gravity-based physical processes like sedimentation basins and clarifiers, while HRT is the standard term for biological reactors like anaerobic digesters and activated sludge basins. Use the [Detention Time Calculator](/detention-time-calculator/) for the physical settling side and the [Hydraulic Retention Time Calculator](/hydraulic-retention-time-calculator/) for the biological treatment side of the same plant.
If water moves through a sedimentation basin faster than particles have time to settle, the effluent carries more suspended solids downstream than the design intended, reducing overall treatment efficiency for that stage and putting more load on later filtration steps. Typical detention times for primary sedimentation basins run 1.5 to 2.5 hours. The [Detention Time Calculator](/detention-time-calculator/) lets you check whether a given tank volume and flow rate combination meets that target before committing to a design.
Longer HRT generally gives microorganisms more time to metabolize organic material, improving COD removal efficiency up to a point of diminishing returns, while too-short HRT can wash out the microbial population faster than it reproduces, collapsing treatment performance. Anaerobic digesters commonly target HRTs of 15–30 days, while aerobic activated sludge systems often run much shorter, at hours to a few days. The [Hydraulic Retention Time Calculator](/hydraulic-retention-time-calculator/) computes HRT from reactor volume and flow, and reports COD removal efficiency when you provide both influent and effluent COD values.
Organic loading rate (mass of organic material fed per unit reactor volume per day) and HRT describe two different failure modes for the same reactor — a reactor can have adequate HRT but still be overloaded if the incoming COD concentration is too high, overwhelming the microbial population regardless of how long the water sits. Both values need to be checked together when sizing a biological treatment system. The [Hydraulic Retention Time Calculator](/hydraulic-retention-time-calculator/) reports organic loading rate alongside HRT so both constraints are visible from the same inputs.
Many treatment processes rely on injected air bubbles — fine-bubble aeration in activated sludge basins to supply oxygen to microorganisms, and dissolved air flotation to lift suspended solids and oils to the surface for skimming — and the pressure inside those bubbles, governed by ΔP = γ(1/R₁ + 1/R₂), determines how they form, rise, and behave. Smaller bubbles have sharply higher internal pressure and different rise velocities than larger ones, which affects oxygen transfer efficiency. The [Young-Laplace Equation Calculator](/young-laplace-equation-calculator/) computes that pressure difference for spherical bubbles or droplets given surface tension and radius.
Smaller bubbles have a much higher surface-area-to-volume ratio, which increases the total interfacial area available for oxygen to diffuse from the bubble into the surrounding water, even though the Young-Laplace equation shows their internal pressure (ΔP = 2γ/R for a bubble surface) is higher and harder to generate. This tradeoff is why fine-bubble diffusers, despite requiring more blower energy per bubble, are standard in modern activated sludge aeration because their oxygen transfer efficiency is substantially better than coarse-bubble systems. The [Young-Laplace Equation Calculator](/young-laplace-equation-calculator/) shows exactly how much that internal pressure rises as bubble radius shrinks.
Yes indirectly — total dissolved solids and water hardness (both driven by the same dissolved ionic content) affect the surface tension and physical properties of the water, which in turn affects the Young-Laplace bubble behavior in aeration, and high-TDS industrial waste streams often carry a correspondingly high COD if the dissolved material is organic. Checking [Total Dissolved Solids](/total-dissolved-solids-calculator/) and [Water Hardness](/water-hardness-calculator/) alongside COD gives a fuller picture of a waste stream's treatment demands.
Start with the [Chemical Oxygen Demand Calculator](/chemical-oxygen-demand-calculator/) to characterize the influent's oxidizable load, use the [Detention Time Calculator](/detention-time-calculator/) to size the primary sedimentation basin for adequate settling, then use the [Hydraulic Retention Time Calculator](/hydraulic-retention-time-calculator/) to size the secondary biological reactor against your target COD removal efficiency, and finally check aeration bubble behavior with the [Young-Laplace Equation Calculator](/young-laplace-equation-calculator/) to estimate oxygen transfer performance in that reactor.
Conventional activated sludge plants typically achieve 85–95% COD removal, while anaerobic digestion alone (without a downstream aerobic polishing step) often achieves somewhat lower removal, in the 60–80% range, but recovers energy as biogas that aerobic systems don't produce. The specific target depends on discharge permit limits for the receiving water body. The [Hydraulic Retention Time Calculator](/hydraulic-retention-time-calculator/) calculates the achieved removal efficiency directly from your influent and effluent COD measurements so you can compare against these benchmarks.
No — COD should always be equal to or greater than BOD for the same sample, because COD's strong chemical oxidant breaks down both biodegradable and non-biodegradable organic material, while BOD only captures what microorganisms can metabolize within the test period. If a lab result ever shows BOD exceeding COD, that's a strong signal of a measurement or dilution error rather than a real water chemistry finding. The [Chemical Oxygen Demand Calculator](/chemical-oxygen-demand-calculator/) is useful for establishing the theoretical upper bound (ThCOD) that a real degradable compound's measured COD and BOD should both fall at or below.

Related Articles

GUIDE

Mastering the Mole: A Stoichiometry Toolkit