Grains Per Gallon (GPG): A unit of measurement used to express the concentration of hardness minerals (such as calcium and magnesium) in water. One grain per gallon is equivalent to 17.1 parts per million (PPM).
Example
Let's say the parts per million (PPM) is 171. Using the formula: