Grains per Gallon vs PPM: Water Hardness Units
Softener dealers talk in grains, labs and utilities in ppm or mg/L. They measure the same thing; here is how to move between them without the common mistakes.
One grain per gallon (gpg) equals 17.1 parts per million (ppm), which is the same as 17.1 milligrams per liter (mg/L). Both units measure the same thing, the amount of dissolved hardness minerals expressed as calcium carbonate, so converting is a single step: divide ppm by 17.1 to get gpg, or multiply gpg by 17.1 to get ppm. Water at 10 gpg is 171 ppm; water at 250 ppm is about 14.6 gpg. Below is where the 17.1 comes from, a full conversion chart, the other hardness units you’ll meet, and how to turn separate calcium and magnesium results into one hardness number.
Skip the math Hardness PPM to GPG Calculator Open →
The conversion at a glance
| Grains per gallon | ppm / mg/L | Class |
|---|---|---|
| 1 | 17 | Soft |
| 3 | 51 | Soft |
| 5 | 86 | Moderately hard |
| 7 | 120 | Moderately hard |
| 10 | 171 | Hard |
| 12 | 205 | Very hard |
| 15 | 257 | Very hard |
| 20 | 342 | Very hard |
| 25 | 428 | Very hard |
| 30 | 514 | Very hard |
Classes follow the U.S. Geological Survey: soft up to 60 mg/L, moderately hard 61–120, hard 121–180, very hard above 180.
Where 17.1 comes from
The number falls straight out of the unit definitions:
- A grain is 1/7,000 of a pound: 64.8 milligrams.
- A US gallon is 3.785 liters.
So one grain dissolved in one gallon is 64.8 mg ÷ 3.785 L = 17.1 mg/L. And because a liter of water weighs about a kilogram (a million milligrams), 1 mg/L is 1 part per million. That is all there is to it.
Watch for imperial gallons. A UK (imperial) gallon is 4.546 liters, so 1 "Clark degree" or grain per imperial gallon is 14.3 mg/L, not 17.1. US softener settings always use US gallons.
Why two units exist
Laboratories and utilities report almost everything in mg/L, so hardness appears that way on water quality reports and lab results. The water softener industry works in grains because capacity is rated in grains: a 32,000-grain softener can remove 32,000 grains of hardness before it must regenerate. Set its control to your hardness in gpg and it simply divides:
That’s why the first thing a softener needs is your hardness in gpg, and why getting the conversion right matters. Our guides to what size water softener you need and how often a softener should regenerate build on this.
Other hardness units you might see
| Unit | Where it's used | Equals (mg/L as CaCO₃) | In gpg |
|---|---|---|---|
| mg/L or ppm as CaCO₃ | US labs, utilities | 1 | 0.058 |
| Grain per US gallon (gpg) | US softeners | 17.1 | 1 |
| German degree (°dH) | Germany, appliance manuals | 17.8 | 1.04 |
| Clark / English degree (°e) | UK (older) | 14.3 | 0.83 |
| French degree (°f) | France, Belgium | 10 | 0.58 |
| mmol/L | EU lab reports | 100 | 5.85 |
Dishwashers and coffee machines sold internationally often ask for °dH; at 1.04 gpg per °dH, the setting is almost the same number as your gpg.
Converting calcium and magnesium to hardness
Some lab reports list calcium and magnesium separately in mg/L rather than total hardness. You can’t just add them, because hardness is expressed as calcium carbonate, which weighs more per ion. Use these factors:
The factors are the molar mass of calcium carbonate (100.09) divided by the mass of each ion (40.08 for calcium, 24.31 for magnesium). Reading “calcium 64 mg/L” as “hardness 64 mg/L” would understate this water’s hardness by nearly four times, and undersize a softener badly.
Common mistakes
- Treating TDS as hardness. A TDS reading in ppm includes sodium, chloride, sulfate and more. Our guide to conductivity, TDS and ppm explains the difference.
- Adding calcium and magnesium directly. Convert each to CaCO₃ first, as above.
- Confusing grains with grams. A gram is about 15.4 grains.
- Forgetting iron. If you’re sizing a softener, add roughly 3 to 5 gpg for every 1 mg/L of dissolved iron, since iron uses up resin capacity too. See how to remove iron from well water.
Utility report: 180 mg/L
10.5 gpg
The top of "hard"; set a softener to 11.
Strip: 15 gpg
257 ppm
Very hard water.
Manual asks °dH; you have 12 gpg
11.5 °dH
12 ÷ 1.04.
Ca 40, Mg 10 mg/L
8.2 gpg
(40 × 2.497 + 10 × 4.118) ÷ 17.1.
The bottom line
Grains per gallon and ppm measure the same thing on different scales: 1 gpg = 17.1 ppm (mg/L) of hardness as calcium carbonate. Divide by 17.1 to go from a lab report to a softener setting, multiply to go back. Convert separate calcium and magnesium results with the 2.497 and 4.118 factors, don’t mistake TDS for hardness, and add iron when sizing a softener.
Frequently asked questions
How many ppm is 1 grain per gallon?
1 grain per gallon equals 17.1 ppm (17.1 mg/L) of hardness expressed as calcium carbonate. To convert ppm to gpg, divide by 17.1; to convert gpg to ppm, multiply by 17.1.
Is ppm the same as mg/L?
For drinking water, yes. One liter of water weighs about one kilogram, so one milligram per liter is one part per million by weight. Labs and utilities use the two interchangeably.
What is a grain?
A grain is an old unit of weight equal to 1/7,000 of a pound, or about 64.8 milligrams. Grains per gallon means the weight of hardness minerals, expressed as calcium carbonate, dissolved in one US gallon of water.
Why do water softeners use grains per gallon?
Softener capacity is rated in grains (for example, a 32,000-grain softener), so setting hardness in grains per gallon lets the control divide capacity by hardness to find how many gallons it can soften before regenerating.
How do I convert a calcium result to hardness?
Multiply calcium in mg/L by 2.5 and magnesium in mg/L by 4.1, then add them. That gives total hardness in mg/L as calcium carbonate. Divide by 17.1 for grains per gallon.
Is a TDS reading in ppm the same as hardness in ppm?
No. TDS counts every dissolved solid, including sodium, chloride and sulfate, while hardness counts only calcium and magnesium. A TDS of 400 ppm might include anywhere from almost no hardness to most of it.
Sources & references
Unit definitions and hardness classes come from these references:
- U.S. Geological Survey — Do you have information about water hardness in the United States? Hardness expressed as mg/L calcium carbonate and classes.