Helmholtz Resonator Calculator

Find the pitch of a bottle, vent or resonant box from its volume and neck, or size the volume or neck for the pitch you want.

🍾 Helmholtz Resonator Calculator
Preset (illustrative)
Cavity volume (V)
Neck diameter (d)
Neck length (L), in the unit chosen above
Target frequency (f)
Hz
Speed of sound (c)
m/s
End correction
Chart shows frequency against

Enter the neck and the target frequency. The cavity volume is the answer.

Enter the volume, the diameter and the target frequency. The neck length is the answer.

Resonance frequency
—
Angular frequency
—
Nearest note
—
Wavelength in air
—
Effective neck length
—
End correction added
—
Neck area
—
Volume in m³
—

Cavity volume needed
—
In litres
—
In millilitres
—
In m³
—
Effective neck length
—
Neck area
—
Wavelength in air
—
Nearest note
—

Neck length needed
—
In millimetres
—
Effective neck length
—
End correction removed
—
Neck area
—
Wavelength in air
—
Nearest note
—
Cavity volume used
—

🍾 What is a Helmholtz Resonator?

A Helmholtz resonator is a cavity of air with a narrow opening, or neck, that resonates at one low frequency. The plug of air in the neck acts like a mass, and the larger volume of air in the cavity acts like a spring that is compressed and stretched as the plug moves in and out. Together they form a mass-spring oscillator, and the frequency of that oscillation is the Helmholtz resonance. It is the same effect that gives the low hum you hear when you blow across the top of a bottle. The resonance frequency is f = (c / 2π) √( A / (V Leff) ), where c is the speed of sound, A is the cross-section of the neck, V is the cavity volume and Leff is the effective neck length.

The same principle is used in many places. Guitar and other string instrument makers tune the air resonance of the body and soundhole to boost the lowest notes. Car designers fit Helmholtz silencers on intake and exhaust pipes to cancel a particular drone, and acousticians use perforated panels and bass traps to absorb low frequencies in a room. Engineers use small resonators to damp noise in ducts and air conditioners. Even a single hole in a thin sheet over an air cavity behaves as a resonator, with a neck length of nearly zero.

Two details matter in practice. The first is the end correction: air just outside the opening moves with the air in the neck, so the neck behaves as if it were longer than its physical length. Common values are about 0.85 times the neck radius at a flanged end and about 0.61 times at a free end, and different references quote slightly different constants, so the calculator lets you choose between 1.7 radii (both ends flanged), 1.46 radii and no correction. The second is validity: the lumped formula assumes the cavity and neck are small compared with the wavelength and that the walls are rigid. Other resonance phenomena are covered in the simple harmonic motion calculator, and the wavelength and sound speed can be found with the wavelength calculator and speed of sound calculator.

This calculator has three modes. Find frequency gives the pitch, the nearest note and the effective neck length for a given resonator. Find volume and Find neck length work backward from a target frequency, so you can size a bottle, a vent or a box. Each mode has a chart that shows how the frequency changes with the dimension you can adjust.

📐 Formula

f  =  ( c / 2π ) × √( A / ( V × Leff ) )
f = resonance frequency (Hz)
c = speed of sound (m/s), 343 m/s in air at 20 C
A = neck cross-section area (m²) = π d² / 4 for a round neck of diameter d
V = cavity volume (m³)
Leff = effective neck length (m) = L + k a, where L is the physical neck length, a = d/2 is the neck radius and k is 1.7 (both ends flanged), 1.46 (one flanged and one free) or 0
Volume for a target f: V = A c² / ( 4π² f² Leff )
Effective length for a target f: Leff = A c² / ( 4π² f² V ), then L = Leff − k a
Example: V = 0.75 L, d = 18.5 mm, L = 70 mm, k = 1.7 gives Leff = 85.73 mm and f = 111.62 Hz

📖 How to Use This Calculator

Steps

1
Choose a mode. Find frequency gives the pitch of a given resonator. Find volume and Find neck length work backward from a target frequency. The input being solved for is hidden.
2
Enter the dimensions. Choose a preset or type the volume, neck diameter and neck length, and set their units. The unit menus only label the numbers you type; they do not convert them. Pick an end correction, and enter the target frequency when solving.
3
Read the result and the chart. See the frequency, nearest musical note and effective neck length, or the solved volume or neck length. The chart shows how the frequency depends on the volume, neck length or neck diameter, with your point marked.

💡 Example Calculations

The bottle and guitar dimensions are illustrative round values, not measurements of particular products.

Example 1 — Wine Bottle

V = 0.75 L, neck diameter 18.5 mm, neck length 70 mm, both ends flanged, c = 343 m/s

1
Radius a = 9.25 mm, area A = π × 9.25² = 268.80 mm² (2.69 cm²), end correction = 1.7 × 9.25 = 15.72 mm
2
Leff = 70 + 15.72 = 85.73 mm and V = 7.500e-4 m³
3
f = (343 / 2π) × √( 2.688e-4 / (7.5e-4 × 0.08573) ) = 111.62 Hz, near the note A2. The wavelength in air is 3.073 m, far larger than the bottle.
Resonance frequency = 111.62 Hz (A2)
Try this example →

Example 2 — Beer Bottle

V = 0.33 L, neck diameter 17 mm, neck length 50 mm, both ends flanged

1
Radius = 8.5 mm, area = 226.98 mm², end correction = 1.7 × 8.5 = 14.45 mm, so Leff = 64.45 mm
2
f = (343 / 2π) × √( 2.2698e-4 / (3.3e-4 × 0.06445) ) = 178.34 Hz
3
The smaller volume and shorter neck give a pitch about 1.6 times higher than the wine bottle, near F3. The wavelength is 1.923 m.
Resonance frequency = 178.34 Hz (F3)
Try this example →

Example 3 — Acoustic Guitar, Rigid-Wall Estimate

V = 14 L, soundhole diameter 100 mm in a 3 mm thick top, both ends flanged

1
Radius = 50 mm, area = 7853.98 mm² (78.54 cm²), end correction = 1.7 × 50 = 85 mm, so Leff = 88.00 mm
2
f = (343 / 2π) × √( 7.854e-3 / (0.014 × 0.088) ) = 137.83 Hz
3
Guitar makers typically tune the air resonance to roughly 92 to 110 Hz. The rigid-wall formula gives a higher value because the flexible top plate couples to the air and pulls the resonance down, so treat this as a first estimate only.
Resonance frequency = 137.83 Hz (C#3, rigid-wall estimate)
Try this example →

Example 4 — A Large Room Resonator in Different Units

V = 0.5 m³, neck diameter 10 cm, neck length 5 cm, both ends flanged

1
Radius = 5 cm, area = 78.54 cm², end correction = 1.7 × 5 = 8.5 cm, so Leff = 135.00 mm
2
f = (343 / 2π) × √( 7.854e-3 / (0.5 × 0.135) ) = 18.62 Hz
3
This is far below the range of normal speech. The wavelength is 18.42 m and the cavity is much smaller, so the lumped model is reasonable.
Resonance frequency = 18.62 Hz
Try this example →

Example 5 — Effect of the End Correction

The wine bottle of Example 1, with no end correction

1
With k = 0 the effective length is just the physical 70.00 mm, instead of 85.73 mm
2
f = (343 / 2π) × √( 2.688e-4 / (7.5e-4 × 0.07) ) = 123.52 Hz
3
Ignoring the correction overestimates the pitch by about 10.7 percent, almost two semitones. With one flanged and one free end (1.46 a) the answer would be 113.10 Hz.
Resonance frequency = 123.52 Hz (111.62 Hz with the correction)
Try this example →

Example 6 — Volume for a 200 Hz Resonator

Target 200 Hz, neck diameter 20 mm, neck length 50 mm, both ends flanged

1
Radius = 10 mm, area = 314.16 mm², end correction = 17 mm, so Leff = 67.00 mm
2
V = A c² / (4π² f² Leff) = 3.1416e-4 × 343² / (4π² × 200² × 0.067) = 3.493e-4 m³
3
The cavity must hold 349.34 mL, about 0.349 L. Halving the target to 100 Hz would need four times as much, 1.397 L.
Cavity volume = 349.34 mL
Try this example →

Example 7 — Neck Length for a 110 Hz Bottle

Target 110 Hz, V = 0.75 L, neck diameter 18.5 mm, both ends flanged

1
Area = 268.80 mm², so Leff = A c² / (4π² f² V) = 88.27 mm
2
End correction = 1.7 × 9.25 = 15.72 mm
3
Physical neck length L = 88.27 − 15.72 = 72.55 mm, slightly longer than Example 1 because the target pitch is a little lower.
Neck length = 72.55 mm
Try this example →

❓ Frequently Asked Questions

What is the Helmholtz resonance formula?+
f = (c / 2 pi) sqrt(A / (V Leff)), where c is the speed of sound, A the neck cross-section area, V the cavity volume and Leff the effective neck length, which is the physical length plus an end correction.
What is the end correction in a Helmholtz resonator?+
Air just outside each end of the neck also moves with the plug of air in the neck, which makes it behave as if it were longer. The extra length is about 0.85 times the neck radius at a flanged end and about 0.61 times the radius at a free end, so about 1.7 radii for two flanged ends.
Why does blowing across a bottle make a note?+
The air in the neck acts like a mass and the air in the bottle acts like a spring. Blowing across the mouth excites this mass-spring system, which resonates at the Helmholtz frequency and gives the hum you hear.
How do I make the pitch of a bottle lower?+
Increase the effective volume, for example by emptying the bottle, or lengthen the neck, or narrow the neck. Adding water reduces the air volume and raises the pitch.
What is the resonant frequency of a wine bottle?+
With a 750 mL volume, an 18.5 mm neck and a 70 mm neck length, the calculator gives about 112 Hz, near the note A2. These dimensions are illustrative, so a real bottle will differ.
How does a guitar soundhole act as a Helmholtz resonator?+
The air in the soundhole acts as the mass and the air in the body as the spring. Guitar makers tune this air resonance to roughly 92 to 110 Hz, between F sharp 2 and A 2. A rigid-wall calculation gives a higher value because the flexible top plate lowers it.
How do I find the volume for a target frequency?+
Use V = A c squared / (4 pi squared f squared Leff). The volume is proportional to the neck area and inversely proportional to the effective neck length and to f squared.
How do I find the neck length for a target frequency?+
Solve for the effective length Leff = A c squared / (4 pi squared f squared V) and subtract the end correction. If the answer is negative, the target is too high for that cavity and neck diameter.
Does temperature change the resonance frequency?+
Yes. The frequency is proportional to the speed of sound, which rises by about 0.6 m/s per degree Celsius in air. A change of 10 C shifts the pitch by about 1.7 percent.
When does the Helmholtz formula fail?+
It assumes every dimension of the cavity is much smaller than the wavelength, and that the walls are rigid. For large cavities, high frequencies or flexible walls the real resonance differs, and standing-wave modes appear.
Where are Helmholtz resonators used?+
They are used in car exhaust and intake silencers, in room acoustics as bass traps and perforated panel absorbers, in musical instruments such as guitars and ocarinas, and in noise control for ducts and engines.
Why does adding water to a bottle raise the pitch?+
The water takes up part of the cavity, so the air volume V gets smaller while the neck is unchanged. Frequency is proportional to one over the square root of V, so halving the air volume raises the pitch by a factor of 1.41, which is half an octave (a tritone).

What is the Helmholtz resonance formula?

f = (c / 2 pi) sqrt(A / (V Leff)), where c is the speed of sound, A the neck cross-section area, V the cavity volume and Leff the effective neck length, which is the physical length plus an end correction.

What is the end correction in a Helmholtz resonator?

Air just outside each end of the neck also moves with the plug of air in the neck, which makes it behave as if it were longer. The extra length is about 0.85 times the neck radius at a flanged end and about 0.61 times the radius at a free end, so about 1.7 radii for two flanged ends.

Why does blowing across a bottle make a note?

The air in the neck acts like a mass and the air in the bottle acts like a spring. Blowing across the mouth excites this mass-spring system, which resonates at the Helmholtz frequency and gives the hum you hear.

How do I make the pitch of a bottle lower?

Increase the effective volume, for example by emptying the bottle, or lengthen the neck, or narrow the neck. Adding water reduces the air volume and raises the pitch.

What is the resonant frequency of a wine bottle?

With a 750 mL volume, an 18.5 mm neck and a 70 mm neck length, the calculator gives about 112 Hz, near the note A2. These dimensions are illustrative, so a real bottle will differ.

How does a guitar soundhole act as a Helmholtz resonator?

The air in the soundhole acts as the mass and the air in the body as the spring. Guitar makers tune this air resonance to roughly 92 to 110 Hz, between F sharp 2 and A 2. A rigid-wall calculation gives a higher value because the flexible top plate lowers it.

How do I find the volume for a target frequency?

Use V = A c squared / (4 pi squared f squared Leff). The volume is proportional to the neck area and inversely proportional to the effective neck length and to f squared.

How do I find the neck length for a target frequency?

Solve for the effective length Leff = A c squared / (4 pi squared f squared V) and subtract the end correction. If the answer is negative, the target is too high for that cavity and neck diameter.

Does temperature change the resonance frequency?

Yes. The frequency is proportional to the speed of sound, which rises by about 0.6 m/s per degree Celsius in air. A change of 10 C shifts the pitch by about 1.7 percent.

When does the Helmholtz formula fail?

It assumes every dimension of the cavity is much smaller than the wavelength, and that the walls are rigid. For large cavities, high frequencies or flexible walls the real resonance differs, and standing-wave modes appear.

Where are Helmholtz resonators used?

They are used in car exhaust and intake silencers, in room acoustics as bass traps and perforated panel absorbers, in musical instruments such as guitars and ocarinas, and in noise control for ducts and engines.