QuestionSolutions and mixtures
What Is Hard Water? Calcium, Magnesium and Soap Scum

Hard water is water that contains a lot of dissolved calcium and magnesium ions. These ions, which are charged particles, dissolve into rainwater as it soaks through limestone and chalk. Hard water is safe to drink, but it forms limescale when heated and reacts with soap to form scum instead of lather.
Contents
The full answer
Hardness comes almost entirely from two positively charged ions, calcium (Ca2+) and magnesium (Mg2+). Water picks them up as it flows over or through rocks such as limestone, chalk and dolomite, which are rich in calcium carbonate and magnesium carbonate. Rainwater is slightly acidic because it absorbs carbon dioxide from the air, and that weak acid helps dissolve these minerals.
Hardness is usually reported as milligrams of calcium carbonate per litre (mg/L as CaCO3). On the scale used by the U.S. Geological Survey, water below 60 mg/L is soft, 61 to 120 mg/L is moderately hard, 121 to 180 mg/L is hard, and above 180 mg/L is very hard. Many areas of the United States and the United Kingdom, especially those built on chalk or limestone, have hard or very hard water. The exact level depends on the local rock and the source of the water.
Hard water is not a health hazard in normal use. Calcium and magnesium are minerals the body needs, but drinking water usually supplies only a small part of daily intake. The main problems are practical: scale in pipes and kettles, reduced soap lather, and a film on glass and skin. Hardness describes dissolved minerals, so it says nothing about germs or pollution, which need separate testing.
The chemistry behind hardness
Hardness is either temporary or permanent, depending on which negative ion travels with the calcium or magnesium. Temporary hardness comes from calcium hydrogencarbonate, Ca(HCO3)2, and magnesium hydrogencarbonate. Boiling removes it, because heating drives off dissolved carbon dioxide and the hydrogencarbonate turns into calcium carbonate, which is insoluble and falls out as a solid:
Ca(HCO3)2 → CaCO3↓ + CO2↑ + H2O
The arrow ↓ marks a solid that separates out of the water, and the arrow ↑ marks a gas that escapes. The solid calcium carbonate is the same compound that makes up limestone and the white crust in kettles.
Permanent hardness comes from calcium and magnesium sulfates and chlorides, such as CaSO4 and MgCl2. Boiling does not remove these, because they stay dissolved when heated. Softening them needs ion exchange or a chemical treatment.
Soap is the sodium salt of a long fatty acid, such as sodium stearate. In soft water the soap dissolves and forms lather. Calcium ions react with it to form calcium stearate, an insoluble salt that appears as a grey curd called soap scum. Each calcium ion carries two positive charges, so it uses up two soap ions. Lather forms only after all the hardness ions have reacted.
Hard water in the kitchen and bathroom
A kettle in a hard-water area gets a white crust on its heating element, and a shower head clogs with white deposits over time. Glasses come out of the dishwasher with spots, and bath surfaces collect a grey ring of soap scum. Hand washing with soap in hard water takes more soap and can leave a sticky film on skin.
Clothes washed in hard water can feel stiff and look dull, because scum and mineral deposits cling to the fibers. Water heaters also build up scale on their elements and inside their pipes, which makes them less efficient. Many households in hard-water areas use a water softener, a tank of ion-exchange resin, to reduce these effects.
Hard water does not stop soap working altogether. It means more soap is needed, and the leftover scum is what people notice.
How water softeners remove hardness
A water softener contains ion-exchange resin, small plastic beads that carry sodium ions (Na+) on their surfaces. As hard water flows through the tank, calcium and magnesium ions attach to the resin, and sodium ions are released into the water in exchange. Two sodium ions leave the resin for every calcium ion that is captured, so the water gains sodium but loses hardness.
When the resin is full, the softener is recharged, or regenerated, by flushing it with concentrated salt water (brine). The high sodium level pushes the calcium and magnesium back off the beads, and the excess is rinsed to drain.
Modern detergents avoid much of the scum problem. Synthetic surfactants, such as sodium alkylbenzene sulfonate, form calcium salts that are more soluble than soap’s, so they produce less scum. Many detergents also contain chemicals that bind calcium and magnesium ions and keep them from reacting with the surfactant.
Common misconceptions
Hard water is dirty. Hardness refers to dissolved minerals, not to dirt or germs. Hard water can be perfectly clean and safe, although a water test is needed to know what else it contains.
Boiling makes all hard water soft. Boiling removes only temporary hardness. Water with permanent hardness stays hard after boiling, and the kettle still has to be descaled.
Bottled water is always soft. Many bottled spring and mineral waters contain significant calcium and magnesium. The label usually lists the mineral content, which shows how hard the water is.
Frequently asked questions
Is hard water safe to drink?
Yes, in normal use hard water is considered safe to drink. Calcium and magnesium are minerals the body uses, and drinking water supplies only part of daily intake. Hardness affects taste and appliances more than health.
What causes hard water?
Hard water forms when rain, which is slightly acidic from dissolved carbon dioxide, flows through rocks that contain calcium and magnesium minerals. The water dissolves these minerals and carries the calcium and magnesium ions with it.
What is the difference between temporary and permanent hardness?
Temporary hardness comes from calcium and magnesium hydrogencarbonate and can be removed by boiling. Permanent hardness comes from sulfates and chlorides, which stay dissolved after boiling.
How does a water softener work?
A water softener passes hard water through resin beads that hold sodium ions. Calcium and magnesium ions take the place of the sodium, so the water leaves with fewer hardness ions and more sodium.
Why does hard water make less lather?
Soap reacts with calcium and magnesium ions to form insoluble salts, which show up as scum. Lather appears only after the hardness ions are used up. Detergents form fewer of these salts, so they lather better in hard water.
Sources and further reading
- OpenStax, "Chemistry 2e"
- W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"
- U.S. Geological Survey, "Water Science School"
Cite this page
“What Is Hard Water? Calcium, Magnesium and Soap Scum.” Atoms & Forces, https://science.bigworldlist.com/questions/what-is-hard-water/.
More about Ion
- ChemistryIon: Definition, Cations, Anions and Examples
- ComparisonAtom vs Ion: What Is the Difference? Charge and Examples
- ComparisonCation vs Anion: Positive and Negative Ions Explained
- QuestionDoes Salt Water Conduct Electricity? Ions in Solution
- QuestionHow Are Chemical Compounds Named? Naming Rules for Beginners
- QuestionHow Are Salts Named? Naming Salts From Acids and Bases
- QuestionHow Do Rechargeable Batteries Work? Reversing the Reaction
- QuestionHow Do Water Filters Work? Activated Carbon and Ion Exchange
- QuestionHow Does Fabric Softener Work? Positive Charges on Fibers