Waves & Oscillations
Helmholtz Resonance
Air in a cavity with a neck springs like a mass on a spring — the note you get blowing across a bottle
Helmholtz resonance is the low hum you get blowing across a bottle: the slug of air in the neck bounces like a mass on a spring against the springy air in the cavity. Frequency f = (c/2π)·√(A/(V·L_eff)) — depends only on neck area, cavity volume, and neck length, not on the shape of either.
- Frequencyf = (c / 2π) · √(A / (V · L_eff))
- OscillatorAir mass in neck + air spring in cavity
- Air spring stiffnessk = ρc²A² / V
- End correctionL_eff ≈ L + 1.7r (flanged + open neck)
- Wine bottle (~750 mL)≈ 110–185 Hz (low A to F♯)
- ModesOne low resonance — no harmonic series
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
The intuition — air on a spring
Pick up an empty bottle, purse your lips at the rim, and blow a thin stream of air across the opening. You don't blow into it — you blow across it. And it answers with a deep, breathy note. That note has nothing to do with the glass vibrating. It is the air inside performing a remarkably clean piece of physics.
Think of the air in the narrow neck as a single plug — a small, dense slug with real mass. Below it, the wide belly of the bottle holds a much larger volume of air. Air is compressible, so that big pocket behaves like a spring: push the plug down and the trapped air compresses and shoves back; let it rebound and it overshoots, rarefies, and gets sucked back in. Mass on the end of a spring is the most basic oscillator in physics, and that is exactly what you have built. The system has one favourite frequency — the Helmholtz frequency — and the turbulent jet from your lips keeps feeding energy in at just that rate.
Hermann von Helmholtz worked this out in the 1850s while studying the perception of musical tone. He built brass spheres with a neck on one side and a small ear-hole on the other; each sphere rang at exactly one pitch, so he could pick a single frequency out of a complex sound the way a tuning fork does. Those "Helmholtz resonators" were the first acoustic spectrum analyzers.
How it works — the lumped mass-spring model
The reason a messy real-world bottle reduces to a clean equation is that it is acoustically compact: the resonant wavelength (a couple of metres for a ~150 Hz note) is far larger than the bottle. The air in the cavity barely "knows" sound takes time to travel across it, so it compresses almost uniformly — it acts as one lumped spring rather than supporting standing waves. Meanwhile the air in the narrow neck is too short to compress noticeably, so it just slides back and forth as one rigid mass.
Let the neck have cross-sectional area A and effective length L_eff, and let the cavity volume be V. Air density is ρ and the speed of sound is c.
The moving mass is the slug of air in the neck:
m = ρ · A · L_eff
The spring stiffness comes from compressing the cavity. Push the slug in by a small distance x, and you reduce the cavity volume by ΔV = A·x. For an adiabatic compression of a gas the pressure rise is Δp = ρc²·(ΔV/V), and that pressure acts back on the slug over area A, giving a restoring force F = −A·Δp:
F = −(ρ c² A² / V) · x ⇒ k = ρ c² A² / V
Now use the textbook result ω₀ = √(k/m) for a mass on a spring. The densities cancel:
ω₀ = √(k/m) = c · √( A / (V · L_eff) )
f₀ = ω₀ / 2π = (c / 2π) · √( A / (V · L_eff) )
That cancellation of ρ is why temperature and altitude change the pitch only through c, not through the air being thinner. Warmer air has a higher c (c ≈ 331·√(1 + T/273) m/s), so a bottle hums slightly sharp on a hot day.
The end correction — the neck is longer than it looks
If you plug the bottle's measured neck length straight into the formula you'll predict a pitch that's too high. The reason: the oscillating slug drags some air outside each opening along with it. That extra co-moving air adds to the effective mass, so the acoustic neck is longer than the physical glass.
The correction depends on the radius r of the opening. Each end adds roughly:
| Opening type | Added length per end |
|---|---|
| Unflanged (free pipe end) | ≈ 0.61 r |
| Flanged (opens into a wall/baffle) | ≈ 0.85 r (= 8r/3π) |
A bottle neck typically has one nearly-free outer end and one inner end that opens abruptly into the wide cavity (effectively flanged), so a common working rule is:
L_eff ≈ L + 1.7 r (one open end + one flanged end ≈ 0.85r + 0.61r ≈ 1.5r, rounded up for a wide cavity)
For a wide-mouthed cavity with essentially no physical neck (L ≈ 0) the resonator still works — the end corrections alone supply the mass. That is the regime of a beer bottle held by the base, or of the cabin of a moving car.
Worked example — a wine bottle
Take an empty 750 mL bottle. Suppose the neck is a tube of inner diameter 18 mm (radius r = 9 mm = 0.009 m) and physical length L = 8 cm = 0.08 m. Air at 20 °C: c = 343 m/s.
- Neck area: A = πr² = π·(0.009)² ≈ 2.54 × 10⁻⁴ m²
- End correction: L_eff = L + 1.7r = 0.08 + 1.7·0.009 ≈ 0.0953 m
- Cavity volume: V = 750 mL = 7.5 × 10⁻⁴ m³
f = (343 / 2π) · √( 2.54e-4 / (7.5e-4 · 0.0953) )
= 54.6 · √( 2.54e-4 / 7.15e-5 )
= 54.6 · √(3.55)
= 54.6 · 1.884
≈ 103 Hz (close to a low G♯)
Around 100 Hz is exactly the breathy bass you hear from a wine bottle — real bottles land between roughly 110 and 185 Hz depending on neck geometry. Now pour in 375 mL of water so only half the air remains (V → 3.75 × 10⁻⁴ m³). Volume halves, so f scales by √2:
f_half = 103 · √2 ≈ 146 Hz (a jump of ~6 semitones, up to a low D)
Each time you halve the remaining air, the pitch climbs about 6 semitones; quarter it and you've climbed a full octave. That is the rising scale you can play by drinking down a bottle one gulp at a time.
Numbers — resonators across scales
| Resonator | Cavity V | Neck / port | Typical f | Role of the resonance |
|---|---|---|---|---|
| Wine bottle (empty) | ~750 mL | ~18 mm × 8 cm | ~100–120 Hz | The hum when you blow across it |
| Beer bottle | ~330 mL | ~20 mm × 6 cm | ~170–185 Hz | Higher pitch — smaller cavity |
| Acoustic guitar body | ~12 L | ~100 mm sound hole | ~90–110 Hz | Boosts low strings (E2 ≈ 82 Hz) |
| Ported subwoofer box | 30–60 L | 50–100 mm port | 25–40 Hz | Extends deep bass output |
| Ocarina | ~50–200 mL | finger holes vary A | ~500–2000 Hz | Whole instrument is one resonator |
| Car cabin "wind buffeting" | ~3 m³ | open window | ~15–25 Hz | Sub-audible thump at speed |
| Helmholtz's brass sphere | tuned | small neck | any single pitch | Picks one frequency out of a sound |
Where it shows up
- Loudspeakers (bass-reflex / ported cabinets). The box is the spring, the port tube is the mass. Tuning the Helmholtz resonance to the driver's roll-off frequency lets the port radiate extra bass right where the cone is fading — buying roughly half an octave of extra low end for the same enclosure size. Mistune the port and you get a one-note, boomy bass.
- Musical instruments. A guitar or violin body resonance (the "air mode") sits around 100 Hz and reinforces the lowest strings. Ocarinas and the body of a banjo are essentially pure Helmholtz resonators — pitch is set by how many finger holes are open (changing total A), not by length.
- Cars. Crack one rear window at highway speed and the cabin can thud at 15–25 Hz — a Helmholtz oscillation of the whole interior with the open window as the neck. The fix is geometry: opening a second window or the sunroof detunes it.
- Noise control. Engineers tune Helmholtz resonators (a cavity tapped into a duct) to absorb a single problem frequency — exhaust mufflers, HVAC ducts, and the perforated panels in concert halls all use them as narrow-band silencers.
- Engines. Intake-manifold runners are sized so a Helmholtz/standing-wave resonance arrives at the intake valve just as it opens, ram-charging the cylinder for a torque bump at a chosen RPM.
- Sensing. Acoustic gas sensors and microfluidic devices use shifts in a Helmholtz resonance to detect changes in cavity volume or gas composition.
Helmholtz resonator vs. organ pipe
People lump "bottle that hums" together with "flute that sings," but they are different physics. A flute or organ pipe is a distributed standing-wave resonator; a Helmholtz cavity is a lumped mass-spring resonator.
| Property | Helmholtz resonator | Open organ pipe |
|---|---|---|
| Mechanism | Lumped air mass + air spring | Standing wave along the tube |
| What sets the pitch | A, V, L_eff (volume + neck) | Tube length (λ/2 fits in) |
| Size vs. wavelength | Much smaller than λ (compact) | Comparable to λ |
| Overtones | Essentially one isolated mode | Full harmonic series (f, 2f, 3f…) |
| Timbre | Dull, breathy single note | Bright, harmonically rich |
| Pitch from filling with water | Rises (V shrinks) | Rises (air column shortens) |
| Shape sensitivity | Insensitive — only V and A matter | Cross-section and end shape matter |
| Canonical example | Bottle, subwoofer port | Flute, organ flue pipe |
Q factor and damping — why the note dies
The note from a bottle is not eternal — stop blowing and it fades in a fraction of a second. The resonance has a quality factor Q, the number of oscillations it rings before the energy decays, set by how fast the moving air loses energy. Two loss channels dominate:
- Radiation. The oscillating neck radiates sound — that's the whole point, but radiated energy is lost from the resonator. Wider necks radiate more and ring less.
- Viscous and thermal losses. Air rubbing along the neck walls (boundary-layer friction) and heat leaking during compression both drain energy, more so in narrow necks.
Typical bottle resonators have Q of a few up to ~30 — enough to be clearly tonal but heavily damped, which is why the sound is breathy rather than a pure sustained tone. A tuned brass Helmholtz resonator with a tiny neck can reach Q in the hundreds. Higher Q means a sharper, more selective resonance — great for a frequency-picking instrument, bad for a wideband muffler.
Common misconceptions and edge cases
- "The glass is vibrating." No — it's the air. Fill the cavity with a different gas and the pitch changes dramatically: helium (c ≈ 1000 m/s) raises the note nearly threefold even though the bottle is identical. The glass barely participates.
- "Adding water lowers the pitch." Backwards. Water shrinks the air volume V, and f ∝ 1/√V, so adding water raises the pitch. Emptying the bottle lowers it.
- "Bigger bottle, higher note." Bigger cavity = softer spring = lower note. A 5-gallon water-cooler jug hums far below a beer bottle.
- "It has harmonics like a flute." A true Helmholtz resonator has essentially one isolated low mode. Higher resonances exist (the cavity's own standing-wave modes) but they sit far above and aren't harmonically related, so you don't perceive a rich tone.
- "Neck shape matters." To first order only the neck's area and effective length count, not whether it's round or oval. The end correction does depend on radius, so a very flared mouth shifts L_eff.
- "It only works with a long neck." A wide-mouth jar with no real neck still resonates; the end corrections alone provide the air mass. The model only breaks down when the cavity stops being compact compared to the wavelength — then you've crossed over into standing-wave (organ-pipe) behaviour.
Frequently asked questions
Why does blowing across a bottle make a note?
Blowing across the lip creates a turbulent jet that shoves the plug of air in the neck up and down. That air slug has mass; the larger volume of air trapped below it acts as a spring — compress it and it pushes back. Mass plus spring equals a harmonic oscillator, so the air bounces at one preferred frequency, the Helmholtz frequency, and you hear that note. It is not the bottle wall vibrating; it is the air itself.
What is the formula for Helmholtz resonance frequency?
f = (c / 2π) · √(A / (V · L_eff)), where c is the speed of sound (about 343 m/s in air at 20°C), A is the neck's cross-sectional area, V is the cavity volume, and L_eff is the effective neck length. L_eff is the physical neck length L plus end corrections — roughly L + 1.7r for a flanged-plus-open neck of radius r, because air just outside each opening moves with the slug.
Why does the note drop when you fill the bottle with water?
Trick question — it does the opposite. Filling with water shrinks the air volume V, and since f scales as 1/√V, a smaller cavity is a stiffer air spring, so the pitch actually rises. Adding water raises the pitch; emptying the bottle lowers it. Halving the air volume raises f by a factor of √2 (about 6 semitones, a tritone), and quartering it raises the pitch a full octave.
How is Helmholtz resonance different from an organ pipe?
An organ pipe (or a flute) is a standing-wave resonator: its pitch is set by how many half- or quarter-wavelengths fit the tube length, so it has a harmonic series. A Helmholtz resonator is a lumped mass-spring system far smaller than a wavelength, with essentially one isolated low resonance and no harmonic overtones. That is why a bottle hums a single muddy note rather than a bright, harmonically rich tone.
What are subwoofer bass-reflex ports and how do they use this?
A ported (bass-reflex) loudspeaker cabinet is a deliberate Helmholtz resonator: the box volume is the spring and the air in the port tube is the mass. Tuning the port so the resonance sits near the driver's low-frequency roll-off lets the port radiate extra bass exactly where the cone is running out of output, extending usable bass by roughly half an octave for the same box size.
Does the shape of the cavity or neck matter?
To first order, no — only the numbers matter. The frequency depends on the cavity's total volume V (not whether it is a sphere, cube, or wine bottle) and on the neck's area A and effective length L_eff (not its cross-section shape). This works because the cavity is acoustically compact: the air inside compresses almost uniformly, so it behaves as a single lumped spring regardless of geometry.