Dissolved Oxygen Sag Calculator
Use the Streeter–Phelps stream oxygen sag model to estimate how a discharge changes dissolved oxygen, oxygen deficit, and the location of the lowest point downstream.
How this dissolved oxygen sag calculator follows a discharge downstream
Dissolved oxygen sag is the downstream dip that appears when a stream's oxygen demand rises faster than it can be replenished. This calculator uses the Streeter–Phelps approach to estimate how far that imbalance travels, how deep the oxygen deficit becomes, and where the river is expected to bottom out before recovery starts to dominate again. The model is deliberately compact, which makes it useful when you need a clear screening estimate rather than a full watershed simulation.
The idea behind the calculator is simple but powerful: it tracks the oxygen deficit between saturation and the actual dissolved oxygen at a given travel time, and it starts from the initial concentration after mixing. As the parcel moves downstream, biodegradable material drives oxygen use while turbulence and air-water exchange push oxygen back into the water. The result is a curve that shows not only how low the dissolved oxygen can go, but also how long the river stays in a stressed state.
Why oxygen sag matters in rivers receiving organic loading
An oxygen sag matters in this calculator because it tells you whether the stream can recover before the deficit becomes severe. Organic loading from municipal effluent, food-processing waste, manure runoff, or other biodegradable material raises the biochemical oxygen demand, and the river must spend its dissolved oxygen inventory to meet that demand. Shallow, fast, well-mixed reaches often recover quickly; deeper or slower reaches can stay depressed for much longer. The sag curve shows which tendency is more likely to control the reach you are studying.
That distinction is important because aquatic organisms do not experience oxygen in the abstract; they experience the actual concentration available at the place and time they live. Managers use sag estimates to decide where to sample, whether a discharge is likely to need more treatment, and how far downstream a sensitive habitat might be affected. The calculator helps you think through those questions before you move on to field data, calibration, or a more detailed water-quality model.
The Streeter–Phelps equation for dissolved oxygen sag
The model combines the lingering deficit with the oxygen demand that is still being exerted by the remaining biodegradable load. In other words, it keeps track of what the water can hold, what it actually contains, and how quickly the gap closes as the parcel travels downstream. In MathML form, the equation is expressed as
Formula: D = (DO_sat - DO_0) e^-k2t + (L 0 k 1) / (k 2 - k 1) (e^-k1t - e^-k2t)
Here is the ultimate BOD remaining right after the waste enters the stream, is the deoxygenation rate constant, is the reaeration rate constant, and is the travel time in days. Once is known, the predicted dissolved oxygen concentration is simply = - .
Converting distance to time requires the stream velocity because the deficit depends on how long the parcel has been traveling. The calculator converts the selected downstream distance into travel time in days with:
where is distance in kilometers and is velocity in meters per second. The factor 86400 converts seconds to days. The model also estimates the time of maximum deficit, when the curve reaches its lowest point, at
and a corresponding critical distance . That point is often more important than the first checkpoint you test, because the worst oxygen conditions may develop well downstream of the outfall.
What each input means for a dissolved oxygen sag model
If you are setting up a dissolved oxygen sag calculation for the first time, it helps to picture a single river reach with one discharge entering from the bank. The saturation value defines the upper limit the water could hold at the chosen temperature. The initial DO is the concentration immediately after mixing. L₀, k₁, and k₂ describe how much oxygen demand remains and how quickly the stream loses and regains oxygen as it moves.
- Dissolved oxygen saturation is the upper limit for DO at the chosen water temperature and atmospheric conditions.
- Initial dissolved oxygen is the stream DO just after the discharge has mixed into the flow.
- Ultimate BOD L₀ is the biodegradable oxygen demand that remains at the start of the modeled reach.
- Deoxygenation rate k₁ describes how quickly that oxygen demand is consumed by biological activity.
- Reaeration rate k₂ describes how quickly oxygen is transferred from the air back into the water.
- Stream velocity converts downstream distance into travel time, which controls how long the competing processes act.
- Distance downstream is the point where you want the calculator to estimate DO and oxygen deficit.
A larger BOD load or a higher k₁ generally deepens the sag because more oxygen is consumed before recovery can catch up. A larger k₂ usually makes the curve shallower because reaeration is stronger. Velocity changes the timing as well: faster water reaches a given point sooner, so the parcel has less time for the deficit to build before it gets there. In practice, that means the same discharge can look modest near the outfall and far more serious after a few more kilometers of travel.
Worked example: a 5 km dissolved oxygen sag check
Suppose a stream enters the model with 9 mg/L saturation, 8 mg/L initial DO, 20 mg/L ultimate BOD, k₁ of 0.30 day⁻¹, k₂ of 0.50 day⁻¹, velocity of 0.5 m/s, and a target point 5 km downstream. The travel time is about 0.116 days. Plugging those values into the equation gives a deficit of about 1.61 mg/L, so the predicted dissolved oxygen is about 7.39 mg/L.
The same example also shows why you should look at the critical distance, not just the point you typed in. For these rates, the minimum occurs around 110 km downstream, so the modeled reach is still moving toward its low point well after the 5 km checkpoint. In other words, the stream may look acceptable near the discharge while still being vulnerable farther downstream.
Scenario comparisons for stream oxygen sag
The table below shows how the dissolved oxygen sag at 5 km changes when you alter one stream parameter at a time. The baseline assumes a modest waste load, a warm-water reaeration rate, and a slow current. Increasing flow velocity shortens travel time so the system reaches the checkpoint sooner. A higher reaeration constant, which might arise in a turbulent riffle, also limits the drop in DO. Conversely, heavier organic loading or sluggish water deepens and extends the sag, which is why even simple scenario checks can be useful for spotting the most influential parameter.
| Scenario | k₁ (day⁻¹) | k₂ (day⁻¹) | Velocity (m/s) | Predicted DO (mg/L) |
|---|---|---|---|---|
| Baseline | 0.30 | 0.50 | 0.5 | 6.9 |
| Faster flow | 0.30 | 0.50 | 1.0 | 7.7 |
| More reaeration | 0.30 | 0.80 | 0.5 | 7.5 |
| High BOD | 0.30 | 0.50 | 0.5 | 5.8 |
How to interpret the dissolved oxygen sag result
The calculator returns the predicted dissolved oxygen concentration at your chosen distance, along with the corresponding oxygen deficit and the approximate critical distance where the minimum is expected. The DO number is usually the easiest quantity to read first because it tells you how much oxygen remains in the water. The deficit shows how far the stream still is from saturation. A large deficit means the reach still needs oxygen even if the absolute concentration has not yet become obviously poor. When you compare the output with local standards, a field survey, or a permit condition, pay attention to whether the minimum occurs inside the segment you care about or farther downstream.
Context matters because dissolved oxygen stress is not just a number on a page. Warm water, slow circulation, higher organic loads, and long travel times can all make a sag more consequential than it first appears. If the result suggests a deep minimum or a critical distance close to a sensitive habitat, that is a sign to look more closely at the supporting assumptions, the quality of the input data, and whether a more detailed model is warranted.
Assumptions and limits of the Streeter–Phelps sag model
Like every screening model, Streeter–Phelps rests on simplifying assumptions. It assumes steady conditions, a single effective waste input, complete mixing, constant rate coefficients, and first-order kinetics. It does not explicitly represent photosynthesis, respiration cycles over day and night, sediment oxygen demand, tributary inflows, dams, algal blooms, temperature shifts along the reach, or multiple discharges entering at different points. Those omissions do not make the calculator useless; they simply define what kind of question it answers well.
Use the output as an informed estimate rather than a guarantee. Field-derived k values can vary a lot with depth, turbulence, channel shape, temperature, and the character of the waste itself. Laboratory BOD measurements may not perfectly reflect what happens in the actual river at the time of concern. The calculator is best used to compare scenarios, build intuition, and identify whether a more detailed study is warranted. In that role, it is valuable because it makes the cause-and-effect structure of oxygen depletion easy to see and easy to explain to someone else.
Using the dissolved oxygen sag calculator effectively
For a quick scenario test, enter the best available estimates for oxygen saturation, initial DO, remaining ultimate BOD, k₁, k₂, velocity, and distance, then press Calculate. The tool reports the predicted dissolved oxygen at that point and the estimated location of the minimum. If you are comparing options, change one input at a time so you can see what is driving the result. For example, lowering L₀ simulates better treatment, while increasing k₂ can mimic a more turbulent or aerated reach. The Copy Result button lets you transfer the text into notes, a lab write-up, or a planning memo.
Understanding oxygen sag curves has practical value well beyond the classroom. Engineers design weirs, cascades, and mechanical aeration systems partly to increase reaeration. Treatment plant upgrades reduce the oxygen demand that enters the stream in the first place. Ecologists use predicted sag locations to prioritize habitat surveys and to interpret fish community changes. Even though modern water-quality models can be much more detailed, this classic equation still earns its place because it teaches the central insight clearly: dissolved oxygen is shaped by both how much demand remains and how quickly the river can recover.
Enter stream and waste parameters
Optional mini-game: Oxygen Sag Rescue Run
This arcade mini-game turns the same water-quality idea into a fast, visual challenge. A parcel of river water moves downstream while red waste plumes pull oxygen down and blue riffles help it recover. Your job is to place timed aeration bursts ahead of the parcel so its dissolved oxygen stays safely above 5 mg/L. The mechanic mirrors the calculator itself: heavy oxygen demand deepens the sag, while quicker reaeration helps the stream bounce back. The game reads your current calculator inputs when a run starts, so a bigger BOD load or weaker reaeration creates a tougher river.
Educational takeaway: a stream recovers fastest when reaeration can keep up with the oxygen demand created by remaining BOD.
