It is a distinct sound: the noise of people tapping the tops of their cans of fizzy drink before opening them. But does this widespread ritual really stop a can of beer or soda from gushing over?
When you open a can of fizzy drink, the refreshing "hiss" is the result of gas bubbles escaping from the liquid as a result of a change in the solubility of the carbon dioxide (CO2) in it. This change occurs due to the pressure inside the can decreasing from ~3 bar (can closed) to 1 bar at atmospheric pressure (can open).
The solubility of CO2 in water reduces from ~4.5g in one litre of water at ~3 bar, to ~1.5g at atmospheric pressure, something that is described by Henry's Law.
Before the can is opened, microscopic gas bubbles attach to the inside of it (nucleation). When the can is opened, these bubbles increase in size, due to the decrease in the solubility of CO2.
When these bubbles reach a certain size they detach from the inside of the can and rise up to the top of the can due to buoyancy and displace liquid in their path (as shown in Figure 1).