Hard water
Water's hardness is determined by the concentration of multivalent cations in the water. Multivalent cations are positively charged metal complexes with a charge greater than 1+. Usually, the cations have the charge of 2+. Common cations found in hard water include Ca and Mg. These ions enter a water supply by leaching from minerals within an aquifer. Common calcium-containing minerals are calcite and gypsum. A common magnesium mineral is dolomite (which also contains calcium). Rainwater and distilled water are soft, because they contain few ions.
Hard water
Hardness can be quantified by instrumental analysis. The total water hardness is the sum of the molar concentrations of Ca and Mg, in mol/L or mmol/L units. Although water hardness usually measures only the total concentrations of calcium and magnesium (the two most prevalent divalent metal ions), iron, aluminium, and manganese can also be present at elevated levels in some locations. The presence of iron characteristically confers a brownish (rust-like) colour to the calcification, instead of white (the color of most of the other compounds).