Wastewater Calculator

Work out detention time, BOD and TSS removal efficiency, organic loading rate, and F/M ratio for any wastewater treatment tank or basin.

💧 Wastewater Calculator
Tank volume1200 m3
m³
1020000
Flow rate5000 m3/day
m³/day
1050000
Influent BOD
mg/L
Effluent BOD
mg/L
Influent TSS
mg/L
Effluent TSS
mg/L
Plant flow rate
m³/day
Influent BOD to the basin
mg/L
Flow rate
m³/day
Aeration basin volume
m³
MLVSS concentration
mg/L
2008000
Detention time
—
Detention time (days)
—
Detention time (minutes)
—
Tank turnovers per day
—
Step-by-step working

💧 What is a Wastewater Calculator?

A wastewater calculator turns the three numbers a treatment plant measures every day, flow, tank volume, and pollutant concentration, into the process control figures operators actually run the plant on. This tool covers the three that appear on almost every daily log sheet: hydraulic detention time, which is tank volume divided by flow rate; percent removal efficiency for biochemical oxygen demand and total suspended solids; and the loading pair of organic loading rate and food-to-microorganism ratio that together describe how hard the biology is being pushed. Every one of them is arithmetic, but getting the unit conversions right between mg/L, cubic metres, and kilograms per day is where errors creep into daily reports.

Operators use these figures in concrete ways. A shift operator checks detention time against design values before deciding whether to bring a second clarifier online during a wet weather event, because doubling flow through the same tank halves the settling time available. A compliance officer computes BOD and TSS removal percentages each month and compares them against the 85% minimum that United States secondary treatment regulations set for publicly owned treatment works. A process engineer tracks the F/M ratio week by week and adjusts the waste activated sludge rate to steer it back inside the 0.2 to 0.5 per day band that keeps conventional activated sludge flocculating and settling well. Design engineers run the same numbers in reverse to size a basin for a target detention time.

Two distinctions cause repeated confusion. Organic loading rate and F/M ratio are not the same thing: loading rate divides the daily BOD load by basin volume and ignores biomass entirely, while F/M divides the identical BOD load by the actual mass of MLVSS in the basin. Two plants can share a loading rate and still have very different F/M ratios if one carries twice the mixed liquor solids. The second distinction is between percent removal and mass removal. Percent removal depends only on concentrations and never on flow, but the kilograms removed per day scale directly with flow, so a plant can hold 92% removal steady while the mass of BOD it strips out doubles overnight.

This calculator is useful because it does all three calculations with the mass load conversions built in, and it draws the reference lines that turn a raw number into a judgment. The detention chart marks the 6 hour line common to conventional aeration basins, the removal chart marks the 85% secondary-treatment benchmark and plots BOD and TSS side by side, and the loading chart shades where the 0.2 and 0.5 F/M boundaries fall against your current MLVSS. Removal Efficiency mode also builds a full mass balance table showing influent load, effluent load, and kilograms removed per day for BOD, TSS, and the two combined.

📐 Formula

HRT  =  V ÷ Q     η  =  (Cin − Cout) ÷ Cin × 100
HRT = hydraulic retention (detention) time, in the same time unit as the flow rate
V = tank or basin volume (m³)
Q = flow rate through the tank (m³/day)
η = removal efficiency (%), using influent and effluent concentrations of BOD, TSS, COD, or any other parameter
Mass load (kg/day) = concentration (mg/L) × flow (m³/day) ÷ 1000, exact because 1 mg/L in 1 m³ is 1 gram
Organic loading rate (kg BOD/m³/day) = BOD load ÷ basin volume
F/M ratio (per day) = BOD load (kg/day) ÷ MLVSS inventory (kg), where MLVSS inventory = MLVSS (mg/L) × V (m³) ÷ 1000
Example: A 1200 m³ basin at 5000 m³/day has HRT = 0.24 days = 5.76 hours. At 250 mg/L influent BOD the load is 1250 kg/day, the organic loading rate is 1.0417 kg/m³/day, and at 2500 mg/L MLVSS the F/M ratio is 0.4167 per day. Removal benchmarks follow the 85% BOD and TSS secondary treatment requirement described in US EPA secondary treatment regulations.

📖 How to Use This Calculator

Steps

1
Choose the calculation mode. Pick Detention Time for hydraulic retention, Removal Efficiency for BOD and TSS performance, or Loading Rate for organic loading and the F/M ratio.
2
Enter your plant data. Type the tank volume in cubic metres, the flow in cubic metres per day, and the influent and effluent concentrations in mg/L straight from the lab sheet.
3
Read the four results. Read detention time in days, hours, and minutes, or the BOD and TSS removal percentages with their mass loads, or the F/M ratio with the organic loading rate.
4
Compare against the reference lines. Check the chart, where the 6 hour detention line, the 85% secondary-treatment line, and the 0.2 to 0.5 F/M operating band show whether your plant sits inside normal practice.

💡 Example Calculations

Example 1 — Aeration Basin Detention Time

A 1200 m³ aeration basin receiving 5000 m³/day

1
Detention time in days = V ÷ Q = 1200 ÷ 5000 = 0.2400 days
2
In hours = 0.2400 × 24 = 5.7600 hours, and in minutes = 0.2400 × 1440 = 345.60 minutes
3
Turnovers per day = Q ÷ V = 5000 ÷ 1200 = 4.1667, so the entire basin contents are displaced a little over four times a day. At 5.76 hours the basin sits just below the 6 hour reference line, near the lower end of conventional activated sludge practice.
Detention time = 5.7600 hours (0.2400 days, 4.1667 turnovers per day)
Try this example →

Example 2 — A Small Plant with a Generous Basin

An 850 m³ basin receiving only 2200 m³/day

1
Detention time in days = 850 ÷ 2200 = 0.3864 days
2
In hours = 0.3864 × 24 = 9.2727 hours, comfortably above the 6 hour reference line
3
Turnovers per day = 2200 ÷ 850 = 2.5882. The long contact time gives good treatment at average flow, but it also means the plant is running well below its hydraulic design capacity.
Detention time = 9.2727 hours (0.3864 days, 2.5882 turnovers per day)
Try this example →

Example 3 — Monthly BOD and TSS Removal Compliance

Influent BOD 250 mg/L to effluent 20 mg/L, influent TSS 220 mg/L to effluent 25 mg/L, at 5000 m³/day

1
BOD removal = (250 − 20) ÷ 250 × 100 = 92.00%, clearing the 85% secondary-treatment benchmark
2
TSS removal = (220 − 25) ÷ 220 × 100 = 88.64%, also clearing 85% but with a smaller margin
3
BOD removed = (250 − 20) × 5000 ÷ 1000 = 1150.00 kg/day, and TSS removed = (220 − 25) × 5000 ÷ 1000 = 975.00 kg/day. Combined, the plant strips 2125 kg/day out of a 2350 kg/day influent load, a 90.43% combined removal.
BOD removal = 92.00%, TSS removal = 88.64%, 1150.00 and 975.00 kg/day removed
Try this example →

Example 4 — A Plant Falling Short on TSS

Influent BOD 200 mg/L to effluent 24 mg/L, influent TSS 190 mg/L to effluent 40 mg/L, at 3600 m³/day

1
BOD removal = (200 − 24) ÷ 200 × 100 = 88.00%, still above the 85% line
2
TSS removal = (190 − 40) ÷ 190 × 100 = 78.95%, below the 85% secondary-treatment requirement and a likely permit violation
3
BOD removed = 176 × 3600 ÷ 1000 = 633.60 kg/day, TSS removed = 150 × 3600 ÷ 1000 = 540.00 kg/day. The pattern of acceptable BOD with poor TSS typically points at solids carryover from the secondary clarifier rather than a biological failure.
BOD removal = 88.00%, TSS removal = 78.95% (below the 85% benchmark)
Try this example →

Example 5 — Organic Loading Rate and F/M Ratio

250 mg/L BOD at 5000 m³/day into a 1200 m³ basin carrying 2500 mg/L MLVSS

1
BOD load = 250 × 5000 ÷ 1000 = 1250.00 kg/day
2
Organic loading rate = 1250 ÷ 1200 = 1.0417 kg BOD per m³ per day
3
MLVSS inventory = 2500 × 1200 ÷ 1000 = 3000.00 kg, so F/M = 1250 ÷ 3000 = 0.4167 per day, inside the 0.2 to 0.5 band typical of conventional activated sludge.
F/M = 0.4167 per day, organic loading rate = 1.0417 kg/m³/day
Try this example →

Example 6 — A Lightly Loaded Basin

180 mg/L BOD at 3600 m³/day into a 900 m³ basin carrying 2200 mg/L MLVSS

1
BOD load = 180 × 3600 ÷ 1000 = 648.00 kg/day
2
Organic loading rate = 648 ÷ 900 = 0.7200 kg BOD per m³ per day
3
MLVSS inventory = 2200 × 900 ÷ 1000 = 1980.00 kg, so F/M = 648 ÷ 1980 = 0.3273 per day, sitting mid-band and giving the operator room to move in either direction.
F/M = 0.3273 per day, organic loading rate = 0.7200 kg/m³/day
Try this example →

❓ Frequently Asked Questions

How do you calculate wastewater detention time?+
Detention time equals tank volume divided by flow rate. A 1200 cubic metre tank receiving 5000 cubic metres per day gives 1200/5000 = 0.24 days, which is 5.76 hours or 345.6 minutes. Keep the volume and flow units consistent and the answer comes out in the flow's time unit.
What is hydraulic retention time in a wastewater plant?+
Hydraulic retention time, also called detention time, is the average time a parcel of wastewater stays in a tank. It is volume divided by flow. Primary clarifiers typically run 1.5 to 2.5 hours, aeration basins 4 to 8 hours in conventional activated sludge, and extended aeration basins 18 to 24 hours.
How do you calculate BOD removal efficiency?+
Removal efficiency = (influent minus effluent) divided by influent, times 100. With influent BOD of 250 mg/L and effluent BOD of 20 mg/L, efficiency is (250 - 20)/250 x 100 = 92.00%. The same formula works unchanged for TSS, COD, ammonia, and phosphorus.
What is the 85 percent secondary treatment standard?+
United States secondary treatment regulations require a publicly owned treatment works to remove at least 85% of both BOD and TSS as a monthly average, alongside 30-day average effluent limits of 30 mg/L for each. This calculator draws the 85% line on the removal chart so you can see the margin at a glance.
How do you convert mg/L into kilograms per day?+
Multiply the concentration in mg/L by the flow in cubic metres per day and divide by 1000. At 250 mg/L BOD and 5000 cubic metres per day, the load is 250 x 5000 / 1000 = 1250 kg per day. The conversion is exact because 1 mg/L in 1 cubic metre is 1 gram.
What is the organic loading rate in activated sludge?+
Organic loading rate is the mass of BOD applied per unit of basin volume per day, in kg BOD per cubic metre per day. With 1250 kg per day of BOD applied to a 1200 cubic metre basin, the rate is 1250/1200 = 1.0417 kg per cubic metre per day. It measures how hard the tank volume is working, independent of biomass.
What is the F/M ratio and what should it be?+
F/M is the food-to-microorganism ratio, the daily BOD load divided by the mass of MLVSS held in the basin, in units of per day. Conventional activated sludge usually runs 0.2 to 0.5, extended aeration 0.05 to 0.15, and high-rate systems 0.4 to 1.5. It is the primary lever an operator has over sludge age and settleability.
What is the difference between organic loading rate and F/M ratio?+
Organic loading rate divides BOD load by basin volume and ignores how much biomass is present. F/M divides the same BOD load by the actual mass of volatile suspended solids in the basin. Two plants can share an identical loading rate yet have very different F/M ratios if one carries twice the MLVSS.
How do you calculate MLVSS inventory in kilograms?+
Multiply the MLVSS concentration in mg/L by the basin volume in cubic metres and divide by 1000. A basin of 1200 cubic metres holding 2500 mg/L MLVSS contains 2500 x 1200 / 1000 = 3000 kg of volatile suspended solids, which is the denominator of the F/M calculation.
Why does the effluent get worse during heavy rain?+
Infiltration and inflow raise the plant flow, and detention time is volume divided by flow. Doubling the flow through the same tanks halves the contact time available for settling and biological oxidation, and it also washes solids out of the clarifiers. Both effects push effluent BOD and TSS upward at once.
Can this calculator work in million gallons per day?+
Enter metric values after converting: 1 MGD equals 3785 cubic metres per day and 1 million gallons equals 3785 cubic metres. Because detention time is a ratio of volume to flow, converting both consistently leaves it unchanged, and removal efficiency is a pure percentage that never depends on units at all.
Does BOD removal efficiency depend on the flow rate?+
Percent removal does not, since it is calculated purely from influent and effluent concentrations. The mass removed in kilograms per day does depend on flow: the same 92% BOD removal moves 1150 kg per day at 5000 cubic metres per day but only 575 kg per day at 2500 cubic metres per day.
What does it mean when BOD removal passes but TSS removal fails?+
It usually points at the secondary clarifier rather than the biology. Acceptable BOD removal shows the microorganisms are oxidising the organic load, while high effluent TSS shows floc is being carried over the weirs. Common causes are hydraulic overload, sludge bulking from filamentous growth, and an excessive sludge blanket depth.

How do you calculate wastewater detention time?

Detention time equals tank volume divided by flow rate. A 1200 cubic metre tank receiving 5000 cubic metres per day gives 1200/5000 = 0.24 days, which is 5.76 hours or 345.6 minutes. Keep the volume and flow units consistent and the answer comes out in the flow's time unit.

What is hydraulic retention time in a wastewater plant?

Hydraulic retention time, also called detention time, is the average time a parcel of wastewater stays in a tank. It is volume divided by flow. Primary clarifiers typically run 1.5 to 2.5 hours, aeration basins 4 to 8 hours in conventional activated sludge, and extended aeration basins 18 to 24 hours.

How do you calculate BOD removal efficiency?

Removal efficiency = (influent minus effluent) divided by influent, times 100. With influent BOD of 250 mg/L and effluent BOD of 20 mg/L, efficiency is (250 - 20)/250 x 100 = 92.00%. The same formula works unchanged for TSS, COD, ammonia, and phosphorus.

What is the 85 percent secondary treatment standard?

United States secondary treatment regulations require a publicly owned treatment works to remove at least 85% of both BOD and TSS as a monthly average, alongside 30-day average effluent limits of 30 mg/L for each. This calculator draws the 85% line on the removal chart so you can see the margin at a glance.

How do you convert mg/L into kilograms per day?

Multiply the concentration in mg/L by the flow in cubic metres per day and divide by 1000. At 250 mg/L BOD and 5000 cubic metres per day, the load is 250 x 5000 / 1000 = 1250 kg per day. The conversion is exact because 1 mg/L in 1 cubic metre is 1 gram.

What is the organic loading rate in activated sludge?

Organic loading rate is the mass of BOD applied per unit of basin volume per day, in kg BOD per cubic metre per day. With 1250 kg per day of BOD applied to a 1200 cubic metre basin, the rate is 1250/1200 = 1.0417 kg per cubic metre per day. It measures how hard the tank volume is working, independent of biomass.

What is the F/M ratio and what should it be?

F/M is the food-to-microorganism ratio, the daily BOD load divided by the mass of MLVSS held in the basin, in units of per day. Conventional activated sludge usually runs 0.2 to 0.5, extended aeration 0.05 to 0.15, and high-rate systems 0.4 to 1.5. It is the primary lever an operator has over sludge age and settleability.

What is the difference between organic loading rate and F/M ratio?

Organic loading rate divides BOD load by basin volume and ignores how much biomass is present. F/M divides the same BOD load by the actual mass of volatile suspended solids in the basin. Two plants can share an identical loading rate yet have very different F/M ratios if one carries twice the MLVSS.

How do you calculate MLVSS inventory in kilograms?

Multiply the MLVSS concentration in mg/L by the basin volume in cubic metres and divide by 1000. A basin of 1200 cubic metres holding 2500 mg/L MLVSS contains 2500 x 1200 / 1000 = 3000 kg of volatile suspended solids, which is the denominator of the F/M calculation.

Why does the effluent get worse during heavy rain?

Infiltration and inflow raise the plant flow, and detention time is volume divided by flow. Doubling the flow through the same tanks halves the contact time available for settling and biological oxidation, and it also washes solids out of the clarifiers. Both effects push effluent BOD and TSS upward at once.

Can this calculator work in million gallons per day?

Enter metric values after converting: 1 MGD equals 3785 cubic metres per day and 1 million gallons equals 3785 cubic metres. Because detention time is a ratio of volume to flow, converting both consistently leaves it unchanged, and removal efficiency is a pure percentage that never depends on units at all.

Does BOD removal efficiency depend on the flow rate?

Percent removal does not, since it is calculated purely from influent and effluent concentrations. The mass removed in kilograms per day does depend on flow: the same 92% BOD removal moves 1150 kg per day at 5000 cubic metres per day but only 575 kg per day at 2500 cubic metres per day.