Hardness of Water
Calcium and magnesium ions in temporary and permanent hardness
Lesson 1887 of 4,500 · Hydrogen and s-Block Elements
Learning objectives
- Explain water hardness using dissolved calcium and magnesium ions
- Distinguish bicarbonate-associated temporary hardness from noncarbonate hardness
Introduction
Water that has moved through mineral-bearing rock can carry dissolved Ca²⁺ and Mg²⁺. These ions make it harder to form a useful lather with ordinary soap and can contribute to scale when conditions cause solids to precipitate. Chemists call this water hardness. “Hard” does not mean that liquid water has become mechanically rigid; it names a solution property arising mainly from divalent ions.
Core explanation
Calcium and magnesium ions can enter water when minerals dissolve. For carbonate rock in water containing carbon dioxide, a useful equilibrium is CaCO₃(s) + CO₂(g) + H₂O(l) ⇌ Ca²⁺(aq) + 2HCO₃⁻(aq). Atoms and charge balance. Dissolved bicarbonate is often described as “calcium hydrogencarbonate,” Ca(HCO₃)₂, but the aqueous species are ions. The equation links geological carbonate, dissolved CO₂ and a source of calcium hardness; natural waters can also contain magnesium-bearing minerals and other ions.
Temporary hardness is the traditional name for the bicarbonate-associated part. When suitable water is boiled, CO₂ can leave and calcium carbonate can precipitate: Ca²⁺ + 2HCO₃⁻ → CaCO₃(s) + CO₂(g) + H₂O(l). The equation conserves one Ca, two C, six O and two H; charge is zero on each side. Removal of solid from the liquid lowers dissolved Ca²⁺. Magnesium bicarbonate systems can yield more complicated solid products, so this calcium equation is a representative model, not a complete formula for all household scale.
Permanent hardness is the traditional name for hardness associated with ions such as sulfate or chloride rather than bicarbonate. For example, dissolved Ca²⁺ from a soluble calcium salt does not necessarily disappear on boiling just because the water reaches 100 °C. Boiling alone is therefore not a general water-softening method. The names “temporary” and “permanent” describe response to the boiling test, not whether an ion remains forever or cannot be removed by another treatment.
Soap reveals hardness because fatty-acid soap anions can form low-solubility calcium or magnesium salts. With RCOO⁻ representing a long-chain carboxylate, Ca²⁺ + 2RCOO⁻ → Ca(RCOO)₂(s). Two singly negative soap ions pair with one Ca²⁺. The resulting precipitate is often called soap scum. Some soap is consumed before it can contribute to lather, so more is required. Synthetic detergents can behave differently because their head-group chemistry and calcium salt solubility differ; do not assume every cleaning agent fails in hard water in the same way.
Scale formation is a related but distinct observation. Heating bicarbonate-rich water can promote CaCO₃ deposition on a kettle or heat-transfer surface. Scale may reduce heat transfer or narrow passages over time. Yet the presence of dissolved Ca²⁺ by itself does not guarantee visible scale; precipitation requires conditions such as carbonate availability, pH, temperature and enough ions to exceed solubility. This distinction prevents a simple hardness reading from being confused with a prediction of exact deposit mass.
Ion-exchange softening can replace Ca²⁺ and Mg²⁺ in water with other cations on a resin. If sodium is the exchange ion, two resin-bound Na⁺ sites can exchange for one Ca²⁺ to preserve charge. This removes the multivalent ion from the water stream without relying on boiling. The resin must be regenerated and the chemistry of the resulting water depends on the system; a treatment method should be chosen for its purpose, not merely because it changes the word “hard.”
Step-by-step reasoning
1. Identify dissolved Ca²⁺ and Mg²⁺ as principal sources of hardness. 2. Look for bicarbonate alongside the metal ions; associate this component with temporary hardness. 3. For boiling, use a balanced carbonate-precipitation equation rather than saying ions evaporate. 4. If sulfate or chloride is the relevant counterion, do not predict removal by boiling alone. 5. Explain soap use by precipitation of a divalent-metal soap salt and verify charge balance.
Visual explanation
Draw a beaker with dissolved Ca²⁺, Mg²⁺, HCO₃⁻, Cl⁻ and SO₄²⁻ labels. Route the bicarbonate-associated Ca²⁺ toward a kettle marked “boiling, CO₂ leaves, CaCO₃ scale.” Route chloride/sulfate-associated hardness through a second path marked “boiling alone insufficient.” Add a soap drop that combines two RCOO⁻ with one Ca²⁺ to make a solid, and a separate ion-exchange resin that holds Ca²⁺.
Real-world analogy
Imagine guests who take two seats each in a small room. Divalent Ca²⁺ and Mg²⁺ can tie up two singly charged soap anions in a solid, leaving fewer free soap molecules for their intended job. The analogy helps with the 1:2 ion ratio; real soap precipitation depends on solubility and concentration, not seating rules.
Real-world example
A kettle used with bicarbonate-rich hard water can accumulate a pale CaCO₃ deposit as heating drives off CO₂ and shifts carbonate chemistry. In another home, high dissolved calcium may come mainly from noncarbonate salts, and boiling may remove much less hardness. These cases have the same metal ion but different counterion chemistry, which is why both source and treatment matter.
Why?
Why can boiling reduce temporary hardness but not automatically permanent hardness? Bicarbonate can decompose under boiling conditions, release CO₂ and leave a carbonate solid. Chloride and sulfate associations do not provide that same CO₂-loss route, so Ca²⁺ and Mg²⁺ may stay dissolved.
Common misconception
“Hardness means unsafe water, and soft water is always better for every use.” Hardness is a defined chemical property, not a universal safety verdict. Drinking-water decisions require separate assessment of contaminants and local standards; industrial, cleaning and taste goals can also differ.
Worked example
Suppose 0.010 mol Ca²⁺ in a sample is associated with enough bicarbonate for complete precipitation under the idealised boiling equation Ca²⁺ + 2HCO₃⁻ → CaCO₃ + CO₂ + H₂O. It needs 0.020 mol HCO₃⁻ and can form 0.010 mol CaCO₃. The two-to-one bicarbonate-to-calcium ratio follows from charge and atom balance. If only 0.012 mol HCO₃⁻ were available, that reagent could support precipitation of at most 0.006 mol CaCO₃ in this idealised pathway, even before considering equilibrium or kinetic limits.
Quick check
1. Why does one Ca²⁺ ion consume two soap anions in the precipitation equation? Answer: Each soap carboxylate carries −1 charge, so two are needed to balance the +2 charge on calcium.
Exam focus
Name Ca²⁺ and Mg²⁺, distinguish temporary from permanent hardness by the boiling response, and balance the calcium bicarbonate and soap-scum equations. Avoid claiming boiling evaporates metal ions or removes all forms of hardness.
Advanced insight
Water hardness is often reported as an equivalent concentration of CaCO₃ even when no solid CaCO₃ is present in the sample. That reporting convention converts the ion effect onto a common scale; it must not be mistaken for direct measurement of suspended limestone. Carbonate scale also depends on coupled equilibria involving CO₂, pH and temperature.
Summary
Hardness mainly reflects dissolved Ca²⁺ and Mg²⁺. Bicarbonate-associated temporary hardness can fall on boiling as carbonate precipitates and CO₂ leaves. Noncarbonate hardness usually survives boiling, though other treatment such as ion exchange can remove divalent ions. Soap scum and scale arise from precipitation under different chemical conditions.
Practice questions
1. Write a balanced equation for calcium soap scum from Ca²⁺ and RCOO⁻. Answer: Ca²⁺ + 2RCOO⁻ → Ca(RCOO)₂(s). 2. What makes bicarbonate-associated hardness “temporary” in the traditional test? Answer: Boiling can release CO₂ and precipitate carbonate, lowering dissolved calcium in the idealised case. 3. Why might boiling water containing dissolved calcium chloride not remove much hardness? Answer: The chloride-associated calcium lacks the bicarbonate decomposition route that precipitates CaCO₃; boiling alone does not remove Ca²⁺ generally.