Convert water hardness from ppm to grains per gallon (gpg) or gpg to ppm, with °dH, °fH and °e equivalents and a soft-to-very-hard category.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
ppm to grains per gallon (gpg)Converts water hardness in ppm to grains per U.S. gallonRequires the measured hardness as CaCO₃ in ppm (mg/L), or in gpg, °dH, °fH or °e
Grains per gallon (gpg) to ppmConverts water hardness in grains per U.S. gallon to ppmRequires the hardness in grains per gallon
Softener programming estimateEstimates the hardness number to program into a water softener, with allowances for iron and for potassium chloride saltRequires the measured hardness and the regenerant salt; the iron level, iron allowance and KCl multiplier are optional

PPG on this page means grains per gallon (gpg), not pounds per gallon. Hardness is expressed as calcium carbonate (CaCO₃), and ppm is treated as mg/L, which holds for ordinary dilute water. Both conversions also report German (°dH), French (°fH) and English or Clark (°e) degrees and a hardness class from soft to very hard.

ppm to Grains Per Gallon Formulas

gpg = ppm ÷ 17.1 [1]
gpgHardness in grains per U.S. gallon
ppmHardness in mg/L as CaCO₃
17.1mg/L in 1 grain per U.S. gallon, rounded from 17.118

ppm to grains per gallon (gpg)

Water at 70 ppm is 70 ÷ 17.1 = 4.09 gpg, and 171 ppm is 10 gpg. The same reading is shown as 9.58 °dH (1 °dH = 17.848 mg/L), 17.1 °fH (1 °fH = 10 mg/L) and 12 °e (1 °e = 14.254 mg/L).

Grains per gallon (gpg) to ppm

ppm = gpg × 17.1

Hardness of 10 gpg is 171 ppm, 7 gpg is 119.7 ppm and 25 gpg is 427.5 ppm. One grain is 64.79891 mg, so the unrounded figure is 17.118 mg/L per grain per U.S. gallon [1], which puts the rounded factor about 0.1% low.

Softener programming estimate

Setting = (gpg + Fe × a) × k

Fe is clear-water iron in mg/L, a is the iron allowance in gpg per mg/L and k is the salt multiplier. A blank iron allowance is 5, which matches a softener manual that adds 5 to the hardness number for each 1 ppm of iron [3]. With potassium chloride salt a blank multiplier is 1.25, which matches a manual that raises the setting by 25% when the softener has no KCl setting [4]; with sodium chloride it is 1. Water at 342 ppm (20 gpg) with 2 mg/L of iron programs as 20 + 2 × 5 = 30 gpg on sodium chloride and 37.5 gpg on potassium chloride.

Hardness classes

Classppm (mg/L as CaCO₃)gpg
Soft0 to 600 to 3.5
Moderately hard61 to 1203.6 to 7.0
Hard121 to 1807.1 to 10.5
Very hardMore than 180More than 10.5

The ppm ranges are the U.S. Geological Survey’s general guidelines [2], and the gpg column is those limits divided by 17.1. The class describes hardness only and says nothing about whether water is safe to drink.

Limits of This Estimate

  • Treating ppm as mg/L assumes water with a density close to 1 kg/L. Brines and other dense solutions need a density correction first.
  • Hardness must be on the CaCO₃ basis. A lab report that lists calcium and magnesium separately has to be converted to CaCO₃ equivalents before this conversion applies.
  • Iron and salt allowances differ between softener makers, and some softeners adjust for potassium chloride on their own. The softener’s manual takes priority over these defaults.
  • The degree equivalents are rounded conversion factors. These estimates are based on the best available data and estimations.

Sources

  1. National Institute of Standards and Technology, Special Publication 811, Appendix B.8: grain per U.S. gallon to mg/L, and the grain in milligrams
  2. U.S. Geological Survey, Water Science School, Hardness of Water: hardness classes in mg/L as calcium carbonate
  3. Rheem, RHW42 Water Softener Installation and Operation Manual, page 14: adding 5 to the hardness number for each 1 ppm of iron
  4. Kenmore, Water Softener Model 625.38356 Owner’s Manual, page 20: raising the hardness setting by 25% for potassium chloride salt