Skip to main content
Household

Water Hardness Calculator

The water hardness calculator converts calcium ion and magnesium ion readings from a water test into a single total hardness number. It also classifies your water and estimates how much softener salt your household needs. Homeowners, renters, and property managers use it to turn raw lab results into clear, actionable numbers. If you have a water test report, this tool does the rest.

Calculation mode

Start by calculating total hardness from calcium and magnesium, or switch modes once you already know hardness in grains per gallon.

Enter calcium as Ca²⁺ from a lab report or test kit, in mg/L or ppm.
Enter magnesium as Mg²⁺ from a lab report or test kit, in mg/L or ppm.
Optional. Enter total alkalinity as CaCO₃ to estimate temporary and permanent hardness.
Enter total hardness in grains per gallon for the softener sizing estimate.
Use your water bill if available; otherwise 75–100 gallons per person per day is a common household planning range.
Number of people whose daily water use the softener will serve.
Answer 136.8 mg/L as CaCO₃ · Hard
Total hardness 136.8 mg/L as CaCO₃
Grains per gallon 7.99 gpg
German degrees 7.67 °dH
French degrees 13.68 °fH
Hardness category Hard (121–180 mg/L as CaCO₃)
Temporary hardness Enter alkalinity to split
Permanent hardness Enter alkalinity to split
Practical note Scale control or softening is often worth evaluating.

How to check the math

Total hardness from calcium and magnesium

Multiply calcium concentration by 2.497, multiply magnesium concentration by 4.118, then add the two results to get total hardness as CaCO3.

Total Hardness (mg/L) = 2.497 × Calcium + 4.118 × Magnesium
Unit conversions for hardness

Divide total hardness in milligrams per liter by 17.118 for grains per gallon, by 17.848 for German degrees, or by 10 for French degrees.

Grains per Gallon = Total Hardness (mg/L) / 17.118; German Degrees (dH) = Total Hardness (mg/L) / 17.848; French Degrees (fH) = Total Hardness (mg/L) / 10
Hardness classification (usgs)

Total hardness at or below 60 milligrams per liter as CaCO3 is soft; 61 to 120 is moderately hard; 121 to 180 is hard; above 180 is very hard.

Soft: Total Hardness ≤ 60 mg/L; Moderately Hard: 61–120 mg/L; Hard: 121–180 mg/L; Very Hard: Total Hardness > 180 mg/L
Temporary / permanent hardness decomposition

Temporary hardness equals the smaller of total alkalinity and total hardness. Subtract temporary hardness from total hardness to find permanent hardness.

Temporary Hardness = min(Alkalinity as CaCO3, Total Hardness); Permanent Hardness = Total Hardness − Temporary Hardness
Softener resin capacity sizing

Multiply hardness in grains per gallon by daily water use by household size, then apply the 1.5 safety factor to size the resin.

Resin Capacity (grains) = Hardness (gpg) × Daily Usage (gal) × Household Size × 1.5
Salt per regeneration and days between regenerations

Divide resin capacity by 3,000 to find salt needed per regeneration cycle. Divide capacity by daily hardness load to find days between cycles.

Salt (lbs) = Resin Capacity (grains) / 3000; Days Between Regenerations = Resin Capacity (grains) / (Hardness (gpg) × Daily Usage (gal) × Household Size)
Methodology

How the answer is computed

The calculator starts with your calcium ion and magnesium ion readings in milligrams per liter. It combines those values into a total hardness figure expressed as CaCO3, the standard unit used across the water treatment industry. That result then converts to grains per gallon, which most softener sizing charts rely on. From there, the tool matches your number to a hardness class.

Worked examples

See the math step by step

Four-person household sizes a softener for very hard city water

Marcus and Sarah live in Phoenix with their two teenage kids. Their city water report listed 80 mg/L calcium and 25 mg/L magnesium. Calcium contributes 2.497 × 80 = 199.76 mg/L as CaCO3, and magnesium adds 4.118 × 25 = 102.95 mg/L as CaCO3. Together, 199.76 + 102.95 = 302.71 mg/L as CaCO3 — firmly in the very hard range, which starts at 180 mg/L.

Converting to grains per gallon makes softener sizing easier: 302.71 ÷ 17.118 = 17.68 gpg. Their family of four uses 60 gallons per person per day, so total daily flow is 60 × 4 = 240 gallons. At that hardness level, 17.68 × 240 = 4,243.2 grains of dissolved minerals enter their plumbing every day.

The softener resin holds 6,360 grains before it needs to regenerate. Dividing capacity by the daily load gives 6,360 ÷ 4,243.2 = 1.5 days between regeneration cycles. Each cycle consumes about 2.1 pounds of salt. Marcus and Sarah should plan to refill the brine tank about twice a week.

Couple checks well water hardness before choosing a softener

Jen and Paul recently moved into a farmhouse in rural Vermont. Their well water tested at 40 mg/L calcium and 15 mg/L magnesium. Calcium accounts for 2.497 × 40 = 99.88 mg/L as CaCO3, and magnesium adds 4.118 × 15 = 61.77 mg/L as CaCO3. Together, 99.88 + 61.77 = 161.65 mg/L as CaCO3 — classified as hard, between 120 and 180 mg/L.

Their alkalinity reading came in at 110 mg/L as CaCO3, which is below total hardness. That means 110 mg/L is temporary hardness — the portion boiling can remove — and 161.65 − 110 = 51.65 mg/L is permanent. A softener or ion-exchange system handles permanent hardness.

Converting to grains per gallon: 161.65 ÷ 17.118 = 9.44 gpg. For two people using 65 gallons each per day, daily flow is 65 × 2 = 130 gallons. That puts the daily grain load at 9.44 × 130 = 1,227.2 grains. A compact softener cycling every few days handles that load with ease.

When to use this calculator

You might reach for this tool right after getting a home water test back from a lab. White scale on your faucets, shower heads, or kettle is a common sign of hard water, and this calculator helps you put a number on the problem. Families moving into a new house often run a water test to decide whether a softener is worth the cost. It also helps current softener owners check whether their salt settings still match their water supply.

Reading Your Water Test Report

A standard home water test lists calcium and magnesium as separate values, usually in milligrams per liter. Some reports also show total hardness directly, already expressed as CaCO3. Either way, the calculator accepts both formats and handles the conversion for you. Check the units column on your report before entering numbers to make sure your result is accurate.

Hard Water and Your Home

Hard water leaves mineral deposits on pipes, fixtures, and appliances over time. A water heater working against scale buildup can use significantly more energy than one with clean coils. Soap and shampoo lather less in hard water, so you often end up using more product to get the same result. Knowing your hardness level helps you weigh the cost of treatment against the cost of doing nothing.

Using the Softener Estimate

The softener sizing output gives you two numbers: estimated salt per regeneration cycle and days between cycles. Both depend on your household size and estimated daily water use. Treat these as a starting point rather than a final setting. Your actual softener may run slightly more or less than the estimate, since resin capacity and day-to-day water habits both affect the real-world result.

Assumptions

What we assume

  • The formula converts calcium and magnesium from mg/L to CaCO₃ amounts using fixed atomic weight ratios.
  • The result treats all hardness as calcium carbonate, which matches standard US water report conventions.
  • Inputs are interpreted as representing a single water source with uniform chemistry throughout the day.
  • The formula assumes household water use scales with the number of people at home.
  • No correction for water temperature is applied; hardness values are treated as measured at room temperature.
Limitations

What this skips

  • Does not account for iron or manganese, which cause staining and taste problems separate from hardness.
  • Excludes the effect of pH on scale buildup. Water with the same hardness can behave very differently at high or low pH.
  • Does not model industrial or commercial systems, where flow rates and pipe materials change scale formation.
  • Ignores seasonal changes in source water hardness. Levels can shift by 20 mg/L or more between wet and dry months.
  • Does not recommend a softener size or salt type. It only estimates the hardness load the equipment must handle.
Common mistakes

What people miss

  • You enter calcium and magnesium in grains per gallon instead of mg/L. This inflates the result by a factor of 17.
  • Mixing up the two calculation modes gives totals that don't match your test kit reading.
  • Forgetting to include magnesium leaves out up to 30% of true hardness in some tap water samples.
  • You count each adult and child separately. Entering the household as one person understates daily water demand.
  • Adding alkalinity as CaCO₃ when your test kit reports it as bicarbonate shifts the softener estimate.
References

References

  1. Hardness water — usgs.gov

    usgs.gov · accessed 2026-05-21

  2. How is water hardness measured — culligan.com

    culligan.com · accessed 2026-05-21

  3. Water hardness — aqion.de

    aqion.de · accessed 2026-05-21

  4. Water hardness converter — crystalquest.com

    crystalquest.com · accessed 2026-05-21

  5. Water hardness introduction — snowate.com

    snowate.com · accessed 2026-05-21

  6. 9020 Determination of total and calcium hardness — pm.szczecin.pl

    pm.szczecin.pl · accessed 2026-05-21

  7. Water hardness calculator — pearson.com

    pearson.com · accessed 2026-05-21

  8. What is compensated hardness and how to calculate it — softprowatersystems.com

    softprowatersystems.com · accessed 2026-05-21

  9. Softening benefits calculator — wqrf.org

    wqrf.org · accessed 2026-05-21

  10. Info softener size — h2odistributors.com

    h2odistributors.com · accessed 2026-05-21

  11. Hardness drinking water — healthvermont.gov

    healthvermont.gov · accessed 2026-05-21

  12. Whats the best calculator for iron hardness well water — softprowatersystems.com

    softprowatersystems.com · accessed 2026-05-21

Frequently asked questions

How do I use a water hardness calculator?
Enter your calcium and magnesium levels in mg/L. The calculator combines them into one hardness number expressed in mg/L as CaCO₃. If your lab report shows only a single total hardness figure, enter that number directly and leave the other inputs empty.
How do I use a water hardness calculator to convert calcium and magnesium levels into total hardness in mg/L as CaCO₃?
Multiply your calcium by 2.497 and your magnesium by 4.118, then add the two products for total hardness. Both factors convert the ions to the same CaCO₃ scale so their values can be added. Softener sizing formulas apply a 1.5 safety factor to that total — it covers peak usage days and keeps the resin bed from running short.
How do I convert water hardness from ppm to grains per gallon?
Divide the ppm value by 17.118 to get grains per gallon. Ppm, grains per gallon, German degrees (dH), and French degrees (fH) all express the same hardness value. They are different unit dialects used across countries and industries, so the number changes but the water does not.
How do I convert water hardness from grains per gallon to ppm?
Multiply the grains-per-gallon value by 17.118 to get the ppm equivalent. That ppm number applies whether you are sizing a whole-house softener or treating only the hot water lines. Scale builds fastest in heaters and boilers, so treating hot water alone cuts costs without removing hardness from drinking taps.
How can I tell if my water is soft or hard from a hardness number?
A total hardness number below 60 mg/L indicates soft water, and readings above 180 mg/L indicate very hard water. The range from 61 to 180 mg/L covers moderately hard and hard categories. Alkalinity only matters if you need to separate temporary hardness — the part that drops out when heated — from permanent hardness that stays dissolved.