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.
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, and . The tuning frequency is
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, , and . 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 to obtain the acoustic resistance used here.
For constant resistance and constant driving pressure, the normalized dissipated power is derived here from :
Solving gives and exactly . The lower edge is evaluated in a numerically stable equivalent form. The band center is geometric, , not the arithmetic average. The amplitude decay time is 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 , the tool's one-tenth-wavelength ceiling is . 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 and : require , a neck air volume no greater than 10% of that required volume, and . 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:
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:
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 for a box or for a cylinder. It subtracts 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 Pa, the complex volume velocity is . For damping-ratio input, the corresponding total resistance is ; resistance mode uses the entered resistance. The independent harmonic checks compare cycle-mean input power with resistance loss at all 401 plotted frequencies. A second check compares this loss with the existing normalized response multiplied by its resonant power . 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
| Input | Symbol | Unit | Default |
|---|---|---|---|
| Net cavity air volume Exclude the neck bore and all solid or liquid displacement. | V | L | 30 |
| Neck inside diameter | d | mm | 75 |
| Physical neck length For an untubed hole, use the wall thickness. | L | mm | 50 |
| Largest cavity dimension Longest internal cavity dimension, also used to screen target sizing. | cavity_dim | mm | 400 |
| Neck end geometry Each end adds moving air beyond the physical neck. | ends | Flush in baffle: 0.85r + 0.85r | |
| Total end correction / radius Combined coefficient for both ends. | k_user | 1.46 | |
| Gas properties | gas | Air at temperature and pressure | |
| Air temperature Use the gas temperature inside the cavity. | T_air | °C | 20 |
| Known sound speed Enter sound speed for the actual gas temperature and composition. | c_custom | m/s | 343 |
| Damping specified by Damping is specified, not predicted from geometry. | loss | Damping ratio ζ | |
| Damping ratio ζ The default is illustrative; obtain damping from measurements where possible. | zeta_in | 0.05 | |
| Total acoustic resistance Include radiation and internal losses at resonance. | R_a | Pa*s/m^3 | 2600 |
| Custom gas density Enter the density of your custom gas at its operating state. | rho | kg/m^3 | 1.204 |
| Target tuning frequency Sizes cavity volume with the current neck fixed. | f_target | Hz | 63 |
| Oscillation phase Press ▶ to animate the neck air. | phase | 0.125 | |
| Target frequency for neck design 0 disables neck sizing at the main net volume. | f_neck | Hz | 0 |
| Minimum buildable neck length Use at least the wall thickness or the shortest tube your construction permits. | L_cut_min | mm | 5 |
| Maximum buildable neck length | L_cut_max | mm | 1000 |
| Measured resonance 0 disables trimming; enter tuning measured with the main neck length. | f_measured | Hz | 0 |
| Desired resonance after trimming Volume, bore, gas state and end correction must stay fixed while the length changes. | f_desired | Hz | 63 |
| Use net-volume worksheet Separate worksheet results do not replace the main net cavity volume. | volume_worksheet | false | |
| Internal cavity shape | v_shape | Rectangular box | |
| Internal width | box_w | mm | 300 |
| Internal depth | box_depth | mm | 250 |
| Internal cylinder diameter | cyl_d | mm | 300 |
| Internal height | cavity_h | mm | 400 |
| Neck outside diameter Subtracts the full intruding tube footprint, including its bore. | neck_od | mm | 80 |
| Neck intrusion into cavity Measure from the internal wall face. | neck_in | mm | 0 |
| Other displaced volume Exclude the neck displacement already calculated. | V_other | L | 0 |
| Absolute air pressure | p_air | kPa | 101.325 |
Results
With the default inputs above, the calc gives:
| Result | Value |
|---|---|
| Tuning frequency | 62.2 Hz |
| Quality factor Q | 10 |
| Half-power bandwidth | 6.22 Hz |
| Lower half-power edge | 59.1 Hz |
| Upper half-power edge | 65.4 Hz |
| Compactness screening ceiling | 85.8 Hz |
| Volume for target tuning | 29.22 L |
| Target-sizing status | Passes model screens |
| Effective neck length | 113.8 mm |
| Amplitude e-folding time | 0.051 s |
| Neck length for target (signed) | 50 mm |
| Target-neck status | Passes model screens |
| Trim change (− remove / + add) | 0 mm |
| New physical neck length (signed) | 50 mm |
| Worksheet gross cavity volume | 30 L |
| Worksheet neck displacement | 0 L |
| Worksheet net air volume | 30 L |
| Tuning with worksheet net volume | 62.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.
| Result | Source | This calc |
|---|---|---|
| Tuning frequency | 90 ± 1 Hz | 90.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.
| Result | Source | This calc |
|---|---|---|
| Tuning frequency | 307 ± 1 Hz | 307 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.
| Result | Source | This calc |
|---|---|---|
| Quality factor Q | 28 ± 0.7 | 27.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.
| Result | Source | This calc |
|---|---|---|
| Neck length for target (signed) | 80 ± 2 mm | 80.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.
| Result | Source | This 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.
| Result | Source | This calc |
|---|---|---|
| Density at the selected gas state | 1.184 kg/m³ | 1.184 kg/m³ |
Related Resources
Related courses
IEC Electrical Schematics and Industrial Control Panels
Basic Electrical Controls & Diagram Reading

Responses