Helmholtz Resonator Calculator
Use this Helmholtz resonator calculator to design resonators for targeted low-frequency absorption or speaker port tuning. Compute resonant frequency f₀, bandwidth, and Q from neck geometry and cavity volume. Visualizes both the cross-section and the response curve.
Input
Result
About Helmholtz Resonators
A Helmholtz resonator is the acoustic equivalent of a spring-mass oscillator. The air mass in a narrow neck acts as the mass; the trapped air in a sealed cavity acts as the spring (compressing/expanding as the neck plug moves). Like all single-degree-of-freedom oscillators, it has one resonant frequency where it absorbs or radiates strongly — and almost nothing elsewhere. Blow across the top of an empty bottle and you hear exactly that resonance. The same acoustic principle governs bass-reflex (ported) loudspeaker enclosures, car exhaust silencers, side-branch mufflers in HVAC ducts, and ancient Greek amphitheater resonators embedded in stone.
The classical formula
f₀ = (c / 2π) · √(A / (V · L_eff)), where c is sound speed, A is the neck cross-sectional area, V is the cavity volume, and L_eff is the effective neck length including end corrections. Notice the trade-offs: wider neck raises f₀, longer neck lowers it; bigger cavity lowers it. Bass absorbers thus tend to need large cavities (50+ L) for low frequencies. The sound speed c is temperature-dependent — at 20 °C it is approximately 343 m/s, but it increases by roughly 0.6 m/s per °C; in a warm room at 30 °C, f₀ will be about 1.7% higher than the 20 °C calculation predicts.
End correction
Air doesn’t stop moving exactly at the neck opening — it bulges out into the surrounding air, adding a small effective length. For a flanged neck (one mounted in a flat baffle, like a port in a speaker box wall): δ ≈ 0.85·r at the open end. For an unflanged opening (like a bottle’s pure tube): δ ≈ 0.61·r. A typical Helmholtz absorber mounted in a wall is flanged on the outside and partly flanged on the inside, giving δ ≈ 1.7·r_eq (close to the "0.85 + 0.85" sum used in this tool). Without end correction, predicted frequencies are several percent too high — an important correction for short, wide necks where the end correction is a significant fraction of the total effective length.
Bandwidth and Q
The quality factor Q measures how sharply tuned the resonance is. High Q (50+): very narrow bandwidth, deep absorption at f₀ only, useful for treating a single problem room mode. Low Q (3–10): wider bandwidth, less peak absorption, treats a broader frequency range. Q is controlled by damping in the resonator: stuffing the cavity with fiberglass, rockwool, or open-cell foam lowers Q dramatically by converting acoustic energy into heat via viscous friction. Bandwidth at the −3 dB points is Δf = f₀/Q. For room treatment, a Q of 5–15 is typically most practical — narrow enough to target a mode, wide enough to tolerate the construction tolerances that shift the built resonator a few Hz from its designed f₀.
Applications
Helmholtz designs serve two engineering communities. Room acoustics: tune absorbers to problem bass modes (35–150 Hz typical), where porous absorbers would need impractical thickness. A slot resonator (a long thin opening in plywood covering a sealed cavity) is a popular form for acoustic treatment panels because it blends into wall decor. First, use the room mode calculator to find your target frequencies, then design the resonator dimensions here. Loudspeaker ports: a bass-reflex speaker is a Helmholtz resonator where the port + cabinet tunes a low-frequency peak that augments the driver’s natural roll-off; the same principle applies whether you are designing a full-range bookshelf cabinet or a subwoofer port for deep bass extension. A third application is noise control engineering: side-branch resonators are inserted into ventilation ducts and exhaust pipes to cancel tonal noise at specific engine orders or fan blade pass frequencies without restricting flow.
Frequently Asked Questions
Why does a wine bottle sound a low note when you blow across it?
How do I design a 100 Hz bass trap for a room mode?
What's the relationship between port tuning and the Helmholtz formula?
Why does the cavity have to be sealed?
How accurate is the formula?
What's a "slot resonator"?
How does temperature affect the calculated resonant frequency?
c, which rises by about 0.6 m/s per °C in air. At 20 °C, c ≈ 343 m/s; at 30 °C, c ≈ 349 m/s — a difference of 1.7%. Since f₀ is proportional to c, a resonator designed at 20 °C will resonate roughly 1–2% higher in a warm room. For critical room-mode treatment, update the sound speed field in this calculator to the actual room temperature (use 331.3 + 0.606 × T_°C), or verify the built resonator with a measurement microphone before finalizing its placement.How do I tune a subwoofer port to a specific frequency by adjusting its length?
L_eff = c² · A / (4π² · f₀² · V), and then subtract the end correction to get the physical length to cut. In practice: enter your cabinet volume, port diameter, and target f₀ here, and read the required neck length from the effective-length result. Increasing port length lowers the tuning frequency; shortening it raises it. Most DIY builders cut the port a few mm long initially, measure the actual tuning with a near-field microphone (look for the dip in woofer output, which coincides with port resonance), then trim to hit the target. The frequency sweep generator is useful for exciting the port and listening for the resonance while you measure.