Water Hardness Calculator
ChemistryCalculate water hardness in mg/L CaCO₃, ppm, gpg (grains per gallon), French degrees, and German degrees from calcium and magnesium concentrations. Classify soft to very hard.
Total Hardness (mg/L as CaCO₃)
What is a Water Hardness?
The Water Hardness Calculator converts measured calcium (Ca²⁺) and magnesium (Mg²⁺) ion concentrations in a water sample to total water hardness expressed across five internationally recognised units — mg/L as CaCO₃, ppm, grains per gallon (gpg), French degrees (°f), and a WHO hardness classification ranging from Soft to Very Hard. Water hardness is the single most important parameter for specifying water treatment equipment, predicting scale formation in boilers and geysers, and assessing drinking water quality under BIS IS 10500:2012 standards.
India has one of the widest ranges of water hardness in the world. Rajasthan, Gujarat, and many parts of inland Karnataka and Andhra Pradesh have extremely hard groundwater (often above 500 mg/L) that renders soap ineffective, deposits white scale in appliances, and rapidly clogs RO membranes. Mumbai's reservoir-fed supply is comparatively soft. Understanding where your water falls on the hardness scale determines whether you need ion-exchange softening, RO treatment, or simply descaling maintenance — and how frequently.
The underlying chemistry uses equivalent weights: Ca²⁺ and Mg²⁺ concentrations are each converted to the equivalent concentration of CaCO₃ (the standard reference compound for water hardness) using their respective molar masses. This is the same methodology used by the Normality Calculator for equivalent-based concentration conversions and aligns with APHA Standard Methods for water analysis.
For further water chemistry analysis — such as converting hardness ppm to molar concentration for dosing calculations — use the PPM to Molarity Calculator.
How to use this Water Hardness calculator
- Obtain a water test report from an accredited laboratory, or test your water using an ion-selective electrode or EDTA titration kit. Locate the Calcium (Ca²⁺) value in mg/L — typically listed as "Calcium as Ca" or "Calcium hardness."
- Enter the calcium concentration in the Calcium Concentration [Ca²⁺] field (in mg/L).
- Locate the Magnesium (Mg²⁺) value from the same test report and enter it in the Magnesium Concentration [Mg²⁺] field (in mg/L). If your report gives only total hardness, enter that figure entirely under Ca²⁺ and set Mg²⁺ to 0.
- Read the Total Hardness (mg/L as CaCO₃) — compare it against the BIS IS 10500:2012 limit of 200 mg/L (acceptable) or 600 mg/L (permissible).
- Note the Hardness (gpg) value if you are sizing a water softener or RO system.
- Read the Water Hardness Classification to immediately understand the treatment urgency — Soft water may not need any treatment, while Very Hard water above 300 mg/L warrants active softening or RO.
Formula & Methodology
Conversion of Ca²⁺ and Mg²⁺ to CaCO₃ equivalents:Ca hardness (mg/L as CaCO₃) = [Ca²⁺] × (M_CaCO₃ ÷ M_Ca) = [Ca²⁺] × (100.086 ÷ 40.078) = [Ca²⁺] × 2.497 Mg hardness (mg/L as CaCO₃) = [Mg²⁺] × (M_CaCO₃ ÷ M_Mg) = [Mg²⁺] × (100.086 ÷ 24.305) = [Mg²⁺] × 4.118 Total Hardness = Ca hardness + Mg hardnessUnit conversions:ppm = mg/L (for dilute aqueous solutions) gpg = mg/L ÷ 17.12 French degrees (°f) = mg/L ÷ 10WHO classification thresholds: | Range (mg/L as CaCO₃) | Classification | |---|---| | 0 – 75 | Soft | | 75 – 150 | Moderately Hard | | 150 – 300 | Hard | | > 300 | Very Hard | Worked example — groundwater from a Rajasthan borewell: A water test report shows: Ca²⁺ = 120 mg/L, Mg²⁺ = 40 mg/L.Ca hardness = 120 × 2.497 = 299.6 mg/L as CaCO₃ Mg hardness = 40 × 4.118 = 164.7 mg/L as CaCO₃ Total hardness = 299.6 + 164.7 = 464.3 mg/L as CaCO₃ ppm = 464.3 ppm gpg = 464.3 ÷ 17.12 = 27.1 gpg French degrees = 464.3 ÷ 10 = 46.4°f Classification: Very HardThis water exceeds the BIS acceptable limit of 200 mg/L and the 300 mg/L WHO "Hard" threshold. Ion-exchange softening or RO treatment is recommended. For dosing calculations (e.g. lime softening), use the Molarity Calculator to convert the CaCO₃ hardness to molar concentration for stoichiometric lime addition calculations.
Frequently Asked Questions