Why does soap not work well in hard water — explain with equations

hard CBSE JEE-MAIN NEET 4 min read

Question

Why does soap not work well in hard water? Explain the chemistry involved, including the relevant chemical equations. What is the scum formed?

Solution — Step by Step

Hard water contains dissolved calcium (Ca2+Ca^{2+}) and magnesium (Mg2+Mg^{2+}) ions (and sometimes iron ions). These enter the water as it passes through limestone or chalk deposits:

CaCO3+CO2+H2OCa2++2HCO3\text{CaCO}_3 + \text{CO}_2 + \text{H}_2\text{O} \rightarrow \text{Ca}^{2+} + 2\text{HCO}_3^-

Hard water doesn’t affect drinking safety but drastically reduces soap’s effectiveness.

Soap is the sodium or potassium salt of a long-chain fatty acid. For example, sodium stearate (a common soap):

CH3(CH2)16COO Na+(sodium stearate)\text{CH}_3(\text{CH}_2)_{16}\text{COO}^-\ \text{Na}^+ \quad \text{(sodium stearate)}

Soap works by forming micelles — structures where the hydrophobic (water-hating) tails of soap molecules surround grease/oil, and the hydrophilic (water-loving) carboxylate heads face outward into water. This allows oil (normally insoluble in water) to be washed away.

When soap (sodium stearate) is added to hard water containing Ca2+Ca^{2+} ions:

2CH3(CH2)16COO Na++Ca2+Ca[CH3(CH2)16COO]2+2Na+2\text{CH}_3(\text{CH}_2)_{16}\text{COO}^-\ \text{Na}^+ + \text{Ca}^{2+} \rightarrow \text{Ca}[\text{CH}_3(\text{CH}_2)_{16}\text{COO}]_2 \downarrow + 2\text{Na}^+

Sodium stearate (soluble soap) + calcium ions → Calcium stearate (insoluble precipitate) + sodium ions

The calcium stearate precipitate is the scum — a grey-white, sticky, insoluble deposit you see on bathtubs, sinks, and fabrics washed in hard water.

Similarly with magnesium:

2CH3(CH2)16COO Na++Mg2+Mg[CH3(CH2)16COO]2+2Na+2\text{CH}_3(\text{CH}_2)_{16}\text{COO}^-\ \text{Na}^+ + \text{Mg}^{2+} \rightarrow \text{Mg}[\text{CH}_3(\text{CH}_2)_{16}\text{COO}]_2 \downarrow + 2\text{Na}^+

The soap molecules that have reacted with Ca2+Ca^{2+} or Mg2+Mg^{2+} are now in the insoluble scum — they can no longer form micelles or surround grease. The cleaning action of soap requires free soap ions in solution.

Two problems:

  1. Wasted soap: A large amount of soap is used up just reacting with the calcium/magnesium ions before any cleaning begins. You must add excess soap until the water is “saturated” with scum and excess soap remains.
  2. Scum sticks to fabric: The insoluble calcium/magnesium soap deposits on clothes and skin, leaving them looking grey and feeling stiff. This is why clothes washed in hard water look dingy over time.

Why detergents work in hard water: Synthetic detergents (e.g., sodium lauryl sulphate, sodium benzene sulphonate) have sulphonate (SO3-\text{SO}_3^-) or sulphate (OSO3-\text{OSO}_3^-) groups instead of carboxylate. Their calcium and magnesium salts are soluble — they don’t precipitate. Hence detergents work in hard water without forming scum.

Water softening methods:

  • Clark’s method: Adding calculated amount of lime → Ca²⁺ precipitates as CaCO₃
  • Ion exchange: Pass hard water through resin beads with Na⁺ ions; Ca²⁺/Mg²⁺ exchange with Na⁺ → soft water (Na⁺ doesn’t react with soap)
  • Washing soda (Na₂CO₃): Reacts with Ca²⁺ → CaCO₃ precipitates → Ca²⁺ removed from water

Why This Works

The fundamental issue is that Ca2+Ca^{2+} and Mg2+Mg^{2+} ions (doubly charged) form insoluble salts with the carboxylate anion of soap, while Na+Na^+ (singly charged) forms soluble salts (the soap itself). The precipitation reaction is thermodynamically favoured — the lattice energy of the insoluble calcium/magnesium stearate exceeds the hydration energy of the ions in solution.

Detergents avoid this problem by using stronger acid anions (sulphonate, sulphate) whose calcium and magnesium salts have higher solubility due to different crystal packing.

Alternative Method

A simple qualitative test for hard water: add soap solution and shake. If a persistent lather forms, the water is soft. If it produces a scum and the lather quickly disappears, the water is hard.

For CBSE Class 12 (Chapter: Chemistry in Everyday Life), know: soap = sodium/potassium salt of fatty acid; detergent = sodium salt of long-chain alkyl/aryl sulphonic acid. Detergents work in hard water; soaps don’t (due to scum formation). This comparison appears consistently in board exams.

Common Mistake

Students often write “soap dissolves in hard water but doesn’t form lather.” This is partially wrong. Soap reacts with hard water to form an insoluble precipitate (scum) — the soap ions are removed from solution. It’s not that soap dissolves but can’t lather; it literally chemically reacts and is consumed. The scum is not dissolved soap — it is a new, insoluble chemical compound.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next