Water Analysis & Ion Balance
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.
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
Source: Standard Gas Processing Engineering Practice
| Symbol | Meaning | Units (US / SI) |
|---|---|---|
| Milliequivalents per liter | - |
Inputs
| Input | Symbol | Default | Typical range or options |
|---|---|---|---|
| Calcium (Ca²⁺) | 100.1 | ||
| Magnesium (Mg²⁺) | 20.4 | ||
| Sodium (Na⁺) | 12 | ||
| Bicarbonate (HCO₃⁻) | 366 | ||
| Sulfate (SO₄²⁻) | 48.1 | ||
| Chloride (Cl⁻) | 7.1 |
Outputs
- Total hardness (as CaCO3)
- Total alkalinity (as CaCO3)
- Cation/anion charge balance error
- Total cations
- Total anions
- Total cations (as CaCO3)
- Total anions (as CaCO3)
- Calcium (as CaCO3)
- Magnesium (as CaCO3)
- Sodium (as CaCO3)
- Bicarbonate (as CaCO3)
- Sulfate (as CaCO3)
- Chloride (as CaCO3)
Assumptions and limitations
Assumptions
- Covers six commonly-analyzed ions (Ca2+, Mg2+, Na+ as cations; HCO3-, SO4(2-), Cl- as anions), each with a fixed, standard molecular weight and ionic valence — additional ions (e.g. K+, CO3(2-)) are not included, matching this app's "quick calculator" scope; a fuller analysis can add ions using Equiv. Wt. = MW / valence.
- Assumes a solution specific gravity of 1.000 (ppmw treated as mg/L), per the source example's own stated assumption.
- The charge balance error compares total cation and anion milliequivalents — a real water analysis should balance closely (a few percent); a large imbalance flags a missing ion, a lab error, or a transcription mistake, not a property of the water itself.
Limitations
- Limited to the six standard ions listed; does not compute pH, TDS, or silica.
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
- Standard Gas Processing Engineering Practice
Guides that use this calculator
Pitfalls to watch for
- The Dead-Leg Deduction: Assuming that a pipe branch with no flow in it is harmless because nothing is moving.
Rules of thumb
- The 120°F Cooling Water Ceiling: Return at most 120°F. Velocity at least 3 ft/s. (US units). Return at most 50°C. Velocity at least 1 m/s. (SI units).
Material mishaps
- Chloride Stress Corrosion Cracking: Watch 300 series stainless in chloride water above 140°F (US units). Watch 300 series stainless in chloride water above 60°C (SI units).
- Dezincification: Brass with more than 15% zinc can dezincify (US and SI units).
Green paradoxes
- The Recycle Loop Accumulation: A 1% purge lets a trace impurity build 100 times (US and SI units).
- Zero Liquid Discharge Sludge: 500 gpm at 2,000 mg/L leaves 6 tons of salt a day (US units). 113.6 m³/h at 2,000 mg/L leaves 5.5 t of salt a day (SI units).
Related calculators
- Boiler Blowdown, Makeup & Steam Balance: Cycles of concentration, blowdown and makeup rates from a boiler-water TDS balance, plus the deaerator steam demand and recoverable flash steam from blowdown.
Page last updated 2026-10-28.