Water Hardness Calculator
Enter calcium and magnesium ion concentrations, or your EDTA titration data, to get total water hardness in mg/L as CaCO3, with a classification gauge.
💧 What is Water Hardness?
Water hardness is a measure of the total dissolved calcium and magnesium ion concentration in a water sample, expressed as an equivalent mass of calcium carbonate (CaCO3) in milligrams per liter. It is one of the most commonly tested water quality parameters, reported on everything from municipal water quality reports to home test strip kits.
Water treatment plants use hardness readings to decide whether softening is needed before distribution. Homeowners with well water test hardness to size a water softener correctly. Laboratories use EDTA complexometric titration, the classic analytical method for hardness, to get a precise reading when only a titration burette and a color-change indicator are available, no ion-selective probe required. Boiler and cooling tower operators monitor hardness closely, since scale buildup from hard water can reduce heat transfer efficiency and damage equipment over time.
A common misconception is that "hardness" measures water purity or safety. It does not, hard water is not classified as a health risk, and the World Health Organization has not set a health-based guideline value for it. Hardness is purely a mineral content measurement that predicts scaling behavior, soap and detergent performance, and taste, not water safety.
This calculator supports the two most common ways hardness data arrives: directly from measured Ca2+ and Mg2+ ion concentrations (for example, from an ion chromatography or ICP report), or from raw EDTA titration volumes collected in a lab. Either way, the result is total hardness in mg/L as CaCO3, classified against the standard soft-to-very-hard scale.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — Moderately mineralized well water (ions)
A well water sample tests at 40 mg/L Ca2+ and 10 mg/L Mg2+.
Example 2 — Very hard groundwater (ions)
A groundwater sample tests at 80 mg/L Ca2+ and 24 mg/L Mg2+.
Example 3 — EDTA titration of a tap water sample
A 100 mL tap water sample requires 15.4 mL of 0.01 M EDTA to reach the endpoint.
❓ Frequently Asked Questions
🔗 Related Calculators
What is water hardness?
Water hardness is a measure of the total concentration of dissolved calcium and magnesium ions in water, expressed as an equivalent mass of calcium carbonate (CaCO3) in milligrams per liter. Harder water contains more dissolved minerals, typically picked up as groundwater passes through limestone or chalk deposits.
What is the formula for water hardness from Ca2+ and Mg2+ concentrations?
Hardness (mg/L as CaCO3) = (Ca2+ concentration in mg/L multiplied by 2.497) + (Mg2+ concentration in mg/L multiplied by 4.118). These factors convert each ion's mass into its chemically equivalent mass of calcium carbonate, based on the molar mass ratio between CaCO3 and each ion.
How do you calculate water hardness from an EDTA titration?
Hardness (mg/L as CaCO3) = (volume of EDTA used in mL multiplied by EDTA molarity multiplied by 100,090) divided by the sample volume in mL. This works because EDTA forms a 1:1 complex with calcium and magnesium ions at the titration endpoint, so moles of EDTA used directly equals moles of total hardness-causing ions.
What is the difference between soft, moderately hard, hard, and very hard water?
Using the common USGS scale (all values in mg/L as CaCO3 equivalent): soft water is 0 to 60, moderately hard is 61 to 120, hard is 121 to 180, and very hard is anything above 180. Most municipal tap water in the United States falls in the moderately hard to hard range, though this varies significantly by region and local geology.
Why is hardness reported as CaCO3 equivalent instead of separate Ca and Mg values?
Reporting hardness as a single CaCO3-equivalent number lets water samples from different sources, with different ratios of calcium to magnesium, be compared on one common scale. It also directly relates to how much scale-forming precipitate the water could produce, since CaCO3 is the primary mineral responsible for scale buildup in pipes, kettles, and boilers.
Does hard water cause any health problems?
Hard water is not considered a health hazard, and some studies even associate a modest cardiovascular benefit with dietary calcium and magnesium from drinking water. The World Health Organization has not set a health-based guideline for hardness. The practical downsides are almost entirely aesthetic and mechanical, scale buildup in pipes and appliances, reduced lathering of soap, and spotting on dishes and glassware.
How does a water softener reduce hardness?
Most residential water softeners use ion exchange resin, which swaps calcium and magnesium ions in the incoming water for sodium (or potassium) ions held on the resin beads. The resin is periodically regenerated with a concentrated brine solution that flushes out the accumulated calcium and magnesium and recharges it with fresh sodium ions.
What is a grain per gallon and how does it relate to mg/L?
A grain per gallon (gpg) is a hardness unit commonly used on US water softener and test kit labels, defined from 1 grain (a small historical mass unit, 64.799 mg) dissolved in 1 US gallon of water. One gpg equals approximately 17.118 mg/L as CaCO3, so a reading of 10 gpg corresponds to about 171 mg/L, in the hard to very hard range.
Why does magnesium have a larger hardness conversion factor than calcium?
The conversion factor scales each ion's mass to its chemically equivalent mass of CaCO3, based on molar mass. Magnesium has a lower atomic mass (24.31 g/mol) than calcium (40.08 g/mol), so a given mass of magnesium represents more moles, and therefore contributes more equivalent CaCO3 mass per milligram, hence its larger factor of 4.118 versus calcium's 2.497.
Can I use this calculator for a water sample with only magnesium or only calcium?
Yes. Enter 0 for whichever ion is not present or was not measured, and the calculator will compute hardness from the remaining ion alone. Most natural water sources contain both ions, but this flexibility is useful for synthetic samples, spiked standards, or single-ion analytical checks.