How to Calculate Detention Time (Water Operator Exam Math)

Written by the site's author

Last verified:

Detention time is the volume of the tank divided by the flow through it, with both in matching units: gallons divided by gallons per minute gives minutes. Find the volume in cubic feet, convert to gallons with 7.48 gal/ft³, divide by the flow in gallons per minute (gpm), then divide by 60 if the answer is wanted in hours.

The formula

Detention time (min) = Volume (gal) ÷ Flow (gal/min)

TermMeaningUnits
Volumelength × width × depth for a rectangular basin, converted at 7.48 gal/ft³gal
Flowflow through the basingal/min
Detention timetheoretical time a parcel of water spends in the basinmin (÷ 60 for hours)

The drinking water sheet gives detention time in minutes from gallons and gpm and in hours from cubic feet and gallons per day; the wastewater sheets give it in hours. Official sheets: Exam Conversion Sheet (revised 4/30/2026) (State Water Resources Control Board, Drinking Water Operator Certification Program; Water Treatment and Water Distribution exams); Equivalents and Formulas Sheet, Version 1 (State Water Resources Control Board, Wastewater Operator Certification Program; Wastewater Treatment Plant Operator exams); Equivalents and Formulas Sheet, Version 2 (State Water Resources Control Board, Wastewater Operator Certification Program; Wastewater Treatment Plant Operator exams).

Worked example

Detention time · Original practice item, not a real exam question.

A rectangular sedimentation basin is 90 ft long, 35 ft wide and 14 ft deep, and it receives 2,100 gpm. What is the detention time in minutes and in hours?

  1. 90 ft × 35 ft × 14 ft = 44,100 ft³
    Volume of the basin.
  2. 44,100 ft³ × 7.48 gal/ft³ = 329,868 gal
    Cubic feet cancel, leaving gallons, the same volume unit as the flow.
  3. 329,868 gal ÷ 2,100 gal/min = 157.1 min
    Gallons cancel, leaving minutes.
  4. 157.1 min ÷ 60 min/hr = 2.62 hr
    Minutes cancel, leaving hours.

Answer: 157.1 minutes, or 2.62 hours

Common mistakes

Which exams test this

Is detention time the same as contact time for disinfection?

No. Detention time assumes every parcel of water stays the full average time. Disinfection credit uses T₁₀, the time by which 10 percent of the water has passed through, which is the detention time multiplied by a baffling factor less than 1.

How do I get detention time in hours when flow is given in million gallons per day (MGD)?

Put the volume in million gallons and multiply by 24. For the basin above, 2,100 gpm is 3.024 MGD and the volume is 0.3299 million gallons (MG), so 0.3299 ÷ 3.024 × 24 = 2.62 hours, the same answer.

Practice this in the app

The free study app has a step-by-step lesson on this calculation, with fraction-tile unit cancellation and graded practice problems.

Open the detention time lesson

Related worked examples

Concentration times contact time (CT) calculation · Surface, weir and solids loading rates · Unit conversions for flow, pressure and head · All worked examples

Formulas follow the official sheets linked above, which are the reference at the exam. The worked example and the mistakes are original practice material written for this page; they are not real exam questions, which are confidential. Written by the site's author.

Questions, flashcards, and explanations are AI-written under a sourcing policy that builds on the exam content outlines and candidate materials each certifying body publishes without restriction and the regulations and technical references they cite, and that excludes actual exam questions, recollections of any exam sat by the author, other study products, and any handbook or document released under a confidentiality agreement. Any item found outside that policy is rewritten from primary sources or removed. Content is then put through repeated review — regulatory values checked against primary sources, every calculation recomputed, and errors corrected — plus spot checks by the author, who holds California water operator certifications and a California civil engineering license. Those spot checks are sampling, not a professional review: nothing here is stamped, sealed, or offered as engineering advice, and not every item has been individually verified, so mistakes can still slip through.

Not affiliated with or endorsed by the State Water Resources Control Board (SWRCB), its Division of Drinking Water (DDW) or Wastewater Operator Certification Program (WWOCP), the California-Nevada American Water Works Association (CA-NV AWWA), the California Water Environment Association (CWEA), the National Council of Examiners for Engineering and Surveying (NCEES), the California Board for Professional Engineers, Land Surveyors, and Geologists (BPELSG), the Contractors State License Board (CSLB), or the American Public Works Association (APWA). All questions, flashcards, and references are independent study aids; verify against the official exam materials.