Saved

Press the star next to a tool's name to save it.

All my tools

Helmholtz Resonator Calculator

Use this Helmholtz resonator calculator to find the resonant frequency of a bottle or cavity with a round neck from its volume, neck diameter and neck length.

Restored your last values ·

m/s

Enter the volume of the cavity, the diameter of the round neck and the neck length. Choose whether to add an end correction. The speed of sound is 344 m/s unless you enter another value.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the cavity volume, the neck diameter and the neck length, then press Calculate.

See full result

A Helmholtz resonator calculator finds the frequency at which a cavity with a narrow neck resonates, as a bottle does when you blow across its mouth. Enter the volume of the cavity, the diameter of the neck and its length. The frequency comes out in hertz, with the wavelength of that note in air.

How to use the helmholtz resonator calculator

  1. Choose US (inches) or Metric (centimetres).
  2. Enter the cavity volume, the neck diameter and the neck length.
  3. Choose an end correction if you want one, then press Calculate.

The formula

The resonant frequency is f = (c ÷ 2π) × √(A ÷ (V × L)), where c is the speed of sound, A the cross-section of the neck, V the volume of the cavity and L the effective length of the neck. Wikipedia gives the same result in the form f = (v ÷ 2π) × √(A ÷ (V₀ Leq)), with v the speed of sound in the gas [1]. The air in the neck acts as a mass on the spring of the air in the cavity.

The speed of sound

We use 344 m/s as the default speed of sound in air, a round figure close to the 343 m/s that Wikipedia gives for air at 20 °C [2]. You can type another value, for example for warmer or colder air, or for a different gas. Wikipedia defines v as the speed of sound in a gas, with an adiabatic index of 1.4 usually used for air [1]. The frequency is in proportion to this speed, so a 1 percent faster speed gives a 1 percent higher pitch.

A worked example

Take a bottle with a volume of 833.7 cm³, a neck radius of 0.95 cm and a neck length of 7.5 cm. The neck diameter is 1.9 cm, so its area is 2.8353 cm². With no end correction, the calculator gives 116.58 Hz. A real bottle may differ by a few hertz. Wavelength in air at that pitch is about 2.95 m.

End correction

The air that moves in the neck extends a little beyond its ends, so the effective length is longer than the real one. Wikipedia gives Leq = Ln + 0.3 D, where Ln is the actual length and D the hydraulic diameter of the neck [1]. For a round neck D is its diameter. Here the choice is none, which is the default, or 0.3 × diameter.

The effect of the correction

For the example, the 0.3 × 1.9 cm correction adds 0.57 cm and makes the effective length 8.07 cm. The frequency falls from 116.58 Hz to 112.39 Hz. The longer the neck is compared with its width, the less the correction matters. For a short, wide neck, such as a hole in a thin box, the correction is a large part of the length, and leaving it out gives a pitch that is too high.

How the size changes the pitch

The frequency goes with the square root of the neck area, and falls with the square root of the volume and of the effective length. Four times the volume gives half the frequency. Doubling the neck area raises the frequency by about 41 percent. This is why larger bottles sound lower, and why a wider mouth raises the note. These scaling rules follow directly from the formula.

Other shapes

The shape of the cavity matters little, since the formula needs only the volume, the opening area and the neck length [1]. This calculator takes the volume and a round neck directly. For other shapes, work out the volume and the opening area yourself, and treat the neck area as a circle of equal area.

US and metric units

In US mode you enter the volume in cubic inches and the lengths in inches. In metric mode you use cubic centimetres and centimetres. The calculator converts to metres internally, with 1 inch equal to 0.0254 m, and shows the neck area in square inches or square centimetres. The same bottle, 50.9 cubic inches with a 0.75 inch neck that is 3 inches long, gives about 115.9 Hz.

Using the calculator

Measure the volume by filling the cavity with water and measuring the water. Measure the neck width and length. Compare the result with the real pitch by blowing across the neck and using a tuner app. Add water to see the pitch rise as the volume falls. Differences of a few hertz are normal, since the neck is never exactly a simple tube.

Where the effect is used

The same physics explains the hum of a bottle, the boom of a guitar body at its air resonance, and the sound of a car with a window open. In acoustics, resonators of this kind are built into walls and ceilings to absorb a narrow band of low frequencies, and in loudspeakers a ported box acts in the same way. Designers tune the pitch by changing the volume, the neck area or the neck length. A tool for the length of a bass reflex port, which is a related but separate calculation, is also on this site.

Common mistakes

  • Using the radius as the diameter. Enter the full width of the neck.
  • Forgetting the end correction on short necks. It can be a large share of the length.
  • Using the volume of the whole bottle including the neck. Use the cavity volume.
  • Mixing units. Volume and lengths must use one system.

What next

Use this often? Add Helmholtz Re to your Home screen.

Frequently asked questions

What is a Helmholtz resonator calculator?

A tool that finds the resonant frequency of a cavity with a narrow neck from its volume and the size of the neck.

What is the Helmholtz resonator formula?

f = (c ÷ 2π) × the square root of A ÷ (V × L), with the neck area A, the cavity volume V and the effective neck length L.

What speed of sound does it use?

344 m/s by default, or any value that you enter.

What is the end correction?

An allowance for the air beyond the ends of the neck: Wikipedia gives Leq = Ln + 0.3 D.

How does the volume change the pitch?

A larger volume gives a lower pitch: four times the volume halves the frequency.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Unit Converters