How Detergents Clean: Structure, Micelles and Soap Comparison

Learn how detergent molecular structure allows micelle formation and removes grease, then compare detergents with soaps in hard water conditions.

A shirt covered in cooking oil can look clean after rinsing with water alone. But after it dries, the greasy patch is still there. Why?

Predict what would happen if you added a substance that had one end attracted to water and another end attracted to oil. Would the oil suddenly become soluble in water? Not exactly. The oil does not turn into a water-loving substance. Instead, the cleaning molecule creates a way for oil to be carried away with the water.

That idea is the key to understanding detergent structure and action.

Portrait educational diagram of a detergent molecule arrangement around an oil droplet on a fabric fibre, showing hydrophobic tails pointing inward and hydrophilic heads exposed to water.
A detergent micelle traps oil with its hydrophobic tails while hydrophilic heads interact with surrounding water.

01The problem detergents solve

Water is an excellent solvent for many ionic and polar substances. It is not good at dissolving non-polar substances such as grease and many oils.

A simple model is:

  • water molecules strongly attract other polar molecules,
  • oil molecules interact with other non-polar molecules,
  • water and oil separate because their intermolecular forces do not match.

So if you wash oily hands with only water, the water slides over the oil but does not remove much of it.

A detergent molecule solves this mismatch by having two different regions:

  • a hydrophobic tail: a non-polar section that interacts with oils and fats,
  • a hydrophilic head: a polar or ionic section that interacts with water.

The word hydrophobic means “water-fearing”, while hydrophilic means “water-loving”. These names are useful models, but the molecules are not actually scared or attracted like people. They describe how strongly different parts of a molecule interact with water.

Simplified detergent molecule diagram showing a long hydrocarbon tail inside an oil droplet and an ionic head interacting with surrounding water molecules.
A detergent molecule has an oil-compatible tail and a water-compatible ionic head, allowing it to connect oil with water.

02Building the detergent molecule model

Imagine a detergent molecule as a person at a party where two groups do not get along.

The hydrocarbon tail is like someone who only wants to hang out with the oily group. The ionic head is like someone who prefers the water-loving group.

The detergent molecule can stand between the two groups and connect them.

The analogy helps because it shows why a single molecule can interact with two different environments.

However, the analogy breaks down here: detergent molecules are not permanently attached bridges. They constantly move, collide, and rearrange in solution.

The precise chemistry comes from the molecular structure.

A common detergent structure contains:

\[ \ce{R-SO3^- Na^+} \]

where:

  • \(R\) represents a long hydrocarbon chain,
  • \(\ce{-SO3^-}\) is the sulfonate head group,
  • \(\mathrm{Na}^{+}\) is a sodium ion paired with the negatively charged head.

The hydrocarbon chain is non-polar because it contains many carbon-carbon and carbon-hydrogen bonds. The sulfonate group is ionic and interacts strongly with water.

Comparison diagram showing a detergent molecule with a non-polar hydrocarbon tail interacting with oil and an ionic sulfonate head interacting with water molecules.
Detergent structure combines a non-polar tail that interacts with oil and an ionic head that interacts with water.

03How detergents remove oil: forming micelles

A detergent molecule does not make oil disappear. Instead, many detergent molecules arrange themselves into a structure called a micelle.

In a micelle:

  • the hydrophobic tails point inward and surround the oil,
  • the hydrophilic heads point outward into the water.

The oil becomes trapped inside the centre of the micelle. Because the outside surface interacts with water, the whole structure can move through the wash water and be rinsed away.

Cross-section of a spherical micelle with a central oil droplet, detergent tails pointing inward, and ionic heads exposed to surrounding water.
A micelle keeps oil inside while detergent heads interact with water, allowing the oil to be carried away.

A useful prediction:

If a detergent had only hydrophobic tails and no hydrophilic heads, would it clean better?

It would actually clean worse. The molecules could surround oil, but the outside of the cluster would still be non-polar, so the water could not carry it away effectively.

The two-part structure is what makes detergents effective.

04Why detergents work in hard water

This is one of the major differences between detergents and soaps.

Hard water contains dissolved calcium ions and magnesium ions:

\[ \ce{Ca^2+(aq)} \]

and

\[ \ce{Mg^2+(aq)} \]

Soap molecules usually contain carboxylate ions:

\[ \ce{RCOO^- Na^+} \]

The carboxylate ions can react with calcium ions to form insoluble compounds:

\[ \ce{2RCOO^- Na^+ + Ca^2+ -> (RCOO)2Ca(s) + 2Na^+} \]

The solid product is often called soap scum. It removes soap molecules from solution, reducing cleaning ability.

Detergents were designed to avoid this problem. Sulfonate detergents generally remain soluble because their calcium and magnesium salts are much more soluble than many calcium soaps.

This is why synthetic detergents are commonly used in areas with hard water.

Comparison illustration of two washing machines showing soap forming scum in hard water and detergent remaining as a clear solution.
Hard water ions can remove soap as insoluble scum, while detergents are designed to remain effective.

For a deeper look at how the structure of soap creates micelles, see the related guide: How Soap Structure Explains Micelles and Cleaning Action.

05Detergents compared with soaps

FeatureSoapDetergent
Hydrophobic regionLong hydrocarbon chainLong hydrocarbon chain
Hydrophilic regionUsually carboxylate ionOften sulfonate ion
Cleaning actionForms micellesForms micelles
Hard water behaviourCan form insoluble scumUsually remains effective
Main limitationReduced cleaning in hard waterEnvironmental impact depends on structure

The important point is that both soaps and detergents clean using the same general idea: amphiphilic molecules forming micelles.

An amphiphilic molecule contains both water-compatible and oil-compatible regions.

The difference is the chemistry of the head group and how it behaves with ions in solution.

06Worked example: Identifying why a detergent molecule cleans oil

A detergent molecule has a long hydrocarbon chain attached to a charged sulfonate group. Explain how this structure allows the detergent to remove grease from a plate.

Step 1

The long hydrocarbon chain is non-polar, so it interacts with the non-polar grease molecules through intermolecular attractions.

Step 2

The sulfonate group is charged, so it interacts strongly with polar water molecules.

Step 3

Many detergent molecules arrange into micelles, with hydrocarbon tails surrounding the grease and sulfonate heads facing the water.

The grease becomes suspended inside micelles and can be carried away when the plate is rinsed.

Result: The detergent does not dissolve grease directly. It packages grease inside micelles so that water can remove it.

07Worked example: Explaining detergent performance in hard water

A student washes clothes using soap in water containing a high concentration of calcium ions. They notice a solid deposit forms and cleaning becomes less effective. Explain why replacing the soap with a sulfonate detergent improves cleaning.

Step 1

Calcium ions react with soap carboxylate ions to form an insoluble calcium soap:

\[ \ce{2RCOO^- Na^+ + Ca^2+ -> (RCOO)2Ca(s) + 2Na^+} \]

This removes soap molecules from the water.

Step 2

A sulfonate detergent contains a head group such as:

\[ \ce{R-SO3^-} \]

Its calcium salt remains much more soluble than many calcium carboxylates.

Step 3

More detergent molecules remain available to form micelles around grease.

Result: The detergent continues cleaning because hard water ions do not remove as much of the active cleaning molecule from solution.

08The environmental trade-off of detergents

The same structural features that make detergents useful can create environmental challenges.

Older detergents often contained phosphate compounds. Phosphates can act as nutrients for algae. If too much phosphate enters waterways, excessive algae growth can reduce oxygen levels and damage aquatic ecosystems.

Modern detergents are often designed with different builders and formulations to reduce these effects.

A chemist designing a detergent must balance several properties:

  • effective micelle formation,
  • solubility,
  • performance in different water conditions,
  • biodegradability,
  • environmental impact.
Educational illustration showing detergent molecules being designed for cleaning performance while considering effects on a river ecosystem.
Detergent design balances strong cleaning action with reducing environmental effects after use.

09Common misconception: “Detergent dissolves oil”

It is tempting to say detergent dissolves grease because the grease disappears from the surface.

That explanation is incomplete.

The grease molecules remain as grease. They are physically trapped inside micelles. The detergent changes how the grease interacts with the water, allowing it to be transported away.

This distinction matters in HSC Chemistry because questions often test the relationship between molecular structure and observable behaviour.

A strong answer links:

structure → intermolecular interactions → micelle formation → cleaning action.

10Questions and solutions

Question 1

A detergent molecule contains a long hydrocarbon chain and an ionic sulfonate head group. Explain why this structure helps remove grease from clothing.

Solution 1

The detergent structure allows grease to be surrounded by micelles and removed by water. The hydrocarbon chain interacts with the non-polar grease, while the ionic sulfonate head interacts with water. Many detergent molecules arrange with their tails inside and heads outside, allowing the grease-containing micelle to remain suspended in the wash water.

Question 2

A student claims: “Soap and detergent clean in completely different ways because detergents are synthetic.” Evaluate this claim.

Solution 2

The claim is incorrect because both soaps and detergents clean by forming micelles. Both contain a hydrophobic region that interacts with oils and a hydrophilic region that interacts with water.

The difference is not the basic cleaning mechanism. The important difference is the chemical nature of the hydrophilic head group. Soap commonly contains carboxylate ions, while detergents often contain sulfonate ions. This affects how they behave with calcium and magnesium ions in hard water.

Question 3

A detergent manufacturer replaces a molecule containing a short hydrocarbon chain with one containing a much longer hydrocarbon chain. Predict one possible change in cleaning behaviour and explain your reasoning.

Solution 3

A longer hydrocarbon chain can increase interaction with oily substances, but it may also reduce water solubility if the hydrophilic head group cannot balance the larger non-polar region.

The tempting prediction is that a longer tail always means better cleaning because it can “grab” more oil. However, effective cleaning requires both parts of the molecule. If the detergent becomes too hydrophobic, the micelles may not remain well dispersed in water.

The best detergent structure balances oil interaction with water compatibility.

Question 4

A sample of water contains calcium ions. A student adds soap and observes a cloudy solid forming. They then add a sulfonate detergent and the cloudy solid does not appear. Explain the observations using chemical equations and molecular interactions.

Solution 4

The cloudy solid forms because calcium ions react with soap carboxylate ions to produce insoluble calcium soap:

\[ \ce{2RCOO^- Na^+ + Ca^2+ -> (RCOO)2Ca(s) + 2Na^+} \]

The calcium soap precipitate removes soap molecules from solution, reducing cleaning ability.

The sulfonate detergent does not produce the same insoluble precipitate under these conditions because its calcium salts are generally more soluble. Therefore, detergent molecules remain available to form micelles and remove grease.

The trap is assuming that any negatively charged cleaning molecule will behave identically. The exact identity of the head group controls its interactions with ions in solution.

Question 5

A chemist creates a new cleaning molecule. It has a very effective hydrophobic tail that surrounds oil droplets, but its hydrophilic head group is weakly polar rather than ionic. In a washing test, the molecule removes oil from a surface but performs poorly when the surface is rinsed with water.

Explain why this result occurs and predict what structural change would improve the detergent.

Solution 5

The molecule removes oil from the surface but is poor at carrying that oil away because its outside surface does not interact strongly enough with water. The molecule can surround oil, but the resulting clusters are not effectively stabilised in the aqueous solution.

The tempting route is to focus only on oil removal and conclude that a stronger hydrophobic tail must create a better cleaner. The missing constraint is that cleaning requires both capture and transport. A molecule must first interact with oil and then remain dispersed in water.

A better design would strengthen the hydrophilic head group, for example by introducing a charged functional group such as a sulfonate group. This would allow the micelle surface to interact strongly with water, improving suspension and rinsing.

This problem shows the central design principle of detergents: cleaning performance comes from balancing opposite chemical behaviours, not maximising one side alone.

Understanding detergent structure also prepares you for broader HSC Chemistry ideas about organic functional groups, polarity, and how small structural changes alter the properties of molecules. These same structure-property relationships appear when analysing organic reactions and synthesis pathways, such as those explored in How to Construct Organic Synthesis Pathways for HSC Chemistry.