Detention Time & Disinfection CT Calculator

Hydraulic retention time for basins at a given flow, and disinfection contact time: T10 from EPA baffling factors, achieved CT, and the ratio against a required value. Runs entirely offline; inputs persist in this browser via localStorage.

Use limits: The required CT value comes from the regulatory tables (temperature, pH, disinfectant, and log-inactivation credit sought) or from the permit — this tool doesn't reproduce those tables; it computes what the basin achieves so you can compare. The baffling factor is a claim about hydraulics that the primacy agency may require a tracer study to substantiate. Compliance determinations belong to the operator of record and the permit, not a field calculator.
Basin & Flow

Use peak flow for the conservative check — CT is worst at peak.

Disinfection (optional — leave blank for HRT only)

Measured at the end of the contact segment — the conservative convention.

How the Numbers Are Derived

The math

HRT (min) = V (gal) / Q (GPM)

T10 = HRT × BF — the time the fastest 10% of the water actually spends in the basin, which is what disinfection credit is based on. CT = C_residual × T10, compared against the required CT for the target log inactivation. The max-flow line inverts the chain: Q_max = V × BF × C / CT_req.

EPA baffling factor descriptions
BFConditionWhat it looks like
0.1UnbaffledAgitated or mixed basin; inlet and outlet close together; clearwell with no baffles
0.3PoorSingle or no intra-basin baffles; unbaffled inlet/outlet
0.5AverageBaffled inlet or outlet with some intra-basin baffling
0.7SuperiorPerforated inlet baffle, serpentine or perforated intra-basin baffles, weir or perforated launder outlet
1.0PerfectPipeline flow (plug flow) — length ≥ ~10× diameter of turbulent mixing

These are the EPA SWTR guidance defaults. A tracer study can substantiate a higher (or reveal a lower) T10/T ratio than the table gives — the custom entry is for that.

Field notes

References

  1. US EPA — Surface Water Treatment Rule guidance manuals (CT tables, baffling factors). https://www.epa.gov/dwreginfo/surface-water-treatment-rules
  2. EPA Disinfection Profiling and Benchmarking Guidance Manual — T10 determination and tracer studies.
  3. State primacy agency guidance and the facility's operations permit — governing requirements.