Grains Per Gallon vs PPM: How to Convert Water Hardness
You pull up your water report, or a plumber hands you a printout, and it says 180 ppm. Then the softener manual says to set the hardness to 11. You stare at both numbers and wonder if something is wrong. Nothing is wrong. They are the same measurement wearing different clothes.
This page explains what grains per gallon and ppm each mean, how to convert between them, and why you will also see mg/L and German degrees depending on where your report or appliance came from.
Key takeaways
- 1 grain per gallon equals 17.1 ppm. Multiply gpg by 17.1 to get ppm. Divide ppm by 17.1 to get gpg.
- For water, ppm and mg/L mean the same thing. You can use either number interchangeably.
- German degrees (dH) appear on imported appliances. 1 dH equals 1.71 gpg, or 17.1 ppm divided by 10.
- Your softener control valve almost always wants the hardness in gpg, not ppm.
- A typical US home on hard water sits between 10 and 20 gpg, which is 171 to 342 ppm.
What grains per gallon actually measures
Grains per gallon (gpg) is the unit US water softeners use. One grain is a tiny unit of weight, about 0.065 grams, roughly the weight of a single grain of barley. So 10 gpg means that in every gallon of your water, there are 10 grains of dissolved calcium and magnesium.
That is a small number in everyday terms. Ten grains is about 0.65 grams, less than a quarter teaspoon of salt dissolved in a gallon. But multiply that across a family of four using 300 gallons a day and you get a lot of mineral buildup over a year. That is what your softener is fighting.
Most US water reports, municipal test results and softener manuals use gpg. If your control valve has a hardness setting, it almost certainly expects a number in gpg.
What ppm means and why it shows up
PPM stands for parts per million. It means one part of dissolved mineral for every million parts of water. In practice, for water, 1 ppm equals 1 milligram of dissolved calcium carbonate per liter of water.
You will see ppm on municipal water quality reports, on the EPA's secondary standards guidance, and on many online hardness test kits. It is the same measurement as gpg, just expressed on a different scale. The numbers are bigger, which is why people sometimes think their water is "worse" when they see 300 ppm instead of 17.5 gpg. It is not worse. It is the same water.

The conversion: 17.1 ppm per grain per gallon
The conversion factor is 17.1. That number comes from the chemistry: one grain per gallon equals 17.1 milligrams per liter, and since 1 mg/L equals 1 ppm for water, you get 17.1 ppm per gpg.
To go from gpg to ppm: multiply by 17.1. To go from ppm to gpg: divide by 17.1.
That is the whole conversion. Everything else on this page is context for why you are seeing different units in the first place.
Worked examples both directions
Say your water report says 250 ppm and you need to set your softener. Divide 250 by 17.1. That gives you roughly 14.6 gpg. Round to 15 and set your control valve to 15.
Now the other direction. Your softener manual says your area is 12 gpg and you want to know what that looks like on a ppm-based test kit. Multiply 12 by 17.1. That gives you 205 ppm. If your test kit reads around 200 ppm, your softener setting and your test agree.
A third example that trips people up. A plumber tells you your water is "very hard, 400 ppm." You look at your softener, which is set to 23. Check the math: 23 times 17.1 equals 393 ppm. Close enough. The plumber and your softener are saying the same thing.

mg/L and ppm: the same number for water
You will sometimes see hardness listed as mg/L on a lab report or a European test kit. For water, 1 mg/L equals 1 ppm. They are interchangeable. If a report says 300 mg/L, that is 300 ppm, which is about 17.5 gpg.
The reason both units exist is that ppm is a ratio (parts per million) while mg/L is a concentration (milligrams per liter). For water, which weighs about 1 kilogram per liter, the two happen to be numerically identical. For other liquids they would not be, but for your tap water you can treat them as the same.
German degrees (dH) on imported appliances
If you bought a Bosch, Miele or other European appliance that has a built-in water softener or a hardness setting, you will see a unit called dH, short for deutsche Härte (German degrees). One dH equals 10 mg/L of calcium oxide, which works out to 1.71 gpg or 17.1 ppm divided by 10.
So if your water is 12 gpg, that is about 7 dH. If your appliance asks for a setting in dH and your water report is in gpg, divide your gpg number by 1.71. If your report is in ppm, divide by 17.1 and then by 10, or just divide by 171.
Here is a quick reference for the units you will encounter:
| Unit | What it means | Conversion to gpg | Typical US hard water range |
|---|---|---|---|
| gpg (grains per gallon) | Grains of calcium carbonate per gallon | This is the base unit | 10 to 20 gpg |
| ppm (parts per million) | Parts of dissolved mineral per million parts of water | Divide ppm by 17.1 | 171 to 342 ppm |
| mg/L (milligrams per liter) | Milligrams of calcium carbonate per liter | Divide mg/L by 17.1 (same as ppm) | 171 to 342 mg/L |
| dH (German degrees) | Tenths of a gram of calcium oxide per liter | Divide dH by 1.71 | 6 to 12 dH |
Why your softener wants gpg and not ppm
US softener control valves, whether they are Fleck, Clack, Culligan or GE, are programmed to accept hardness in gpg. The resin capacity inside the tank is rated in grains, so the math inside the valve works in grains per gallon. If you enter 250 thinking it is ppm, the valve will think your water is 250 gpg, which is absurdly hard, and it will regenerate far too often, wasting salt and water.
Always check which unit your specific model expects before you set the hardness. On most valves, the display or the manual will say "grains" or "gpg" next to the hardness field. If it just says "hardness" with no unit, it is gpg.
Convert ppm to grains per gallon
Enter the hardness in ppm from your water report. The calculator divides by 17.1 to give you the gpg number for your softener setting.
Hardness in grains per gallon gpg
Common questions about hardness units
My water report says 350 ppm. Is that dangerous?
No. 350 ppm is about 20.5 gpg, which is hard but not unusual in Texas, Arizona or parts of Florida. The EPA has no enforceable limit on hardness because it is not a health hazard. It is a nuisance problem: scale, spots, soap scum. The number tells you how much salt your softener will use, not whether your water is safe to drink.
Why does my test kit give a different number than my softener setting?
Test kits measure the water going in. Your softener setting is what you told the valve the water is. If they disagree, either the setting is wrong or the water changed. Re-test and update the setting. A difference of 1 or 2 gpg is normal variation. A difference of 5 or more means the setting is off.
Can I just use the ppm number in my softener?
No. US softeners expect gpg. Entering 300 into a field that expects gpg will make the valve think your water is 300 gpg, which is roughly 5,000 ppm. It will regenerate constantly and burn through salt. Always convert first.
What if my appliance manual only shows dH?
Divide your gpg number by 1.71 to get dH. If you have ppm, divide by 171. For example, 15 gpg is about 8.8 dH. Round to the nearest whole number if the dial only has whole numbers.
Is there a difference between calcium hardness and total hardness?
Total hardness is calcium plus magnesium. Most US water reports give total hardness. Some lab reports break it out. For softener sizing, use total hardness. The resin removes both minerals the same way.
