Water Treatment
Water Hardness Calculator
Hardness describes how much calcium and magnesium a water contains, expressed as if it were calcium carbonate. It is not a safety measure: WHO sets no health-based guideline for hardness and hard water is safe to drink. It matters mainly for scale, soap use and equipment.
This calculator accepts either the calcium and magnesium concentrations from a laboratory report or a single hardness reading from a test kit. It converts the result into the units used by softener manufacturers and estimates the capacity needed between regenerations.
Calculator
How to use this calculator
- If you have a laboratory report, enter the calcium and magnesium concentrations in mg/L. These take priority over a single reading.
- Otherwise enter a hardness reading from a test kit and choose the unit it was measured in: mg/L, ppm, GPG, °dH or °fH.
- Read the total hardness as CaCO₃, its USGS class and the unit conversions below.
- For a softener estimate, check the people, daily gallons and days between regenerations, then read the grain capacity.
- Remember that hardness is a scale issue, not a health limit. Use a laboratory test for drinking-water safety decisions.
The formula
Ca × 2.497 + Mg × 4.1182.497 = 100.09 ÷ 40.08 (CaCO₃ ÷ Ca); 4.118 = 100.09 ÷ 24.31 (CaCO₃ ÷ Mg).
GPG = mg/L ÷ 17.118 · °dH = mg/L ÷ 17.848 · °fH = mg/L ÷ 10
Softener grains =
people × gal/person/day × GPG × daysVariables
| Symbol | Meaning | Unit | Note |
|---|---|---|---|
Ca | Calcium ion concentration | mg/L | Converted to a CaCO₃ equivalent by ×2.497. |
Mg | Magnesium ion concentration | mg/L | Converted to a CaCO₃ equivalent by ×4.118. |
GPG | Grains per gallon | grains/US gal | The unit used by most softener manufacturers. |
Grains | Softener capacity between regenerations | — | People × gallons × GPG × days. |
USGS hardness classes
| Class | mg/L as CaCO₃ | GPG | Typical observation |
|---|---|---|---|
| Soft | 0–60 | 0–3.5 | Little scaling, good lather |
| Moderately hard | 61–120 | 3.5–7.0 | Some scale in kettles |
| Hard | 121–180 | 7.0–10.5 | Noticeable scale and soap scum |
| Very hard | over 180 | over 10.5 | Heavy deposits |
These are appearance and scaling bands, not health thresholds.
Converting between units
One grain per gallon is 17.118 mg/L, one German degree is 17.848 mg/L and one French degree is exactly 10 mg/L. In water, ppm and mg/L are numerically equal. European labels often use °dH while North American softeners use GPG, so conversions are common when comparing imported equipment.
When hardness matters, and when it does not
Hardness deposits scale inside pipes, heaters and tank fittings; a scaling float valve is a common cause of overflow. Hardness does not directly consume chlorine, but hard water is often alkaline and a higher pH reduces the fraction of chlorine present as hypochlorous acid, slowing disinfection. Scale can also coat a UV quartz sleeve.
WHO sets no health-based limit for hardness and calcium and magnesium are dietary minerals. Very soft water can be more corrosive to some plumbing. A softener swaps calcium and magnesium for sodium or potassium and does not lower TDS; reverse osmosis is needed for that. For health questions, rely on a certified laboratory rather than a hardness strip.
Worked example
A water report shows 40 mg/L calcium and 10 mg/L magnesium; a family of four uses 75 US gal per person per day with weekly regeneration.
- Calcium as CaCO₃ = 40 × 2.497 = 99.9 mg/L.
- Magnesium as CaCO₃ = 10 × 4.118 = 41.2 mg/L.
- Total = 99.9 + 41.2 = 141.1 mg/L, which is Hard (8.2 GPG).
- Daily grains = 4 × 75 × 8.2 = 2,460 grains.
- Capacity between regenerations = 2,460 × 7 = 17,220 grains.
Result: About 141 mg/L as CaCO₃ (8.2 GPG), classed as Hard, with roughly 17,000 grains of softener capacity per week.
Frequently asked questions
What is water hardness?
It is the concentration of dissolved calcium and magnesium, expressed as an equivalent amount of calcium carbonate. It causes scale and reduces soap lather.
How do I calculate hardness from calcium and magnesium?
Multiply calcium by 2.497 and magnesium by 4.118, then add the two. For 40 mg/L Ca and 10 mg/L Mg the result is about 141 mg/L as CaCO₃.
What is the difference between GPG and ppm?
GPG is grains per US gallon, the softener industry unit; ppm is effectively mg/L and is the laboratory unit. One GPG is 17.118 ppm.
Is hard water safe to drink?
Yes. WHO sets no health-based guideline for hardness, and calcium and magnesium are dietary minerals. Very soft water can be more corrosive to plumbing.
What size softener do I need?
Estimate people × gallons per person per day × GPG × days between regenerations, then compare with a unit rating at your chosen salt setting.
Does hard water affect chlorine disinfection?
Hardness does not consume chlorine directly, but alkaline hard water tends to have a higher pH, where chlorine is less effective. Check pH as well.
Does a softener lower TDS?
No. It exchanges calcium and magnesium for sodium or potassium, so dissolved solids remain. Reverse osmosis or distillation reduces TDS.
Sources and verification
- USGS — Water Science School — Hardness classification and scale background.
- WHO — Guidelines for Drinking-water Quality, 4th edition — No health-based guideline value for hardness.
- NIST — Special Publication 811, Guide to the SI — Atomic weights and concentration conventions.
Formula verification uses published references and hand-checked examples. We do not claim a named professional has reviewed this page; the method and sources are published instead.
Results are estimates for general information, based on standard geometry, hydraulics and published reference values. They are not engineering, medical, legal or professional advice. Verify critical calculations with a qualified professional and check local requirements.
Keep calculating
TDS Water Calculator
Interpret a TDS meter reading against WHO taste bands, convert to EC and compare with the EPA guideline.
Water pH Adjustment Calculator
Estimate the acid or alkali dose to raise or lower water pH using a carbonate equilibrium model.
Chlorine Dosage Calculator
Size a chlorine dose for a water tank from its volume and the target mg/L, for powder, liquid or tablets.
UV Disinfection Tank Calculator
Check a UV unit against the EPA dose table or NSF 55 Class A and find its flow limit or tank turnover time.