Water hardness unit converter
Type a number in any box and the others update. Use it to turn a utility report in mg/L into the grains per gallon a softener asks for, or into German degrees (°dH).
What each unit means
All of these describe the same thing: the calcium and magnesium in the water, counted as if it were calcium carbonate (CaCO₃). Only the weight and volume units differ.
- mg/L and ppm. Milligrams of CaCO₃ per liter. In water, one mg/L is one part per million, so the two numbers are identical.
- Grains per gallon. A grain is an old unit of weight, exactly 64.79891 mg. One grain in a US gallon (3.785 L) is 17.118 mg/L. Softener makers, Penn State Extension and this site round that to 17.1.
- German degree (°dH). Defined as 10 mg of calcium oxide per liter, which is 17.85 mg/L as CaCO₃.
- French degree (°fH). 10 mg/L as CaCO₃, so it is simply mg/L ÷ 10.
- English or Clark degree (°e). One grain per imperial gallon (4.546 L), or 14.25 mg/L.
- mmol/L. Millimoles of calcium plus magnesium per liter. One mmol/L is 100.09 mg/L as CaCO₃.
Calcium and magnesium to hardness
A lab that measures the metals directly reports, say, 60 mg/L of calcium and 25 mg/L of magnesium. Those are weights of the elements, not of calcium carbonate, so they can't be added together as they are. The standard calculation (Standard Methods 2340 B) scales each one by the ratio of molar masses:
Hardness = 2.497 × Ca + 4.118 × Mg
= 2.497 × 60 + 4.118 × 25 = 149.8 + 103.0 = 252.8 mg/L (14.8 gpg)
Magnesium counts for more per milligram because a magnesium atom is lighter than a calcium atom, so a milligram of it holds more atoms.
A common mix-up
If a report says “calcium hardness”, it is already expressed as CaCO₃. Enter it in the mg/L box, not in the calcium box. Only enter a figure in the calcium box if it is labelled “calcium” or “Ca” on its own.
German hardness ranges
German consumer labelling groups water as soft below 8.4 °dH, medium from 8.4 to 14 °dH and hard above 14 °dH. In US terms that is about 150 mg/L and 250 mg/L, or 8.8 and 14.6 gpg.
Sources
Each constant in this calculator comes from one of these documents. We checked them on November 19, 2026.
- NIST, “Guide for the Use of the International System of Units (SP 811), Appendix B.8: conversion factors”. What we use: 1 grain = 64.79891 mg; 1 US gallon = 3.785412 L; 1 UK gallon = 4.54609 L. So 1 grain per US gallon = 17.118 mg/L, and 1 grain per UK gallon (the English or Clark degree) = 14.254 mg/L.
- Penn State Extension, “Water Softening (Robillard, Sharpe and Swistock; updated September 8, 2025)”. What we use: 1 gpg ≈ 17 mg/L; the five-step gpg hardness scale (Table 1); the sizing example 75 gal × 10 gpg × 4 people = 3,000 grains a day, so a 20,000-grain unit regenerates about every 6–7 days; below 7 gpg scale and soap film are usually minor; oxidized (red) iron fouls resin.
- University of Bayreuth, Chemistry Education, “Wasser-Härte (teaching unit on water hardness, in German)”. What we use: 1 °dH = 10 mg/L CaO = 17.8 mg/L CaCO₃; German consumer hardness ranges: soft under 8.4 °dH, medium 8.4–14 °dH, hard over 14 °dH.
- Standard Methods 2340 B, as written in Georgia EPD Laboratory SOP 2-019, “Hardness Calculated by Standard Methods 2340 B”. What we use: Hardness (mg/L as CaCO₃) = 2.497 × calcium (mg/L) + 4.118 × magnesium (mg/L).
- U.S. Geological Survey, Water Science School, “Hardness of Water”. What we use: The four bands in mg/L as CaCO₃: 0–60 soft, 61–120 moderately hard, 121–180 hard, over 180 very hard.
The calculator runs in your browser. Nothing you type is sent to us or stored. Found an error? Tell us and we'll correct it.
Other calculators
Water softener size calculator
Grains per day, the rated capacity to buy and how often it will regenerate. Handles iron, salt setting and a unit you already own.
Open →Softener salt and cost calculator
Pounds of salt, bags and dollars a year for your hardness and household, and how much an efficient setting saves.
Open →Is my water hard?
Enter a number from a test strip or report and see where it falls on the USGS and Penn State scales, with cities that match.
Open →