Grains per Gallon vs. ppm: Water Hardness Units Explained
Last updated
Hardness is the amount of dissolved calcium and magnesium in water, reported as an equivalent amount of calcium carbonate (CaCO3). You will usually see it in one of two units: milligrams per liter (mg/L), often labeled ppm, or grains per gallon (gpg). Softener settings and this calculator use grains per gallon. Utility reports more often use mg/L.
The conversion
In drinking-water work, 1 ppm of hardness as CaCO3 is treated as 1 mg/L. Grains per gallon use a larger scale. Tennessee’s water-treatment formula sheet states the exact factor as 1 grain per gallon = 17.118 mg/L. This calculator, and most residential sizing guides, use the rounded industry convention of 17.1:
- gpg = ppm ÷ 17.1
- ppm = gpg × 17.1
Examples: 171 ppm ÷ 17.1 = 10 gpg. 8 gpg × 17.1 = 136.8 ppm, usually written as 137 ppm. The hardness converter on this site does that arithmetic and also shows mmol/L and German degrees (°dH) if you need them.
Penn State Extension sometimes rounds the same idea to “about 17 mg/L per grain.” For sizing, pick one factor and stay with it. A 0.018 difference in the divisor does not change which standard tank size you land on for ordinary household numbers.
The USGS scale, in both units
The U.S. Geological Survey classifies hardness as calcium carbonate as follows. The grain figures are this site’s conversions at 17.1 mg/L per gpg, rounded to one decimal place.
| Class | mg/L or ppm as CaCO3 | Grains per gallon |
|---|---|---|
| Soft | 0–60 | 0–3.5 |
| Moderately hard | 61–120 | 3.6–7.0 |
| Hard | 121–180 | 7.1–10.5 |
| Very hard | more than 180 | more than 10.5 |
Some state health departments and extension services insert a “slightly hard” band below 60 mg/L (for example, Penn State and the Connecticut Department of Public Health hardness fact sheet). This site stays with the four USGS classes so every page uses the same scale. The EPA’s WaterSense softener guide (May 2026) says water above 120 mg/L (about 7 gpg) is generally considered hard and may benefit from softening, and that softeners are often recommended when hardness exceeds 180 mg/L (about 10.5 gpg).
Hardness is not a federally regulated contaminant. There is no EPA Maximum Contaminant Level for it. It is a practical number for soap, scale and equipment, not a health-limit test.
Which number to type into a softener or this calculator
Use total hardness as CaCO3, in grains per gallon. If a report lists only calcium and magnesium, this site computes hardness as 2.497 × calcium + 4.118 × magnesium (mg/L as CaCO3), the Standard Methods 2340 B formula, then divides by 17.1. Do not add “calcium hardness” and “magnesium hardness” if those lines are already as CaCO3 — that would double-count. And do not confuse hardness with alkalinity or total dissolved solids; those are different tests.
If a report gives a range and an average, this calculator uses the average. If it gives only a range and the high end is more than twice the low end, we do not invent a midpoint for lookup; hardness may vary by neighborhood or source, and you should test at the tap.
The converter turns ppm, gpg, mmol/L or °dH into the other units. The calculator uses grains per gallon.
Sources
- U.S. Geological Survey, Hardness of Water
- Tennessee Department of Environment and Conservation, Water Treatment Formulas & Conversions (1 gpg = 17.118 mg/L)
- Penn State Extension, Water Softening
- U.S. EPA WaterSense, Soften Water Without Wasting It, May 2026
- Connecticut Department of Public Health, Hardness Fact Sheet