🏺

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

Neck geometry
mm
mm
Cavity volume
L
Medium & damping
m/s
Presets

Result

Resonant frequency f₀
peak absorption / port tuning
Bandwidth Δf = f₀/Q
Quality factor Q
Neck area A
Cavity volume V
Effective neck length L_eff
−3 dB band
Formula
f₀ = (c / 2π) · √(A / (V · L_eff))
A = neck cross-sectional area, V = cavity volume, L_eff = L + δ
δ ≈ 1.7·r_eq for a flanged neck (r_eq = √(A/π))
Q = f₀ / Δf (depends on damping in the neck / interior)
Cross-section (side view)
Frequency response (Lorentzian, peak = Q)

Share or embed this tool

Free to use on your own website — WordPress, Wix, or any platform. Paste one line and it works instantly, resizing to fit.


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?
You're exciting the bottle's Helmholtz resonance. The "neck" is the bottle's narrow top, the "cavity" is the air-filled body. Blowing across the lip creates a turbulent jet that periodically pushes the air plug in and out — when your jet's frequency content matches the bottle's f₀, the resonance locks onto it. A standard 750 mL wine bottle resonates around 150-200 Hz when empty. Pour wine in to reduce the cavity volume and the pitch rises — by the equation, f ∝ 1/√V.
How do I design a 100 Hz bass trap for a room mode?
For 100 Hz, typical dimensions are around: neck 100 mm × 20 mm slot, neck length 50 mm, cavity 20-30 liters. Many designs use a slot in plywood (the "panel") covering a sealed box with fiberglass damping inside. Q around 5-10 gives a useful 10-20 Hz bandwidth. Place it at a pressure maximum for the target room mode — usually a corner. You'll likely need 2-4 such resonators to make a measurable difference; one Helmholtz absorber is rarely enough.
What's the relationship between port tuning and the Helmholtz formula?
A bass-reflex speaker port IS a Helmholtz resonator. The port is the neck, the cabinet interior is the cavity, the driver provides the energy source. Port tuning frequency from the manufacturer = exactly the Helmholtz f₀ predicted by this formula. A 50 mm diameter × 150 mm long port in a 30 L cabinet tunes to about 56 Hz — close to where a typical bookshelf 2-way is voiced. Designers tweak port length to shift tuning without changing the cabinet.
Why does the cavity have to be sealed?
If the cavity leaks, the "air spring" can't compress — the resonance disappears. Real designs need an airtight seal except through the neck. For bass-reflex speakers this is usually achieved with caulking and gaskets. For bass traps, plywood panels are screwed down tight with rubber gaskets at the edges. Even small leaks (a screw missing, a slit on one edge) drop the Q dramatically and shift the tuning slightly.
How accurate is the formula?
For a resonator with neck diameter much smaller than its length, and cavity much larger than the neck volume, the formula is accurate within a few percent. Errors grow when (a) the cavity has dimensions comparable to a wavelength at f₀ (then standing waves develop inside), (b) the neck is very short relative to its diameter (end corrections dominate), or (c) the boundary geometry departs from the assumed flange/unflange. For typical bass absorbers and speaker ports, the formula is the right starting point — but final tuning is done by measurement.
What's a "slot resonator"?
A Helmholtz resonator with a long, thin slot instead of a circular hole as the neck. The equivalent area is just w × h. Slot resonators are popular in wall treatment because they hide visually behind decorative slats. Acoustic principle is identical — same Helmholtz equation. Be aware that very thin slots (height < 5 mm) develop viscous damping inside that lowers Q significantly, which can be either a feature (broader bandwidth) or a bug depending on your goals.
How does temperature affect the calculated resonant frequency?
The Helmholtz formula includes the speed of sound 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?
Rearranging the Helmholtz formula for neck 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.
How much absorption does a single Helmholtz resonator actually provide in a room?
A single resonator provides modest, narrowband absorption. At f₀ the absorption coefficient can approach 1.0 (full absorption) for an optimally damped resonator — but only over its bandwidth. In a typical 30 m² room, one 20-liter resonator tuned to a problem mode might reduce that mode by 3–6 dB, noticeable but not dramatic. Multiple resonators (or a resonator array) targeting the same mode, or distributed across several modes, are usually needed for clearly audible improvement. Pairing Helmholtz resonators with broadband porous treatment (foam, rockwool panels) covers different frequency ranges: porous material works well above 500 Hz; resonators handle the very low bass that porous material cannot touch at practical thicknesses.