Water Quality Analysis
Water Hardness Calculator

Enter ion concentrations or choose a quick TDS-based estimate

Ca
Calcium (Ca²⁺)
mg/L
Mg
Magnesium (Mg²⁺)
mg/L
Total Hardness (direct reading)
Your Water Hardness Results
Total Hardness as CaCO₃
mg/L (ppm)
Grains per Gallon
GPG
Parts per Million
PPM
German Degrees
°dH
French Degrees
°fH
Calcium Hardness
mg/L
Magnesium Hardness
mg/L
Hardness Scale
Soft Moderate Hard Very Hard 0 60 120 180 500+ mg/L as CaCO₃

How to Use This Water Hardness Calculator

Getting your water hardness result takes under 30 seconds — use either method below:

  1. Option A: Ion-based (most accurate) Enter your calcium (Ca²⁺) and magnesium (Mg²⁺) readings in mg/L from a lab report or home test kit. The calculator converts both ions to CaCO₃ equivalents and sums them for true total hardness.
  2. Option B: Direct reading If your test kit gives you a single hardness number — in GPG, PPM, mg/L, °dH, or °fH — enter it in the "Total Hardness" field and select the unit. The calculator converts to all other units instantly.
  3. Read your classification Results appear with a colour-coded classification (Soft / Moderate / Hard / Very Hard), your reading on a visual scale, and values in all major hardness units.
  4. Use the results Copy or print your results. Check the softener sizing guidance and use-case notes below to decide on treatment. Hard or very hard water typically requires a water softener or descaler.

Tip: Water hardness varies between seasons and supply sources. Test at least twice a year — once in summer (higher evaporation concentrates minerals) and once in winter — for an accurate annual picture.

Water Hardness Formula Explained

Total hardness is calculated as the sum of calcium and magnesium ion concentrations, both expressed as their equivalent weight of calcium carbonate (CaCO₃):

Total Hardness (mg/L CaCO₃) = (Ca²⁺ × 2.497) + (Mg²⁺ × 4.118)
GPG = mg/L ÷ 17.118
°dH (German degrees) = mg/L ÷ 17.848
°fH (French degrees) = mg/L ÷ 10.0

The multipliers 2.497 and 4.118 are derived from the ratio of the equivalent weight of CaCO₃ to the equivalent weight of Ca²⁺ and Mg²⁺ respectively. Since PPM and mg/L are numerically equal for dilute aqueous solutions, they are interchangeable for water hardness.

Hardness Classification Table (WHO / USGS)

Classificationmg/L (CaCO₃)GPG°dH°fHTypical Effect
Soft0 – 600 – 3.50 – 3.40 – 6No scale; may corrode pipes
Moderately Hard61 – 1203.5 – 7.03.4 – 6.76 – 12Slight scale; generally acceptable
Hard121 – 1807.0 – 10.56.7 – 10.112 – 18Noticeable scale on fixtures
Very Hard> 180> 10.5> 10.1> 18Heavy scale; reduces appliance life

Unit Conversion Quick Reference

FromTo mg/LTo GPGTo °dHTo °fH
1 mg/L (ppm)1÷ 17.118÷ 17.848÷ 10.0
1 GPG× 17.1181× 0.958× 1.712
1 °dH× 17.848× 1.0431× 1.785
1 °fH× 10.0× 0.584× 0.5601

When to Test and Treat Water Hardness

Understanding your water hardness level is essential in several situations:

Household plumbing and appliances: Hard water causes limescale buildup inside pipes, water heaters, washing machines, and dishwashers. Even 180 mg/L water can reduce a water heater's efficiency by up to 25% and halve its lifespan. Testing hardness before installing a new appliance tells you whether a softener is cost-effective.

Water tank treatment and disinfection: Hardness affects the efficacy of chlorine disinfection — very hard water requires higher chlorine doses to achieve the same kill rate. If you use a water tank for storage, knowing your hardness helps you dose chlorine correctly and anticipate sediment buildup on tank walls.

Agricultural irrigation: Water above 300 mg/L can damage drip emitters and block irrigation lines with calcium carbonate deposits. It can also raise soil pH over time, reducing nutrient availability for crops sensitive to pH.

Aquariums and hydroponics: Most freshwater fish thrive between 50–150 mg/L. Very soft or very hard water stresses aquatic life and alters nutrient uptake in hydroponic systems.

Industrial boilers and cooling towers: Scale from hard water in industrial systems causes catastrophic efficiency losses and equipment failure. Most industrial standards require water below 50 mg/L for boiler feed water.

Frequently Asked Questions

What is water hardness and why does it matter?

Water hardness is the concentration of dissolved calcium and magnesium ions, measured as their equivalent weight of calcium carbonate (CaCO₃). It matters because hard water causes limescale deposits in pipes and appliances, increases soap consumption, affects the taste of water, and can influence the effectiveness of water treatment chemicals like chlorine.

What is the difference between GPG and PPM for water hardness?

GPG (grains per gallon) is commonly used in the United States, while PPM (parts per million) and mg/L are used internationally and are numerically equivalent for water. One GPG equals approximately 17.12 mg/L or 17.12 PPM. Water softener specifications in the US are almost always given in GPG; lab reports and WHO guidelines use mg/L.

How do I calculate water hardness from calcium and magnesium levels?

Multiply your calcium (Ca²⁺) reading in mg/L by 2.497, multiply your magnesium (Mg²⁺) reading by 4.118, and add the two results. This gives total hardness as mg/L CaCO₃. For example, 40 mg/L Ca²⁺ and 10 mg/L Mg²⁺ gives (40 × 2.497) + (10 × 4.118) = 99.9 + 41.2 = 141.1 mg/L — classified as hard water.

Is hard water safe to drink?

Yes — hard water is generally safe and even contributes small amounts of calcium and magnesium to your diet. The WHO does not set a health-based guideline value for hardness. However, very hard water (above 500 mg/L) can have a noticeably bitter taste, and some studies suggest associations between very soft water and cardiovascular risk due to lack of mineral intake. The main concerns with hard water are practical: scale, soap scum, and appliance damage.

What size water softener do I need for hard water?

Water softener capacity is typically measured in grains of hardness removed per regeneration cycle. Multiply your daily water usage (in gallons) by your water hardness in GPG to get daily grain removal needed, then multiply by 7 (days between regenerations). For example: 4 people × 75 gallons/day × 10 GPG = 3,000 grains/day × 7 = 21,000 grains capacity needed minimum. Most household softeners range from 24,000 to 48,000 grains.

Does water hardness affect chlorine disinfection in storage tanks?

Yes, though indirectly. High hardness alone doesn't consume chlorine, but the associated high pH in carbonate-buffered hard water significantly reduces the disinfection power of free chlorine — hypochlorous acid (the active form) drops sharply above pH 7.5. At pH 8.0, only about 20% of free chlorine is in the active hypochlorous form. If your water is hard and has a high pH, you'll need to add more chlorine or adjust pH to achieve effective disinfection. Use our Chlorine Dosage Calculator for precise dosing guidance.

How do I test water hardness at home?

The easiest methods are: (1) a hardness test strip dipped in tap water for 1–2 seconds — colour change is matched against a chart; (2) a liquid drop test kit using EDTA titration — add drops until the sample changes colour and count drops; (3) a digital TDS meter, which gives total dissolved solids rather than true hardness, but correlates roughly. For accurate calcium and magnesium readings, send a sample to a certified water testing lab. Many municipal water utilities also publish annual water quality reports with hardness figures.

Related Calculators