Corrosion Control Calculator
Calculate the Langelier Saturation Index (LSI) and Ryznar Stability Index for pipe corrosion prevention in drinking water.
About this calculator
This calculator computes three classic water-corrosivity indices from a standard water chemistry profile — pH, alkalinity, calcium hardness, total dissolved solids, and temperature — the same inputs a water treatment operator would pull from a routine lab analysis. The core calculation is the Langelier Saturation Index (LSI), found by first deriving the water's saturation pH (pHs, the pH at which the water is exactly in equilibrium with calcium carbonate) from four empirical terms built on the log of TDS, temperature in Kelvin, calcium concentration, and alkalinity, then subtracting that from the water's actual measured pH. A positive LSI means the water tends to deposit protective (or nuisance) calcium carbonate scale; a negative LSI means it's aggressive enough to dissolve pipe scale and expose bare metal to corrosion. The Ryznar Stability Index (RSI) is derived directly from the same pHs value using a different weighting (2×pHs minus actual pH) and is interpreted on its own numeric scale, so don't expect LSI and RSI to read as the same kind of number — they use opposite sign conventions for corrosive vs. scale-forming water.
The Aggressive Index is a simpler, cruder screening metric based only on pH, alkalinity, and calcium, included mainly for AWWA compliance reporting rather than as a design tool. All three converge on a plain-language treatment recommendation and a Lead and Copper Rule risk flag, since keeping LSI slightly positive (mildly scale-forming) is the standard target for utilities managing pipe corrosion and lead leaching risk — EPA's own Optimal Corrosion Control Treatment Evaluation Technical Recommendations identifies indices like the LSI as one of the tools primacy agencies and water systems use to evaluate and document corrosion control performance under the Lead and Copper Rule. The CaCO₃ precipitation potential is explicitly a simplified approximation, not a rigorous equilibrium calculation, so use it directionally rather than as a precise dosing number.
Inputs
Results
Langelier Saturation Index
-1.01
LSI Interpretation
Highly Corrosive (aggressive water)
Figures current as of 2016. Source: U.S. EPA, Optimal Corrosion Control Treatment Evaluation Technical Recommendations for Primacy Agencies and Public Water Systems
How to Use This Calculator
- Enter Water pH from your latest distribution system or treatment plant measurement.
- Input Total Alkalinity (mg/L as CaCO₃) and Calcium Hardness (mg/L as CaCO₃) from a water quality analysis.
- Enter Total Dissolved Solids (mg/L) and Water Temperature (°C) to complete the water chemistry profile.
- Review the Langelier Saturation Index (LSI): negative values indicate corrosive water, positive values indicate scaling tendency.
- Check the Ryznar Stability Index (RSI) and Aggressive Index (AI) for additional corrosion characterization.
- Use the interpretation outputs to guide pH, alkalinity, or inhibitor adjustments to meet Lead and Copper Rule corrosion control requirements.
How the result changes with Water pH
| Water pH | Langelier Saturation Index | LSI Interpretation |
|---|---|---|
| 4 | -4.21 | Highly Corrosive (aggressive water) |
| 5.4 | -2.81 | Highly Corrosive (aggressive water) |
| 10 | 1.79 | Scale-Forming (heavy CaCO₃ deposits likely) |
What each input means
- Water pH
- Measured pH of the treated water.
- Total Alkalinity
- Total alkalinity measured as calcium carbonate equivalent.
- Calcium Hardness
- Calcium hardness as calcium carbonate.
- Total Dissolved Solids
- Total dissolved solids concentration.
- Water Temperature
- Water temperature at the point of testing.
What each result means
- Langelier Saturation Index
- Positive = scale-forming, Negative = corrosive.
- Ryznar Stability Index
- <6 = scaling, 6-7 = stable, >7 = corrosive.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersWater pH = 7.2, Total Alkalinity = 80, Calcium Hardness = 100, Total Dissolved Solids = 200 = 5 input(s) provided
- Calculate Langelier Saturation IndexLangelier Saturation Index-1.01 = -1.01
- Calculate LSI InterpretationHighly Corrosive (aggressive water) = Highly Corrosive (aggressive water)
- Calculate Ryznar Stability IndexRyznar Stability Index9.22 = 9.22
- Calculate RSI InterpretationVery Corrosive = Very Corrosive
Figures and sources
- Use of the Langelier Saturation Index and related corrosivity indices in Lead and Copper Rule optimal corrosion control treatment (OCCT) evaluation (2016) — U.S. EPA, Optimal Corrosion Control Treatment Evaluation Technical Recommendations for Primacy Agencies and Public Water Systems
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why do LSI and RSI seem to disagree even though they use the same saturation pH?
LSI subtracts saturation pH from actual pH (pH − pHs), so a positive LSI means scale-forming and negative means corrosive. RSI instead computes 2×pHs minus actual pH and is interpreted on its own numeric scale where lower values mean scale-forming and higher values mean corrosive — the opposite sign convention from LSI. Both are derived from the same underlying pHs, but you have to read each index against its own scale rather than expecting the two numbers to move the same direction.
What does a target pH slightly above neutral actually mean for the pipes?
The calculator's target pH is the saturation pH (pHs) — the pH at which the water is exactly in equilibrium with calcium carbonate. Utilities generally aim to keep LSI slightly positive (mildly scale-forming) rather than exactly at zero, because a thin protective calcium carbonate film on pipe walls helps limit lead and copper leaching, which is the standard target for Lead and Copper Rule corrosion control.
How is the Aggressive Index different from the LSI, and why are both shown?
The Aggressive Index is a simpler, cruder screening metric based only on pH, alkalinity, and calcium, without the temperature and TDS terms that go into the full LSI calculation. It's included mainly because it's used in AWWA compliance reporting, not because it's a better design tool — the LSI's saturation-pH derivation is the more complete corrosivity picture.
Can I use the CaCO₃ Precipitation Potential number to set an exact chemical dose?
No — the calculator explicitly computes CCPP as a simplified approximation (LSI times a scaling factor based on calcium level) rather than a rigorous equilibrium calculation. It's meant to indicate direction and rough magnitude of scale-forming or dissolving tendency, not to serve as a precise dosing number for treatment chemicals.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Chlorine Dosing Calculator
Calculate chlorine dose and feed rate for water disinfection, including CT compliance for pathogen inactivation.
Water TreatmentFluoride Addition Calculator
Calculate chemical feed rate for water fluoridation to achieve target concentration using NaF, fluorosilicic acid, or sodium fluorosilicate.
Cleaning & JanitorialPool Chemical Balance Calculator
Calculate the Langelier Saturation Index (LSI) to determine if your pool water is corrosive, balanced, or scale-forming.
Petroleum & ChemicalsCorrosion Allowance Calculator
Calculate required pipe or vessel wall thickness including corrosion margin per ASME standards.
Water TreatmentBackwash Water Calculator
Calculate filter backwash volume, frequency, and supply requirements for water treatment plant filter maintenance.
More in Environment, Weather & Climate.