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

  1. If you have a laboratory report, enter the calcium and magnesium concentrations in mg/L. These take priority over a single reading.
  2. Otherwise enter a hardness reading from a test kit and choose the unit it was measured in: mg/L, ppm, GPG, °dH or °fH.
  3. Read the total hardness as CaCO₃, its USGS class and the unit conversions below.
  4. For a softener estimate, check the people, daily gallons and days between regenerations, then read the grain capacity.
  5. Remember that hardness is a scale issue, not a health limit. Use a laboratory test for drinking-water safety decisions.

The formula

Total hardness (mg/L as CaCO₃) = Ca × 2.497 + Mg × 4.118
2.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 × days

Variables

SymbolMeaningUnitNote
CaCalcium ion concentrationmg/LConverted to a CaCO₃ equivalent by ×2.497.
MgMagnesium ion concentrationmg/LConverted to a CaCO₃ equivalent by ×4.118.
GPGGrains per gallongrains/US galThe unit used by most softener manufacturers.
GrainsSoftener capacity between regenerations—People × gallons × GPG × days.

USGS hardness classes

Classmg/L as CaCO₃GPGTypical observation
Soft0–600–3.5Little scaling, good lather
Moderately hard61–1203.5–7.0Some scale in kettles
Hard121–1807.0–10.5Noticeable scale and soap scum
Very hardover 180over 10.5Heavy 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.

  1. Calcium as CaCO₃ = 40 × 2.497 = 99.9 mg/L.
  2. Magnesium as CaCO₃ = 10 × 4.118 = 41.2 mg/L.
  3. Total = 99.9 + 41.2 = 141.1 mg/L, which is Hard (8.2 GPG).
  4. Daily grains = 4 × 75 × 8.2 = 2,460 grains.
  5. 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

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