JPB Process Calcs

Water Analysis & Ion Balance

Utility Systems & Maintenance · Calculator S18-05 · Verified: the solver reproduces its worked example and is covered by tests.

Converts a water analysis (Ca, Mg, Na, HCO3, SO4, Cl in ppmw) to milliequivalents/liter and ppm-as-CaCO3, reports total hardness and alkalinity, and checks the cation/anion charge balance.

Open the calculator

Overview

What it calculates

Converts a six-ion water analysis to milliequivalents per liter and ppm as CaCO3, then reports total hardness, total alkalinity and the cation/anion charge balance. Each ion's meq/L is its ppmw divided by its equivalent weight (molecular weight over charge). Multiplying by 50.04, the equivalent weight of CaCO3, puts every ion on one basis so they can be added. Hardness is calcium plus magnesium, and alkalinity is bicarbonate, both as CaCO3.

When to use it

Use it on a lab report for boiler makeup, cooling tower makeup or produced water before choosing treatment or setting blowdown. It is also the quickest way to catch a bad analysis. The makeup quality then feeds Boiler Blowdown, Makeup & Steam Balance.

Inputs that matter most

Divalent ions weigh most per ppm. One ppm of magnesium is about 4.1 ppm as CaCO3 and calcium about 2.5, while chloride is about 1.4 and bicarbonate about 0.82. A small error in magnesium moves hardness more than a large error in chloride.

Reading the results

Charge balance error is (cations - anions) over their average, in percent, with a warning above 5 percent. A large imbalance points to a missing ion, a lab error or a transcription slip, not to the water. If the lab reported sodium by difference, the balance closes by construction and proves nothing. When hardness exceeds alkalinity, the excess is noncarbonate hardness.

Limits and common mistakes

Potassium, carbonate, hydroxide, nitrate, iron and silica are not included, so water carrying them in quantity will show an imbalance. Treating all alkalinity as bicarbonate only holds below about pH 8.3. The calculator reads ppmw as mg/L, fine for fresh water and wrong for dense brines. Enter each ion as itself, not as ppm CaCO3, or every result is off by the equivalent-weight ratio.

Equations

meq/L=ppmwMW/valence,ppm  as  CaCO3=(meq/L)×50.04meq/L = \frac{ppmw}{MW/valence},\qquad ppm\;as\;CaCO_3 = (meq/L)\times 50.04
Each ion's concentration converted to milliequivalents/liter (via its equivalent weight, MW/valence) and to the common "ppm as CaCO3" basis (50.04 = CaCO3's own equivalent weight, MW 100.09 / valence 2).

Source: Standard Gas Processing Engineering Practice

SymbolMeaningUnits (US / SI)
meq/Lmeq/LMilliequivalents per liter-

Inputs

InputSymbolDefaultTypical range or options
Calcium (Ca²⁺)CaCa100.1
Magnesium (Mg²⁺)MgMg20.4
Sodium (Na⁺)NaNa12
Bicarbonate (HCO₃⁻)HCO3HCO_3366
Sulfate (SO₄²⁻)SO4SO_448.1
Chloride (Cl⁻)ClCl7.1

Outputs

Assumptions and limitations

Assumptions

Limitations

Worked example

Worked example: water analysis

Inputs

Calcium (Ca²⁺)100.1
Magnesium (Mg²⁺)20.4
Sodium (Na⁺)12
Bicarbonate (HCO₃⁻)366
Sulfate (SO₄²⁻)48.1
Chloride (Cl⁻)7.1

Expected results

Total hardness (as CaCO3)333.9
Total alkalinity (as CaCO3)300.1
Cation/anion charge balance error-0.07414

Reproduces a published worked example exactly (total hardness 333.9 ppm as CaCO3, total alkalinity 300.1 ppm as CaCO3).

The calculator's test suite checks that the solver reproduces these results.

References

Guides that use this calculator

Pitfalls to watch for

Rules of thumb

Material mishaps

Green paradoxes

Open the calculator

Page last updated 2026-10-28.