DEV Community

Cover image for Helmholtz Resonator: Why a Bottle Hums at One Note When You Blow Across It
NovaSolver
NovaSolver

Posted on Originally published at novasolver.jp

Helmholtz Resonator: Why a Bottle Hums at One Note When You Blow Across It

Blow gently across the mouth of an empty bottle and it answers with a single, steady note. Pour in some water and the note climbs higher. Nothing about your breath changed pitch — the air inside the bottle did the choosing. That bottle is a Helmholtz resonator, and the same compact piece of acoustics is at work in a loudspeaker cabinet, an intake manifold, and the perforated panels that quiet a concert hall.

This article explains how a cavity with a narrow neck picks out one preferred frequency, walks through the formula and a full numerical example, and points out the assumptions that trip people up when they try to design one.

Why this calculation matters

A Helmholtz resonator is one of the few acoustic systems that behaves like a simple mechanical oscillator — a mass on a spring — which makes it both easy to reason about and genuinely useful. Engineers reach for it whenever they need a structure that responds strongly at one frequency and stays quiet everywhere else.

The applications are everywhere once you start looking. Bass-reflex loudspeakers use a tuned port to extend low-frequency output without a bigger driver. Car exhausts and intakes hang side-branch resonators off the main pipe to cancel a specific droning tone. Architectural acoustic panels bury an array of small cavities behind a perforated face to absorb a troublesome room mode. In every case the design question is the same: what cavity volume and neck dimensions land the resonance exactly where you want it? Get the geometry wrong and the resonator does nothing useful, or worse, amplifies the very noise you were trying to kill.

The core formula

A Helmholtz resonator has two parts that play distinct mechanical roles. The slug of air in the narrow neck acts as a mass — it moves bodily in and out. The larger body of air in the cavity acts as a spring — compress it and it pushes back. A mass on a spring oscillates at one natural frequency, and so does this.

The resonant frequency is:

f = (c / (2*pi)) * sqrt( A / (V * L) )
Enter fullscreen mode Exit fullscreen mode

where c is the speed of sound in the air, A is the cross-sectional area of the neck, L is the neck length, and V is the cavity volume.

The structure of the formula tells the story. A bigger neck area A raises the frequency, because more air mass is coupled in and driven hard by the cavity pressure. A longer neck L or a larger cavity V both lower the frequency — a longer neck is a heavier moving mass, and a larger cavity is a softer spring. The square root means the frequency is fairly forgiving: to halve the pitch you must quadruple the volume.

One refinement matters in practice. The air that moves does not stop neatly at the ends of the neck; a little extra air just outside is dragged along too. Acousticians handle this with an end correction, replacing the physical neck length L with a slightly larger effective length, often L_eff = L + 0.85*d for a flanged opening, where d is the neck diameter. For a short, wide neck the correction is not a small detail — it can be a large fraction of L.

A worked example

Take a resonator with a cavity volume V = 0.001 m^3 (one litre), a neck of cross-section A = 0.0005 m^2, and a neck length L = 0.05 m. The air is at room temperature, so the speed of sound is c = 343 m/s.

Step 1 — assemble the ratio inside the square root.

A / (V * L) = 0.0005 / (0.001 * 0.05)
            = 0.0005 / 0.00005
            = 10  (units: 1/m^2)
Enter fullscreen mode Exit fullscreen mode

Step 2 — take the square root.

sqrt(10) = 3.162  (units: 1/m)
Enter fullscreen mode Exit fullscreen mode

Step 3 — apply the prefactor c/(2*pi).

c / (2*pi) = 343 / 6.283 = 54.59  (units: m/s)
Enter fullscreen mode Exit fullscreen mode

Step 4 — multiply.

f = 54.59 * 3.162 = 173 Hz
Enter fullscreen mode Exit fullscreen mode

So this resonator rings at about 173 Hz, a low note roughly an octave below middle C. That is a typical figure for a litre-sized cavity, and it is why bottles and small enclosures tend to hum in the low hundreds of hertz rather than up in the treble. Notice how little of the geometry it took: one volume, one area, one length, and the speed of sound.

Common mistakes

Forgetting the end correction. The bare neck length L underestimates the moving air mass. Skipping the correction pushes your predicted frequency too high — sometimes by 10 to 30 percent for a stubby neck. Always use an effective length when the neck is short relative to its diameter.

Mixing up units. The formula is unforgiving about consistency. Volume must be in cubic metres, area in square metres, length in metres. Slipping in litres or millimetres for one term while keeping SI units elsewhere can throw the answer off by orders of magnitude.

Assuming the cavity shape matters. It mostly does not — only the cavity volume enters the formula, not whether it is a sphere, a cube, or a bottle. The shape begins to matter only when the cavity becomes large enough that its own internal standing waves appear, at which point the simple lumped model breaks down.

Treating it as a wideband absorber. A Helmholtz resonator is sharply tuned by nature. It does excellent work at and very near its resonant frequency and very little elsewhere. If you need broadband absorption, you need many resonators at staggered frequencies, or a different mechanism entirely.

Ignoring losses. The simple formula gives the frequency but says nothing about damping. A real resonator has viscous and radiation losses that set how sharp the peak is. For a tuned absorber that sharpness — the quality factor — is just as important as the centre frequency.

Try the interactive NovaSolver calculator

Working the square root once by hand builds intuition, but tuning a resonator means sweeping the geometry and watching the frequency move. The Helmholtz Resonator Simulator — Acoustic Resonance on NovaSolver does exactly that: set the cavity volume, neck diameter, neck length, and sound speed, and it returns the resonant frequency, the effective neck length with the end correction applied, the resonant wavelength, and the period — all updating live as you drag the sliders.

Related calculators

You can explore the rest in the acoustics tools hub.

Closing note

The Helmholtz resonator is a small idea with a long reach. Strip away the application and it is just a mass on a spring: neck air for the mass, cavity air for the spring, one natural frequency set by their ratio. Remember the end correction, keep your units honest, and respect that the device is narrowband by design. With those three points in mind you can tune a speaker port, silence an engine drone, or simply understand why your bottle hums — all from one short formula.

Top comments (0)