Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo

27.2 • Soap

Soap has been in use for nearly 5000 years. As early as 2800 BC, the Babylonians boiled fats with ashes to create a soap-like substance. Ancient Egyptian medical papyri dating from 1550 BC reveals that Egyptians bathed regularly with soap made from a mixture of animal fats, vegetable oils, and alkaline salts. Chemically, soap is a mixture of the sodium or potassium salts of the long-chain fatty acids produced by hydrolysis (saponification) of animal fat with alkali. Wood ash was used as a source of alkali until the early 1800s, when the LeBlanc process for making Na2CO3 by heating sodium sulfate with limestone became available.

A fat with an R group equal to eleven to nineteen aliphatic chains reacts with sodium hydroxide and water to produce three moles of sodium salt (soap) and glycerol.

Crude soap curds contain glycerol and excess alkali as well as soap but can be purified by boiling with water and adding NaCl or KCl to precipitate the pure carboxylate salts. The smooth soap that precipitates is dried, perfumed, and pressed into bars for household use. Dyes are added to make colored soaps, antiseptics are added for medicated soaps, pumice is added for scouring soaps, and air is blown in for soaps that float. Regardless of these extra treatments and regardless of price, though, all soaps are basically the same.

Soaps act as cleansers because the two ends of a soap molecule are so different. The carboxylate end of the long-chain molecule is ionic and therefore hydrophilic (Section 2.12), or attracted to water. The long hydrocarbon portion of the molecule, however, is nonpolar and hydrophobic, avoiding water and therefore more soluble in oils. The net effect of these two opposing tendencies is that soaps are attracted to both oils and water and are therefore useful as cleansers.

When soaps are dispersed in water, the long hydrocarbon tails cluster together on the inside of a tangled, hydrophobic ball, while the ionic heads on the surface of the cluster protrude into the water layer. These spherical clusters, called micelles, are shown schematically in Figure 27.2. Grease and oil droplets are solubilized in water when they are coated by the nonpolar, hydrophobic tails of soap molecules in the center of micelles. Once solubilized, the grease and dirt can be rinsed away.

The ball-and-stick model in the electrostatic potential map of fatty acid carboxylate. The figure shows soap molecule with an ionic head and hydrocarbon tail followed by the structure of micelles.
Figure 27.2 A soap micelle solubilizing a grease particle in water. An electrostatic potential map of a fatty acid carboxylate shows how the negative charge is located in the head group.

As useful as they are, soaps also have drawbacks. In hard water, which contains metal ions, soluble sodium carboxylates are converted into insoluble magnesium and calcium salts, leaving the familiar ring of scum around bathtubs and a gray tinge on white clothes. Chemists have circumvented this problem by synthesizing a class of synthetic detergents based on salts of long-chain alkylbenzenesulfonic acids. The mechanism of synthetic detergents is the same as that of soaps: the alkylbenzene end of the molecule is attracted to grease, while the anionic sulfonate end is attracted to water. Unlike soaps, though, sulfonate detergents don’t form insoluble metal salts in hard water and don’t leave an unpleasant scum.

A synthetic detergent with R equals various carbon 12 chains. Benzene ring with a sulfur double bonded to two oxygens and single bonded to one oxygen negative and R group.
Problem 27-3
Draw the structure of magnesium oleate, a component of bathtub scum.
Problem 27-4
Write the saponification reaction of glyceryl dioleate monopalmitate with aqueous NaOH.
Order a print copy

As an Amazon Associate we earn from qualifying purchases.


This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at
Citation information

© Jan 9, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.