... like I'm 5 years old
Shaking a soda scatters tiny gas bubbles throughout the drink. When you open it, the pressure drops, those bubbles expand, and dissolved carbon dioxide rushes into them. The rapidly growing bubbles push soda toward the opening, turning an ordinary hiss into a sticky spray.
The fizz begins at the factory, where carbon dioxide is dissolved in the drink under pressure. Inside the sealed container, much of that carbon dioxide remains dissolved rather than forming visible bubbles. Opening the container changes the conditions, allowing gas to escape from the liquid.
An undisturbed soda usually releases that gas relatively gently. Shaking, however, breaks up gas from the space above the drink and distributes bubbles through the liquid. Each bubble provides somewhere for dissolved carbon dioxide to collect when the container opens. Instead of escaping mainly near the surface, gas rapidly gathers throughout the drink.
Surprisingly, shaking an unopened soda does not substantially increase its equilibrium pressure if its temperature stays unchanged. The important change is the distribution of bubbles, not a newly created supply of pressure or gas. The American Chemical Society’s soda explanation identifies this distinction as the key to understanding the mess.
The growing bubbles occupy more space and carry liquid upward. When the bubbly mixture reaches the opening, escaping gas takes some of your drink along with it.
Think of an overcrowded elevator: when everyone suddenly moves toward the open door together, they push whoever is in front out with them. In shaken soda, expanding bubbles do the pushing, and the drink gets shoved outside.
... like I'm in College
Imagine following a sealed bottle from the refrigerator to your hand. Before you disturb it, dissolved carbon dioxide and the gas above the liquid are approximately in equilibrium: molecules move between the two, but their overall distribution remains stable. High carbon dioxide pressure supports a relatively high dissolved concentration.
Now shake the bottle. The sloshing entrains gas, breaking it into bubbles and distributing them through the soda. This churning connects with the broader subject of turbulence and irregular fluid motion, but the crucial consequence here is the abundance of gas–liquid boundaries.
When you loosen the cap, pressure falls. The soda becomes supersaturated: it contains more dissolved carbon dioxide than would remain at equilibrium under the new conditions. Existing bubbles expand, and additional carbon dioxide moves from the liquid into them. The University of Illinois explanation of soda equilibrium describes these as two contributions to bubble growth.
Starting a completely new bubble requires creating a surface against surface tension. Existing bubbles offer an easier route, helping the gas escape much faster. Their combined growth produces a rising, expanding mixture that can overflow before the gas separates from the liquid.
This explains the practical response to an accidentally shaken drink. Leave it upright and undisturbed so dispersed bubbles can rise or dissolve, and keep it refrigerated because cold water holds carbon dioxide more readily. With a screw-cap bottle, release pressure gradually and pause if foam rises. Tapping the top is not a dependable substitute for waiting.
Picture building a transparent soda bottle in an imaginary Lego workshop. Loose blue bricks represent the liquid. Individual red pieces scattered among them represent dissolved carbon dioxide molecules. Above the blue bricks sits a space containing more red pieces: the bottle’s gas-filled headspace.
To distinguish dissolved molecules from bubbles, imagine enclosing some red pieces inside small, expandable mesh bags. Each bag represents a gas bubble. The red pieces are much farther apart inside these bags than when dispersed through the liquid. This is a visual model, not something ordinary Lego pieces could reproduce physically.
With the imaginary bottle sealed and pressurized, many red pieces remain distributed among the blue ones. Now shake the scene. Small mesh bags appear throughout the blue-brick region, representing gas broken up and carried into the liquid. You have not added red pieces; you have rearranged where some of them are.
Opening the lid represents releasing pressure. The bags expand, and more red pieces leave the surrounding blue-brick mixture to enter them. Because the bags are spread throughout the bottle, expansion happens in many places simultaneously. Together, they occupy increasing space and shove blue bricks toward the neck. Some tumble out: that is your soda spray.
Now rewind and let the shaken model settle before opening it. Imagine dispersed bags rising into the headspace or shrinking as their contents dissolve again. Fewer remain within the liquid to drive an immediate overflow. The lesson is about arrangement and timing: the same ingredients can behave very differently when gas has many ready-made places to expand.
... like I'm an expert
Consider the opening event as a coupled depressurization, mass-transfer, and multiphase-flow problem. Before opening, the dissolved molecular carbon dioxide concentration approximately follows Henry’s law:
[c{\mathrm{eq}}=kH(T)p{\mathrm{CO2}},]
where this convention defines (k_H) as concentration divided by partial pressure. Opening lowers pressure without immediately removing dissolved gas, creating supersaturation relative to the newly established interfacial conditions.
Agitation changes the initial bubble population by entraining and dispersing headspace gas. It need not materially change the equilibrium pressure of an initially equilibrated, unopened container at fixed temperature. Its principal effect is kinetic: numerous existing interfaces permit rapid gas transfer after depressurization.
Surface tension makes arbitrarily small bubbles unfavorable. For an approximately spherical bubble, the Young–Laplace relation gives
[pb-p\ell=\frac{2\gamma}{R},]
where (pb) is bubble pressure, (p\ell) is local liquid pressure, (\gamma) is interfacial tension, and (R) is radius. Smaller bubbles therefore require greater internal pressure; sufficiently small ones dissolve rather than grow. Pre-existing gas cavities bypass much of the barrier associated with homogeneous bubble formation.
After opening, bubbles first respond mechanically to falling external pressure. Subsequent growth receives carbon dioxide by diffusion down the concentration gradient between the bulk liquid and bubble interface. Bubble motion and liquid circulation enhance transport, so a purely isolated, diffusion-controlled bubble model cannot fully describe the eruption.
As gas volume fraction increases, the expanding two-phase mixture displaces liquid through the outlet. The spray is therefore not evidence that shaking manufactured extra carbon dioxide: it reflects accelerated exsolution and expansion. Researchers’ account of the fluid mechanics of bubbly drinks connects these interfacial processes with the resulting flow.