Water Hardness Calculator
Calculate total water hardness from calcium and magnesium levels. Convert between ppm, grains per gallon, German degrees, French degrees, and mmol/L.
Water Hardness Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Total Hardness (mg/L as CaCO3) = Ca(mg/L) x 2.497 + Mg(mg/L) x 4.118
Worked example โ Total: 282 mg/L (Very Hard) | 16.5 gpg | 15.8 dH | 28.2 fH
Formula
Total Hardness (mg/L as CaCO3) = Ca(mg/L) x 2.497 + Mg(mg/L) x 4.118
Calcium and magnesium concentrations are converted to their CaCO3 equivalents using molecular weight ratios. Calcium: 100.09/40.08 = 2.497. Magnesium: 100.09/24.305 = 4.118. The sum gives total hardness in mg/L as CaCO3, which is the universal reporting standard. 1 gpg = 17.118 mg/L, 1 German degree = 17.848 mg/L, 1 French degree = 10 mg/L.
Worked Examples
Example 1: Municipal Water Hardness Test
Problem:A water test shows Calcium = 80 mg/L and Magnesium = 20 mg/L. What is the total hardness and classification?
Solution:Ca hardness = 80 x 2.497 = 199.8 mg/L as CaCO3 Mg hardness = 20 x 4.118 = 82.4 mg/L as CaCO3 Total hardness = 199.8 + 82.4 = 282.2 mg/L as CaCO3 Classification: Very Hard (>180 mg/L) Grains per gallon: 282.2 / 17.118 = 16.5 gpg
Result:Total: 282 mg/L (Very Hard) | 16.5 gpg | 15.8 dH | 28.2 fH
Example 2: Softener Salt Usage
Problem:Water hardness is 200 ppm (11.7 gpg). A family of 4 uses 300 gallons/day. How much salt does the softener use monthly?
Solution:Daily grains = 11.7 gpg x 300 gal = 3,510 grains/day Monthly grains = 3,510 x 30 = 105,300 grains/month Regenerations = 105,300 / 25,000 = 4.2 per month Salt per regen: ~8 lbs Monthly salt: 4.2 x 8 = 33.7 lbs (about one 40-lb bag)
Result:Monthly: ~34 lbs salt | ~4 regenerations | About one 40-lb bag per month
Frequently Asked Questions
What is water hardness and what causes it?
Water hardness is a measure of dissolved calcium and magnesium ions in water. These minerals dissolve into groundwater as it passes through limestone, chalk, and dolomite rock formations. Hardness is expressed as mg/L (or ppm) of calcium carbonate (CaCO3) equivalent. Calcium typically contributes 70-80% of total hardness, with magnesium making up the rest. Hardness varies greatly by geography: areas with limestone bedrock (like the US Midwest and Southeast England) have very hard water, while regions with granite or sandstone (like the Pacific Northwest and Scotland) have naturally soft water. Surface water from rivers and reservoirs is generally softer than groundwater.
How is water hardness classified?
The USGS (United States Geological Survey) classifies water hardness as: Soft (0-60 mg/L as CaCO3), Moderately Hard (61-120 mg/L), Hard (121-180 mg/L), and Very Hard (over 180 mg/L). Average US water hardness is about 100-200 mg/L. Some groundwater sources exceed 400 mg/L. The World Health Organization notes no health-based guideline value for hardness, as both calcium and magnesium are essential nutrients. However, very hard water creates practical problems with scale buildup, soap efficiency, and appliance lifespan. Many municipalities with very hard water sources operate central softening facilities.
What is the difference between temporary and permanent hardness?
Temporary hardness (carbonate hardness) is caused by dissolved calcium and magnesium bicarbonates. It can be removed by boiling, which converts bicarbonates to insoluble carbonates that precipitate out (this is the white scale in kettles). Permanent hardness (non-carbonate hardness) is caused by calcium and magnesium sulfates, chlorides, and nitrates that remain dissolved even after boiling. Total hardness equals temporary plus permanent hardness. Water softeners remove both types by exchanging calcium and magnesium ions for sodium ions. In aquariums, carbonate hardness (KH) is important because it buffers pH, preventing dangerous pH swings.
Do I need a water softener?
A water softener is generally recommended when hardness exceeds 120 mg/L (7 gpg). Benefits include: preventing scale in water heaters (which can reduce efficiency by 22-30%), extending appliance lifespan (dishwashers, washing machines), reducing soap and detergent usage by 50-75%, eliminating water spots on dishes and glass, softer skin and hair, and reducing mineral stains on fixtures. However, softened water has elevated sodium content (about 8 mg/L sodium per gpg of hardness removed), which may be a concern for sodium-restricted diets. A reverse osmosis system at the kitchen tap can remove this sodium for drinking water.
How does water hardness affect aquariums?
Water hardness significantly impacts aquarium fish health and breeding. Most tropical freshwater fish prefer moderately hard water (75-150 mg/L). Soft-water species like discus, cardinal tetras, and rasboras need GH of 30-100 mg/L. African cichlids from Lakes Malawi and Tanganyika require hard water of 200-350 mg/L. For breeding, many egg-laying species require specific hardness levels to trigger spawning and ensure egg viability. General Hardness (GH) measures total Ca+Mg, while Carbonate Hardness (KH) measures buffering capacity. Both should be tested and adjusted for optimal fish health. Crushed coral raises hardness; peat moss and RO water lower it.
Why is hardness reported as mg/L as CaCO3 instead of as calcium and magnesium?
Calcium and magnesium have different molar masses, so their concentrations cannot simply be added. Expressing both as the equivalent mass of calcium carbonate puts them on one basis: calcium carbonate has a molar mass of 100.09 against 40.08 for calcium, giving the 2.497 factor, and against 24.305 for magnesium, giving 4.118. Once both are converted, the sum is a single meaningful hardness figure that can be compared with treatment thresholds and appliance specifications.
What is the difference between hardness and alkalinity?
Hardness counts the divalent cations, chiefly calcium and magnesium. Alkalinity counts the acid-neutralising anions, mainly bicarbonate with carbonate and hydroxide at higher pH, and it is what buffers pH against change. Both are conventionally reported as mg/L as CaCO3, which is why they are easily confused. When alkalinity equals or exceeds hardness, essentially all the hardness is carbonate hardness; any excess hardness above alkalinity is the non-carbonate portion.
How do grains per gallon, German degrees and French degrees compare?
One grain per US gallon equals 17.118 mg/L as CaCO3, which is why softener capacity is often quoted in grains. One German degree, dH, equals 17.848 mg/L and one French degree, fH, equals exactly 10 mg/L. Because the scales are close but not identical, converting everything to mg/L as CaCO3 before comparing is safer than reading a number off an unlabelled report and assuming which national convention it follows.
Why does hard water form scale mainly on hot surfaces?
Calcium carbonate is unusual in becoming less soluble as temperature rises, and heating also drives off dissolved carbon dioxide, which shifts the bicarbonate equilibrium toward solid carbonate. Both effects concentrate deposition on heating elements, boiler tubes and the hot side of heat exchangers rather than in cold mains. Whether a given water tends to scale or to corrode depends on hardness, alkalinity, pH, dissolved solids and temperature together, which is what saturation indices such as the Langelier index combine.
How do ion exchange softening and reverse osmosis differ in what they remove?
An ion exchange softener swaps calcium and magnesium on a resin bed for sodium or potassium, then regenerates with brine. Hardness falls to near zero but total dissolved solids are essentially unchanged and the exchanged sodium remains in the water. Reverse osmosis pushes water through a membrane that rejects most dissolved ions, so it lowers hardness, alkalinity and overall mineral content together, which is why RO water often needs remineralising for aquariums or drinking use.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎDog Water Intake Calculator
Calculate dog water intake with inputs, formulas, and instant results.
๐งฎWater Quality Index Calculator
Calculate water quality index with inputs, formulas, and instant results.
๐งฎWater Potential Calculator
Calculate water potential with inputs, formulas, and instant results.
๐งฎWater Soluble Fertilizer Calculator
Calculate water soluble fertilizer with inputs, formulas, and instant results.
๐งฎDaily Water Intake Calculator
Calculate daily water intake with inputs, formulas, and instant results.
๐งฎCattle Water Requirement Calculator
Calculate daily water requirement for cattle with inputs, formulas, and instant results.
๐งฎAlpaca Gestation Calculator
Calculate alpaca gestation with inputs, formulas, and instant results.
๐งฎCat Pregnancy Calculator โ Due Date & Gestation
Calculate cat pregnancy with inputs, formulas, and instant results.