Helmholtz Resonator Calculator
A Helmholtz resonator is any enclosed cavity connected to its surroundings by a narrow neck or hole. Air in the neck oscillates like a mass on a spring, producing a strong resonance at a single frequency. Enter the cavity volume, neck area, and neck length to find the resonant frequency, or switch solve mode to back-calculate any one parameter from a known target frequency. The end-correction for the neck opening is applied automatically.
What is a Helmholtz resonator?
A Helmholtz resonator is an acoustic device consisting of an enclosed cavity connected to the surrounding air by a narrow neck or hole. The air in the neck acts like a mass, while the air inside the cavity acts like a spring. Together they form a resonant system that vibrates at a single characteristic frequency - the Helmholtz frequency. The concept was first described by German physicist Hermann von Helmholtz in the 1850s as a tool for identifying musical tones. Today the same principle appears in bass reflex loudspeaker enclosures (where the port is the neck and the cabinet is the cavity), automotive intake and exhaust resonators, architectural acoustic panels, and the resonant holes in woodwind instruments. Because the model is lumped rather than distributed, it applies only when the resonator dimensions are much smaller than the wavelength of the sound - typically smaller than one-sixth of the wavelength.
The Helmholtz frequency formula
The resonance frequency f is given by: f = (c / 2*pi) * sqrt(S / (V * L_eff)), where c is the speed of sound in air (343 m/s at 20 degrees C), S is the cross-sectional area of the neck opening in m^2, V is the enclosed cavity volume in m^3, and L_eff is the effective neck length in m. The effective neck length is longer than the physical neck because the air just outside the opening also oscillates with it - this extra mass is called the end correction. For a circular opening of diameter d, the end correction is 0.85*d for an unflanged (free) end, and 0.61*d for a flanged end (flush with a rigid baffle). For a thin hole without an extended neck, the end correction is usually negligible. The formula can be rearranged to solve for any one unknown - cavity volume, neck area, neck length, or neck diameter - given the desired resonant frequency and the remaining parameters. This calculator performs all five solve modes.
How to use this calculator
Select what you want to solve for from the top dropdown. In "Resonance frequency" mode, enter cavity volume, neck cross-sectional area, neck length, and neck diameter (for the end correction), and the calculator returns the resonant frequency and wavelength. In any reverse-solve mode, enter the target frequency plus all parameters except the one being solved, and the calculator returns the required value. The end-correction type selector controls whether the neck is treated as unflanged (0.85d), flanged (0.61d), or whether no end correction is applied (thin hole). The speed of sound defaults to 343 m/s (20 degrees C) but can be adjusted for different temperatures or gases. The chart shows how the resonance frequency changes as neck length is swept from 20 percent to 400 percent of the current value.
Design tips and practical considerations
To lower the resonant frequency: increase the cavity volume, lengthen the neck, or decrease the neck opening area. To raise the resonant frequency: do the opposite. In bass reflex speaker design, the port diameter and length are the primary tuning variables, while the cabinet volume is fixed by the woofer requirements. For acoustic panel absorbers, a perforated panel over a sealed air gap forms a Helmholtz array: the hole spacing and diameter set S per unit area, the panel thickness is L, and the air gap behind is V per unit area. The lumped model breaks down when any dimension of the resonator approaches the wavelength - at 343 Hz the wavelength is 1 m, so resonator dimensions should typically be kept below about 170 mm for that frequency. Above that, a finite-element or transfer-matrix approach is more accurate.
Typical Helmholtz resonator applications by frequency
| Application | Typical frequency range | Notes |
|---|---|---|
| Room-mode bass traps | 20-80 Hz | Large cavity volumes (>50 L) needed |
| Subwoofer ported enclosures | 25-80 Hz | Port length and diameter tuned to box volume |
| Car intake resonators | 80-300 Hz | Side-branch chambers suppress induction noise |
| Automotive muffler chambers | 100-500 Hz | Exhaust silencer side-branches |
| HVAC duct silencers | 125-500 Hz | Perforated panel absorbers |
| Studio vocal booths | 80-200 Hz | Perforated-panel resonant absorbers |
| Musical instrument tuning holes | 100-1000 Hz | Tone holes on woodwind instruments |
| Bottle/wine glass resonance | 100-500 Hz | Classic Helmholtz example |
Common design targets for Helmholtz resonators in different engineering contexts.
Frequently asked questions
What is the Helmholtz resonance formula?
The resonance frequency is f = (c / 2*pi) * sqrt(S / (V * L_eff)), where c is the speed of sound, S is the neck cross-sectional area, V is the cavity volume, and L_eff is the effective neck length (physical length plus end correction). The end correction for a circular unflanged neck is 0.85 times the diameter; for a flanged neck it is 0.61 times the diameter.
What is an end correction and why does it matter?
The end correction accounts for the acoustic mass of air immediately outside the neck opening that moves along with the air inside the neck. Without it, the formula underestimates the effective moving-air column and therefore predicts a resonance frequency that is too high. The correction is proportional to the neck diameter: 0.85d for an unflanged (protruding) tube end, and 0.61d for a flanged end flush with a rigid surface.
How does a bass reflex (ported) speaker relate to a Helmholtz resonator?
A bass reflex speaker cabinet is a Helmholtz resonator where the enclosed air behind the woofer is the cavity, and the port (a cylindrical tube through the cabinet wall) is the neck. The port is tuned so that the system resonates at the woofer's bass roll-off frequency, extending the low-frequency output an octave or more below what a sealed cabinet of the same size could achieve.
Can I use this calculator for a car exhaust resonator?
Yes, for a side-branch resonator attached to an exhaust pipe. Enter the volume of the resonator chamber as V, the area and length of the connecting tube as S and L. The resonator will attenuate exhaust noise most strongly at the calculated frequency. For the J-pipe side-branch variant (a quarter-wave tube rather than a Helmholtz resonator), a different formula applies because that design uses wave resonance, not a lumped resonance.
What happens when the resonator is not much smaller than the wavelength?
The lumped-element model assumes all the air in the cavity is compressed and expanded uniformly, with no wave effects inside. This holds when every dimension of the cavity and neck is much smaller than the wavelength - typically a ratio of at least 6:1. When the cavity is large or the frequency is high, standing waves appear inside the cavity and the resonance shifts away from the Helmholtz prediction. In that case a full acoustic simulation or measurement is needed.
How does temperature affect the resonance frequency?
The speed of sound in air increases with temperature at roughly 0.6 m/s per degree Celsius: c = 331 + 0.6 * T_Celsius. Since f is proportional to c, a 25 degree C rise (from 0 to 25 degrees C) increases the resonant frequency by about 2.5 percent. For precision applications, enter the actual ambient temperature-derived speed of sound in the input field rather than the default 343 m/s.
What is the difference between a Helmholtz resonator and a quarter-wave tube?
A Helmholtz resonator uses a lumped acoustic mass (the neck air) and an acoustic spring (the cavity air) - its resonance frequency depends on cavity volume and neck dimensions, not on tube length alone. A quarter-wave tube (or side-branch resonator) uses a closed-end tube whose length is one quarter of the target wavelength; it attenuates sound at frequencies where the tube length equals lambda/4. Helmholtz resonators are typically compact relative to wavelength; quarter-wave tubes must physically be as long as a quarter wavelength.