My Calculator

Water Hardness Calculator

Find total water hardness as CaCO3 from calcium and magnesium levels or an EDTA titration, convert freely between mg/L, grains per gallon, dGH, °fH and °Clark, and estimate lime-soda softening chemical doses, with full step-by-step working.

Water hardness

Choose how you want to work out hardness.

Most home water-test kits and lab reports give calcium and magnesium in mg/L (equal to ppm) as the free ion — not already as CaCO3.

Result

Total hardness

149.3mg/L as CaCO3 (ppm)
Hard water (121 - 180 mg/L)
Ca

99.89 mg/L

From calcium

Mg

49.41 mg/L

From magnesium

%

66.9%

Calcium share

%

33.1%

Magnesium share

Reading this result: This water is hard enough that scale buildup in kettles, water heaters, and pipes is likely over months to years, and a water softener is commonly considered at this level.

Hardness Scale

Where your result sits against the standard soft-to-very-hard bands.

Hard
060120180300mg/L as CaCO3■ Calcium: 99.89 mg/L■ Magnesium: 49.41 mg/L

Step-by-Step: Water Hardness Calculation

Here's exactly how this answer was calculated, one step at a time.

Given: Ca = 40 mg/L, Mg = 12 mg/L

  1. Step 1: Convert calcium to CaCO3 equivalent

    2.497 is the ratio of CaCO3's molar mass (100.09 g/mol) to calcium's molar mass (40.08 g/mol).

    Ca hardness = 40 mg/L x 2.497 = 99.89 mg/L as CaCO3
  2. Step 2: Convert magnesium to CaCO3 equivalent

    4.118 is the ratio of CaCO3's molar mass to magnesium's molar mass (24.31 g/mol).

    Mg hardness = 12 mg/L x 4.118 = 49.41 mg/L as CaCO3
  3. Step 3: Add both contributions together

    Total hardness = 99.89 + 49.41 = 149.3 mg/L as CaCO3
  4. Step 4: Classify the result

    149.3 mg/L falls in the "Hard" band (121 - 180 mg/L).

Total hardness as CaCO3:

149.3 mg/L

Water Hardness Calculator: Turn a Water Test Into a Real Answer

This free water hardness calculator takes the numbers from a home test kit, a lab report, or a titration and turns them into one clear answer: how hard is this water, really, and what does that number mean? Water hardness is simply the amount of dissolved calcium and magnesium in water. These two minerals get into water naturally as it moves through rock and soil — limestone, chalk, and gypsum are common sources — so almost no water source is completely free of them. The more calcium and magnesium a water sample carries, the "harder" it's said to be.

Hardness is usually reported as an equivalent amount of calcium carbonate (CaCO3), even though the water itself may not contain any calcium carbonate at all — it's just a common yardstick that lets calcium and magnesium be added together and compared on one scale. This calculator covers the three ways people usually need to work with hardness: converting calcium and magnesium concentrations into total hardness, working out hardness directly from a lab EDTA titration, and estimating the lime and soda ash a treatment plant would need to soften a given water supply.

Every result comes with the classification (soft, moderately hard, hard, or very hard), instant conversion into grains per gallon, German degrees, French degrees, English/Clark degrees, mmol/L and meq/L, a visual scale chart, and a complete step-by-step written solution so you can see exactly how the number was built.

What Is Water Hardness, in Plain Words?

Water hardness measures how much calcium and magnesium a water sample contains. Rain water starts out essentially soft, but as it flows over and through rock — especially limestone and chalk, which are largely calcium carbonate — it dissolves a small amount of the mineral into itself. Groundwater from wells is usually harder than surface water like lakes and rivers, because it spends longer in contact with rock before it's drawn.

Hard water isn't dangerous to drink; in fact, calcium and magnesium are both minerals the body needs, and many public health bodies consider moderately hard water perfectly healthy. What hard water does affect is everyday household life: soap and shampoo lather less and leave a filmy residue, dishes and glassware can look spotty after washing, and over months and years, dissolved minerals leave behind a chalky white or grey scale inside kettles, pipes, water heaters, and washing machines. That scale build-up is exactly why the hardness number matters — it's the practical warning sign for how much maintenance a home's plumbing and appliances are likely to need.

The Water Hardness Formula

Total hardness as CaCO3 is calculated by converting the measured calcium and magnesium concentrations (in mg/L) into their CaCO3-equivalent amounts, then adding them together:

Total hardness (mg/L as CaCO3) = 2.497 × [Ca²⁺, mg/L] + 4.118 × [Mg²⁺, mg/L]

Those two numbers, 2.497 and 4.118, come directly from molar mass ratios. Calcium carbonate has a molar mass of 100.09 g/mol; calcium itself has a molar mass of 40.08 g/mol, so 100.09 ÷ 40.08 = 2.497 — the amount of CaCO3-equivalent hardness that one milligram of pure calcium is worth. Magnesium's molar mass is 24.31 g/mol, so 100.09 ÷ 24.31 = 4.118 for the same reason. Because magnesium is a lighter atom, the same weight of magnesium contributes noticeably more hardness than the same weight of calcium — this is a very common source of confusion, and it's exactly why this calculator does the conversion rather than just adding the raw mg/L numbers together.

Worked Example: From a Home Test Kit Reading

Suppose a lab report shows 40 mg/L of calcium and 12 mg/L of magnesium. Converting each: calcium contributes 40 × 2.497 = 99.9 mg/L as CaCO3, and magnesium contributes 12 × 4.118 = 49.4 mg/L as CaCO3. Adding them gives a total hardness of about 149.3 mg/L as CaCO3, which falls into the "hard" band (121-180 mg/L). Notice that magnesium, despite being present at less than a third the concentration of calcium, still contributes nearly half as much hardness — that's the molar mass difference at work.

Finding Hardness from an EDTA Titration

Labs and water treatment operators most often measure hardness directly with an EDTA titration rather than measuring calcium and magnesium separately. A known volume of water sample is titrated against a standardized EDTA solution using an Eriochrome Black T indicator, which changes from wine-red to blue at the endpoint, once every free calcium and magnesium ion has been bound up by the EDTA.

The formula converts the titration data straight into hardness: Hardness (mg/L as CaCO3) = (mL of EDTA used × molarity of EDTA × 100,090) ÷ mL of sample. The constant 100,090 is just calcium carbonate's molar mass expressed in milligrams per mole, used because the EDTA reacts with hardness-causing ions in an exact 1:1 mole ratio. For example, titrating a 100 mL sample with 14.8 mL of 0.01 mol/L EDTA gives (14.8 × 0.01 × 100,090) ÷ 100 ≈ 148.1 mg/L as CaCO3 — almost exactly the same result as the worked example above, which is why the two methods are cross-checked against each other in real lab work.

Converting Between Hardness Units

Different countries and industries report hardness on different scales, which is a common source of mismatched numbers when comparing a US water softener spec sheet to a European one. This calculator converts freely between all of the scales in everyday use:

  • mg/L as CaCO3 (also called ppm) — the standard scientific unit, used throughout North America and in most lab reports.
  • Grains per gallon (gpg) — the unit US water softeners are sized and rated in; 1 gpg = 17.118 mg/L as CaCO3.
  • °dH, German degrees — common on European water hardness charts and appliance manuals; 1 °dH = 17.848 mg/L as CaCO3.
  • °fH, French degrees — used across France and some other European countries; 1 °fH = 10 mg/L as CaCO3 exactly.
  • °e or °Clark, English degrees — the traditional UK unit; 1 °Clark = 14.254 mg/L as CaCO3.
  • mmol/L and meq/L — SI-style units seen in some scientific and clinical contexts; 1 mmol/L = 100.09 mg/L, and 1 meq/L = 50.045 mg/L, since calcium carbonate is divalent.

How Hard Water Is Classified

The classification used throughout this calculator follows the scale most widely referenced by water utilities and the US Geological Survey: 0-60 mg/L as CaCO3 is soft water, 61-120 mg/L is moderately hard, 121-180 mg/L is hard, and anything above 180 mg/L is very hard. Municipal water supplies commonly fall somewhere in the moderate-to-hard range, while well water — especially in limestone-rich regions — can easily reach the very hard category.

These bands aren't a hard safety cutoff; they're a practical guide to how noticeable hardness-related effects like scale, spotting, and reduced soap lather are likely to be, and roughly where a household water softener starts to become worth considering.

Estimating a Lime-Soda Softening Dose

Water treatment plants that soften water at scale most often use the lime-soda process, which raises the water's pH so calcium and magnesium precipitate out as insoluble solids that settle and can be removed. This calculator's softening mode gives a simplified, first-pass estimate of that process, splitting total hardness into two parts based on total alkalinity.

Carbonate hardness (sometimes called temporary hardness) is whichever is smaller: the total hardness or the total alkalinity. This portion is balanced by bicarbonate ions already in the water, and it's removed with lime — Ca(OH)2 — alone, which raises pH enough to convert bicarbonate into insoluble carbonate. Non-carbonate hardness (permanent hardness) is whatever hardness is left once alkalinity is used up; this portion needs soda ash — Na2CO3 — added as well, to supply the extra carbonate ion needed to precipitate it.

Once both amounts are known in CaCO3-equivalent terms, they're converted to the actual chemical doses using the same kind of molar mass ratio used earlier: lime dose = carbonate hardness × (74.09 ÷ 100.09), and soda ash dose = non-carbonate hardness × (105.99 ÷ 100.09). If a flow rate is entered, the calculator also scales these doses up into a daily chemical mass in kilograms per day — a quick way to size chemical storage and feed rates for a planning-level estimate. A full treatment-plant design also has to account for free carbon dioxide, excess lime for complete magnesium removal, and the exact pH needed to drive both precipitation reactions to completion, so any real dosing plan should still be confirmed with bench-scale jar testing.

Common Mistakes When Calculating Water Hardness

The single most common mistake is adding raw calcium and magnesium mg/L values together directly, without converting each into its CaCO3-equivalent amount first. Because magnesium's conversion factor (4.118) is much larger than calcium's (2.497), skipping this step under-counts hardness whenever magnesium makes up a meaningful share of it — which is most natural water.

A second common mistake is mixing up units when comparing hardness numbers from different sources — for example, reading a European appliance manual's °dH rating as if it were already in mg/L, which understates true hardness by roughly a factor of 17.8. Always confirm which scale a number is quoted in before comparing it against another reading, or just run both through this calculator's unit converter.

For the softening calculation, a common mistake is forgetting that non-carbonate hardness can only exist when total hardness exceeds total alkalinity — if alkalinity is equal to or greater than hardness, the entire hardness is carbonate hardness, and no soda ash is needed at all.

Why Water Hardness Matters at Home

Beyond the numbers, hardness has a real, everyday cost. Hard water reduces soap and detergent efficiency, meaning more product is needed to get the same clean — that adds up in laundry and dishwashing costs over a year. Scale build-up inside water heaters reduces heating efficiency and can shorten the appliance's working life, since the mineral layer acts as insulation between the heating element and the water. Pipes, faucets, and shower heads gradually narrow and clog with scale in very hard water areas, and coffee makers and kettles need more frequent descaling.

None of this makes hard water unsafe — millions of people drink moderately hard or hard water every day without any health concern, and in some cases the calcium and magnesium content is even a small dietary plus. The hardness number from this calculator is best thought of as a maintenance and planning figure: it tells a homeowner or facilities manager roughly how much scale-related upkeep to expect, and whether a water softener, descaling routine, or treatment step is worth the investment.

Water Hardness Calculator: Quick Reference Summary

Total hardness (mg/L as CaCO3) = 2.497 × Ca (mg/L) + 4.118 × Mg (mg/L). From an EDTA titration, hardness (mg/L as CaCO3) = (mL EDTA × molarity × 100,090) ÷ mL sample. Classification: 0-60 mg/L soft, 61-120 mg/L moderately hard, 121-180 mg/L hard, above 180 mg/L very hard. Convert to grains per gallon by dividing by 17.118, to °dH by dividing by 17.848, to °fH by dividing by 10, and to °Clark by dividing by 14.254.

This free calculator is intended to support learning, home water testing, and everyday water treatment planning. Real drinking water regulations, softener sizing, and treatment-plant chemical dosing all involve additional site-specific factors, so for anything safety-critical or regulatory, always confirm results against a certified lab test and your local water authority's guidance.

Frequently Asked Questions

What is water hardness measured in?

Water hardness is most commonly measured in mg/L (equivalent to ppm) as calcium carbonate, or CaCO3. Other common scales include grains per gallon, German degrees (°dH), French degrees (°fH), and English/Clark degrees.

What is the formula for water hardness?

Total hardness (mg/L as CaCO3) = 2.497 x calcium concentration (mg/L) + 4.118 x magnesium concentration (mg/L). The two multipliers come from the molar mass ratio of CaCO3 to calcium and to magnesium.

What hardness level counts as hard water?

Using the common classification, 0-60 mg/L as CaCO3 is soft, 61-120 mg/L is moderately hard, 121-180 mg/L is hard, and anything above 180 mg/L is considered very hard.

Why does magnesium count for more hardness than calcium at the same concentration?

Magnesium has a lower molar mass (24.31 g/mol) than calcium (40.08 g/mol), so the same weight of magnesium represents more moles of the ion — and each mole contributes equally to hardness. That gives magnesium a larger conversion factor (4.118 vs 2.497).

How is water hardness measured in a lab?

Most labs use an EDTA titration: a measured water sample is titrated against a standardized EDTA solution with an Eriochrome Black T indicator until the color changes, and the volume of EDTA used converts directly into hardness as CaCO3.

How do I convert grains per gallon to mg/L?

Multiply grains per gallon by 17.118 to get mg/L as CaCO3. To go the other way, divide the mg/L value by 17.118.

Is hard water safe to drink?

Yes — hard water is not a health hazard, and the calcium and magnesium it contains are minerals the body needs. Hardness mainly affects household maintenance, such as scale build-up and soap efficiency, rather than safety.

What chemicals are used to soften hard water at a treatment plant?

The lime-soda process uses lime (calcium hydroxide) to remove carbonate hardness and soda ash (sodium carbonate) to remove non-carbonate hardness, raising pH so the calcium and magnesium precipitate out of solution.