HomeCalculatorsChemistryWater Hardness Calculator

Water Hardness Calculator

Chemistry

Calculate 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.

80 mg/L
mg/L
20 mg/L
mg/L

Total Hardness (mg/L as CaCO₃)

282.14
Hardness (ppm as CaCO₃)
282.14
Hardness (gpg)
16.48
French Degrees (°f)
28.21
Water Hardness Classification
Hard

This calculator computes your Total Hardness (mg/L as CaCO₃), Hardness (ppm as CaCO₃), Hardness (gpg), French Degrees (°f), Water Hardness Classification from the values you enter.

Inputs
Calcium Concentration [Ca²⁺]Magnesium Concentration [Mg²⁺]
Outputs
Total Hardness (mg/L as CaCO₃)Hardness (ppm as CaCO₃)Hardness (gpg)French Degrees (°f)Water Hardness Classification

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

  1. 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."
  2. Enter the calcium concentration in the Calcium Concentration [Ca²⁺] field (in mg/L).
  3. 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.
  4. 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).
  5. Note the Hardness (gpg) value if you are sizing a water softener or RO system.
  6. 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 hardness

Unit conversions:

ppm = mg/L  (for dilute aqueous solutions) gpg = mg/L ÷ 17.12 French degrees (°f) = mg/L ÷ 10

WHO 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 Hard

This 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

Water hardness is the total concentration of dissolved calcium (Ca²⁺) and magnesium (Mg²⁺) ions in water, expressed as an equivalent concentration of calcium carbonate (CaCO₃) in mg/L or ppm. Hard water contains high levels of these ions, which originate from limestone, chalk, dolomite, and other calcium- and magnesium-bearing minerals that groundwater passes through. Hardness affects soap lathering, scale formation in pipes and appliances, and industrial process water quality.
Water hardness is caused primarily by dissolved calcium bicarbonate Ca(HCO₃)₂ and magnesium bicarbonate Mg(HCO₃)₂ (temporary hardness) and calcium sulphate CaSO₄, magnesium sulphate MgSO₄, and calcium chloride CaCl₂ (permanent hardness). As rainwater passes through limestone (CaCO₃) and dolomite (CaMg(CO₃)₂) formations, CO₂ reacts with these minerals to form soluble bicarbonates. Areas with deep borewells in India — particularly in Rajasthan, Gujarat, Andhra Pradesh, and Karnataka — typically have higher hardness than states with surface water sources.
Total hardness as CaCO₃ (mg/L) = (Ca²⁺ mg/L ÷ 40.078) × 100.086 + (Mg²⁺ mg/L ÷ 24.305) × 100.086. This converts each ion's mg/L concentration to its equivalent milliequivalents per litre and then to the equivalent CaCO₃ concentration. The constants 40.078 and 24.305 are the molar masses of calcium and magnesium respectively; 100.086 is the molar mass of CaCO₃.
The World Health Organisation classifies water hardness as: Soft (0–75 mg/L as CaCO₃), Moderately Hard (75–150 mg/L), Hard (150–300 mg/L), and Very Hard (>300 mg/L). These thresholds are widely used by water utilities, environmental health authorities, and water treatment engineers globally. The classification determines which treatment technology — such as ion exchange softening, reverse osmosis, or lime softening — is appropriate.
The Bureau of Indian Standards (BIS) IS 10500:2012 — Drinking Water Specification — sets the acceptable limit for total hardness at 200 mg/L as CaCO₃ and the permissible limit (in the absence of an alternative source) at 600 mg/L as CaCO₃. Water above 200 mg/L may cause scale in geysers, washing machines, and RO membranes, and above 500 mg/L it may affect taste. Most urban Indian utilities aim to supply water below 300 mg/L.
Indian cities vary enormously in water hardness depending on their source. Delhi's Yamuna-sourced piped water typically measures 150–250 mg/L. Mumbai's surface reservoir water is comparatively soft at 50–100 mg/L. Rajasthan cities like Jaipur and Jodhpur, which rely on groundwater, frequently exceed 500 mg/L — very hard by WHO standards. Chennai and Bengaluru have moderate hardness from their lake and reservoir supplies, ranging from 100–200 mg/L. Borewell water in rural areas can exceed 1,000 mg/L in some regions.
All four units express the same physical property at different scales: mg/L (milligrams per litre as CaCO₃) and ppm (parts per million by mass) are essentially equivalent for dilute aqueous solutions where water density ≈ 1 g/mL. Grains per gallon (gpg) is used in the United States and is equal to 17.12 mg/L (one grain = 64.8 mg; one US gallon = 3.785 L). French degrees (°f or °fH) are used in France and Europe — 1 French degree = 10 mg/L as CaCO₃. German degrees (°dH) are 17.848 mg/L, though they are not output by this calculator.
Temporary hardness is caused by calcium and magnesium bicarbonates, which decompose when water is boiled — depositing scale (CaCO₃) and leaving softer water. Permanent hardness is caused by calcium sulphate, magnesium sulphate, and calcium chloride, which remain dissolved regardless of boiling. The Water Hardness Calculator computes total hardness from measured Ca²⁺ and Mg²⁺ ion concentrations and does not distinguish between temporary and permanent fractions — that distinction requires alkalinity testing.
Enter the concentration of calcium ions [Ca²⁺] in your water sample in the 'Calcium Concentration [Ca²⁺]' field in mg/L. Then enter the magnesium ion concentration [Mg²⁺] in the 'Magnesium Concentration [Mg²⁺]' field in mg/L. The calculator converts both to CaCO₃ equivalents and outputs total hardness in mg/L, ppm, gpg, French degrees, and the WHO hardness classification.
Calcium and magnesium concentrations in water are measured by complexometric EDTA titration (the standard method used by water testing labs), ion chromatography, or ICP-OES (inductively coupled plasma – optical emission spectrometry). Most accredited water testing laboratories in India provide Ca²⁺ and Mg²⁺ in mg/L on their test report, which can be entered directly into this calculator. Simple water hardness test kits also give an approximate combined hardness reading.
The WHO and most national health authorities state that hard water poses no direct health risk and may provide some cardiovascular benefit from dietary calcium intake. However, very hard water (>500 mg/L) affects taste, reduces the lathering of soaps and shampoos, and accelerates scale deposition in water heaters, RO membranes, and boilers — increasing maintenance costs. Soft water (<75 mg/L) may be mildly corrosive to plumbing and is sometimes associated with slightly elevated lead or copper from pipes.
Yes — water softener sizing requires knowing the total hardness in gpg, which this calculator provides directly. A typical ion-exchange softener removes all hardness by exchanging Ca²⁺ and Mg²⁺ for Na⁺, and its capacity is rated in grains. Multiply your hardness in gpg by your daily water consumption in gallons to get grains per day removed, then select a softener with sufficient grain capacity between regeneration cycles. The [Concentration Calculator](/concentration-calculator/) can help compute the brine concentration needed for regeneration.
Also known as
water hardness ppmcalcium hardness calculatorgpg water hardnessCaCO3 hardnesshard water calculator