WaterCalculator

Grains Per Gallon Calculator

Convert any water quality reading between mg/L (ppm) and grains per gallon (gpg) — for hardness, TDS, iron or anything else. Results update as you type.

Convert

Pick a direction, then enter your reading.

This doesn't change the math — it's used only to show the hardness classification when relevant.

Converted reading

150 mg/L = 8.8 gpg
8.8 gpg

Copied to clipboard

In short: divide mg/L by 17.1 to get grains per gallon, or multiply gpg by 17.1 to get mg/L. A 150 mg/L hardness reading comes to 8.8 gpg — in the "hard" range on the USGS classification. Switch direction above to convert the other way.

17.1 is the standard rounded conversion factor used throughout the water treatment industry.

How the conversion works

A grain is a small historical unit of mass, 64.8 milligrams. Grains per gallon and milligrams per liter both measure concentration, just in different-sized units, so converting between them is a simple ratio:

gpg = mg/L ÷ 17.1     mg/L = gpg × 17.1

17.1 is the standard rounded factor; the more precise value is about 17.118 mg/L per grain.

Worked example. A hardness reading of 150 mg/L: 150 ÷ 17.1 = 8.8 gpg, in the "hard" range on the USGS classification below.


USGS hardness classification, in gpg

This classification applies specifically to hardness readings, not TDS, iron or other parameters.

Water hardness classification converted to grains per gallon.
Classificationmg/L as CaCO₃Grains per gallon
Soft0 – 600 – 3.5
Moderately hard61 – 1203.5 – 7.0
Hard121 – 1807.0 – 10.5
Very hard> 180> 10.5

Why grains per gallon still matters

Most water quality reports and lab results use mg/L or ppm today, but grains per gallon has stuck around specifically because water softeners are built and programmed around it. Softener resin capacity is rated in grains, hardness setting dials are calibrated in gpg, and salt dosage charts are built on grains removed per regeneration, so converting your lab or test-strip mg/L reading into gpg is usually the first step in sizing or programming a softener correctly.

The conversion itself doesn't care what you're measuring, hardness, TDS, iron, alkalinity, all convert the same way. What changes by parameter is how you interpret the resulting number; the USGS classification table above is specific to hardness and doesn't apply to other readings.


Worked scenarios

Softener setting, gpg to mg/L. A test kit reads 22 grains per gallon: 22 × 17.1 = 376 mg/L as CaCO₃.

High TDS, mg/L to gpg. An 850 mg/L TDS reading: 850 ÷ 17.1 = 49.7 gpg. The hardness classification table doesn't apply here since this is a TDS reading, not hardness.



Frequently asked questions

What is a "grain" in grains per gallon?

A grain is a historical unit of mass equal to 64.8 milligrams. Grains per gallon expresses a concentration as grains of dissolved material per U.S. gallon of water, which works out to 1 gpg equaling about 17.1 mg per liter.

Why do water softeners use grains instead of mg/L?

Softener capacity and hardness settings have historically been rated in grains in the U.S. water treatment industry. Grains per gallon is still the standard unit for programming a softener's hardness setting and for rating resin capacity, such as a "32,000 grain" softener.

What's considered "hard" water in grains per gallon?

Using the USGS hardness classification converted to grains: under 3.5 gpg is soft, 3.5 to 7 gpg is moderately hard, 7 to 10.5 gpg is hard, and above 10.5 gpg is very hard.

Can I use this for TDS, iron or alkalinity, not just hardness?

Yes. The mg/L to grains conversion, dividing by 17.1, is a general unit conversion that applies to whichever parameter you're measuring. The hardness classification table specifically only applies when you're converting a hardness reading.

Is 17.1 the exact conversion factor?

It's the standard rounded figure used throughout the water treatment industry. Since 1 grain equals exactly 64.8 mg and 1 U.S. gallon is about 3.785 liters, the more precise value is about 17.118 mg/L, but 17.1 is accurate enough for virtually all practical purposes.

How is this different from the hardness PPM to GPG calculator?

The hardness PPM to GPG calculator is scoped specifically to hardness readings. This tool is the general-purpose bidirectional mg/L to grains per gallon converter for any water quality parameter, plus the hardness classification reference for when hardness is what you're converting.


Sources & references

  1. U.S. Geological Survey (USGS). Water Hardness Classification.
  2. AWWA / water treatment industry standard grain-to-milligram conversion (1 grain = 64.8 mg).

Sarah Bennett, MS

Sarah Bennett, MS

Water Quality & Sustainability Specialist · Portland, Oregon

Environmental scientist (MS, Water Resources) with 9+ years in residential water quality, treatment, and usage efficiency, and 150+ completed assessments. Sarah writes and reviews the treatment, usage, and cost calculators on watercalculator.us. Read full bio

MS Environmental Science, Water Resources (2018) · BS Environmental Engineering (2016)

Updated Methodology Editorial policy