Helmholtz Resonator Calculator: Bass Traps, Exhausts, Bottles

Calculate Helmholtz resonance with neck end corrections, damping and half-power bandwidth. Size a cavity for a target tone and explore bass traps, bottles and exhaust resonators.

#acoustic resonance #bass trap #CoolProp #damping #end correction #exhaust resonator #Helmholtz resonator #power-balance

A Helmholtz resonator is an enclosed air volume connected to its surroundings through a short opening or neck. The air in and near that neck moves like a mass, while compression of the cavity air supplies the spring. This Helmholtz resonator calculator estimates the tuning frequency of a single circular-neck device and shows how damping sets its useful frequency band.

Engineers use this model for an initial exhaust resonator frequency estimate, acoustics students use it to explain a bottle's note, and room-treatment builders use it to size a Helmholtz bass trap. The default geometry is a 30 L cavity with a 75 mm opening and a 50 mm physical neck, tuned near 62 Hz in air at 20 °C.

Start with the net air volume inside the cavity. Exclude the neck and subtract water, solid inserts and projecting hardware. Enter the neck's inside diameter and physical length; for a simple hole, the length is the wall thickness. Enter the largest internal cavity dimension so the calculator can compare the device size with the acoustic wavelength. Select the end geometry: a flush opening in a broad baffle adds about 0.85 radius at each end, while a free, thin-wall tube end adds about 0.61 radius. Both ends count. Use a custom combined coefficient when measurements or a more detailed model support it.

Choose air temperature and absolute pressure to obtain sound speed and density from the dry-air equation of state. For exhaust or another gas, enter both properties at operating conditions. Mean flow through or past the opening is excluded.

Specify damping as a damping ratio or a total acoustic resistance. The illustrative default damping is not a prediction for plywood, mineral wool or any other construction. The response chart shows dissipated power relative to its resonant value under constant pressure drive. The two half-power frequencies bound this normalized response; their difference is the reported bandwidth. A warning flags an upper edge beyond the compactness screen, and the response plot stops at that screen. It does not predict an absolute absorption coefficient, sound reduction in decibels or room reverberation time.

For sizing, enter a target frequency and read the required cavity volume with the current neck held fixed. Read the adjacent sizing status: it checks the proposed volume against the entered cavity envelope, neck volume and target wavelength. Update the cavity dimension when resizing. The volume chart shows only candidates that pass these screens. Press play to watch the neck air move and the cavity pressure alternate. This animation is deliberately slowed and its displacement exaggerated.

For an existing cavity, use Target frequency for neck design (0 switches it off). It holds the main net volume fixed and returns the physical neck length, plus nearby cuts rounded to 5 mm. Set construction limits under Details. Negative length means the target is unattainable with that bore and volume: enlarge the bore, reduce volume or lower the target.

Open Details for the trim helper: enter measured and desired resonance; negative change means remove length, positive means add it. Keep net volume and end geometry unchanged, then remeasure. The optional box/cylinder worksheet subtracts intruding neck and other displacement and shows separate net-volume tuning with a dimensioned section. Copy its net volume into the main input when ready.

Use the results as a first design estimate, then measure the built resonator and adjust it. Leaks, flexible walls, nearby boundaries and absorbent filling can change both tuning and damping. Multiple ports, slotted or perforated panels, strong turbulence and distributed cavity modes require other models. Installation work belongs to a qualified person.

How it is calculated

The cavity is an adiabatic acoustic compliance and the neck is an inertance. For a circular neck, A=πr2A=\pi r^2 and Leff=L+kΣrL_\mathrm{eff}=L+k_\Sigma r. The tuning frequency is

f0=c2πAVLeff.f_0=\frac{c}{2\pi}\sqrt{\frac{A}{V L_\mathrm{eff}}}.

Rienstra and Hirschberg, An Introduction to Acoustics, §5.2.3, attached PDF pp. 131–133 (printed pp. 122–124), give the mass–spring equation and approximately 0.85r per flanged end or 0.61r per unflanged thin-wall end. The presets sum the two ends; they assume a much larger cavity cross section than the neck. Custom means a combined coefficient, not a coefficient per end.

In air mode, sound speed and density come from fluid("Air", …) (CoolProp 8.0.0) at the entered temperature and absolute pressure, using the Lemmon et al. dry-air equation of state. The default pressure is 101.325 kPa. Custom gas mode instead uses the entered sound speed and density for its actual operating state; it is intended for exhaust or another known gas composition.

With acoustic resistance defined as pressure divided by volume velocity, Ma=ρLeff/AM_a=\rho L_\mathrm{eff}/A, Ca=V/(ρc2)C_a=V/(\rho c^2) and Q=ω0Ma/Ra=1/(2ζ)Q=\omega_0 M_a/R_a=1/(2\zeta). Resistance includes all losses in the chosen acoustic loading. NASA CR-4671 §2.4, attached pp. 55–57, supplies the resistance/Q relation and a numerical example. Its mechanical resistance must be divided by A2A^2 to obtain the acoustic resistance used here.

For constant resistance and constant driving pressure, the normalized dissipated power is derived here from Z=Ra+j(ωMa−1/(ωCa))Z=R_a+j(\omega M_a-1/(\omega C_a)):

Prel(f)=11+Q2(f/f0−f0/f)2.P_\mathrm{rel}(f)=\frac{1}{1+Q^2(f/f_0-f_0/f)^2}.

Solving Prel=1/2P_\mathrm{rel}=1/2 gives f±=f0(4+Q−2±Q−1)/2f_\pm=f_0(\sqrt{4+Q^{-2}}\pm Q^{-1})/2 and exactly Δf=f+−f−=f0/Q\Delta f=f_+-f_-=f_0/Q. The lower edge is evaluated in a numerically stable equivalent form. The band center is geometric, f−f+=f0\sqrt{f_-f_+}=f_0, not the arithmetic average. The amplitude decay time is Q/(πf0)Q/(\pi f_0) for the underdamped constant-resistance model. Required volume is the frequency equation rearranged with the neck fixed.

Screen the actual cavity at tuning and again at the upper half-power edge. With D=max⁡(Dc,Leff,d)D=\max(D_c,L_\mathrm{eff},d), the tool's one-tenth-wavelength ceiling is fscreen=0.1c/Df_\mathrm{screen}=0.1c/D. The response plot ends at this ceiling; mathematical band edges remain reported with a warning if they exceed it. Target sizing is screened independently using VtargetV_\mathrm{target} and ftargetf_\mathrm{target}: require Vtarget≤Dc3V_\mathrm{target}\leq D_c^3, a neck air volume no greater than 10% of that required volume, and Dftarget/c≤0.1D f_\mathrm{target}/c\leq0.1. The entered largest cavity dimension is retained as the proposed design envelope; update it when resizing the cavity. The status beside the required-volume result summarizes these tests. The volume-tuning chart leaves gaps where those geometry and compactness screens fail, and an unsuitable target is omitted from that chart.

Neck design, trimming and net volume

The neck solver algebraically inverts the same Helmholtz equation at fixed main net volume:

Lrequired=AV(c2πfneck)2−kΣr.L_\mathrm{required}=\frac{A}{V}\left(\frac{c}{2\pi f_\mathrm{neck}}\right)^2-k_\Sigma r.

The signed result is retained; a negative value is not a zero-length build. The minimum and maximum buildable lengths are construction inputs. Each of five nearby positive cuts is a multiple of 5 mm and is evaluated with the original frequency equation, with its own construction, compactness and neck-volume screen. These are geometry options, not measured tunings. Increasing volume reduces the required length, so a negative solution calls for a larger bore, a smaller volume or a lower target.

For measurement-based trimming, assume the measured-to-model calibration remains constant over a small length change:

Lnew=(L+kΣr)(fmeasuredfdesired)2−kΣr,ΔL=Lnew−L.L_\mathrm{new}=(L+k_\Sigma r)\left(\frac{f_\mathrm{measured}}{f_\mathrm{desired}}\right)^2-k_\Sigma r,\qquad \Delta L=L_\mathrm{new}-L.

A negative change removes length; a positive change adds it. This ratio follows by dividing the Helmholtz equations before and after adjustment; it is derived here, not an additional empirical correlation.

The optional worksheet uses Vgross=WDHV_\mathrm{gross}=W D H for a box or πD2H/4\pi D^2 H/4 for a cylinder. It subtracts πdoutside2Lintrusion/4\pi d_\mathrm{outside}^2 L_\mathrm{intrusion}/4 and other displacement. The entire projecting tube footprint is excluded from the cavity, including the neck bore. The worksheet applies the same neck, gas and end-correction inputs to this separate net volume, and uses the actual worksheet dimensions for its model screens.

Harmonic power verification

With a reference peak pressure phasor p^=1\hat p=1 Pa, the complex volume velocity is U^=p^/[R+j(ωMa−1/(ωCa))]\hat U=\hat p/[R+j(\omega M_a-1/(\omega C_a))]. For damping-ratio input, the corresponding total resistance is R=ω0Ma/QR=\omega_0M_a/Q; resistance mode uses the entered resistance. The independent harmonic checks compare cycle-mean input power P‾in=Re⁡(p^U^∗)/2\overline P_\mathrm{in}=\operatorname{Re}(\hat p\hat U^*)/2 with resistance loss P‾loss=R∣U^∣2/2\overline P_\mathrm{loss}=R|\hat U|^2/2 at all 401 plotted frequencies. A second check compares this loss with the existing normalized response multiplied by its resonant power ∣p^∣2/(2R)|\hat p|^2/(2R). Both checks sweep damping and Q in both input modes. The 1 Pa amplitude is a reference for verification, not a prediction of operating sound level.

Assumptions

  • One rigid, airtight cavity and one straight circular neck; small acoustic amplitudes, adiabatic cavity compression and approximately uniform cavity pressure.
  • No mean flow, neck taper, interacting ports, compliant walls or frequency-dependent changes in the end correction.
  • Damping ratio or total acoustic resistance is a user-supplied estimate. A constant resistance near resonance is assumed for the response and half-power band; the geometry does not determine damping.
  • Both damping modes use the selected gas density for inertance and compliance. Air properties follow temperature and absolute pressure; custom gas properties are supplied by the user.
  • Air is dry and has the standard composition represented by the CoolProp equation of state; humidity and temperature variation within the device are omitted.
  • The animation represents steady excitation at tuning, with arbitrary exaggerated displacement, air mass including end corrections and one cycle every five seconds. Colour shows cavity pressure divided by its illustrative peak. The section is an equivalent rectangular box with width and depth equal to the entered largest cavity dimension and height chosen to preserve net volume; it is not a construction drawing.
  • Neck design uses the main net cavity volume as a fixed value. Worksheet results are separate and are never substituted automatically.
  • The trim estimate holds net cavity volume, bore, gas state and end corrections fixed and assumes a modest adjustment of a measured Helmholtz tuning, rather than an unrelated cavity mode.
  • The volume worksheet dimensions are internal; other displacement excludes the neck already subtracted. All intrusion is along the drawn cavity height. The added drawing shows an axial section and plan with schematic wall strokes; it does not specify wall thickness or the shape of other inserts.

Where it applies

Use for first estimates of acoustically compact resonators. The one-tenth-wavelength warning and 10% neck-volume warning are conservative screening choices of this tool, not accuracy guarantees or limits quoted from a standard. Long thin cavities can develop modes even when the equivalent volume looks small; enter their actual largest dimension. This dimension also defines the cavity envelope used for target sizing. A target volume that cannot fit that envelope, has too much neck air volume, or fails compactness is explicitly flagged beside the sizing result. Changing target frequency does not bypass these screens. End corrections are approximate and can differ with flange size, neck/cavity area ratio, nearby surfaces and edge shape.

The model requires positive effective length and Q > 0.5. Broad, strongly damped responses are especially sensitive to the assumed constant resistance. The full reported band is checked at its upper half-power edge. The response chart is restricted to frequencies within the one-tenth-wavelength screen; a truncated curve does not establish a complete usable band. The volume-tuning chart omits candidates outside the geometry and compactness screens. The chart describes normalized power under constant pressure drive. It is not an absolute absorption coefficient, an exhaust transmission-loss curve or a prediction of room bass reduction. Radiation into different surroundings changes coupling and total damping.

For hot exhaust, use a sound speed and density appropriate to gas temperature and composition. Mean flow, strong pressure oscillations, turbulence and thermal gradients require a more detailed model and measurements. No durability, pressure-vessel, back-pressure or emissions assessment is included. Installation work belongs to a qualified person.

The neck-design target is independent of the existing target-volume control. Setting the new target or measured resonance to 0 switches that helper off. Negative lengths and lengths outside the entered construction limits are flagged; screen status does not assess manufacturing or clearances. A longer neck may fit the length limit while failing the acoustic compactness or neck-volume screens.

Trim a small amount and remeasure under the same gas and boundary conditions. Trimming an intruding neck changes net cavity volume and can change its inner end correction; use the worksheet again and do not apply the fixed-volume trim ratio to that change without correcting for it. The worksheet does not change the selected end geometry: select an appropriate correction for a projecting inner end and keep it clear of walls. It assumes rigid, empty geometric air space after displacement; porous filling cannot generally be represented by merely subtracting its bulk volume.

The air equation of state updates sound speed and density together. Dry air at 100 °C and 101.325 kPa is about 0.946 kg/m³, rather than the room-temperature density. Use custom gas properties for combustion exhaust: changing air temperature alone does not account for exhaust composition. The harmonic power verification assumes linear steady-state motion with frequency-independent total resistance; it verifies conservation within that model, not the absolute absorption of an installation.

References

  • Kinsler, Frey, Coppens and Sanders, Fundamentals of Acoustics, 4th ed., Wiley (2000), chapter 10, Pipes, Resonators and Filters. ISBN 9780471847892. Textbook background; publisher listing only, not an attached full text: https://www.wiley.com/en-us/fundamentals-of-acoustics-4th-edition-p-9780471847892
  • Rienstra and Hirschberg, An Introduction to Acoustics, §5.2.3 and §5.2.3.1. Attached PDF pp. 131–133, printed pp. 122–124 (6 September 2026 version): https://sjoerdr.win.tue.nl/papers/boek.pdf
  • Lucas et al., The Acoustic Characteristics of Turbomachinery Cavities, NASA Contractor Report 4671 (May 1995), chapter 2, attached pp. 47–57, printed pp. 2-5–2-15: https://ntrs.nasa.gov/api/citations/19950022299/downloads/19950022299.pdf
  • Joe Wolfe / UNSW Music Acoustics, Helmholtz Resonance: derivation, end effects and Ra Inta's worked 90 Hz example: https://phys.unsw.edu.au/jw/Helmholtz.html
  • CoolProp 8.0.0: dry-air state properties and published 298.15 K, 101325 Pa density example. https://coolprop.org/coolprop/HighLevelAPI.html ; air equation of state: Lemmon et al. (2000), DOI 10.1063/1.1285884, https://coolprop.org/fluid_properties/fluids/Air.html

Inputs

InputSymbolUnitDefault
Net cavity air volume
Exclude the neck bore and all solid or liquid displacement.
VL30
Neck inside diameterdmm75
Physical neck length
For an untubed hole, use the wall thickness.
Lmm50
Largest cavity dimension
Longest internal cavity dimension, also used to screen target sizing.
cavity_dimmm400
Neck end geometry
Each end adds moving air beyond the physical neck.
endsFlush in baffle: 0.85r + 0.85r
Total end correction / radius
Combined coefficient for both ends.
k_user1.46
Gas propertiesgasAir at temperature and pressure
Air temperature
Use the gas temperature inside the cavity.
T_air°C20
Known sound speed
Enter sound speed for the actual gas temperature and composition.
c_customm/s343
Damping specified by
Damping is specified, not predicted from geometry.
lossDamping ratio ζ
Damping ratio ζ
The default is illustrative; obtain damping from measurements where possible.
zeta_in0.05
Total acoustic resistance
Include radiation and internal losses at resonance.
R_aPa*s/m^32600
Custom gas density
Enter the density of your custom gas at its operating state.
rhokg/m^31.204
Target tuning frequency
Sizes cavity volume with the current neck fixed.
f_targetHz63
Oscillation phase
Press ▶ to animate the neck air.
phase0.125
Target frequency for neck design
0 disables neck sizing at the main net volume.
f_neckHz0
Minimum buildable neck length
Use at least the wall thickness or the shortest tube your construction permits.
L_cut_minmm5
Maximum buildable neck lengthL_cut_maxmm1000
Measured resonance
0 disables trimming; enter tuning measured with the main neck length.
f_measuredHz0
Desired resonance after trimming
Volume, bore, gas state and end correction must stay fixed while the length changes.
f_desiredHz63
Use net-volume worksheet
Separate worksheet results do not replace the main net cavity volume.
volume_worksheetfalse
Internal cavity shapev_shapeRectangular box
Internal widthbox_wmm300
Internal depthbox_depthmm250
Internal cylinder diametercyl_dmm300
Internal heightcavity_hmm400
Neck outside diameter
Subtracts the full intruding tube footprint, including its bore.
neck_odmm80
Neck intrusion into cavity
Measure from the internal wall face.
neck_inmm0
Other displaced volume
Exclude the neck displacement already calculated.
V_otherL0
Absolute air pressurep_airkPa101.325

Results

With the default inputs above, the calc gives:

ResultValue
Tuning frequency62.2 Hz
Quality factor Q10
Half-power bandwidth6.22 Hz
Lower half-power edge59.1 Hz
Upper half-power edge65.4 Hz
Compactness screening ceiling85.8 Hz
Volume for target tuning29.22 L
Target-sizing statusPasses model screens
Effective neck length113.8 mm
Amplitude e-folding time0.051 s
Neck length for target (signed)50 mm
Target-neck statusPasses model screens
Trim change (− remove / + add)0 mm
New physical neck length (signed)50 mm
Worksheet gross cavity volume30 L
Worksheet neck displacement0 L
Worksheet net air volume30 L
Tuning with worksheet net volume62.2 Hz

Checked against sources

Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).

UNSW spherical resonator: approximately 90 Hz

Source: UNSW Music Acoustics, Helmholtz Resonance, Ra Inta worked example: V = 0.00292 m³, neck area 0.00083 m², physical neck 0.080 m, c = 343 m/s; reported 90 Hz with rounded effective length 0.105 m. This tool uses the 0.61r + 0.85r preset, giving 0.10373 m and 90.37 Hz; 1 Hz tolerance allows the approximate/rounded end correction. https://phys.unsw.edu.au/jw/Helmholtz.html

Inputs: Net cavity air volume = 2.92 L; Neck inside diameter = 32.508 mm; Physical neck length = 80 mm; Largest cavity dimension = 180 mm; Neck end geometry = Bottle / free outside: 0.85r + 0.61r; Gas properties = Custom gas: known properties; the others as above.

ResultSourceThis calc
Tuning frequency90 ± 1 Hz90.367 Hz

NASA CR-4671: 307 Hz thin-orifice example

Source: NASA CR-4671, attached p. 49 (printed 2-7), A = 10 cm², V = 1000 cm³, 293 K. The example explicitly rounds L_eff = 0.96√A to √A; custom total coefficient √π reproduces that stated approximation. Sound speed 343 m/s is given in Table 2-1, attached p. 57. The formula is not adjusted to a target frequency. https://ntrs.nasa.gov/api/citations/19950022299/downloads/19950022299.pdf

Inputs: Net cavity air volume = 1 L; Neck inside diameter = 35.682 mm; Physical neck length = 0 mm; Largest cavity dimension = 100 mm; Neck end geometry = Custom total end correction; Total end correction / radius = 1.772; Gas properties = Custom gas: known properties; Damping specified by = Total acoustic resistance; Custom gas density = 1.21 kg/m³; Total acoustic resistance = 2,653 Pa·s/m³; the others as above.

ResultSourceThis calc
Tuning frequency307 ± 1 Hz307 Hz

NASA CR-4671: air-filled resonator Q ≈ 28

Source: NASA CR-4671, Table 2-1, attached p. 57 (printed 2-15): air density 1.21 kg/m³, c = 343 m/s, viscous/radiation resistance ratio 0.27, radiation Q = 35 and total Q = 28. Independent resistance input is obtained from the report's Eq. (2-36)/(2-37), converted from mechanical to acoustic units: R_total = 1.27 ρc √A /(2πV) = 2652.792878 Pa·s/m³. With the report's L_eff = √A approximation the tool gives Q = 27.82; the 0.7 absolute tolerance covers rounding in the report. https://ntrs.nasa.gov/api/citations/19950022299/downloads/19950022299.pdf

Inputs: Net cavity air volume = 1 L; Neck inside diameter = 35.682 mm; Physical neck length = 0 mm; Largest cavity dimension = 100 mm; Neck end geometry = Custom total end correction; Total end correction / radius = 1.772; Gas properties = Custom gas: known properties; Damping specified by = Total acoustic resistance; Custom gas density = 1.21 kg/m³; Total acoustic resistance = 2,653 Pa·s/m³; the others as above.

ResultSourceThis calc
Quality factor Q28 ± 0.727.821

UNSW 90 Hz example inverted for neck length

Source: Independent published geometry: UNSW Music Acoustics, Ra Inta example, physical neck 0.080 m and measured/predicted approximately 90 Hz. Inverting that reported rounded frequency with the tool's 0.61r + 0.85r correction gives a slightly different length; 2 mm tolerance covers the source's rounded effective length. https://phys.unsw.edu.au/jw/Helmholtz.html

Inputs: Net cavity air volume = 2.92 L; Neck inside diameter = 32.508 mm; Physical neck length = 80 mm; Largest cavity dimension = 180 mm; Neck end geometry = Bottle / free outside: 0.85r + 0.61r; Gas properties = Custom gas: known properties; Target frequency for neck design = 90 Hz; the others as above.

ResultSourceThis calc
Neck length for target (signed)80 ± 2 mm80.847 mm

NASA 307 Hz orifice inverted for physical length

Source: Independent published thin-orifice geometry, L = 0: NASA CR-4671, attached p. 49, printed 2-7, A = 10 cm², V = 1000 cm³, rounded frequency 307 Hz. As in the existing forward reference, the report explicitly rounds effective length to √A. A 1 mm tolerance covers frequency rounding, rather than modifying the physics. https://ntrs.nasa.gov/api/citations/19950022299/downloads/19950022299.pdf

Inputs: Net cavity air volume = 1 L; Neck inside diameter = 35.682 mm; Physical neck length = 0 mm; Largest cavity dimension = 100 mm; Neck end geometry = Custom total end correction; Total end correction / radius = 1.772; Gas properties = Custom gas: known properties; Target frequency for neck design = 307 Hz; the others as above.

ResultSourceThis calc
Neck length for target (signed)0 ± 1 mm-0.003513 mm

Published CoolProp air density at 25 °C and one atmosphere

Source: CoolProp 8.0.0 High-Level Interface, Sample Code: PropsSI('D','T',298.15,'P',101325,'Air') returns 1.1843184839089664 kg/m³. This published value independently checks the property selection and state wiring, not the Helmholtz approximation. https://coolprop.org/coolprop/HighLevelAPI.html#sample-code

Inputs: Air temperature = 25 °C; Damping specified by = Total acoustic resistance; the others as above.

ResultSourceThis calc
Density at the selected gas state1.184 kg/m³1.184 kg/m³

Related Resources

Responses

Your email address will not be published. Required fields are marked *

L ading...