---
title: Helmholtz resonators
heading: A cavity with a neck as an acoustic mass on an acoustic spring, the resonance frequency with the neck's end correction, lumped acoustic elements and their circuit analogs, the radiation-limited Q, and tuning bass-reflex ports and absorbers
eyebrow: S16 · Lesson 24 · Helmholtz resonators
xp: 50
---

::: hook
Blow across the top of a bottle and it sounds a low note set by its volume and its neck, not by any length matched to a wavelength. The air in the neck moves as a slug, a mass, and the air in the bottle compresses as a spring: lesson 1's oscillator again, made of air. Helmholtz used such resonators as tunable filters to analyze sound by ear in the 1860s; today they tune the ports of bass-reflex loudspeakers, absorb the boom of particular frequencies in rooms and engine intakes, and explain why a car with one window open buffets.
:::

::: play
- The resonance of a cavity of volume V with a neck of radius a and length L: $f_0 = \frac{c}{2\pi}\sqrt{S/(VL')}$, with S = πa² and the neck lengthened by end corrections to L' = L + 1.7a.
- A bigger cavity or a longer neck lowers the note; a wider neck raises it.
- The cavity must be small compared with the wavelength for the lumped model to hold.
:::

```sim plot
view: graph
x: V = 0.1..20 log
y: f = 10..1000 log
slider: a = 0.3..5 step 0.1 = 1
slider: L = 0..20 step 0.5 = 5
plot: 343/(2*pi)*sqrt(pi*(a/100)^2/(V*1e-3*(L/100 + 1.7*a/100))) | samples: 300 | label: resonance, Hz (V in liters)
readout: resonance of a 1 L cavity, Hz = 343/(2*pi)*sqrt(pi*(a/100)^2/(1e-3*(L/100 + 1.7*a/100))) | digits: 4
```

::: predict
## A 1 L bottle has a neck 1 cm in radius and 5 cm long. Roughly what note does it make when you blow across it?

- [ ] About 340 Hz
- [x] About 120 Hz
- [ ] About 1.7 kHz
- [ ] About 30 Hz

::: reveal
S = π(0.01)² = 3.14 × 10⁻⁴ m², L' = 0.05 + 1.7 × 0.01 = 0.067 m, so $f_0$ = (343/2π)√(3.14 × 10⁻⁴/(10⁻³ × 0.067)) = 118 Hz. The bottle is about 13 cm tall, a twentieth of the 2.9 m wavelength, so it's nothing like a quarter-wave pipe: the lumped model is the right one.
:::
:::

::: nameit
## Acoustic mass and compliance

For acoustic elements small compared with the wavelength, use pressure p and **volume velocity** U (m³/s), the acoustic analogs of voltage and current.

- The air in a neck of area S and effective length L' is an **acoustic mass** (inertance) $M_A = \rho_0L'/S$: p = jωM_A U, like an inductor.
- A closed volume V is an **acoustic compliance** $C_A = V/\rho_0c^2$: like a capacitor.
- Narrow, viscous passages and radiation add acoustic resistance.

## The Helmholtz resonator

The neck's mass on the cavity's spring resonates at

$$f_0 = \frac{1}{2\pi\sqrt{M_AC_A}} = \frac{c}{2\pi}\sqrt{\frac{S}{VL'}}$$

The end corrections, about 0.85a at a flanged end and 0.61a at an unflanged one, are often lumped as L' ≈ L + 1.7a.

## Damping

If radiation from the neck were the only loss, the quality factor would be $Q = 2\pi\sqrt{V(L'/S)^3}$, often hundreds; viscous losses in the neck usually dominate and lower it, and absorbent material in the cavity lowers it further, widening the band a resonator absorbs.

## Uses

A **bass-reflex** loudspeaker box is a Helmholtz resonator: its port, tuned near the driver's low-frequency limit, radiates in phase with the cone and extends the bass. **Resonant absorbers** (perforated panels over cavities, or tuned side branches in ducts) remove a chosen band.
:::

::: example
## Find the bottle's radiation-limited Q, and its resonance if the volume is halved.

::: solution
1. **Radiation-limited Q.** If only radiation damped it:
   $$\begin{aligned} Q &= 2\pi\sqrt{V(L'/S)^3} \\ &= 2\pi\sqrt{10^{-3}\left(\frac{0.067}{3.14 \times 10^{-4}}\right)^3} \\ &= 619 \end{aligned}$$
   The real bottle's Q is much lower.
2. **Half the volume.** Halving the volume multiplies the frequency by √2:
   $$\begin{aligned} f &= 118 \times \sqrt{2} \\ &= 167\ \text{Hz} \end{aligned}$$

**Answer:** a radiation-limited Q of 619, and a resonance of 167 Hz with half the volume.
:::
:::

::: example
## A 40 L loudspeaker box has a port 3.5 cm in radius. How long should the port be to tune it to 40 Hz?

::: solution
1. **Wavenumber and port area.**
   $$\begin{aligned} k_0 &= 2\pi \times 40/343 \\ &= 0.733\ \text{m}^{-1} \\ S &= 3.85 \times 10^{-3}\ \text{m}^2 \end{aligned}$$
2. **Effective length.**
   $$\begin{aligned} L' &= \frac{S}{Vk_0^2} \\ &= 0.179\ \text{m} \end{aligned}$$
3. **Physical length.** Take off the end corrections:
   $$\begin{aligned} L &= 0.179 - 1.7 \times 0.035 \\ &= 0.120\ \text{m} \end{aligned}$$

**Answer:** the port should be 12 cm long.
:::
:::

::: example
## A car's cabin (3 m³) has one rear window open, a 0.3 × 0.5 m opening in thin glass. At what frequency does it resonate as a Helmholtz resonator, the source of the buffeting heard at speed?

::: solution
1. **Equivalent radius.** The opening's area is 0.15 m², equivalent to a circle of radius
   $$\begin{aligned} a &= \sqrt{0.15/\pi} \\ &= 0.219\ \text{m} \end{aligned}$$
2. **Neck length.** With a thin wall the neck is all end correction:
   $$\begin{aligned} L' &\approx 1.7a \\ &= 0.37\ \text{m} \end{aligned}$$
3. **Resonance.**
   $$\begin{aligned} f &= \frac{c}{2\pi}\sqrt{\frac{S}{VL'}} \\ &= 54.6\sqrt{\frac{0.15}{3 \times 0.37}} \\ &= 20\ \text{Hz} \end{aligned}$$
4. **What it feels like.** It's a low throb the body feels as much as hears, excited when vortices shed from the window's edge at about that rate.

**Answer:** the cabin resonates at about 20 Hz.
:::
:::

::: check
given: V = 0.5 | 2 | 10; a = 0.5 | 1.5 | 3; L = 2 | 5 | 10
answer: 343/(2*pi)*sqrt(pi*(a/100)^2/(V*1e-3*(L/100 + 1.7*a/100)))
unit: Hz
tolerance: 0.5%

## A {V} L cavity has a neck {a} cm in radius and {L} cm long. Using L' = L + 1.7a, what's its resonance frequency?

::: right
Right. $\frac{c}{2\pi}\sqrt{S/VL'}$ = {answer} Hz.
:::

::: misses
- [343/(2*pi)*sqrt(pi*(a/100)^2/(V*1e-3*L/100))] Include the end correction 1.7a in the neck length.
- [any] Not yet. Mass of the neck on the spring of the cavity.
:::
:::

::: check
given: f = 30 | 50 | 100; a = 2 | 4; L = 5 | 15
answer: pi*(a/100)^2/((2*pi*f/343)^2*(L/100 + 1.7*a/100))*1000
unit: L
tolerance: 0.5%

## A port {a} cm in radius and {L} cm long must tune a box to {f} Hz. What volume should the box have?

::: right
Right. $V = S/(k_0^2L')$ = {answer} L.
:::

::: misses
- [any] Not yet. Solve the Helmholtz formula for V.
:::
:::

::: check
given: f = 30 | 40; V = 20 | 50; a = 2.5 | 4
answer: (pi*(a/100)^2/(V*1e-3*(2*pi*f/343)^2) - 1.7*a/100)*100
unit: cm
tolerance: 0.5%

## A {V} L box with a port {a} cm in radius must be tuned to {f} Hz. How long should the port be?

::: right
Right. $S/(Vk_0^2) - 1.7a$ = {answer} cm.
:::

::: misses
- [pi*(a/100)^2/(V*1e-3*(2*pi*f/343)^2)*100] That's the effective length; subtract the end correction.
- [any] Not yet. Solve for L', then remove the correction.
:::
:::

::: check
given: V = 0.5 | 2; a = 0.5 | 1.5; L = 2 | 8
answer: 2*pi*sqrt(V*1e-3*((L/100 + 1.7*a/100)/(pi*(a/100)^2))^3)
tolerance: 0.5%

## What radiation-limited Q does a {V} L resonator with a neck {a} cm in radius and {L} cm long have?

::: right
Right. $2\pi\sqrt{V(L'/S)^3}$ = {answer}.
:::

::: misses
- [any] Not yet. $Q = 2\pi\sqrt{V(L'/S)^3}$.
:::
:::

::: check
given: f = 80 | 120 | 200; r = 2 | 4 | 0.5
answer: f/sqrt(r)
unit: Hz
tolerance: 0.5%

## A resonator sounds {f} Hz. Its cavity volume is multiplied by {r}, with the same neck. What's its new frequency?

::: right
Right. $f_0 \propto 1/\sqrt{V}$: {answer} Hz.
:::

::: misses
- [f/r] Frequency goes as one over the square root of volume.
- [any] Not yet. Scale by $1/\sqrt{r}$.
:::
:::

::: check
given: V = 1 | 10 | 50
answer: V*1e-3/(1.204*343^2)
tolerance: 0.5%

## What's the acoustic compliance, in m⁵/N, of a {V} L enclosed volume of air (ρ = 1.204 kg/m³, c = 343 m/s)?

::: right
Right. $V/\rho_0c^2$ = {answer} m⁵/N.
:::

::: misses
- [V/(1.204*343^2)] Convert liters to cubic meters.
- [any] Not yet. $C_A = V/\rho_0c^2$.
:::
:::

::: check
kind: parts
given: w = 0.1 | 0.3; h = 0.2 | 0.5; V = 0.5 | 3 | 8

## A {V} m³ enclosure has a thin-walled opening {w} by {h} m.

::: part
answer: 1.7*sqrt(w*h/pi)
unit: m
tolerance: 0.5%

### What effective neck length do the end corrections give?

::: misses
- [any] 1.7 times the equivalent circular radius $\sqrt{S/\pi}$.
:::
:::

::: part
answer: 343/(2*pi)*sqrt(w*h/(V*1.7*sqrt(w*h/pi)))
unit: Hz
tolerance: 0.5%

### What is its Helmholtz resonance?

::: misses
- [any] $\frac c{2\pi}\sqrt{S/VL'}$.
:::
:::
:::

::: check
kind: derivation
vars: S = 0.00001..0.1, V = 0.0001..10, L = 0.001..1

## A Helmholtz resonator has neck area S, effective neck length L′ and volume V, in air at 343 m/s.

::: step
answer: 343/(2*pi)*sqrt(S/(V*L))

### What is its resonance frequency?
:::

::: step
answer: 343/(2*pi)*sqrt(S/(2*V*L))

### What does it become if the volume doubles?
:::

::: right
Right. Frequency goes as $1/\sqrt V$: doubling the volume lowers it by a factor of √2.
:::
:::

::: explain
## Why can a bottle resonate at a frequency whose wavelength is twenty times its size?

::: model
A pipe resonates when a standing wave fits its length, which needs the pipe to be a sizable fraction of a wavelength. A Helmholtz resonator works differently: at low frequencies the pressure inside the cavity is nearly uniform, so the cavity acts as a single spring, and the air in the neck moves together as a single mass. Their resonance depends only on the mass of the neck's air and the stiffness of the cavity's air, $f_0 = \frac{1}{2\pi}\sqrt{k/m}$ as in lesson 1, not on any wave fitting inside. That's why a small bottle, or a loudspeaker box, can resonate at frequencies whose wavelength is far larger than itself, and why the lumped model fails once the cavity approaches a quarter wavelength.
:::
:::

::: practice

::: check
given: V = 0.1 | 50; a = 0.3 | 5; L = 0.5 | 20
answer: 343/(2*pi)*sqrt(pi*(a/100)^2/(V*1e-3*(L/100 + 1.7*a/100)))
unit: Hz
tolerance: 0.5%

## f₀: {V} L, a = {a} cm, L = {L} cm?

::: misses
- [any] $\frac{c}{2\pi}\sqrt{S/VL'}$.
:::
:::

::: check
given: f = 20 | 40; V = 10 | 60; a = 3 | 6
answer: (pi*(a/100)^2/(V*1e-3*(2*pi*f/343)^2) - 1.7*a/100)*100
unit: cm
tolerance: 0.5%

## Port length: {f} Hz, {V} L, a = {a} cm?

::: misses
- [any] $S/(Vk^2) - 1.7a$.
:::
:::

::: check
given: f = 30 | 500; r = 0.25 | 8
answer: f/sqrt(r)
unit: Hz
tolerance: 0.5%

## New frequency: {f} Hz, volume × {r}?

::: misses
- [any] $f/\sqrt{r}$.
:::
:::
:::
