ThisCalculator

Everyday

Water Hardness Calculator: Calculate Water Hardness

Updated · Standard formula, shown below

Total hardness 50 mg/L as CaCO3
Total hardness
2.92 grains per gallon
Result
Calcium concentration
40 mg/L
You entered
Magnesium concentration
10 mg/L
You entered

Water Hardness Calculator: Calculate Water Hardness

Calculate water hardness by adding the calcium and magnesium concentrations, expressed as milligrams per liter (mg/L) as calcium carbonate (CaCO₃). Enter the two concentrations below to get total hardness in mg/L as CaCO₃, the standard equivalent unit used to compare water samples.

Formula

When calcium and magnesium are already reported as their CaCO₃-equivalent concentrations, total hardness is their sum:

Hardness (mg/L as CaCO₃) = calcium hardness + magnesium hardness

  • Calcium hardness: calcium’s contribution to hardness, in mg/L as CaCO₃.
  • Magnesium hardness: magnesium’s contribution to hardness, in mg/L as CaCO₃.
  • Total hardness: the combined result, in mg/L as CaCO₃.

The calculator also converts the result to grains per US gallon: grains per gallon = mg/L as CaCO₃ ÷ 17.118. This conversion is useful because water-treatment equipment and some household references use grains per gallon (gpg). The inputs must be hardness contributions already expressed as CaCO₃ equivalents; plain elemental calcium and magnesium concentrations require conversion first.

Worked Example

Using the calculator’s defaults, calcium hardness is 40 mg/L as CaCO₃ and magnesium hardness is 10 mg/L as CaCO₃.

  1. Add the contributions: 40 + 10 = 50 mg/L as CaCO₃.
  2. Convert to US grains per gallon: 50 ÷ 17.118 = 2.921… gpg, which rounds to 2.92 gpg.

Thus, the headline result is 50 mg/L as CaCO₃, and its equivalent is 2.92 grains per US gallon.

What Water Hardness Measures

Hardness mainly describes dissolved calcium and magnesium. These minerals commonly enter water as it passes through soil and rock, particularly limestone and other mineral-rich formations. Hardness is not the same as total dissolved solids: water can contain other dissolved substances that contribute to its overall mineral content without being counted as hardness.

In some sources, a laboratory reports elemental calcium and magnesium rather than their CaCO₃-equivalent hardness contributions. In that case, convert each concentration before adding. If calcium and magnesium are in mg/L as the elements, a common conversion is:

  • Calcium hardness as CaCO₃ = calcium (mg/L) × 2.497.
  • Magnesium hardness as CaCO₃ = magnesium (mg/L) × 4.118.

For example, 16 mg/L of elemental calcium and 4 mg/L of elemental magnesium correspond to about 39.95 and 16.47 mg/L as CaCO₃, respectively. Their estimated total hardness is about 56.42 mg/L as CaCO₃. Do not add those elemental concentrations directly and label the sum as CaCO₃ hardness; their different chemical equivalent weights make that result inaccurate.

How to Measure It

The most reliable starting point is a water test that identifies the result and its units. A report may provide total hardness directly, or separate calcium and magnesium values. Check whether those separate results are elemental mg/L or already stated as CaCO₃ equivalents before using the calculator.

  • Laboratory analysis: can report hardness and other water characteristics, with units specified in the results.
  • Test strips or kits: can provide a convenient estimate, but follow the kit instructions, timing, sample volume, and color-reading guidance carefully.
  • Water-utility report: may give general source-water information. It may not represent a particular building, well, or tap if conditions differ.

For a US customary conversion, 1 mg/L as CaCO₃ is approximately 0.0584 gpg, and 1 gpg is approximately 17.118 mg/L as CaCO₃. In dilute water, mg/L and parts per million (ppm) are often treated as approximately equivalent, but the report’s stated unit should still be preserved when precision matters.

How to Interpret the Result

Common descriptive categories for hardness, expressed as mg/L as CaCO₃, are: soft, 0–60; moderately hard, 61–120; hard, 121–180; and very hard, above 180. These are broad conventions, not a substitute for a test report’s definitions or a universal health standard. A result near a category boundary can also shift between categories because of measurement uncertainty or rounding.

Hard water can leave mineral scale in kettles, water heaters, pipes, and fixtures. It may make soap harder to lather and can leave spots on dishes or glass. These effects are practical clues, not a dependable way to calculate hardness: appearance and lathering also depend on factors such as cleaning products, temperature, and other water chemistry.

Common Calculation Mistakes and Limits

  • Mixing units: convert both inputs to the same unit before adding them.
  • Mixing chemical forms: do not combine elemental calcium or magnesium directly with a CaCO₃-equivalent result.
  • Confusing US and Imperial gallons: the calculator’s gpg conversion uses the US gallon. An Imperial gallon is larger, so its grains-per-gallon value is not interchangeable.
  • Rounding too early: retain useful precision through the addition and conversion, then round the final display.
  • Assuming hardness is total mineral content: this calculation covers calcium and magnesium hardness, not every dissolved substance.

The calculator cannot infer hardness from a location, water appearance, or a general description such as “well water.” It also does not account for a specific test method’s uncertainty. Use measured concentrations, and consult the test provider if the report’s units or chemical basis are unclear.

Frequently Asked Questions

What is the formula for calculating water hardness?
When both components are expressed as CaCO₃ equivalents, add calcium hardness and magnesium hardness. The result is total hardness in mg/L as CaCO₃.

Can I calculate hardness from calcium and magnesium in mg/L?
Yes, if those values are elemental concentrations: multiply calcium by 2.497 and magnesium by 4.118, then add the converted results. If the report already labels them “as CaCO₃,” do not apply those factors again.

How do I convert water hardness to grains per gallon?
Divide mg/L as CaCO₃ by 17.118 to get grains per US gallon. For example, 100 mg/L is about 5.84 gpg.

Is ppm the same as mg/L for water hardness?
For dilute water, ppm and mg/L are commonly treated as approximately equal. For careful comparisons, use the unit printed on the test report and avoid implying greater precision than the measurement supports.

Can I tell water hardness without a test?
Scale, spots, and poor soap lather can suggest hard water, but they cannot give a dependable numerical result. A test or a suitable water report is needed to calculate hardness.

Related

Formula used
in c | Calcium concentration | mg/L | 40 | 0
in m | Magnesium concentration | mg/L | 10 | 0
out h | Total hardness | mg/L as CaCO3 | c + m | 0
out g | Total hardness | grains per gallon | h / 17.118 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.