If your shower head is covered in limescale and soap barely lathers, you probably live in a hard water area. Hard water contains dissolved calcium and magnesium ions that react with soap and build up in pipes. Understanding the chemistry behind it — and the ways to fix it — is a GCSE requirement.

What is the difference between hard and soft water?

Soft water lathers easily with soap and leaves no scale deposits in kettles or pipes. Rainwater starts off soft because it is essentially distilled water — pure water vapour that has condensed.

Hard water contains dissolved calcium ions (Ca²⁺) and/or magnesium ions (Mg²⁺). These dissolved ions interfere with soap and form insoluble deposits (scale or limescale) when the water is heated. Hard water tastes different from soft water and leaves a characteristic white or grey deposit on surfaces.

Most UK water is moderately to very hard because the rocks the water flows through — particularly limestone (calcium carbonate, CaCO₃) and chalk — dissolve to some extent when in contact with slightly acidic rainwater.

How does rainwater become hard?

Rainwater is naturally slightly acidic (pH about 5.6) because dissolved carbon dioxide from the air forms carbonic acid:

CO₂(g) + H₂O(l) → H₂CO₃(aq)

When this weakly acidic water flows over or through limestone or chalk (calcium carbonate), it reacts:

CaCO₃(s) + H₂CO₃(aq) → Ca(HCO₃)₂(aq) (calcium carbonate + carbonic acid → calcium hydrogencarbonate)

Calcium hydrogencarbonate is soluble, so Ca²⁺ ions dissolve into the water — making it hard.

Water can also pick up dissolved calcium sulphate (CaSO₄) from gypsum rock. This also contributes to hardness.

What is the difference between temporary and permanent hardness?

Type Ion causing hardness Can be removed by boiling? Explanation
Temporary Ca²⁺ from dissolved Ca(HCO₃)₂ ✅ Yes Heating decomposes Ca(HCO₃)₂, precipitating CaCO₃
Permanent Ca²⁺ or Mg²⁺ from dissolved sulphates ❌ No Calcium and magnesium sulphates do not decompose on heating

How boiling removes temporary hardness:

When water containing dissolved calcium hydrogencarbonate is boiled, the reaction reverses:

Ca(HCO₃)₂(aq) → CaCO₃(s) + H₂O(l) + CO₂(g)

Calcium carbonate precipitates as an insoluble white solid — this is the limescale that builds up inside kettles. The Ca²⁺ ions are removed from solution, so the boiled water is now soft.

This reaction only works for temporary hardness. Dissolved calcium sulphate is thermally stable and stays dissolved even when boiled — that is why this type is called permanent.

Why does hard water cause problems with soap?

Soap is a sodium salt of a fatty acid (e.g. sodium stearate, C₁₇H₃₅COO⁻Na⁺). In soft water, soap dissolves and produces a lather with bubbles.

In hard water, the Ca²⁺ and Mg²⁺ ions react with the soap anions (C₁₇H₃₅COO⁻) to form insoluble calcium or magnesium salts:

2C₁₇H₃₅COO⁻(aq) + Ca²⁺(aq) → (C₁₇H₃₅COO)₂Ca(s) (insoluble scum)

This scum is the grey, greasy deposit you see in baths and on shower tiles in hard water areas. Before lather forms, all of the added soap must first react with the dissolved Ca²⁺ and Mg²⁺ — meaning you must use significantly more soap to get the same cleaning effect as in soft water. Soapless detergents (e.g. washing-up liquid, shampoo) do not form scum because they contain different surfactant molecules that do not react with Ca²⁺ or Mg²⁺.

How can hard water be softened?

Several methods exist, each working by different chemistry:

1. Boiling

  • Removes temporary hardness only
  • Ca(HCO₃)₂ → CaCO₃(s) + H₂O + CO₂
  • Impractical for large volumes

2. Adding washing soda (sodium carbonate, Na₂CO₃)

  • Removes both temporary and permanent hardness
  • Na₂CO₃ dissolves in water to give CO₃²⁻ ions
  • CO₃²⁻(aq) + Ca²⁺(aq) → CaCO₃(s) (precipitate removed by filtering)
  • This is why washing soda was traditionally added to laundry before detergents became available

3. Ion exchange column

  • Removes both temporary and permanent hardness
  • Column contains resin beads containing Na⁺ or H⁺ ions
  • As hard water flows through, Ca²⁺ and Mg²⁺ ions swap with Na⁺ or H⁺ ions
  • Water leaving the column contains Na⁺ instead of Ca²⁺/Mg²⁺ — no longer hard
  • The resin is regenerated by flushing with concentrated sodium chloride (brine) solution: Na⁺ from the brine displaces accumulated Ca²⁺ from the resin, restoring it

Worked comparison:

A student tests water before and after passing through an ion exchange column by adding soap solution and shaking. Before: small lather, large scum layer. After: large lather, no scum. The volume of soap needed to produce a permanent lather is much smaller after ion exchange — this is a standard GCSE practical.

4. Distillation

  • Removes both types of hardness (and everything else dissolved)
  • Only pure water vapour is condensed — all dissolved ions remain in the residue
  • Energy-intensive and impractical for domestic use; used in laboratories

Are there any benefits to hard water?

Interestingly, some evidence suggests hard water may have health advantages:

  • Calcium and magnesium from hard water contribute to dietary intake of these minerals — important for bone and teeth health.
  • Cardiovascular health — some studies suggest hard water areas have slightly lower rates of cardiovascular disease, possibly related to magnesium intake, though the evidence is not conclusive.
  • Taste — many people prefer the taste of hard water for drinking and making tea (particularly relevant to UK tea culture — London's hard water is considered important to the character of London drinking water).

These potential benefits must be weighed against the practical costs of scale in pipes, boilers, and appliances, and the extra cost of soap and detergents.

How should you answer hard water questions in the exam?

For a question asking you to compare temporary and permanent hardness:

  • Temporary: caused by dissolved Ca(HCO₃)₂; removed by boiling; boiling decomposes it to CaCO₃ (insoluble precipitate) + CO₂ + H₂O.
  • Permanent: caused by dissolved CaSO₄ (and MgSO₄); NOT removed by boiling; requires washing soda or ion exchange.

For ion exchange: say that Ca²⁺ (and Mg²⁺) ions exchange with Na⁺ (or H⁺) ions in the resin. The water leaving contains Na⁺ instead of Ca²⁺ and is now soft. The resin is regenerated with brine (NaCl solution).


Frequently asked questions

Why does limescale form in kettles and boilers?

Limescale is calcium carbonate (CaCO₃) — the insoluble precipitate produced when temporary hard water is heated. The reaction Ca(HCO₃)₂ → CaCO₃(s) + H₂O + CO₂ occurs when the water temperature rises. The CaCO₃ deposits on the heating element and inner walls of the appliance. Limescale is a poor conductor of heat, so a scaled kettle element must work harder and use more electricity to heat the water — wasting energy. Limescale in boilers and pipes reduces flow rate, efficiency, and the lifetime of the appliance.

Why do soapless detergents work in hard water?

Soapless detergents (such as those in shower gel, washing-up liquid, and washing powder) contain surfactant molecules that are sodium salts of organic sulphonic acids rather than fatty acids. Their anions (RSO₃⁻ or ROSO₃⁻) do not react with Ca²⁺ and Mg²⁺ ions to form an insoluble scum — the calcium and magnesium salts of these surfactants are soluble. This means soapless detergents lather and clean equally well in hard and soft water, which is why they replaced traditional soap in most domestic cleaning applications.

Is all UK tap water hard?

No. Hardness varies significantly across the UK depending on the underlying geology. Water from areas where the rock is granite or other non-soluble rock (much of Scotland, Wales, and the Lake District) tends to be very soft — it picks up very little calcium or magnesium. Water from chalk and limestone areas of south-east England, the Midlands, and East Anglia is typically very hard. Yorkshire and London water is among the hardest in the UK. Water companies in hard water areas sometimes partially soften water at the treatment works before distribution.

Can drinking hard water harm you?

No — hard water is safe to drink and is regulated as such by UK drinking water standards. The levels of calcium and magnesium in the hardest UK tap water are well below any health concern threshold. As noted above, the calcium in hard water may even be mildly beneficial. Prolonged boiling of very hard water can concentrate other dissolved minerals if significant evaporation occurs, but normal consumption of hard tap water poses no health risk.


Professor Curie at aitutors.me can take you through the ion exchange mechanism step by step, quiz you on the differences between temporary and permanent hardness, and help you master the GCSE practical questions on soap lathering.