Water Hardness Calculator

Convert calcium and magnesium concentrations into total water hardness as CaCO₃, with a classification.

100% FreeNo sign-upPrivate — runs in your browser
—

Result

Total hardness (mg/L as CaCO₃)
—
Hardness (mmol/L)
—
Hardness (grains per gallon)
—
Classification
—

Copied to clipboard

How to use this tool

1
Enter calcium

Type Ca²⁺ in mg/L from a water report.

2
Enter magnesium

Type Mg²⁺ in mg/L from the same report.

3
Read total hardness

The headline result is in mg/L as CaCO₃, with the classification.

4
Convert units if needed

The metrics also give mmol/L and grains per gallon.

Formula & worked example

Hardness (mg/L as CaCO₃) = 2.497 × Ca (mg/L) + 4.118 × Mg (mg/L).

Water with 100 mg/L calcium and 20 mg/L magnesium has hardness about 332 mg/L as CaCO₃ — very hard.

Limitations — read this before you rely on it

Covers calcium and magnesium only, the dominant hardness ions. Other divalent ions are ignored.

Frequently asked questions

The amount of dissolved calcium and magnesium, expressed as an equivalent concentration of calcium carbonate (CaCO₃).

It puts calcium and magnesium on one common scale, so waters with different mixes can be compared.

USGS bands: soft below 60, moderately hard 60–120, hard 120–180, and very hard above 180 mg/L as CaCO₃.

It is not generally a health concern, but it causes limescale in kettles and pipes and reduces soap lather.

A US unit for hardness: 1 grain per gallon equals 17.1 mg/L as CaCO₃.