---
title: "Stock Tank Algae Calculator: Size a Solar Aerator and Lock Out Cyanobacteria Before It Kills Livestock"
canonical: "https://theyieldgrid.com/stock-tank-algae-calculator/"
model_id: "tyg-2559"
model_version: "1.0.0"
last_reviewed: "2026-05-06T06:54:04"
reviewed_by: "Umer Hayiat"
---

# Stock Tank Algae Calculator: Size a Solar Aerator and Lock Out Cyanobacteria Before It Kills Livestock

> Canonical calculator: [https://theyieldgrid.com/stock-tank-algae-calculator/](https://theyieldgrid.com/stock-tank-algae-calculator/)

## What this calculator does

Home - Free Gardening Calculators & Tools - Stock Tank Algae Calculator: Size a Solar Aerator and Lock Out Cyanobacteria Before It Kills Livestock Green water in a stock tank is a symptom, not just an inconvenience. The organism driving that color change is most often cyanobacteria, a photosynthetic bacterium that produces microcystins and anatoxin-a, toxins potent enough to kill a 1,200-pound cow after a single drinking session in advanced bloom conditions. The cascade from “water looks a bit green” to a lethal concentration of neurotoxin can happen within 48 to 72 hours when temperature, stagnation, and nutrient load align. Managing that window requires sizing aeration correctly before the bloom starts, not reacting after the scum layer forms.

## Inputs

| Input | ID | Type | Unit | Range or choices | Required |
|---|---|---|---|---|---|
| Water Trough / Tank Volume | `swta_input_volume` | number | Gallons | 10 to 50000 | No |
| Daily Sunlight Exposure | `swta_input_sun` | number | Hours | 0 to 16 | No |
| Water Turnover Rate | `swta_input_turnover` | number | Days | 0.5 to 30 | No |
| Estimated Water Temperature | `swta_input_temp` | number | °F | 32 to 120 | No |
| Yes — Runoff Present | `swta_runoff_yes` | radio |  |  | No |
| No — Clean Watershed | `swta_runoff_no` | radio |  |  | No |

## Outputs

| Output ID | Default state |
|---|---|
| `swta_err_volume` |  |
| `swta_err_sun` |  |
| `swta_err_turnover` |  |
| `swta_err_temp` |  |
| `swta_err_runoff` |  |
| `swta_results` | Required Aeration Output — LPM Cyanobacteria Bloom Risk Index — 0 Low High Critical Stagnation Index — / 10 Bloom Trigger Status — Solar Aerator Panel Size — W Copper Sulfate Safe Dose — PPM Warnings & Safety Standards Reference: Tank Aeration & Toxicity Thresholds Tank Size (gal) Min. Airflow (LPM) Solar Panel (W) Bloom Risk at 85°F / 5d Recommended Solutions for Your Setup |
| `swta_out_primary` | — LPM |
| `swta_airflow_val` | — |
| `swta_out_stagnation` | — |
| `swta_out_solar` | — |
| `swta_out_cu` | — |
| `swta_warnings_box` | Warnings & Safety Standards |
| `swta_warnings_list` |  |

## Formula and method

The precise combination of factors that predicts cyanobacteria bloom risk before it becomes visible in your stock tank. Show the calculation steps Step 1: Required Airflow Airflow in liters per minute is calculated directly from tank volume: Req_Airflow (LPM) = Tank Volume (gallons) × 0.05 The 0.05 coefficient represents the minimum continuous surface agitation rate needed to disrupt thermal stratification and maintain dissolved oxygen above the threshold that prevents anaerobic conditions in the bottom layer. At sub-threshold airflow, warm surface water and cool bottom water separate into distinct layers. Phosphorus trapped in the sediment layer is released into the water column during this anoxic phase, feeding the bloom from below while sunlight drives photosynthesis from above. Step 2: Stagnation Index The index combines four factors into a 0-to-10 risk score: TempFactor = max(0, (Temperature_F - 60) / 20) SunFactor = Sunlight_Hours / 8 RunoffMultiplier = 1.6 if manure runoff present, 1.0 if not StagnationRaw = (TurnoverDays / 5) × TempFactor × SunFactor × RunoffMultiplier StagnationIndex = clamp(round(StagnationRaw × 10, 1 decimal), 0, 10) Values below 60°F contribute zero to the temperature factor. The divisors (5 for turnover, 8 for sun) normalize each input against a moderate-risk baseline. The result is clamped at 10 to prevent index inflation in extreme multi-variable scenarios. Step 3: Bloom Trigger BLOOM TRIGGERED if: Temperature > 80°F AND StagnationIndex > 3.0 Both conditions must be met simultaneously. High temperature alone does not trigger the flag if turnover is fast and sun exposure is limited. High stagnation alone does not trigger the flag if water temperature remains below 80°F, because cyanobacteria growth rates roughly double for every 10°C rise in temperature and most virulent species require warm conditions to outcompete green algae. Step 4: Solar Panel Sizing Solar Panel (W) = (Req_Airflow / 4) × 1.4 The formula assumes a standard 12V floating diaphragm aerator producing approximately 4 LPM per watt at peak efficiency. The 1.4x safety factor accounts for panel angle losses, cloud cover, degradation over time, and wiring resistance. Results are rounded to the nearest whole watt. Step 5: Copper Sulfate Reference Dose The tool outputs 1.0 PPM as the standard control ceiling for cattle and horses. Grams of copper sulfate crystals for a specific volume: multiply volume in gallons by 3.785 to get liters, then multiply by 0.001 to get grams at 1 PPM. The sheep-safe upper limit of 0.6 PPM is flagged as a hard warning because copper accumulates in sheep liver tissue and chronic low-level exposure below the acute kill threshold can still cause cumulative toxicity over weeks. Assumptions and Limits The 0.05 LPM/gallon coefficient assumes a fully exposed, uncovered trough in summer conditions. Shaded or enclosed troughs with lower evaporation may tolerate slightly lower airflow, but no reduction is built into the formula because erring conservative is safer for livestock. The temperature input should reflect peak summer afternoon water surface temperature, not ambient air or morning readings. Metal and plastic troughs in direct sun regularly exceed air temperature by 10 to 20°F. The runoff multiplier is a fixed 1.6x binary factor. It does not scale with nutrient concentration or proximity to the contamination source. Troughs very close to high-density feeding areas may carry higher nutrient loads than the multiplier captures. The solar panel estimate assumes a south-facing, unshaded panel at approximately 35 degrees latitude. Operations at higher latitudes or with panel shading should add additional capacity beyond the calculated wattage. Barley straw extract is not modeled in the formula. It is an algistatic supplement that inhibits new growth but does not actively remove existing blooms or reduce the stagnation index. The stagnation index does not account for wind-driven mixing, which can partially substitute for mechanical aeration on large open ponds. It is conservative for small enclosed troughs, which have minimal wind exposure and benefit most from mechanical aeration. Fish presence is not modeled. Troughs or ponds containing fish have a lower copper sulfate tolerance threshold than cattle-only water systems.

## Verified worked examples

### Scenario 1: Small Horse Trough in Peak Summer, No Runoff

Tank volume: 150 gallons Daily sunlight: 8 hours Water turnover rate: 4 days Water temperature: 82°F Manure runoff: No Result: Required airflow = 7.5 LPM. Stagnation Index = 8.8. Bloom TRIGGERED. Solar panel = 3W minimum. Even without manure nutrients, a 4-day turnover at 82°F with 8 full hours of sun produces a stagnation index of 8.8, well above the 3.0 bloom trigger threshold. A horse drinking from this trough is exposed to bloom conditions. A 3-watt solar panel driving a small diaphragm aerator is the minimum intervention; shade cloth over the trough would be the fastest secondary measure.

### Scenario 2: Large Cattle Stock Tank With Feedlot Runoff

Tank volume: 500 gallons Daily sunlight: 7 hours Water turnover rate: 3 days Water temperature: 88°F Manure runoff: Yes Result: Required airflow = 25 LPM. Stagnation Index = 10 (capped). Bloom TRIGGERED. Solar panel = 9W minimum. The 1.6x runoff multiplier combined with high temperature and moderate sun pushes the raw stagnation score above the 10-point ceiling. This is the scenario described in the tool's secret sauce background: a 500-gallon tank in direct summer sun near a feedlot, conditions responsible for acute cyanobacteria livestock fatalities. The 25 LPM airflow requirement needs a mid-range 12V floating aerator, not a small pond bubbler.

### Scenario 3: Large Shaded Ranch Trough, Slow Turnover, Mild Temperature

Tank volume: 1,000 gallons Daily sunlight: 4 hours Water turnover rate: 7 days Water temperature: 72°F Manure runoff: No Result: Required airflow = 50 LPM. Stagnation Index = 4.2. Bloom NOT triggered. Solar panel = 18W minimum. At 72°F the temperature condition for bloom trigger is not met, even though the stagnation index of 4.2 exceeds 3.0. The tank still needs 50 LPM of continuous aeration to prevent oxygen depletion and biofilm buildup, and an 18-watt panel to sustain it. If summer temperatures climb above 80°F without any other changes, the bloom trigger would activate immediately, because the stagnation index is already above 3.0.

## Assumptions

The precise combination of factors that predicts cyanobacteria bloom risk before it becomes visible in your stock tank. Show the calculation steps Step 1: Required Airflow Airflow in liters per minute is calculated directly from tank volume: Req_Airflow (LPM) = Tank Volume (gallons) × 0.05 The 0.05 coefficient represents the minimum continuous surface agitation rate needed to disrupt thermal stratification and maintain dissolved oxygen above the threshold that prevents anaerobic conditions in the bottom layer. At sub-threshold airflow, warm surface water and cool bottom water separate into distinct layers. Phosphorus trapped in the sediment layer is released into the water column during this anoxic phase, feeding the bloom from below while sunlight drives photosynthesis from above. Step 2: Stagnation Index The index combines four factors into a 0-to-10 risk score: TempFactor = max(0, (Temperature_F - 60) / 20) SunFactor = Sunlight_Hours / 8 RunoffMultiplier = 1.6 if manure runoff present, 1.0 if not StagnationRaw = (TurnoverDays / 5) × TempFactor × SunFactor × RunoffMultiplier StagnationIndex = clamp(round(StagnationRaw × 10, 1 decimal), 0, 10) Values below 60°F contribute zero to the temperature factor. The divisors (5 for turnover, 8 for sun) normalize each input against a moderate-risk baseline. The result is clamped at 10 to prevent index inflation in extreme multi-variable scenarios. Step 3: Bloom Trigger BLOOM TRIGGERED if: Temperature > 80°F AND StagnationIndex > 3.0 Both conditions must be met simultaneously. High temperature alone does not trigger the flag if turnover is fast and sun exposure is limited. High stagnation alone does not trigger the flag if water temperature remains below 80°F, because cyanobacteria growth rates roughly double for every 10°C rise in temperature and most virulent species require warm conditions to outcompete green algae. Step 4: Solar Panel Sizing Solar Panel (W) = (Req_Airflow / 4) × 1.4 The formula assumes a standard 12V floating diaphragm aerator producing approximately 4 LPM per watt at peak efficiency. The 1.4x safety factor accounts for panel angle losses, cloud cover, degradation over time, and wiring resistance. Results are rounded to the nearest whole watt. Step 5: Copper Sulfate Reference Dose The tool outputs 1.0 PPM as the standard control ceiling for cattle and horses. Grams of copper sulfate crystals for a specific volume: multiply volume in gallons by 3.785 to get liters, then multiply by 0.001 to get grams at 1 PPM. The sheep-safe upper limit of 0.6 PPM is flagged as a hard warning because copper accumulates in sheep liver tissue and chronic low-level exposure below the acute kill threshold can still cause cumulative toxicity over weeks. Assumptions and Limits The 0.05 LPM/gallon coefficient assumes a fully exposed, uncovered trough in summer conditions. Shaded or enclosed troughs with lower evaporation may tolerate slightly lower airflow, but no reduction is built into the formula because erring conservative is safer for livestock. The temperature input should reflect peak summer afternoon water surface temperature, not ambient air or morning readings. Metal and plastic troughs in direct sun regularly exceed air temperature by 10 to 20°F. The runoff multiplier is a fixed 1.6x binary factor. It does not scale with nutrient concentration or proximity to the contamination source. Troughs very close to high-density feeding areas may carry higher nutrient loads than the multiplier captures. The solar panel estimate assumes a south-facing, unshaded panel at approximately 35 degrees latitude. Operations at higher latitudes or with panel shading should add additional capacity beyond the calculated wattage. Barley straw extract is not modeled in the formula. It is an algistatic supplement that inhibits new growth but does not actively remove existing blooms or reduce the stagnation index. The stagnation index does not account for wind-driven mixing, which can partially substitute for mechanical aeration on large open ponds. It is conservative for small enclosed troughs, which have minimal wind exposure and benefit most from mechanical aeration. Fish presence is not modeled. Troughs or ponds containing fish have a lower copper sulfate tolerance threshold than cattle-only water systems. The 0.05 LPM/gallon coefficient assumes a fully exposed, uncovered trough in summer conditions. Shaded or enclosed troughs with lower evaporation may tolerate slightly lower airflow, but no reduction is built into the formula because erring conservative is safer for livestock. The temperature input should reflect peak summer afternoon water surface temperature, not ambient air or morning readings. Metal and plastic troughs in direct sun regularly exceed air temperature by 10 to 20°F. The runoff multiplier is a fixed 1.6x binary factor. It does not scale with nutrient concentration or proximity to the contamination source. Troughs very close to high-density feeding areas may carry higher nutrient loads than the multiplier captures. The solar panel estimate assumes a south-facing, unshaded panel at approximately 35 degrees latitude. Operations at higher latitudes or with panel shading should add additional capacity beyond the calculated wattage. Barley straw extract is not modeled in the formula. It is an algistatic supplement that inhibits new growth but does not actively remove existing blooms or reduce the stagnation index. The stagnation index does not account for wind-driven mixing, which can partially substitute for mechanical aeration on large open ponds. It is conservative for small enclosed troughs, which have minimal wind exposure and benefit most from mechanical aeration. Fish presence is not modeled. Troughs or ponds containing fish have a lower copper sulfate tolerance threshold than cattle-only water systems. Critical Warnings Never apply copper sulfate directly to an active cyanobacteria bloom. When copper sulfate contacts living cyanobacteria cells, it causes rapid cell lysis. Dead cells release their entire stored toxin load simultaneously into the water column. A trough that was dangerous before treatment can become acutely lethal within hours of an uncontrolled copper sulfate application during a bloom. Remove livestock access first. Allow the bloom to collapse naturally through water exchange before treating preventatively. The 1.0 PPM copper sulfate dose in this calculator is a cattle and horse reference only. Sheep accumulate copper in the liver with every exposure. A dose that shows no immediate effect in sheep can trigger fatal hemolytic crisis 2 to 8 weeks later when the liver copper threshold is exceeded. If sheep share the watering point, barley straw extract and mechanical aeration are the only safe chemical-free interventions. Visual inspection is not a reliable early warning system for cyanobacteria. Water can carry dangerous microcystin concentrations before the characteristic blue-green or teal color is visible. Blooms can also develop overnight during thermal inversions. A risk index score above 5.5 warrants preventive action regardless of what the water looks like. Anatoxin-a can kill a large ruminant within 20 to 30 minutes of ingesting a sufficient quantity of bloom-contaminated water. By the time clinical signs appear, the toxin dose is already absorbed and supportive care options are extremely limited. Prevention through aeration and turnover management is the only practical defense at the operation level. Minimum Standards Maintain water turnover at 3 days or less during any period when water temperature exceeds 75°F and direct sun exposure exceeds 4 hours per day. Run continuous aeration at no less than 0.05 LPM per gallon throughout the high-bloom season. Intermittent aeration creates stagnation windows long enough for surface stratification to re-establish. Install a vegetated buffer strip or gravel filter pad between any feedlot, barn, or sacrifice paddock and the water source if manure runoff is present. This addresses the bloom at its nutrient source rather than at the trough. If installing electric fencing around a contaminated trough to restrict access, confirm your fence energizer output is adequate for the perimeter. The electric fence joule calculator can help size your energizer correctly for temporary exclusion fencing. Competitor Trap: Most algae management guides for livestock focus on reactive treatment: "add copper sulfate when you see green water." This misses the biology entirely. Cyanobacteria blooms are predictable based on temperature, stagnation, and nutrient load, all three of which are measurable and largely controllable before the bloom starts. An operation that waits for visual confirmation of a bloom before acting has already lost the 48-to-72-hour prevention window. The stagnation index in this tool is designed to make that window visible before it closes. For operations using pasture rotation to manage grazing pressure near water sources, the pasture weed killer calculator pairs well with buffer strip design, since the same areas that collect runoff often carry invasive weed pressure and require coordination between treatment and exclusion timing. Maintain water turnover at 3 days or less during any period when water temperature exceeds 75°F and direct sun exposure exceeds 4 hours per day. Run continuous aeration at no less than 0.05 LPM per gallon throughout the high-bloom season. Intermittent aeration creates stagnation windows long enough for surface stratification to re-establish. Install a vegetated buffer strip or gravel filter pad between any feedlot, barn, or sacrifice paddock and the water source if manure runoff is present. This addresses the bloom at its nutrient source rather than at the trough. If installing electric fencing around a contaminated trough to restrict access, confirm your fence energizer output is adequate for the perimeter. The electric fence joule calculator can help size your energizer correctly for temporary exclusion fencing. Competitor Trap: Most algae management guides for livestock focus on reactive treatment: "add copper sulfate when you see green water." This misses the biology entirely. Cyanobacteria blooms are predictable based on temperature, stagnation, and nutrient load, all three of which are measurable and largely controllable before the bloom starts. An operation that waits for visual confirmation of a bloom before acting has already lost the 48-to-72-hour prevention window. The stagnation index in this tool is designed to make that window visible before it closes. For operations using pasture rotation to manage grazing pressure near water sources, the pasture weed killer calculator pairs well with buffer strip design, since the same areas that collect runoff often carry invasive weed pressure and require coordination between treatment and exclusion timing.

## Limitations and safety

The 0.05 LPM/gallon coefficient assumes a fully exposed, uncovered trough in summer conditions. Shaded or enclosed troughs with lower evaporation may tolerate slightly lower airflow, but no reduction is built into the formula because erring conservative is safer for livestock. The temperature input should reflect peak summer afternoon water surface temperature, not ambient air or morning readings. Metal and plastic troughs in direct sun regularly exceed air temperature by 10 to 20°F. The runoff multiplier is a fixed 1.6x binary factor. It does not scale with nutrient concentration or proximity to the contamination source. Troughs very close to high-density feeding areas may carry higher nutrient loads than the multiplier captures. The solar panel estimate assumes a south-facing, unshaded panel at approximately 35 degrees latitude. Operations at higher latitudes or with panel shading should add additional capacity beyond the calculated wattage. Barley straw extract is not modeled in the formula. It is an algistatic supplement that inhibits new growth but does not actively remove existing blooms or reduce the stagnation index. The stagnation index does not account for wind-driven mixing, which can partially substitute for mechanical aeration on large open ponds. It is conservative for small enclosed troughs, which have minimal wind exposure and benefit most from mechanical aeration. Fish presence is not modeled. Troughs or ponds containing fish have a lower copper sulfate tolerance threshold than cattle-only water systems. Critical Warnings Never apply copper sulfate directly to an active cyanobacteria bloom. When copper sulfate contacts living cyanobacteria cells, it causes rapid cell lysis. Dead cells release their entire stored toxin load simultaneously into the water column. A trough that was dangerous before treatment can become acutely lethal within hours of an uncontrolled copper sulfate application during a bloom. Remove livestock access first. Allow the bloom to collapse naturally through water exchange before treating preventatively. The 1.0 PPM copper sulfate dose in this calculator is a cattle and horse reference only. Sheep accumulate copper in the liver with every exposure. A dose that shows no immediate effect in sheep can trigger fatal hemolytic crisis 2 to 8 weeks later when the liver copper threshold is exceeded. If sheep share the watering point, barley straw extract and mechanical aeration are the only safe chemical-free interventions. Visual inspection is not a reliable early warning system for cyanobacteria. Water can carry dangerous microcystin concentrations before the characteristic blue-green or teal color is visible. Blooms can also develop overnight during thermal inversions. A risk index score above 5.5 warrants preventive action regardless of what the water looks like. Anatoxin-a can kill a large ruminant within 20 to 30 minutes of ingesting a sufficient quantity of bloom-contaminated water. By the time clinical signs appear, the toxin dose is already absorbed and supportive care options are extremely limited. Prevention through aeration and turnover management is the only practical defense at the operation level. Minimum Standards Maintain water turnover at 3 days or less during any period when water temperature exceeds 75°F and direct sun exposure exceeds 4 hours per day. Run continuous aeration at no less than 0.05 LPM per gallon throughout the high-bloom season. Intermittent aeration creates stagnation windows long enough for surface stratification to re-establish. Install a vegetated buffer strip or gravel filter pad between any feedlot, barn, or sacrifice paddock and the water source if manure runoff is present. This addresses the bloom at its nutrient source rather than at the trough. If installing electric fencing around a contaminated trough to restrict access, confirm your fence energizer output is adequate for the perimeter. The electric fence joule calculator can help size your energizer correctly for temporary exclusion fencing. Competitor Trap: Most algae management guides for livestock focus on reactive treatment: "add copper sulfate when you see green water." This misses the biology entirely. Cyanobacteria blooms are predictable based on temperature, stagnation, and nutrient load, all three of which are measurable and largely controllable before the bloom starts. An operation that waits for visual confirmation of a bloom before acting has already lost the 48-to-72-hour prevention window. The stagnation index in this tool is designed to make that window visible before it closes. For operations using pasture rotation to manage grazing pressure near water sources, the pasture weed killer calculator pairs well with buffer strip design, since the same areas that collect runoff often carry invasive weed pressure and require coordination between treatment and exclusion timing. Cyanobacteria blooms produce a musty or earthy odor caused by geosmin, but not all strains produce detectable levels of geosmin at toxic concentrations. Microcystins and anatoxin-a are odorless. Livestock have also been documented drinking from visibly scum-covered tanks when no clean water alternative is available. The absence of an algae smell does not indicate the absence of toxins in the water. Fix: Base risk decisions on the stagnation index score and bloom trigger status, not on sensory inspection. Use a clean secondary water source as a backup during high-risk periods so livestock are not forced to self-select contaminated water.

## Related calculators

- [Calculators & Tools](https://theyieldgrid.com/category/garden-calculators/)
- [cattle water requirement calculator](https://theyieldgrid.com/cattle-water-requirement-calculator/)
- [electric fence joule calculator](https://theyieldgrid.com/electric-fence-joule-calculator/)
- [pasture weed killer calculator](https://theyieldgrid.com/pasture-weed-killer-calculator/)
- [pasture stocking rate calculator](https://theyieldgrid.com/pasture-stocking-rate-calculator/)
- [rotational grazing calculator](https://theyieldgrid.com/rotational-grazing-calculator/)
- [hay cost calculator](https://theyieldgrid.com/hay-cost-calculator/)
- [barn ventilation calculator](https://theyieldgrid.com/barn-ventilation-calculator/)
- [Prev Previous](https://theyieldgrid.com/dairy-cow-calcium-calculator/)
- [Next Next](https://theyieldgrid.com/mulch-calculator/)

## Provenance

- Model ID: `tyg-2559`
- Model version: `1.0.0`
- Reviewed by: Umer Hayiat
- Page modified: 2026-05-06T06:54:04
- Runtime SHA-256: `4255888611fa1b60f7d7e69544b5af75745ab92059e0281d3a01e40039dab313`

This Markdown document is a machine-readable mirror. The canonical interactive calculator is the HTML page linked above.
