Hard Water and Soap: Scum Formation
Why soap lathers poorly in hard water
Lesson 432 of 4,500 · Air, Water and Everyday Chemistry
Learning objectives
- Explain what soap is and how it forms a lather
- Describe how calcium and magnesium ions react with soap to form scum
- Explain why soapless detergents do not form scum
Introduction
Anyone who has washed their hands in a hard-water area knows the problem: the soap slides around without making much foam, and a grey ring forms around the basin or bath. That grey ring is scum , and it is the most familiar sign of hard water. This page explains the chemistry behind it — what soap actually is, what happens when it meets calcium and magnesium ions, and why modern detergents avoid the problem.
Core explanation
What is soap? Soap is made by heating fats or oils with an alkali. The product is the sodium (or potassium) salt of a long-chain fatty acid . A common example is sodium stearate , C₁₇H₃₅COONa. In water it splits into sodium ions and stearate ions , C₁₇H₃₅COO⁻.
How soap cleans. Each stearate ion has two very different ends. The long hydrocarbon tail (C₁₇H₃₅–) is attracted to grease and repels water. The charged head (–COO⁻) is attracted to water. The tails dig into a grease droplet while the heads stay in the water, so the grease is surrounded, lifted off and carried away. Soap ions also gather at the surface of water, which allows stable bubbles — a lather — to form.
What goes wrong in hard water. Hard water contains dissolved calcium ions (Ca²⁺) and magnesium ions (Mg²⁺) . When soap is added, the stearate ions react with these ions. Calcium stearate and magnesium stearate are insoluble , so they come out of solution as a grey-white solid: scum .
Soap is wasted. Every stearate ion that ends up in scum is no longer available to clean or to foam. Soap keeps being used up this way until nearly all the Ca²⁺ and Mg²⁺ ions have been removed as scum. Only then does extra soap remain in solution to produce a lasting lather. This is why hard water "uses up" soap and why the amount of soap needed to form a lather is a measure of hardness.
Both kinds of hardness cause scum. It does not matter whether the calcium ions came from hydrogencarbonates (temporary hardness) or sulfates (permanent hardness): any dissolved Ca²⁺ or Mg²⁺ reacts with soap.
Soapless detergents. Most washing-up liquids, shampoos and laundry products are soapless detergents . They work in the same way as soap, with a water-loving head and grease-loving tail, but their head group is different (often a sulfonate, –SO₃⁻). The calcium and magnesium salts of these detergents are soluble , so no scum forms and they lather well even in hard water.
Formulae
Scum formation with calcium ions:
2C₁₇H₃₅COONa(aq) + Ca²⁺(aq) → (C₁₇H₃₅COO)₂Ca(s) + 2Na⁺(aq)
Ionic equation: 2C₁₇H₃₅COO⁻(aq) + Ca²⁺(aq) → (C₁₇H₃₅COO)₂Ca(s)
Step-by-step reasoning
Following soap as it is added to hard water:
1. The first soap added dissolves, releasing stearate ions. 2. Stearate ions meet Ca²⁺ and Mg²⁺ ions and form insoluble scum. 3. More soap is added and more scum forms; no lasting lather yet. 4. Once the calcium and magnesium ions are used up, extra stearate ions stay dissolved. 5. The water now forms a lasting lather.
Visual explanation
Picture stearate ions as tadpoles with a charged head and a long tail. In soft water they line up at the surface and around grease droplets. In hard water, each Ca²⁺ ion grabs the heads of two tadpoles and pulls them together into a clump that sinks or floats as grey flakes — the scum.
Real-world analogy
Imagine volunteers arriving to clean a park, but at the gate each pair is stopped and given a different job. Only when everyone at the gate is busy do new volunteers get through to clean. Calcium ions are the gatekeepers, and soap only starts cleaning once they are all "occupied" as scum.
Real-world example
The "bath ring" left after a bath in a hard-water area is scum mixed with dirt and skin oils. It sticks to the enamel and needs scrubbing. Laundry washed with soap in hard water can also end up looking grey and feeling stiff because scum becomes trapped in the fibres.
Why?
Why do calcium ions react with two soap ions while sodium ions stay dissolved? A calcium ion has a 2+ charge, so it attracts two stearate ions strongly and forms a neutral, tightly packed solid. Sodium ions have only a 1+ charge, and sodium stearate dissolves readily in water.
Common misconception
"Scum is just dirt left by the water." Scum is a new chemical substance — calcium or magnesium stearate — made by a precipitation reaction between soap and the metal ions in hard water.
Worked example
Question: Explain why washing-up liquid lathers well in hard water but a bar of soap does not.
Reasoning: Soap contains stearate ions, which react with Ca²⁺ and Mg²⁺ to form insoluble scum, wasting soap. Washing-up liquid is a soapless detergent whose calcium and magnesium salts are soluble.
Answer: The detergent does not form a precipitate with calcium or magnesium ions, so none of it is wasted as scum and it lathers straight away.
Quick check
1. What is the name of the insoluble substance formed when soap reacts with calcium ions? Answer: Calcium stearate, commonly called scum.
Exam focus
State that hard water forms scum with soap, so more soap is needed to produce a lather. Be able to write the equation for sodium stearate with calcium ions, and explain that soapless detergents do not form scum because their calcium salts are soluble.
Advanced insight
Soap ions cluster into spheres called micelles , with tails inward and heads outward, once their concentration passes a certain level. Grease dissolves inside the micelle core. Calcium ions bridge neighbouring heads and collapse these structures. Many laundry powders include "builders", such as phosphates or zeolites, which trap Ca²⁺ ions so the detergent works even better.
Summary
Soap is a sodium salt of a fatty acid, such as sodium stearate. In hard water its stearate ions react with dissolved Ca²⁺ and Mg²⁺ to form insoluble calcium and magnesium stearate — scum. Soap is wasted until these ions are used up, so lather forms only after extra soap is added. Soapless detergents avoid the problem because their calcium and magnesium salts are soluble.
Practice questions
1. Write the ionic equation for the formation of scum from stearate ions and calcium ions. Answer: 2C₁₇H₃₅COO⁻(aq) + Ca²⁺(aq) → (C₁₇H₃₅COO)₂Ca(s) 2. Why is more soap needed to form a lather in hard water than in soft water? Answer: Some soap reacts with the calcium and magnesium ions to form scum, and a lasting lather forms only once those ions have been removed. 3. Does temporary hardness form scum with soap? Explain. Answer: Yes, because it contains dissolved Ca²⁺ ions, and any dissolved calcium or magnesium ions react with soap to form scum. 4. Give one advantage of soapless detergents in hard-water areas. Answer: They do not form scum, so less detergent is wasted and no grey deposits are left on baths or clothes.