Understanding the Helmholtz resonator and bass port calculator — concept and principle
Blow across the mouth of a bottle and it sings at one pitch: that is a Helmholtz resonator, an enclosed air volume connected to the outside through a narrow neck. A bass-reflex loudspeaker uses the same physics, with a port tube tuned so the box reinforces low frequencies. This calculator finds the tuning frequency from the box volume and the port's diameter and length.
How it is calculated
f = (c ÷ 2π) × √(A ÷ (V × L_eff))
- c = 343 m/s (entered as 34,300 cm/s so all lengths are in cm)
- A = π × (d/2)², the port's cross-sectional area in cm²
- V is the box volume in litres, multiplied by 1,000 to give cm³
- L_eff = L + 1.46 × r, the port length plus an end correction, with r = d/2
The 1.46r end correction combines about 0.85r for the port end flush with the front baffle and about 0.61r for the free end inside the box.
The principle
The air in the port acts like a mass and the air in the box like a spring. When the plug of air moves inward, it compresses the box air, which pushes it back out, so the system oscillates like a mass on a spring with f = (1/2π)√(k/m). A larger port area makes the spring stiffer relative to the mass, raising f; a bigger box or a longer port lowers it. The air just beyond each end of the port moves with it, so the port behaves as if it were slightly longer; that is the end correction.
Worked example
- Inputs: V = 40 L, d = 7 cm, L = 15 cm.
- A = π × 3.5² = 38.48 cm².
- L_eff = 15 + 1.46 × 3.5 = 20.11 cm; V = 40,000 cm³.
- A ÷ (V × L_eff) = 38.48 ÷ 804,400 = 4.784 × 10⁻⁵ cm⁻².
- f = (34,300 ÷ 2π) × √(4.784 × 10⁻⁵) = 5,459 × 0.006917 = 37.76 Hz (37.75906237).
| Port diameter (cm) | Tuning frequency (Hz) |
|---|---|
| 1.75 | 10.49236508 |
| 3.5 | 20.20676655 |
| 5.25 | 29.26405552 |
| 7 | 37.75906237 |
| 8.75 | 45.76750508 |
| 10.5 | 53.3507629 |
| 14 | 67.43489588 |
How to read the result
Bass-reflex boxes for home hi-fi are often tuned somewhere between about 30 and 50 Hz, close to the woofer's resonance as suggested by its Thiele-Small parameters. Below the tuning frequency output falls quickly, so a lower tuning extends bass but needs a larger box or a longer port. To lower tuning, lengthen the port or reduce its diameter; to raise it, do the opposite.
Common mistakes
- Using the gross external volume instead of the net internal air volume, after subtracting the driver, bracing and the port itself.
- Making the port too narrow, which causes audible air noise (chuffing) at high volume.
- Choosing a port so long that its own pipe resonance falls in the midrange.
Frequently asked questions
Does the port shape matter?
The area and effective length matter most; slot ports work too, with a different end correction.
Why do bottles sound lower when they contain less liquid?
Less liquid means a larger air volume, which lowers the resonant frequency.
Can a resonator absorb sound?
Yes. Helmholtz absorbers in walls are tuned to remove specific low frequencies in rooms.
Sources: L. E. Kinsler, A. R. Frey, A. B. Coppens and J. V. Sanders, Fundamentals of Acoustics, 4th ed., Wiley, 2000 · L. L. Beranek, Acoustics, Acoustical Society of America (reprint)