Hard water is caused by the presence of naturally occurring calcium and magnesium salts. Water with small amounts of these salts is said to be soft, while greater levels of these salts are said to be hard. It is a measure of the quantity of divalent ions.