The Physics of Soap Bubbles: Thin Films and Colour
A bubble wall is soap, water, soap, thinner than a wavelength of light. Why surface tension forces a sphere, why it shimmers, and why it always pops.
Table of Contents
There are few objects in everyday life as quietly astonishing as a soap bubble. A child dips a plastic wand into a jar, waves it through the air, and out floats a perfect glassy sphere that shimmers with colours no crayon could reproduce, drifts on the breeze, and then — with no warning at all — vanishes into a fine mist. Almost everything worth knowing about physics is folded into that fleeting object: the forces that hold liquids together, the geometry of least effort, the wave nature of light, and the relentless tendency of ordered things to fall apart. A bubble is a physics lecture that fits in the palm of your hand and lasts about ten seconds.
To understand it, we have to look closer than our eyes can manage, down to the scale of individual molecules, and then step back to see how their collective behaviour produces something so orderly and beautiful.
What a Soap Bubble Actually Is
The first surprise is that a soap bubble is not a shell of soap at all, and it is barely a shell of anything. If you could slice through a bubble wall and magnify it enormously, you would find a sandwich with three layers. In the middle sits a thin sheet of ordinary water. On both the outer and inner faces of that water sheet lies a single-molecule-thick coating of soap. So the structure, from outside to inside, is soap, then water, then soap — two microscopic skins of soap holding a layer of water between them, with air on both sides.
This wall is unimaginably thin. A typical bubble is a few hundred nanometres to perhaps a micrometre thick, which means it is thinner than the wavelength of the light bouncing off it and something like a thousand times thinner than a human hair. And yet this gossamer wall wraps itself into a taut sphere strong enough to float across a room. The reason it can do so at all comes down to the peculiar way water molecules treat one another.
Surface Tension: The Skin That Isn’t There
Deep inside a body of water, every molecule is surrounded on all sides by neighbours, and it tugs on each of them through electrical attractions with roughly equal force in every direction. The pulls cancel out, and the molecule feels no net push or pull. But a molecule sitting right at the surface has neighbours only below and beside it, not above, where there is only air. It is pulled inward and sideways but not outward, and that imbalance leaves the whole surface in a state of tension, as though the liquid were wrapped in an invisible elastic membrane. This is surface tension, and it is the single most important idea in the life of a bubble. We explore its molecular origins in more depth in our companion piece on why water holds together so tenaciously.
The consequence of surface tension is that a liquid surface behaves like a stretched sheet that is always trying to shrink. Making a surface larger means dragging more molecules up from the comfortable interior to the exposed surface, and that costs energy. Nature, being economical, prefers to keep surface area — and therefore surface energy — as small as possible. A free-floating drop of water in the absence of gravity pulls itself into a sphere for exactly this reason, and so does a bubble.
Why a Bubble Is a Sphere
Here we arrive at one of the most satisfying results in all of geometry. A bubble encloses a fixed pocket of air, and its film wants to wrap that air using as little surface as possible. The question then becomes purely mathematical: of all the shapes that can enclose a given volume, which one has the smallest surface area? The answer, proven long ago, is the sphere. No cube, egg, blob, or lumpy potato can enclose the same amount of air with less skin than a perfect ball.
So the bubble does not choose to be round out of any preference for elegance. It simply rolls downhill, energetically speaking, and the bottom of the hill happens to be a sphere. Any bulge or dent would expose extra area and raise the energy, so surface tension irons it out at once. What you see as a beautiful round bubble is really just the visible signature of a physical system finding its lowest-energy state — the same principle, dressed in soap, that governs raindrops, molten metal droplets, and the shape of stars.
Because the taut film is squeezing the air inside, the air within a bubble sits at slightly higher pressure than the air outside. This excess is called the Laplace pressure, and it hides a delightful counterintuition: the smaller the bubble, the tighter its curvature and the harder its film squeezes, so a small bubble holds air at higher internal pressure than a large one. If you connect a small bubble and a large bubble through a tube, the small one will actually deflate and blow up the large one, driven by that pressure difference.
Why You Truly Need Soap
At this point a reasonable person might ask why we need soap at all. If surface tension already pulls water into spheres, why can’t you blow a bubble with plain water from the tap? The answer reveals the second half of the story, and it is subtler than it first appears.
Pure water actually has a rather high surface tension, and that turns out to be a problem rather than a help. A water surface behaves like a very stiff, taut skin. If you try to stretch it into a large, thin, curved sheet, it resists violently and snaps back at the first disturbance. Water simply will not tolerate being drawn out into the flimsy expanse a bubble requires. Its surface is strong but brittle, with no give and no capacity to recover from a weak spot.
Soap solves this by introducing surfactant molecules, and their design is beautifully suited to the task. Each surfactant molecule has two ends with opposite tastes: one end, the head, is hydrophilic and loves water, while the other end, the tail, is hydrophobic and shuns it. Dropped into water, these molecules cannot be comfortable floating in the middle, so they rush to the surface and stand up like a crowd at a fence, plunging their water-loving heads into the liquid while poking their water-fearing tails out into the air. On a bubble film, they line both surfaces this way, which is precisely why a bubble wall has soap on its inner and outer faces.
The Self-Healing Film
Crowding the surface with surfactant does two things. First, it lowers the surface tension by interrupting the water molecules’ grip on one another, making the film far easier to stretch thin. But the deeper magic is elasticity — the film’s ability to repair itself.
Imagine a patch of bubble wall that gets stretched thinner than its surroundings. Stretching spreads the surfactant molecules farther apart there, so that spot temporarily has less surfactant coverage and therefore higher surface tension than the regions around it. Higher tension means a stronger inward pull, and so the surrounding film, along with the water it carries, is drawn toward the weakened patch, thickening it again before it can fail. The thin spot heals. This restoring behaviour is called the Marangoni effect, and it is what turns a fragile liquid sheet into something that can survive for seconds rather than shattering instantly. Pure water has no such mechanism; once a spot thins, nothing pulls material back to save it. Soap gives the film a nervous system of sorts — a way to sense weakness and respond to it — and that dynamic stability, not merely low surface tension, is why bubbles need soap to exist at all.
The Shifting Colours: Interference in a Wall of Water
Now for the feature that makes bubbles irresistible: their glowing, swirling, ever-changing colours. It is tempting to assume there must be dye in the soap, but there is none. The colours are conjured purely from the wave nature of light interacting with the astonishing thinness of the film, a phenomenon called thin-film interference.
When light hits the bubble wall, it does not all reflect from a single surface. A little of it bounces off the outer face of the film, and a little more passes through and bounces off the inner face before coming back out. These two reflected waves then travel onward together, but the second one has journeyed a bit farther, having crossed the thickness of the film twice. Because light is a wave, what happens when the two rejoin depends on whether their crests and troughs line up. Where the extra distance nudges them into step, that colour is reinforced and shines brightly; where it puts them out of step, the waves cancel and that colour disappears from the reflection. This is the same interference of light waves that lets us record three-dimensional images, as described in our piece on how holograms capture light itself.
Because visible light spans a range of wavelengths, different colours are reinforced at different film thicknesses and at different viewing angles. Since a real bubble varies in thickness from place to place — and since gravity is constantly draining it, thinning the top and thickening the bottom — the reinforced colour shifts continuously across the surface and over time, producing those hypnotic rivers of magenta, gold, green, and blue that seem to flow around the sphere. The effect is a cousin of the shimmer you see on oil slicks, peacock feathers, and beetle shells, all of which conjure colour from structure rather than pigment, a theme we pursue in our article on how butterflies shimmer without any pigment at all. It is worth remembering, too, that the colour you finally experience is stitched together by your own visual system, a translation from wavelength to sensation that we unpack in our discussion of how the eye and brain perceive colour.
There is one last, faintly eerie stage in the colour story. As a bubble ages and its wall drains to just a few tens of nanometres — far thinner than a wavelength of light — the two reflected waves from front and back become almost perfectly out of step for every colour at once. Instead of a bright band, that region reflects essentially no light and turns jet black. A black patch spreading across the top of a bubble is a signal that its film has thinned nearly to the molecular limit, and it is often the last thing you see before the bubble is gone. It is a striking contrast with the sky’s blue, which arises not from interference but from the scattering of sunlight by air molecules, as we explain in our look at why the sky is blue — two entirely different routes by which nature paints colour without a single drop of dye.
The Inevitable Pop
Every bubble is living on borrowed time, and the same physics that builds it eventually destroys it. From the instant it forms, the bubble is losing water. The exposed outer surface evaporates steadily into the surrounding air, especially when the air is dry, and at the same time gravity is quietly pulling the liquid within the wall downward, draining the top and thinning it faster than the film can heal.
As the wall grows thinner, it becomes ever more delicate, until somewhere a weak point thins to the point of failure and a microscopic hole opens. What happens next is fast and, in slow-motion footage, genuinely violent. The film surrounding the hole is under tension and desperate to reduce its area, so the moment an opening exists, the rim of the hole snaps backward and retracts at high speed, gathering the film into a receding ring and racing across the whole bubble in a fraction of a millisecond. The sphere does not gently deflate; it disintegrates, flinging its water into a spray of tiny droplets. Dust landing on the surface, a puff of dry air, or the lightest touch of a finger can all trigger this collapse by rupturing the fragile wall, which is why bubbles so often burst just when you are admiring them.
Beyond Bubbles: Films on a Frame
Finally, it is worth stepping outside the sphere, because the same tension-minimising physics produces wonders whenever soap film is stretched across something other than a ball of air. Dip a bent loop of wire, or a skeleton of two connecting rings, or a wire frame in the shape of a cube into soap solution, and the film that spans it will pull itself taut into a shape of the least possible area for that boundary. These are called minimal surfaces, and they can be gorgeously unexpected: gracefully curved saddles, elegant necks pinched between rings, and, in the case of a cube frame, a surprising little square panel suspended in the middle where the internal films meet.
Physicists and mathematicians prize these soap films because the liquid solves, instantly and for free, geometry problems that are fiendishly difficult to work out on paper — architects and engineers have borrowed their forms for lightweight roofs and tensile structures. That a smear of dish soap can compute the shape of least area faster than any pencil is a fitting note to end on. A soap bubble, after all, is not merely a toy. It is water and soap and light and gravity, negotiating in real time toward the most efficient arrangement they can find, and then, having briefly achieved a small perfection, letting it go.
Frequently Asked Questions
Why are soap bubbles round?
A soap bubble is round because the film that makes it is under tension and constantly tries to shrink to the smallest possible surface area. Every stretched surface stores energy, and the more area you have, the more energy it costs, so the film pulls itself inward until it reaches the tightest shape it can. Once the bubble traps a fixed volume of air, geometry does the rest: among all possible shapes that can enclose a given volume, the sphere has the least surface area of any of them. The film therefore settles into a sphere not because it is programmed to, but because that is the lowest-energy configuration available. Any dent or bulge would add surface area and cost energy, so surface tension smooths it away almost instantly, leaving the familiar glassy globe.
Why do soap bubbles show rainbow colours?
The colours come from thin-film interference, not from any pigment in the soap. A bubble wall is extraordinarily thin — often just a few hundred nanometres, comparable to the wavelength of visible light itself. When light strikes it, part reflects from the outer surface and part from the inner surface, and these two reflected waves travel slightly different distances before recombining. For some wavelengths the waves line up crest to crest and reinforce each other, brightening that colour; for others they cancel and vanish. Because the reinforced colour depends on the film's exact thickness and the angle you view it from, and because the wall's thickness varies from place to place and drains over time, the bubble displays swirling, shifting bands of colour. As the film thins toward nothing, all reflections eventually cancel and the top turns black just before it bursts.
Why do soap bubbles pop?
Soap bubbles pop because their walls cannot last. The moment a bubble is born, water begins escaping in two ways: it evaporates from the exposed outer surface into the surrounding air, and gravity slowly pulls the remaining liquid downward, thinning the top of the film and pooling it toward the bottom. As the wall grows thinner it becomes increasingly fragile, until at some weak point — often only a few molecules thick — it can no longer hold together and a tiny hole appears. Once a hole exists, surface tension takes over dramatically: the film retracts away from the opening at high speed to reduce its area, and the hole widens explosively in a fraction of a millisecond. Dust, dry air, and even a gentle touch can trigger this rupture, which is why bubbles are so wonderfully short-lived.
Why do you need soap — why can't you blow bubbles with pure water?
Pure water cannot make bubbles because, paradoxically, it holds together too strongly and too rigidly. Water's surface tension is high, and its surface behaves like a taut, unforgiving skin that resists being stretched into a large thin sheet; the slightest disturbance snaps it back. Soap, a surfactant, fixes this in two ways. First, its molecules crowd onto the water surfaces and lower the surface tension, making the film easier to stretch. Second, and more importantly, they give the film elasticity and the ability to heal itself. When a patch of film stretches thin, its surface tension momentarily rises there, which pulls surfactant and water back toward the weak spot and restores it — a self-repairing behaviour known as the Marangoni effect. This dynamic stability is exactly what a bare water surface lacks, so soap is not optional but essential.