GH is general hardness which is a measure of the calcium and magnesium in the water. KH is carbonate hardness or alkalinity which is what keeps the pH from changing. Have a look at this site http/www.thetropicaltank.co.uk/wchem.htm in the water hardness section for more explicit information.