gor.bio wiki

How Soap and Detergents Work

Why one molecule can dissolve both oil and water: surfactant chemistry, micelles, hard-water scum, and the difference between soap and detergent.

Category: Organic Chemistry · Created: 2026-08-29 · Updated: 2026-08-29

Illustration: Bars of pure Marseille and Aleppo soap, 2024
Illustration: Bars of pure Marseille and Aleppo soap, 2024 · Image: DimiTalen, CC0, via Wikimedia Commons.

Dirt that water cannot move is held there by grease; the job of any cleanser is to make oil and water cooperate. Soap, invented independently across ancient civilizations and industrialized for two centuries, does it with a molecule shaped for the job: one end loves water, the other end loves oil. Everything about washing — why it foams, why hard water defeats it, why detergent replaced it — follows from that shape.

The surfactant mechanism

A soap molecule is a fatty acid salt: a long hydrocarbon tail (hydrophobic) and a carboxylate head (hydrophilic). In water, surfactants crowd into spheres called micelles, tails inward and heads outward, hiding the tails from water. When a micelle encounters grease, the tails bury into the oil droplet and the heads face the water — the droplet becomes a water-soluble package that rinse water can carry away. This is why washing mechanically matters: agitation gives micelles fresh surfaces to work on.

Why hard water breaks soap

Classic soap is a sodium or potassium salt of a fatty acid. Calcium and magnesium ions (hardness) swap for the sodium and precipitate as insoluble scum — the bathtub ring — removing soap from service. Detergents (synthetic surfactants, dominant since the 1940s) use charged or non-ionic heads that do not precipitate with calcium, which is why machine detergents work in hard water where soap fails. Builders (zeolites, citrate) soften water and boost the surfactant; enzymes digest protein and starch soils.

The chemistry

Soap is made by saponification: strong base (lye) hydrolyzes fats into glycerol and fatty-acid salts — the same functional groups logic that defines the whole surfactant family. Antibacterial claims add little for ordinary use; the mechanical and thermodynamic work of micelles does most of the cleaning, and the surfactant's job is to make water wetter than oil. Related reading: acids and bases for why soap is mildly alkaline and why "pH-balanced" matters.

Tags

chemistry cleaning soap surfactants

Related articles

This text may be freely copied, modified, and reused. See Content Reuse.