helmholtz resonator calculator
Helmholtz Resonator Calculator guide
A bottle-like cavity with a narrow neck can resonate as the air in the neck moves against the compressibility of the enclosed air. Enter the internal air volume, the opening's cross-sectional area and its effective acoustic length. This provides a first estimate for an acoustic model or a measured bottle tone.
Play the instrument ↑- Default result
- 122.06728 Hz cavity resonance
Calculation and units
Convert litres to cubic metres, square centimetres to square metres and centimetres to metres. Frequency is the speed of sound divided by two pi, multiplied by the square root of opening area divided by the product of cavity volume and effective length. The result is in hertz.
Worked examples
Select a named case in the Worked example control to load these values. You can then edit any input to compare the result.
One-litre teaching cavity
Cavity volume (litres) = 1 · Neck opening area (cm²) = 1 · Effective neck length (cm) = 2 · Speed of sound (m/s) = 343.
122.06728 Hz cavity resonance. Predicted period 8.1922 ms · wavelength 2.80993 m. Enter effective neck length including the applicable end corrections.
The opening area and effective neck length are deliberately simple. Use this as a reference for unit conversion before entering measurements from a bottle.
Four times the cavity volume
Cavity volume (litres) = 4 · Neck opening area (cm²) = 1 · Effective neck length (cm) = 2 · Speed of sound (m/s) = 343.
61.03364 Hz cavity resonance. Predicted period 16.38441 ms · wavelength 5.61985 m. Enter effective neck length including the applicable end corrections.
Increasing the enclosed volume while keeping the neck fixed makes the trapped air more compliant. Quadrupling volume lowers the ideal resonance by an octave.
Four times the opening area
Cavity volume (litres) = 1 · Neck opening area (cm²) = 4 · Effective neck length (cm) = 2 · Speed of sound (m/s) = 343.
244.13455 Hz cavity resonance. Predicted period 4.0961 ms · wavelength 1.40496 m. Enter effective neck length including the applicable end corrections.
The larger opening raises the predicted frequency. In an actual neck the end correction may change with aperture dimensions, so recompute its effective length.
Longer effective neck
Cavity volume (litres) = 1 · Neck opening area (cm²) = 1 · Effective neck length (cm) = 8 · Speed of sound (m/s) = 343.
61.03364 Hz cavity resonance. Predicted period 16.38441 ms · wavelength 5.61985 m. Enter effective neck length including the applicable end corrections.
Increasing the effective length increases the moving air mass. Compare this case with quadrupling cavity volume to see the same ideal frequency shift.
Compact bottle-like cavity
Cavity volume (litres) = 0.33 · Neck opening area (cm²) = 1.5 · Effective neck length (cm) = 3.2 · Speed of sound (m/s) = 343.
205.74435 Hz cavity resonance. Predicted period 4.8604 ms · wavelength 1.66712 m. Enter effective neck length including the applicable end corrections.
Measure the air volume below the neck and the cross-sectional area at the constriction. Using the outside dimensions can shift the estimate noticeably.
Alternative propagation speed
Cavity volume (litres) = 1 · Neck opening area (cm²) = 1 · Effective neck length (cm) = 2 · Speed of sound (m/s) = 330.
117.44082 Hz cavity resonance. Predicted period 8.51493 ms · wavelength 2.80993 m. Enter effective neck length including the applicable end corrections.
With cavity and neck unchanged the prediction follows sound speed in direct proportion. This isolates propagation assumptions from geometry errors.
Interpreting the result
Measure the clear neck bore rather than the outside diameter. For a round opening, radius squared times pi gives the area. Estimate the effective neck length using an end correction appropriate to the inner and outer terminators. Compare the calculated frequency with a recorded resonance of the unchanged cavity.
A practical comparison starts with a fixed neck and two measured air volumes. Compute both pitches before changing the fill level, then compare their ratio with a spectrum measurement. A persistent discrepancy in both predictions can indicate a neck correction or a volume estimate that needs revisiting.
Measurement and model limits
The lumped model treats the cavity pressure as nearly uniform and the neck air as a moving mass. Strong losses, broad openings, multiple coupled ports, flexible walls and higher cavity modes can invalidate that picture. Neither resonant amplitude nor bandwidth follows from the four inputs alone.
Answers before you play
Common questions
Is effective neck length just the physical tube length?
Usually the effective length includes a contribution from air moving outside each neck end. Its magnitude depends on the termination geometry.
What happens if I add water to a bottle?
The remaining air volume decreases. With the neck geometry unchanged, this elementary model predicts a higher resonance frequency.
Can I enter the diameter instead of opening area?
First convert the inner diameter to radius and calculate the area in square centimetres. Entering centimetres directly would mix different dimensions.
How can I tell whether the model is plausible?
Compare the acoustic wavelength with the cavity and neck dimensions. A wavelength much larger than the resonator dimensions supports the lumped approximation.