Acoustics

The Hot Chocolate Effect: Why the Pitch Rises as You Stir

The Hot Chocolate Effect is the rising musical pitch you hear when you tap a mug of just-stirred instant coffee or cocoa: repeat the tap and the note climbs by an octave or more over a second or two. Nothing about the mug or the water level has changed — what changes is the speed of sound inside the liquid. Stirring whips in a cloud of tiny gas bubbles that make the drink acoustically 'soft', slowing sound to as little as ~20 m/s. As the bubbles rise and dissolve, the sound speed climbs back toward 1483 m/s, and the mug's resonant pitch rises right along with it.

  • Also calledCrawford effect (hot-chocolate pitch rise)
  • Governing relationc = √(K/ρ); Wood's equation for a bubbly mix
  • Min sound speed (air–water, β≈0.5)≈ 20–24 m/s — below both air and water
  • First analyzed byFrank Crawford, 1982 (Am. J. Phys. 50, 398)
  • Typical pitch rise≈ 1–3 octaves in ~1–3 s
  • Where you see itCavitation, sonar, bubbly two-phase flow

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

What You Hear When You Stir

Make a cup of instant coffee or hot cocoa, stir vigorously, and then tap the bottom of the mug repeatedly with the spoon. The first taps give a dull, low thunk; within a second or two the taps brighten into a clear, ascending note that can climb well over an octave before settling. You don't even need the spoon — the act of stirring or pouring excites the same resonance, which is why a freshly filled mug seems to 'sing' upward on its own.

The puzzle is that everything you can point to stays constant. The mug is rigid, the water level is fixed, the temperature barely moves. So the rising pitch cannot come from a changing container or a changing amount of liquid. The only thing quietly transforming, moment to moment, is the acoustic character of the drink itself — specifically, how fast sound travels through it.

Bubbles Crash the Speed of Sound

The pitch is set by the speed of sound in the liquid, and sound speed obeys c = √(K/ρ), where K is the bulk modulus (stiffness) and ρ the density. Pure water is stiff (K ≈ 2.2×10⁹ Pa) and moderately dense, giving c ≈ 1483 m/s. Whisk in gas bubbles and this flips. Gas is roughly ten thousand times more compressible than water, so the froth becomes acoustically soft, yet the mass is still carried by the liquid, so it stays heavy. Soft-and-heavy is precisely the recipe for slow sound.

Wood's equation combines the two phases at gas volume fraction (void fraction) β:

1/K_m = β/K_g + (1−β)/K_ℓ  ·  ρ_m = β·ρ_g + (1−β)·ρ_ℓ  ·  c_m = √(K_m/ρ_m)

The compressibilities add like springs in series, so even a 1% bubble fraction lets the tiny gas term dominate 1/K_m and collapses the sound speed:

MediumK (Pa)ρ (kg/m³)c (m/s)
Air (20°C)1.4×10⁵1.2343
Pure water2.2×10⁹10001483
Bubbly water (β≈0.5)≈2.8×10⁵≈500≈ 20–24
Steel (bulk)1.6×10¹¹7850≈ 4500

Freshly boiled water is also nearly degassed, so the powder's trapped air and dissolved gas readily nucleate a dense cloud of fine bubbles — driving c to its lowest just after stirring.

The Mug as a Resonator: f = c/(4L)

A tap doesn't create a pitch by itself; it excites a standing acoustic wave in the column of liquid. The rigid mug bottom is a pressure antinode (the liquid can't move there), while the free surface open to the air is a pressure node (a pressure-release boundary). A closed-at-one-end, open-at-the-other column resonates as a quarter-wavelength: L = λ/4, so the fundamental is

f₁ = c / (4L)

The geometry L is fixed by how full the mug is, so the frequency is simply proportional to the sound speed. As c recovers from tens of m/s back toward ~1483 m/s while the bubbles clear, f₁ climbs in lockstep — that is the rising pitch. The real mug is a coupled system (the vertical column mode, radial modes, and the mug wall's own bell modes all ring together), so the exact prefactor differs from a clean quarter-wave, but the key scaling f ∝ c is what makes the effect audible and universal.

The Causal Chain, Step by Step

  1. Stir. The spoon entrains air and the powder nucleates gas; the just-boiled, degassed water sheds dissolved gas onto those sites. The void fraction β jumps to a few percent or more, densest right after stirring.
  2. Stiffness collapses. High β makes the mixture bulk modulus K_m plummet (Wood's equation), while density stays near the liquid's.
  3. Sound slows. Via c = √(K_m/ρ_m), the sound speed drops to tens of m/s — briefly slower than sound in air.
  4. Pitch is low. Since f = c/(4L), the resonant note starts low and dull.
  5. Bubbles clear. Buoyancy floats the bubbles up and they burst or dissolve over ~1–3 s, so β → 0.
  6. Pitch rises. c recovers toward 1483 m/s, f climbs, and the note glides upward until it plateaus at the clear-liquid value. Re-stir to reset it.

A Worked Example in Numbers

Fill a mug to L = 8 cm = 0.080 m, so 4L = 0.32 m.

  • Clear water ceiling: f = 1483 / 0.32 ≈ 4.6 kHz — a bright, thin ring.
  • Just after stirring, a dense froth with effective c ≈ 60 m/s: f = 60 / 0.32 ≈ 190 Hz — roughly the G below middle C.
  • A second later, most bubbles gone, c ≈ 480 m/s: f = 480 / 0.32 ≈ 1.5 kHz.

That swing, 190 Hz → 1.5 kHz, is a factor of eight — three octaves. In an ordinary cup the glide is milder, about one to two octaves, because the froth is thinner and residual microbubbles hold c below its pure-water ceiling the whole time. The direction, however, is always the same: up.

The Counterintuitive Minimum — and What It Isn't

The strangest number here is the minimum. Keeping only the dominant gas term, c_m² ≈ K_g / [β(1−β)ρ_ℓ], which is smallest when β(1−β) is largest — at β = 0.5. With K_g ≈ γP ≈ 1.4×10⁵ Pa, this gives c_min ≈ √(1.4×10⁵ / (0.25·1000)) ≈ 24 m/s (≈20 m/s in the isothermal limit). A half-and-half froth carries sound slower than air and slower than water — below both of its ingredients. The common error is to assume a mixture speed must fall between 343 and 1483 m/s; it plunges beneath both because you pair the gas's floppy compressibility with the liquid's heavy inertia.

The other misconception is mechanism. The rising pitch is not the Doppler effect (nothing is moving relative to your ear), not the spoon warming the water, and not the level dropping. It is purely a change in the medium's sound speed with time — a walking-frequency resonator, not a moving source.

History and Where It Shows Up

The slowing of sound by frothy liquids was noted by Arnulph Mallock (Proc. R. Soc. Lond. A, 1910), and the mixture sound-speed formula is usually credited to A. B. Wood, whose A Textbook of Sound (1930) laid out the compressibility-averaging now called Wood's equation. The kitchen version was named and quantified by Berkeley physicist Frank S. Crawford in "The hot chocolate effect," American Journal of Physics 50, 398 (1982), who measured the fundamental climbing over seconds and resetting on each stir.

The same physics is serious business elsewhere. Bubble clouds and cavitating propeller wakes slow and heavily scatter sound, degrading sonar; gassy marine sediments distort seabed surveys; volcanic and geyser conduits and magma laced with gas broadcast low, glugging notes; ultrasound contrast imaging exploits resonant microbubbles; and engineers infer the void fraction in two-phase pipe and reactor-coolant flow from exactly this drop in sound speed. Your mug is a working acoustic void-fraction meter.

Two ways a pitch can shift: the Hot Chocolate Effect (a changing medium) vs. the Doppler Effect (relative motion) — the two are routinely confused.
FeatureHot Chocolate EffectDoppler Effect
Cause of the pitch changeSound speed of the medium rises as bubbles clearRelative motion between source and observer
What is movingNothing — mug, liquid and listener stay putSource and/or observer move through the medium
Governing relationf = c/(4L), with c from Wood's equationf′ = f (c ± v_o)/(c ∓ v_s)
Direction of shiftPitch rises as void fraction β falls (c ↑)Rises approaching, falls receding
Timescale~1–3 s, set by bubble rise and dissolutionInstantaneous, tied to the motion
MediumBubbly liquid, fixed resonator geometryAny medium; the medium itself is unchanged

Frequently asked questions

Why does the pitch rise instead of fall?

Because the bubbles clear over time. Fewer bubbles mean a stiffer mixture, so the sound speed c increases, and since the resonant frequency f = c/(4L) is proportional to c, the pitch climbs. If bubbles were being added rather than removed, the pitch would fall.

Is this the Doppler effect?

No. In the Doppler effect the pitch shifts because the source or listener is moving through an unchanged medium. Here nothing moves relative to your ear — the medium itself changes, because entrained bubbles alter the drink's speed of sound over a second or two.

Can sound really travel slower in bubbly water than in air?

Yes. At a gas volume fraction near 0.5 the sound speed bottoms out around 20–24 m/s, slower than in either pure water (~1483 m/s) or air (343 m/s). You combine the gas's high compressibility with the liquid's high density, and c = √(K/ρ) becomes very small.

Do I actually have to tap the mug?

No. Stirring or pouring already excites the liquid column's resonance, so a fresh cup can be heard sliding upward on its own. Tapping the bottom with a spoon just re-strikes the resonator cleanly so you can hear the rising note more distinctly.

Why does re-stirring drop the pitch again?

Stirring re-entrains a fresh cloud of bubbles, pushing the void fraction back up. That softens the mixture, drops the sound speed, and lowers the resonant frequency — resetting the whole rising-pitch cycle.

Which drinks work best?

Anything that makes lots of fine, persistent bubbles: instant coffee and hot chocolate are classics because the powder both traps air and nucleates gas in hot, degassed water. A just-poured beer, or salt dropped into carbonated water, shows the same descending-then-rising acoustics.