Part 8 · Chemistry
Detergents and Wetting Agents
Why soap turns to grey scum in hard water and how to stop it — testing water hardness, softening with washing soda, borax and phosphates; making Turkey red oil, the first wetting agent, from castor oil and sulfuric acid; mixing washing powders and washing-up liquid; and how modern synthetic detergents are made, in outline.
- Difficulty
- ●●●●●
- Time
- Ten minutes to test water; an afternoon to mix washing powder; two days for a batch of Turkey red oil (including standing and washing)
- Steps from zero
- 11 prerequisites →
This unlocks
—The full path from nothing — 11 steps before this one
- Fire
- Finding and Preparing Clay
- Sulfur
- Pottery
- The Kiln
- Lime
- Lye and Potash
- Glass
- Soap
- Saltpeter
- Sulfuric Acid
- Detergents and Wetting Agents
Do them roughly in this order. See it on the tech tree →
Why it matters
Soap has one great weakness: in hard water — water that has run through limestone or chalk — it curdles into a grey, sticky scum. The scum wastes most of the soap, leaves cloth grey and stiff, and rings every basin. In chalk country people can use two or three times as much soap as in soft-water country and still wash worse.
This chapter cures that in three steps: soften the water with cheap alkaline salts; make a wetting agent — a soap-like liquid that does not curdle — from castor oil and sulfuric acid; and combine them into washing powders and washing-up liquids that work in any water. Wetting agents also help dye cloth evenly, scour wool, soften leather, spread sprays over waxy leaves and let water soak into smouldering bales.
How it works
Why water does not wet things. Water molecules cling strongly to each other. That pull, called surface tension, makes water bead up on wax and grease, float a dry needle, and lie on top of raw cotton or greasy wool instead of soaking in.
A surfactant (surface-active agent: soap, Turkey red oil, any detergent) has one end that loves water and one end that loves oil (Soap). It crowds onto every surface, weakens the water's pull on itself, and lets water creep into fibres and under grease. Then it wraps grease droplets so they rinse away. A wetting agent is a surfactant chosen for the first job; a detergent for the second. Most do both.
Why hard water ruins soap. Hard water carries dissolved calcium and magnesium, picked up from limestone, chalk and dolomite (Rocks and Minerals). Soap is the sodium or potassium salt of a fatty acid. Calcium swaps in and makes calcium soap, which does not dissolve: it is the grey scum. Each bit of calcium destroys two soap molecules, and no soap is left to wash until all the calcium is used up.
How much soap is lost: water with a hardness of 300 mg per litre (counted as chalk) — common from limestone wells — destroys about 1.8 g of soap per litre. A 15-litre washtub of it eats 27 g of soap, a good handful, before any washing starts.
Two cures.
- Remove the calcium first with a builder — a salt that grabs calcium. Washing soda (sodium carbonate) turns it into fine chalk that settles out or rinses away. Phosphates either do the same (trisodium phosphate) or, better, hold the calcium dissolved in a harmless form (polyphosphates), so nothing settles on the cloth.
- Use a surfactant that calcium cannot curdle. In soap the water-loving head is a carboxylate, which calcium grips. Replace it with a sulfate or sulfonate head, made with Sulfuric Acid, and the calcium salt stays dissolved. Turkey red oil was the first such product; modern synthetic detergents are all built this way.
What you need
| Item | Use | Source |
|---|---|---|
| Washing soda (sodium carbonate crystals) or soda ash | Softening, washing powders | Soda Ash and Baking Soda |
| Borax | Mild softener, washing powders | Borax and Boric Acid |
| Soap, hard bars and soft soap | Everything | Soap |
| Castor oil | Turkey red oil | Pressed from castor beans (Oils and Pressing) |
| Concentrated sulfuric acid, above 90 % | Turkey red oil, phosphoric acid | Sulfuric Acid |
| Salt or Glauber's salt (sodium sulfate) | Washing the acid out of Turkey red oil | Salt; Glauber's salt is saltcake from Soda Ash and Baking Soda |
| Ammonia water or lye of soda | Neutralising | Ammonia, Lye and Potash |
| Bone ash and sulfuric acid | Phosphoric acid for phosphates | Phosphorus, Phosphoric Acid and Phosphates |
| Glazed stoneware crocks, glass rods, a The Thermometer | Acid work | Stoneware and Porcelain, Laboratory Glassware |
| Water glass (sodium silicate) | Washing powders | Water Glass (Sodium Silicate) |
Where to find it
- Castor beans: the castor-oil plant (Ricinus communis) grows wild and as a weed on waste ground across the tropics and warm temperate lands: a large shrub with big, glossy, star-shaped leaves of 5–11 lobes, often reddish, and spiny round seed pods holding mottled, shiny, bean-like seeds. The seeds are about half oil. The seeds are deadly poisonous (ricin); handle them with gloves, never let children near them, and keep the pressed cake from people and animals (Oils and Pressing). The oil itself, pressed and then heated, is safe — it has been a laxative for 3,000 years.
- Hard and soft water: water from limestone, chalk and dolomite country, deep wells and springs that leave white crust in kettles, is hard. Rainwater, and streams off granite, sandstone, peat and forest, are soft. The test below tells you exactly.
- Natron and trona — natural soda — form white crusts round dry-country soda lakes (Soda Ash and Baking Soda); borax crusts form round desert salt lakes (Borax and Boric Acid).
Testing water hardness: the soap test
Before softening, measure how hard the water is. This is the old soap test, needing only a bottle and a measure.
- Make test soap solution: dissolve 10 g of shaved hard soap in 1 litre of rainwater (or distilled water, Distillation), warming to dissolve. Keep it stoppered.
- Put 100 ml of the water to test in a clean bottle with a stopper.
- Add test solution 1 ml at a time. After each addition, stopper and shake hard for 10 seconds, then lay the bottle on its side.
- The end point is when an even, fine lather covers the whole surface and lasts 2 minutes.
- Write down how many ml it took.
| Soap solution needed per 100 ml | Water is | What to do |
|---|---|---|
| 1–2 ml | Soft (rainwater) | Use soap alone |
| 3–6 ml | Moderately hard | A little washing soda helps |
| 7–12 ml | Hard | Soften before washing |
| over 12 ml | Very hard | Soften, or collect rainwater for washing |
Before the end point you will see grey flecks: calcium soap. Boil a sample 15 minutes, let it settle, and test again. Hardness that boiling removes (temporary, from dissolved chalk) is what crusts kettles; what remains (permanent, mostly from gypsum) needs soda.
Builders: softening the wash water
Washing soda
Washing soda is the cheapest and best builder you can make (Soda Ash and Baking Soda). It turns calcium into fine chalk and makes the water alkaline, which helps lift grease.
Dose: about 0.3 g of washing soda crystals per litre for every 100 mg/L of hardness, or one-third as much dry soda ash. In practice:
- Moderately hard water: 1 heaped teaspoon of crystals (about 7 g) per 15-litre tub.
- Hard water: 1 level tablespoon (about 15 g).
- Very hard water: 2 tablespoons.
How: dissolve the soda in the hot wash water first, stir, and wait 5–10 minutes before adding soap, so the calcium is used up on the soda, not the soap. In a big tank, let the chalk settle overnight and draw off the clear water — the same idea as lime–soda softening for a town supply (Water Treatment for a Town).
Good: soap lathers at once with no scum. Bad: scum means too little soda; harsh, slippery cloth after rinsing means too much.
Warning Washing soda is a strong alkali. It dries and cracks hands, stings eyes, and damages wool and silk: use only a pinch with them, or none (Wool, Silk). It also strips some dyes.
Borax
Borax (Borax and Boric Acid) is a milder alkali. It softens water only a little, but it keeps the wash gently alkaline, helps soap lather, and brightens whites. A tablespoon per 15-litre tub. Kinder to wool than soda.
Phosphates
Phosphates are the most effective builders of all, and you can make them from bones.
- Phosphoric acid from bone ash and sulfuric acid, as in Phosphorus; Phosphoric Acid and Phosphates covers making and purifying it in quantity.
- Disodium phosphate: stir soda solution into the phosphoric acid until it stops fizzing and a drop turns red-cabbage indicator blue-green (Acids, Bases and Testing), about pH 9. Boil down and cool: clear crystals form.
- Trisodium phosphate (TSP): dissolve the disodium phosphate crystals in hot water, add lye of soda (Lye and Potash) until strongly alkaline (indicator yellow), boil down and cool. White needle crystals separate.
TSP is a powerful cleaner: 1 tablespoon per 5 litres of hot water cuts thick grease and soot from walls, floors and stoves, and prepares old paint for repainting. It precipitates calcium like washing soda.
Polyphosphates, in outline. Heat disodium phosphate to a dull red (about 500 °C) in an iron pan and it loses water to become pyrophosphate. A mixture of two parts disodium to one part monosodium phosphate (made with half the soda), heated to 350–500 °C, gives tripolyphosphate. These do not throw down chalk; they sequester calcium — hold it dissolved and harmless — so nothing settles on cloth or inside pipes and boilers. Tripolyphosphate was the builder in nearly every washing powder from the 1940s to the 1980s.
Warning Phosphates feed water weeds. Phosphate washed into a lake or slow river fertilises it (Chemical Fertilisers): green scum and weed grow so thickly that when they die and rot, they use up the oxygen and the fish suffocate. Send phosphate washing water onto fields or into a soakaway, never straight into a lake or fish pond (Sewers and Wastewater, Fish Ponds). Many countries have banned or limited phosphates in washing powders since the 1970s for this reason.
Turkey red oil
Turkey red oil (sulfated castor oil) is the oldest synthetic surfactant. It mixes with hard water without curdling, wets cloth instantly, and carries oil into water as a milky emulsion. It was invented for dyeing the brilliant Turkey red of madder (Dyes and Mordants), which needs cotton soaked evenly in oil. It is easy to make with acid and patience.
How it works. Castor oil's main fatty acid, ricinoleic acid, has a spare –OH group partway along its chain. Cold, strong sulfuric acid sticks a sulfate group onto it. That sulfate becomes a second water-loving head, which calcium cannot curdle. Other oils (olive, rapeseed) can be treated the same way, but they react less completely and give weaker products.
For about 1.5 kg of product:
| Amount | |
|---|---|
| Castor oil | 1 kg (about 1.05 litres) |
| Concentrated sulfuric acid, over 90 % | 200–250 g (110–135 ml) |
| Brine: salt or Glauber's salt in water, about 10 % | 2–3 litres, warm |
| Ammonia water or 15 % soda lye | as needed, roughly 100–200 ml |
- Set up outdoors, with goggles, gloves and an apron (Sulfuric Acid). Put the castor oil in a glazed stoneware crock or a large glass jar, standing in a tub of cold water. Put a thermometer or glass stirring rod in the oil.
- Add the acid a few drops at a time from a jug with a fine lip, or a dropping funnel (Laboratory Glassware), stirring constantly. Spread the addition over 2–4 hours. Keep the oil below 35 °C: no warmer than your hand feels. If it gets warmer, stop and let it cool. The oil darkens to brown and thickens.
- Cover and leave in the cool for 12–24 hours.
- Wash out the spare acid. Pour the thick oil into an equal volume of warm brine (about 40 °C), stir well, and let it stand for several hours. The brine settles to the bottom, carrying most of the leftover acid. Draw it off (a jar with a tap or bung near the bottom helps; or siphon). Repeat once more. Salt water is used instead of plain water because plain water would dissolve the product and it would not separate.
- Neutralise. Stir in ammonia water or soda lye a little at a time until a strip of indicator paper (Acids, Bases and Testing) pressed into a drop of the oil reads just neutral, or very faintly acid. Too much alkali makes it thick and soapy.
- Store in stoppered glass or stoneware. The product is a clear, amber to brown, thick liquid, about half oil and half water; it keeps for years.
Testing it:
- Mix test: one drop stirred into a cup of water gives an even, milky or clear liquid with no oily drops floating. Drops of oil mean too little acid or too short a time: the oil is under-sulfated.
- Hard water test: stirred into hard water, it stays milky with no curds, where soap goes grey and lumpy.
- Smell: a sharp burnt smell of sulfur fumes means the batch overheated. It will be dark and weak.
Uses:
| Use | How |
|---|---|
| Dyeing | 5–10 g per litre in the dye bath or in a pre-soak makes cotton take dye evenly (Dyes and Mordants) |
| Scouring wool | Raw fleece washed in water at 45–50 °C with 2–3 g per litre and a little soda loses grease without felting (Wool) |
| Leather | Fat-liquoring: equal parts Turkey red oil and neatsfoot oil or fish oil, shaken into hot water, then drummed into damp tanned leather, makes it soft and supple (Hides and Leather, Leatherwork and Harness-Making) |
| Hard-water shampoo and bath oil | 1 part in 10 of water; rinses clean without scum |
| Cutting fluid | 1 part Turkey red oil, 4 parts plant or mineral oil makes a "soluble oil" that mixes with 20 parts of water into a milky coolant for lathes and drills (Machine Tools) |
| Sprays | 1 ml per litre helps garden sprays spread on waxy leaves instead of beading (Pests and Plant Diseases) |
| Fire fighting | 0.5–1 % in water ("wet water") soaks into bales, peat, sawdust and charcoal that plain water runs off (Firefighting) |
Washing powders
A washing powder is a dry mixture of a surfactant with builders, so the user gets the right proportions without measuring each one.
Soap flakes
The surfactant for a home washing powder. Shave hard soap into thin ribbons with a plane or a coarse grater, spread them in a thin layer on cloth in a warm, airy place for one to two weeks until brittle, and crush them. Dry soap flakes dissolve in seconds in hot water, where a bar takes minutes.
A simple washing powder
| Ingredient | Parts by weight |
|---|---|
| Soap flakes, crushed | 1 |
| Washing soda crystals, crushed (or half as much soda ash) | 2 |
| Borax | ½ (optional) |
Mix in a dry tub and store in a tin or a jar with a lid; washing soda crystals turn to powder and cake in damp air. Dose: about 2 heaped tablespoons (30–40 g) per 15-litre tub in soft water, 3 in hard water. Dissolve it in hot water before putting the clothes in. For wool and silk, use soap flakes alone with a little borax.
Better powders, in outline
- Water glass (sodium silicate, Water Glass (Sodium Silicate)), about 5–10 %, keeps dirt suspended so it does not settle back on the cloth, and protects the metal of tubs and machines.
- Oxygen bleach: in 1907 the German firm Henkel sold the first "self-acting" powder, Persil, named from perborate and silicate. Sodium perborate, made from borax, lye and hydrogen peroxide, releases active oxygen in water above about 60 °C and bleaches stains while the wash boils. Hydrogen peroxide needs a chemical works, so treat this as a later goal. Use chlorine bleach on whites instead (Chlorine and Bleach).
- Factory powders are made by spray drying. A thick, hot slurry of surfactant, builders and water glass is pumped to the top of a tower 20–30 m tall and sprayed out of nozzles into rising hot air at about 250–350 °C. Each drop dries into a hollow bead as it falls. Hollow beads pour freely, do not cake, and dissolve almost instantly.
Washing-up liquid
For dishes, hot water does most of the work: 45–55 °C, as hot as hands can bear in gloves. Scrape plates first; wash the cleanest things (glasses) first and the greasiest (pans) last; rinse in clean hot water; drain in a rack to dry (Mops, Dustpans and Cleaning Tools, Kitchen Utensils and Gadgets).
A simple washing-up liquid:
- 1 part soft potash soap (Soap) dissolved in 4 parts hot water, with a tablespoon of glycerine per litre to keep it from setting to a jelly.
- In hard water, add 5–10 % Turkey red oil, which stops scum forming on glasses and the basin.
- For very greasy pans, add a pinch of washing soda to the water, not to the liquid.
Dishwashing machines need a very different product: strong alkalis (washing soda, silicates and phosphates), sometimes chlorine bleach, and no foam — foam stops the water jets. Never put soap or washing-up liquid in a dishwashing machine; the foam floods out.
Synthetic detergents, in outline
True synthetic detergents are made from fats or petroleum with strong chemistry and sulfuric acid. They work in any water, rinse cleanly, and are cheaper than soap at large scale. Each needs equipment beyond a village workshop, but the routes are worth knowing.
| Detergent | How it is made | Notes |
|---|---|---|
| Fatty alcohol sulfates (e.g. sodium lauryl sulfate) | Coconut or palm kernel oil is turned into fatty alcohols — by hydrogen gas at high pressure and about 250 °C over a copper catalyst, or in the early days with metallic sodium (Sodium and Potassium Metal). The alcohols are sulfated with strong sulfuric acid, then neutralised with soda | The first synthetic household detergent (Dreft, USA, 1933). Still in toothpaste and shampoo (Toothpaste, Shampoo, Perfume and Cosmetics) |
| Alkylbenzene sulfonates | Benzene from coal tar or petroleum (Coal Tar Chemicals, Petroleum and Refining) is joined to a 12-carbon chain, then sulfonated with fuming sulfuric acid and neutralised | The great washing-powder detergent from 1946 (Tide, with tripolyphosphate) |
| Non-ionic detergents | Fatty alcohols reacted with ethylene oxide gas | Low-foaming; machine powders and liquids |
Note Make them break down. The first alkylbenzene detergents had branched chains that bacteria could not digest. By the late 1950s, rivers below towns in Europe and North America were covered with banks of foam, and tap water foamed from the tap. From about 1965, makers switched to straight-chain ("linear") versions, which river bacteria break down in days. Any detergent a rebuilt industry makes should be tested this way: put a little in a jar of river water and see if its foaming power is gone in a week or two.
How to tell it worked
- Soap test: softened water takes 1–2 ml of test soap per 100 ml, like rainwater.
- Sinking test for wetting agents: cut 2 cm squares of raw, unwashed cotton or linen cloth (it is waxy and floats). Drop one onto the surface of the test solution (1 g per litre, at room temperature) and time how long it takes to sink. Plain water: many minutes or never. Good wetting agent: under 30 seconds. Use it to compare batches.
- Needle test: a dry steel needle laid gently on clean water floats; a drop of wetting agent at the edge sinks it.
- Laundry: whites come out white, not grey; cloth is soft, not stiff; no white streaks on dark cloth (those are chalk from too much washing soda — rinse more, or use less soda and more borax or phosphate).
- Dishes: glasses dry without spots or a greasy film.
Note Troubleshooting. Soap still scums in "softened" water → not enough soda, or soap added too soon. Test the water and add soda first. Grey, stiff laundry → hard-water scum and chalk built up in the cloth. Soak it in water with a cup of vinegar per bucket (Vinegar and Pickling) to dissolve the chalk, then wash with plenty of soda and rinse well. Turkey red oil leaves oily drops in water → under-sulfated: too little acid, or the oil was too warm so the acid charred it instead. Next batch: more acid, slower, colder. Turkey red oil is black and smells burnt → overheated. Discard; it is weak. Washing powder sets into a block → damp: store it sealed; use soda ash instead of crystals. Too much foam → foam does not mean cleaning power. Use less.
Dangers
Danger Concentrated sulfuric acid blinds and burns deeply. Wear goggles, gloves and an apron; work outdoors; always add acid to oil or water slowly, never the other way round; keep a bucket of water and a box of washing soda at hand for spills. Heated too fast, the acid and oil can foam over and give off choking sulfur dioxide.
Danger Castor beans kill. A few chewed seeds can kill a child. Press them with gloves on, keep the press cake locked away from people and animals, and clean the press thoroughly.
- Alkalis: washing soda, TSP, lye and dishwasher powders burn eyes and skin and, if swallowed, the throat. Children have died from eating dishwasher powder. Label every container, keep it high or locked, and never store it in food jars (Pharmacy: Tablets, Capsules, Ointments and Inhalers).
- Mixing chemicals: never mix chlorine bleach with ammonia or acids — the gases are poisonous (Chlorine and Bleach).
- Rivers: detergent and phosphate washing water harms fish and fills lakes with weed. Wash away from wells and streams; pour used water on fields or into a soakaway (Sanitation and Germs).
- Skin: frequent washing in strong detergent cracks hands. Rinse well and use a hand cream (Toothpaste, Shampoo, Perfume and Cosmetics).
What this unlocks
Soft water and good wetting agents make cleaner laundry with less soap (Laundry and Bleaching Cloth), even dyeing (Dyes and Mordants), cleaner wool (Wool) and supple leather (Hides and Leather). Turkey red oil-based coolants keep lathe and drill tools sharp (Machine Tools). Phosphate and soda softening protect boilers from scale (Boilers and Pressure Vessels). Wetting agents help sprays work in the field (Pests and Plant Diseases) and water soak into deep-seated fires (Firefighting). Ore flotation, the great method of concentrating copper, lead and zinc ores, depends on surfactants that make one mineral cling to air bubbles (Mining and Tunnelling).
How it was first done
Soap was made in Mesopotamia nearly 5,000 years ago, and natron was used for washing in ancient Egypt. By the 1800s, cheap Leblanc soda made "soda crystals" a staple of every laundry. Turkey red oil came into use in the 1870s for dyeing the newly synthesised alizarin red onto cotton. Henkel's Persil (1907) added perborate bleach and silicate to soap powder. During the First World War, with Germany's fats cut off by blockade, BASF chemists made the first synthetic detergent, Nekal, from coal tar, around 1917. Procter & Gamble's Dreft (1933) was the first synthetic household detergent, and Tide (1946) began the age of synthetic washing powders. Foaming rivers led to biodegradable linear detergents from about 1965, and weed-choked lakes to phosphate limits from the 1970s.
Source: content/entries/chemistry/detergents.md