Hardness is based on the amount calcium and/or magnesium ions in water. To tell whether the water sample you are testing is hard or not is too add soap to it. If it readily forms a lather then the water sample is soft however if it forms a grey scum (ie a Mg/Ca stearate precipitate) the water is hard. To test for the amount of Magnesium and Calcium ions are solution you can titrate it with EDTA. Hardness causes a fair few problems mainly causing scaling of electrical appliances such as kettles and making it unsafe for human consumption. To cure hardness use a water softener which usually contains Calcium Chloride.