Helmholtz Resonance Calculator
Compute Helmholtz resonant frequency f = (c/2π)·√(A/V·L) from cavity volume and neck dimensions.
Includes end-correction and musical-note ID.
Blow across the top of an empty wine bottle and you get a low, breathy note that lingers for a second after you stop blowing. The pitch of that note depends only on the bottle’s geometry, not on how hard you blow. Hermann von Helmholtz worked out why in the 1850s, and the formula he derived is now in every speaker designer’s toolkit and every car-muffler engineer’s spreadsheet.
The formula:
f₀ = (c / 2π) · √(A / (V · L_eff))
Where f₀ is the resonant frequency in Hz, c is the speed of sound in the fluid (≈ 343 m/s in air at 20 °C), A is the cross-sectional area of the neck (m²), V is the volume of the cavity (m³), and L_eff is the effective length of the neck. For circular openings the effective length is the physical length plus a small end correction:
L_eff ≈ L + 0.85 · r (for one open end) L_eff ≈ L + 1.70 · r (for both ends open, e.g. a ported speaker box)
The end correction accounts for the air just outside the neck that participates in the oscillation. For necks much longer than the radius the correction is negligible; for short necks (like a wine bottle’s lip) it can double the effective length.
Why it works:
The air in the neck behaves as a mass; the air in the cavity acts as a spring (compressed and rarefied by the moving plug). The whole system is a mechanical oscillator, and like any spring-mass system its natural frequency is √(k/m). Working out k (the effective stiffness of the trapped air) and m (the mass of air in the neck) and reducing the constants gives Helmholtz’s formula.
The remarkable result: the natural frequency does not depend on the energy you put in. A loud puff and a soft puff produce the same pitch, just different loudness. This is why a bass-reflex speaker port has a specific tuned frequency regardless of input level, and why bottles all sound at the same note when blown.
Speed of sound varies with temperature:
For dry air, the speed of sound is approximately c = 331.4 + 0.6·T (m/s, with T in °C). At 0 °C, c ≈ 331 m/s; at 25 °C, c ≈ 346 m/s; at 40 °C, c ≈ 355 m/s. A bottle that resonates at 100 Hz in a cold room will resonate slightly higher in a warm room because the air is faster. This calculator adjusts c automatically when you specify temperature.
Worked example, a wine bottle:
Standard 750 mL Bordeaux bottle: V = 0.75 × 10⁻³ m³. Neck inner diameter d ≈ 20 mm, so r = 10 mm = 0.010 m, A = π·r² = 3.14 × 10⁻⁴ m². Neck length L ≈ 30 mm = 0.030 m. End correction: L_eff = 0.030 + 0.85·0.010 = 0.0385 m.
f₀ = (343 / 2π) · √(3.14 × 10⁻⁴ / (0.75 × 10⁻³ · 0.0385)) = 54.6 · √(3.14 × 10⁻⁴ / 2.89 × 10⁻⁵) = 54.6 · √10.87 = 54.6 · 3.30 = 180 Hz (close to musical F3, the F below middle C)
The actual pitch you hear when you blow across a wine bottle varies because the headspace volume changes as you drink it — a bottle filled to the top has tiny V and high f₀; an empty bottle has full V and low f₀. Pour out half and the frequency drops by √2 ≈ 1.41×, about 7 semitones lower.
Bass-reflex speaker design:
A ported subwoofer is a Helmholtz resonator. The speaker box is the cavity, the port tube is the neck, and the system is tuned to a frequency where the port amplifies low-frequency output. Typical car-stereo subwoofer ports use a 50-100 mm diameter tube, 100-300 mm long, in a 30-60 liter box, tuned to 30-45 Hz. The Thiele-Small parameter framework for loudspeaker design is built on top of the basic Helmholtz formula plus corrections for the driver’s compliance.
Other applications:
- Mufflers and exhaust silencers: tuned cavities cancel specific frequencies of engine noise. Car exhaust resonators are explicitly designed as Helmholtz resonators.
- Architectural acoustics: perforated panel absorbers in concert halls and recording studios are arrays of Helmholtz resonators tuned to dominant standing-wave frequencies.
- Wind instruments: the body of a flute and the bell of a trumpet are not simple Helmholtz resonators (they are open tubes with traveling-wave behavior), but smaller cavities like the ocarina ARE pure Helmholtz resonators, which is why ocarinas have such a distinctive sound.
- Cavity backing on solar cells and acoustic sensors: tuned cavities increase efficiency at specific frequencies.
Limits of the formula:
The simple formula assumes the cavity is small compared to the wavelength of the resonant tone (so the air inside acts as a uniform spring), and the neck is narrow compared to its length (so the air in it acts as a rigid plug). For very large cavities or very wide necks, more complete acoustic models with multi-mode coupling are needed. Real cavities also have damping (sound radiates out and dissipates), giving the resonance a finite Q-factor; the formula gives only the center frequency, not the bandwidth.
Why the bottle’s note is so dependent on volume:
f₀ ∝ 1/√V, so doubling the cavity halves the frequency by 1/√2 (about 5 semitones). This is much more sensitive than other geometry changes; tripling the neck length only drops the pitch by √3 ≈ 1.73× (also about 5 semitones, but you have to make the neck three times longer). Cavity volume is the dominant tuning variable in practical resonator design.