Skip to content

Water Hardness Calculator

Calcium and magnesium as CaCO₃, in every unit used.

Work out Water Hardness. Calcium and magnesium as CaCO₃, in every unit used. Written for the problem set you are stuck on.

Written and maintained by Mohit PatelLast checked August 4, 2026How we build these
mg/L

From a water report, as the element rather than as CaCO₃.

mg/L

Total hardness as CaCO₃

249.2 mg/L

Very hard · 14.56 grains per gallon

Total hardness249.2 mg/L as CaCO₃
From calcium199.78 mg/L
From magnesium49.42 mg/L
Grains per US gallon14.558
German degrees (°dH)13.962
ClassificationVery hard

Everything is converted to "as CaCO₃" because that is the convention every water report uses. It lets calcium and magnesium be added together despite their different molar masses — 1 mg/L of calcium counts as 2.50 mg/L of hardness, while 1 mg/L of magnesium counts as 4.12. The usual bands are under 60 mg/L soft, 60–120 moderately hard, 120–180 hard and above 180 very hard. Water softeners are typically sized in grains per gallon, which is why that unit is here too. Hardness is what scales kettles and reduces lather. It is not a health concern at ordinary levels — hard water is a nuisance rather than a hazard, and some studies associate it with mild cardiovascular benefit.

How the Water Hardness Calculator works

Enter the calcium and magnesium from a water report and this converts both to the calcium carbonate equivalent that every hardness scale is built on, then reports the total in mg/L, grains per gallon and German degrees.

Also known as: grains per gallon calculator · ppm to grains hardness converter · how hard is my water · calcium hardness calculator

Frequently asked questions

How is water hardness calculated?

Convert calcium and magnesium to their calcium carbonate equivalents and add them. One mg/L of calcium counts as 2.50 mg/L of hardness and one mg/L of magnesium as 4.12, because of their different molar masses.

What counts as hard water?

Under 60 mg/L as CaCO₃ is soft, 60 to 120 moderately hard, 120 to 180 hard, and above 180 very hard. Most water reports state the figure in these terms already.

What is a grain per gallon?

The unit water softeners are sized in, mostly in the United States. One grain per US gallon is 17.1 mg/L as CaCO₃, so 250 mg/L water is about 14.6 gpg.

Is hard water bad for you?

No, at ordinary levels it is a nuisance rather than a health concern — it scales kettles, reduces lather and marks glassware. Some epidemiological studies associate hard water with a small cardiovascular benefit.

Put this calculator on your own site

Free to use, on any site, commercial or not. Paste this where you want it to appear. It is a plain iframe, so it works in WordPress, Squarespace, Wix, Webflow, Ghost and anything else that accepts HTML.

The one-line version
<iframe src="https://www.thecalclibrary.com/embed/water-hardness-calculator" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px" loading="lazy" title="Water Hardness Calculator"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:6px 0 0;color:#64748b">Powered by <a href="https://www.thecalclibrary.com/water-hardness-calculator" style="color:#64748b">Water Hardness Calculator</a> from The Calc Library</p>

The only condition is that the credit line below the frame stays in place. That one line is what pays for the tool being free — it is how anyone else finds it.

Related calculators