Caustic soda is the alkali behind most bar soap and a large share of household detergents. In soap it reacts directly with fats and oils. In synthetic detergents it neutralises the acid form of the surfactant. The chemistry is simple, but getting the quantity right decides whether the product is mild, harsh or greasy.
Saponification: turning oil into soap
Fats and oils are triglycerides: three fatty acid chains joined to a glycerol backbone. When they are heated or mixed with a strong alkali solution, the bonds break. The fatty acids become their sodium salts, which is soap, and glycerol is released. The glycerol can stay in the bar as a softening humectant or be recovered as a by-product.
The choice of alkali sets the character of the soap. Sodium hydroxide gives firm bar soaps, while potassium hydroxide gives softer pastes and liquid soaps. This is why caustic soda dominates in toilet and laundry bars.
How much caustic soda an oil needs
Each oil has a saponification value: the amount of alkali needed to fully saponify one gram of it. Values are usually published in milligrams of KOH per gram. To convert to sodium hydroxide, divide by about 1.403, the ratio of the two molecular weights.
| Oil | Saponification value (mg KOH/g) | Approximate NaOH equivalent (mg/g) |
|---|---|---|
| Coconut oil | 248 to 265 | 177 to 189 |
| Palm oil | 190 to 209 | 135 to 149 |
| Olive oil | 184 to 196 | 131 to 140 |
Coconut oil, with its shorter fatty acid chains, needs noticeably more caustic per kilogram than olive oil. A formulator adds up the requirement for each oil in the blend to find the total alkali needed.
Most recipes then deliberately use slightly less alkali than the calculated amount. This "superfat" leaves a small excess of oil, ensures no free caustic remains in the bar and makes the soap milder on skin. Too much caustic, by contrast, gives a harsh, alkaline product. For this reason the actual NaOH content of the caustic used matters: a formula calculated for 98% flakes will be wrong if the lye strength or flake purity is different.
Caustic soda in synthetic detergents
Many detergents rely on linear alkylbenzene sulphonate, an anionic surfactant. It is made by sulphonating alkylbenzene, which gives an acid, linear alkylbenzene sulphonic acid. That acid is then neutralised with sodium hydroxide to form the sodium sulphonate that does the cleaning. Neutralisation releases heat, so plants control the rate of addition and temperature.
Caustic soda also appears elsewhere in cleaning products: in drain cleaners, oven and degreasing products, and industrial cleaning-in-place solutions, where its strong alkalinity breaks down fats and protein soils.
Practical points for soap and detergent plants
- Form. Small and medium soap makers often use flakes or pearls dissolved on site. Larger continuous plants usually prefer 50% lye pumped from bulk storage.
- Purity. Carbonate, chloride and iron contents all affect the finished product. Iron can contribute to discolouration, and carbonate represents alkali that is not available as NaOH.
- Dissolving. Add caustic slowly to water with stirring, never water to caustic. Dissolving releases a great deal of heat.
- Safety. Caustic solutions cause severe burns to skin and eyes. Wear chemical splash goggles, a face shield where splashing is possible, alkali-resistant gloves and protective clothing, and keep eyewash and showers nearby.
In soap making the caustic quantity is calculated, not estimated. Know the oil blend's saponification value and the true NaOH strength of the caustic you are using.
Sourcing for soap and detergent production
When enquiring, state the form, minimum NaOH content and any limits on carbonate, chloride and iron your formulation needs, together with packing preferences. Ask for a certificate of analysis for every lot so that your formulation can be adjusted to the actual assay, and keep the safety data sheet on file. Nuroil supplies caustic soda flakes and lye to hygiene and personal care manufacturers.



