Water Hardness Calculator
Convert water hardness between units and classify as soft, hard, or very hard.
What Water Hardness Measures
Hardness is the total concentration of divalent metal cations in water — overwhelmingly calcium and magnesium, which dissolve out of limestone, chalk and dolomite as groundwater passes through them. Monovalent ions such as sodium do not contribute, which is why softened water can be high in dissolved solids yet still test as soft.
The convention of reporting everything “as CaCO3” exists because calcium and magnesium have different molar masses but equivalent chemical effect. Converting both to a single reference compound lets one number describe the combined burden. It does not mean calcium carbonate is present in the water.
| Term | Meaning | Note |
|---|---|---|
| Ca2+ | Calcium concentration, mg/L | Divided by 40.08, its molar mass |
| Mg2+ | Magnesium concentration, mg/L | Divided by 24.31 — lighter, so contributes more per mg |
| 100.09 | Molar mass of CaCO3 | Converts moles back to the reference scale |
| HCO3− | Bicarbonate | Determines how much hardness is temporary |
Because magnesium is the lighter ion, a milligram of magnesium contributes about 1.65 times as much hardness as a milligram of calcium. Water with modest calcium but high magnesium can therefore test harder than expected.
Reading the Result
| mg/L as CaCO3 | Grains per gallon | German degrees (°dH) | Classification |
|---|---|---|---|
| 0–60 | 0–3.5 | 0–3.4 | Soft |
| 61–120 | 3.6–7.0 | 3.5–6.7 | Moderately hard |
| 121–180 | 7.1–10.5 | 6.8–10.1 | Hard |
| >180 | >10.5 | >10.1 | Very hard |
Hardness also divides by type. Temporary hardness is the portion paired with bicarbonate; boiling drives off CO2, precipitates CaCO3, and removes it — this is limescale in a kettle. Permanent hardness is paired with sulfate or chloride and survives boiling, requiring ion exchange or reverse osmosis to remove.
Worked Examples
Common Mistakes
Hardness is an aesthetic and operational issue, not a health one. Hard water causes scale and poor lather but is not harmful to drink, and may contribute usefully to dietary calcium and magnesium.
Only temporary (bicarbonate) hardness precipitates on boiling. Hardness paired with sulfate or chloride is permanent and requires ion exchange or membrane treatment.
Magnesium’s lower molar mass means each milligram contributes roughly 1.65 times more hardness than a milligram of calcium. Adding the raw mg/L figures underestimates hardness in magnesium-rich water.
Softened water exchanges calcium and magnesium for sodium. TDS is unchanged or higher, but hardness falls to near zero because sodium is monovalent.
Frequently Asked Questions
Formula Explorer connections
Interpretation: This analytical relationship converts an instrument signal, separation measure or optical response into concentration, identity or performance. Assumption: Calibration, blank correction, linear range, path length, matrix effects and instrument settings must match the sample and method.