How soap cleans: micelles, oily dirt and scum in hard water (soap vs detergent)

Add soap to water and watch the molecules line up at the surface, then gather into micelles that hold drops of oil. Make the water hard and see soap lost as scum, then switch to a detergent. A simple counting model shows how much soap is needed.

Keep it one tap away for everyday use.

Bookmark How soap cleans?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Add soap
  2. Micelles
  3. Hard water
  4. Practise
Nothing is uploadedWorks offline once open

S
H
O

S = soap (or detergent) molecules, H = calcium and magnesium ions in the water (hardness), O = drops of oily dirt. A teaching model: the numbers are made up and much smaller than in a real wash.

A soap molecule

    Try this

    • Start with no soap and slowly add it. At first the molecules sit at the surface; micelles only form after the surface is full.
    • Press "Hard water". The same soap makes scum and cannot lift the oil. How much more soap does it need?
    • Switch to Detergent with hard water. Why do washing powders use detergents?
    • Each micelle here holds one oil drop. How many micelles are needed for 8 drops?

    Check yourself

    In this model: each hardness ion uses up 2 soap molecules; the first 20 free molecules stay single; then every 24 make one micelle, which holds one oil drop. Nothing is saved.

      What it does

      Oil and water don’t mix, so water alone cannot wash oily dirt out of clothes. Soap can, because each soap molecule has two very different ends: a long oil-loving tail and a charged water-loving head. This page shows what happens in a simple model you can change:

      • S sets how many soap molecules go into the water, H how many hardness ions (calcium and magnesium) it has, and O how many drops of oily dirt are on the cloth,
      • the first molecules line up at the surface, tails out of the water,
      • once the surface is full, the rest gather into micelles: balls with the tails inside and the heads outside. Each one picks up a drop of oil and carries it away,
      • in hard water, each Ca²⁺ or Mg²⁺ ion takes two soap molecules out as grey scum, so less soap is left to clean,
      • switch to Detergent and the scum disappears, because the calcium and magnesium salts of detergents dissolve.

      It follows the Class 10 chapter on carbon and its compounds (soaps and detergents, micelles, hard water).

      Soap is an ester split by alkali, the reverse of esterification; the alkali, sodium hydroxide, comes from the chlor-alkali process process. Why the tail avoids water comes down to polarity, shown in dipole polarity.

      How to use it

      1. Move the S, H and O sliders, or type numbers in the boxes.
      2. Choose Soap or Detergent.
      3. The big line says whether the cloth is clean; the line under it counts micelles, free molecules and scum, and (for soap in hard water) the least soap that would clean it.
      4. Try the quick buttons: Soft water, Hard water and Too little soap.

      A worked example

      In this model, the first 20 free soap molecules stay single at the surface, every 24 more make one micelle, and each micelle holds one oil drop.

      Soft water, 300 soap molecules, 4 oil drops: no scum, so all 300 are free. (300 − 20) ÷ 24 = 11.7, so 11 micelles form, more than enough for 4 drops: clean.

      Hard water with 120 calcium ions: scum uses 2 × 120 = 240 soap molecules, leaving 60. (60 − 20) ÷ 24 = 1.7, so only 1 micelle forms and 3 drops stay on the cloth. The least soap that cleans is 240 + 20 + 4 × 24 = 356. With a detergent, the same 300 molecules make 11 micelles and clean it.

      Tips

      • The numbers are made up to keep the picture small; a real micelle has around 50 to 100 molecules, and a real wash has billions.
      • Hard water can be softened (by boiling for temporary hardness, or washing soda) so soap is not wasted.
      • Soap works best in soft water; detergents work in both, which is why washing powders use them.

      Check yourself

      Four fresh questions each time, using the model’s numbers: soap lost as scum, micelles formed, the least soap needed, and the parts of a soap molecule. Nothing is saved.

      FAQ

      Is this a measurement of real soap? No. It is a counting model to show the ideas: surface first, then micelles, and scum in hard water. The real amounts depend on the soap and the water.

      Is this from the NCERT book? It covers the same topic with fibub’s own model and pictures. fibub is not part of NCERT.

      Where the numbers come from

      • The structure of soaps and detergents, micelles, saponification and scum formation with Ca²⁺ and Mg²⁺ are standard school chemistry. The numbers (20 single molecules before micelles form, 24 molecules per micelle, one oil drop per micelle) are made-up teaching values, far smaller than real ones. Written for fibub.
      • Checked by hand: 300 soap molecules with 50 hardness ions lose 100 as scum, leave 200 free and make 7 micelles; the least-soap formula was checked to be exactly the smallest amount that cleans, for 0 to 5 oil drops and 0 to 56 ions.

      Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

      Last updated 2026-11-09.

      Change log for How soap cleans

      1. Add #1297 How soap cleans Details on GitHub

      Every change to fibub

      Related tools

      IUPAC namer #L49 Build a carbon chain of up to 10 carbons, tap carbons to add methyl and ethyl branches, add a double or triple bond and one functional group (–OH, –CHO, C=O, –COOH, –Cl, –Br). Get the IUPAC name with each step explained, the molecular formula and the homologous series, and test yourself on new structures. Dipole polarity #L54 Pick a molecule, see each bond dipole as an arrow from the electronegativity difference, and watch them add up or cancel on the 3D VSEPR shape. Swap outer atoms (CH₄ to CH₃Cl to CCl₄), compare with measured dipole moments, see why NF₃ is far less polar than NH₃, and test yourself. Chlor-alkali process #L177 Watch ions move in an animated membrane cell as brine is electrolysed: chlorine at the anode, hydrogen and sodium hydroxide at the cathode. Read the half equations and the uses of each product, and at Class 12 level work out the grams and litres a current makes. Esterification #L179 Pick a carboxylic acid and an alcohol and join them: see the OH and H leave as water, and get the ester's name, formula, molar mass and smell. Split it again with sodium hydroxide, and at Class 11–12 level work out how much ester forms at equilibrium. States of matter #L28 Heat or cool water, ethanol, oxygen or iron and watch the particles vibrate in place, slide past each other or fly apart. Stop at the melting and boiling points, change °C to kelvin, and race diffusion in liquids and gases. Build an atom #L36 Tap to add protons, neutrons and electrons and watch the atom change: the element, atomic number, mass number, charge, isotope, the electrons filling shells 2, 8, 8 and the valency all update as you go. Ends with fresh practice questions.