Skip to main content
Calcimator

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

mg/L as CaCO₃
mg/L as CaCO₃
mg/L
°F

Results

Langelier Saturation Index

-1.01

LSI Interpretation

Highly Corrosive (aggressive water)

Ryznar Stability Index9.22
RSI InterpretationVery Corrosive
Aggressive Index11.1
AI InterpretationModerately Aggressive
Saturation pH (pHs)8.21
Target pH for Balance8.21
Recommended TreatmentpH adjustment (lime/caustic soda) + corrosion inhibitor
Lead/Copper Rule RiskModerate Risk
CaCO₃ Precipitation Potential-25 mg/L

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
  1. Enter Water pH from your latest distribution system or treatment plant measurement.
  2. Input Total Alkalinity (mg/L as CaCO₃) and Calcium Hardness (mg/L as CaCO₃) from a water quality analysis.
  3. Enter Total Dissolved Solids (mg/L) and Water Temperature (°C) to complete the water chemistry profile.
  4. Review the Langelier Saturation Index (LSI): negative values indicate corrosive water, positive values indicate scaling tendency.
  5. Check the Ryznar Stability Index (RSI) and Aggressive Index (AI) for additional corrosion characterization.
  6. 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 pHLangelier Saturation IndexLSI Interpretation
4-4.21Highly Corrosive (aggressive water)
5.4-2.81Highly Corrosive (aggressive water)
101.79Scale-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

  1. Identify Input Parameters
    4 parameters
    Water pH = 7.2, Total Alkalinity = 80, Calcium Hardness = 100, Total Dissolved Solids = 200 = 5 input(s) provided
  2. Calculate Langelier Saturation Index
    Langelier Saturation Index
    -1.01 = -1.01
  3. Calculate LSI Interpretation
    Highly Corrosive (aggressive water) = Highly Corrosive (aggressive water)
  4. Calculate Ryznar Stability Index
    Ryznar Stability Index
    9.22 = 9.22
  5. Calculate RSI Interpretation
    Very Corrosive = Very Corrosive

Figures and sources

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.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Environment, Weather & Climate.