Anyone who has tried to work up a lather in a bathroom in a hard water area knows the problem. The bar slides about, the suds are thin, and a grey film builds up on the tiles. The cause is chemistry, and it is fairly easy to follow once you know which ions are involved.
What makes water hard
Rain picks up very little dissolved material on its way down, but as water moves through soil and rock it dissolves minerals. Limestone and chalk are mostly calcium carbonate, so groundwater that passes through them carries dissolved calcium and magnesium ions. Water with a noticeable amount of these ions is called hard water. Water with few of them is soft.
Hardness is usually reported as the combined concentration of calcium and magnesium, often in milligrams per litre expressed as calcium carbonate. Local water utilities publish water quality information for their supply areas, and it usually includes hardness or the individual calcium and magnesium levels. Those figures are a better guide than a general impression of the water, because supply areas can differ a lot even within one city.
What soap is doing
Soap is the sodium or potassium salt of a long-chain fatty acid. Each molecule has two parts that behave differently. One end, a charged carboxylate group, is attracted to water. The long hydrocarbon tail repels water and is attracted to grease and oil. When soap dissolves, the molecules gather around greasy droplets with their tails pointing inward, which lifts dirt off skin or fabric so it can rinse away. In soft water this works well, and the lather forms readily.
Where the scum comes from
Calcium and magnesium ions carry a two-plus charge. When they meet the charged end of soap molecules, they bind to two of them at once and form calcium or magnesium salts of the fatty acid. These salts are insoluble in water, so they do not dissolve. They come out of solution as a sticky solid, which is the familiar soap scum.
This has a practical consequence. Every hardness ion that binds soap is soap that cannot clean and cannot make foam. Only after enough soap has been added to bind all the calcium and magnesium does lather appear. That is why you can keep adding soap to a hard water basin and still see very little foam, and why the residue settles on the sink and shower screen instead of washing away.
Why the ring is stubborn
Scum sticks to surfaces, and it is worst where water evaporates and leaves a film behind. Over time the deposits thicken. Limescale, which is mostly calcium carbonate from the water itself, is a separate problem from soap scum, though the two often appear together. Mildly acidic cleaners such as diluted white vinegar dissolve limescale well, and they can also loosen soap scum, although they may need some scrubbing. Rinsing the surface while it is still wet and wiping it dry after use reduces how much film forms in the first place.
Detergents behave differently
Many laundry powders, dishwashing products and body washes use synthetic detergents rather than plain soap. Most are based on sulfonates or related compounds. Their calcium and magnesium salts are more soluble than those of soap, so they keep working in hard water. They produce lather more readily and leave less film.
Detergent formulators also add builders, which are ingredients that bind hardness ions so they cannot interfere with the surfactant. Sodium carbonate and zeolite-type materials are used this way. Phosphate builders were once common, but their use has declined in many products because of their effect on waterways. The Royal Society of Chemistry publishes plain-language material on surfactants and water chemistry that is useful background for anyone curious about how these ingredients are chosen.
Practical options at home
If your water is hard, the simplest change is to use a detergent-based product rather than a plain soap bar. Liquid soaps are often formulated with the same chemistry, so check the ingredient list rather than assuming that a product labelled soap behaves like traditional bar soap.
Some households install a water softener. These units pass water through a resin bed that swaps calcium and magnesium ions for sodium. Softeners reduce scale in pipes, water heaters and appliances, and they make soap work more easily. They also add sodium to the water, and the resin needs periodic regeneration with salt. Whether one makes sense depends on how hard the water is, how much you use, and whether the extra sodium matters for your household, so it is a decision to weigh rather than an automatic fix.
Testing your own water
Hardness test strips give a rough reading and are inexpensive. They are useful if you want to check the difference between two taps or see whether a softener is working. For a more reliable figure, compare the readings with your utility’s published data for your postcode.
The same chemistry explains kettle furring. When water is heated, dissolved calcium carbonate comes out of solution and forms a crust on the element and the base of the kettle. Descaling with a mild acid, followed by a thorough rinse, removes most of it. The American Chemical Society also publishes accessible explanations of solubility and precipitation, which are the ideas behind both soap scum and kettle scale.