Helmholtz Resonance Calculator
Cavity & neck
- A Helmholtz resonator is a cavity of air acting as a spring, with the air plug in the neck acting as the mass that bounces on it.
- The neck radius is 2.5 cm, and the end correction stretches the effective neck length to 9.3 cm.
- f = (c / 2pi) x sqrt(A / (V x L)) with c = 343 m/s gives sqrt(2.15) x 54.6 = 80.1 Hz.
- The wavelength at resonance is 4.28 m, far longer than the cavity itself - the whole volume breathes in and out together.
This Helmholtz resonance calculator finds the frequency at which a cavity of air with a short neck or port naturally resonates. A Helmholtz resonator is simply a body of enclosed air connected to the outside by a narrow opening, and the air in the neck bounces on the spring of the enclosed volume. Enter your cavity volume, port area and port length, and the calculator returns the resonance frequency. It applies the standard relation f = (c / 2pi) x sqrt(A / (V x L)), with an end correction that lengthens the neck by about 1.7 neck radii. For example, a 10 litre cavity with a 20 sq cm port 5 cm long resonates at 80.1 Hz, because the end correction raises the effective neck length to 9.3 cm. The same method gives 125.7 Hz for a 1 litre bottle with a small neck, and 45.0 Hz for a 50 litre enclosure with a wide port.
The method is the accepted standard for this kind of calculation because it models the two physical parts of the resonator directly: the mass of the air moving in the neck and the spring of the air trapped in the cavity, with the end correction accounting for the air that moves just outside the opening. That is why blowing across a bottle mouth excites exactly this resonance, and why the pitch falls as the bottle empties of air volume. This page shows the formula, step-by-step workings, worked examples and sources, so you can follow every number rather than take the result on trust.
Worked examples
Ten-litre cavity, wide neck
(10 litres · 20 sq cm · 5 cm · 343 m/s)
| Helmholtz resonance frequency | 80.1 Hz |
| Effective neck length | 9.3 cm |
| Neck radius | 2.5 cm |
| Wavelength at resonance | 4.28 m |
One-litre bottle
(1 litres · 3 sq cm · 4 cm · 343 m/s)
| Helmholtz resonance frequency | 125.7 Hz |
| Effective neck length | 5.7 cm |
| Neck radius | 1.0 cm |
| Wavelength at resonance | 2.73 m |
Large bass-reflex enclosure
(50 litres · 80 sq cm · 15 cm · 343 m/s)
| Helmholtz resonance frequency | 45.0 Hz |
| Effective neck length | 23.6 cm |
| Neck radius | 5.0 cm |
| Wavelength at resonance | 7.63 m |
The bottle as a spring and mass
A Helmholtz resonator is a cavity of air with a short neck or port, and the air in the neck bounces on the spring of the enclosed volume. That sentence is the whole model. The air sealed inside the cavity behaves like a spring: push it and it pushes back, because squeezing it changes its pressure. The plug of air sitting in the neck behaves like a mass: it is free to slide in and out, and it carries inertia. Set the mass on the spring and let go, and it oscillates at a rate fixed by how stiff the spring is and how heavy the mass is. The same thing happens here, with the cavity's stiffness standing in for the spring and the neck's air standing in for the mass. A helmholtz resonance calculator simply solves that mass-and-spring relationship for your dimensions, which is why it needs only the cavity volume, the port area and the port length.
The formula that falls out of this picture is f = (c / 2pi) x sqrt(A / (V x L)), where c is the speed of sound, A is the port area, V is the cavity volume and L is the neck length. One refinement matters in practice: the moving plug of air is not confined to the neck, so the effective length is longer than the physical neck. An end correction lengthens the neck by about 1.7 neck radii. The numbers show how much that shifts things. A 10 litre cavity with a 20 sq cm port 5 cm long resonates at 80.1 Hz, but only once the neck is treated as 9.3 cm long rather than 5 cm. Use the physical length alone and the prediction misses.
The most striking feature of the lumped model is how small the resonator is compared with the sound it makes. At resonance the wavelength of the sound is far larger than the cavity, so the air inside does not slosh around in waves of its own; it moves as one body, compressing and expanding together. That is exactly the condition under which treating the cavity as a single spring is valid. It also explains the scale of the examples. A 1 litre bottle with a small neck resonates at 125.7 Hz, while a 50 litre enclosure with a wide port drops to 45.0 Hz. A larger, looser spring with a heavier plug oscillates more slowly, and the model captures that without any wave analysis inside the box.
You have heard this model at work. Blowing across a bottle mouth excites exactly this resonance, which is why the pitch falls as the bottle empties of air volume. Emptying the bottle does not change the neck; it changes the spring. More air space means a softer spring, a lower frequency, and a lower note. The same reasoning applies to ported loudspeaker boxes and to tuned cavities in buildings, where the neck and volume are chosen to place the resonance at a target frequency.
The formula and the end correction
The Helmholtz resonance formula is f = (c / 2π) × √(A / (V × L)). Here c is the speed of sound, A is the cross-sectional area of the neck or port, V is the volume of the enclosed cavity, and L is the length of the neck. The air in the neck behaves like a plug that bounces on the spring of the air trapped in the cavity, and the formula describes how fast that plug-and-spring system oscillates. A helmholtz resonance calculator simply applies this relationship to the numbers you enter.
The formula as written is not quite complete. In practice, the moving air plug extends a little beyond the physical ends of the neck, so the effective neck length is longer than the measured length. The standard end correction lengthens the neck by about 1.7 neck radii. That correction matters most for short, wide necks, where the added length is a large fraction of the total.
The worked example shows how this plays out. Take a 10 litre cavity fitted with a 20 sq cm port that is 5 cm long. Fed into the formula, those values give a resonance frequency of 80.1 Hz. But the 5 cm physical neck is not the length the air actually moves through: with the end correction applied, the effective neck length becomes 9.3 cm. The extra 4.3 cm is air that swings in and out just past the port openings, and it lowers the predicted pitch compared with what the bare 5 cm length would suggest. Skipping the correction would put the estimate noticeably too high.
The same behavior appears at other scales. A 1 litre bottle with a small neck resonates at 125.7 Hz, while a 50 litre enclosure with a wide port drops to 45.0 Hz. Larger volumes and wider ports push the frequency down, which is why the correction deserves attention whenever the neck is short relative to its diameter.
Blowing across a bottle mouth excites exactly this resonance, which is why the pitch falls as the bottle empties of air volume. As V increases in the denominator, the frequency drops, and you hear the tone slide downward.
| Case | Cavity volume | Port / neck | Resonance frequency |
|---|---|---|---|
| Worked example | 10 litres | 20 sq cm port, 5 cm long (9.3 cm effective) | 80.1 Hz |
| Small bottle | 1 litre | Small neck | 125.7 Hz |
| Large enclosure | 50 litres | Wide port | 45.0 Hz |
Tuning by volume, area and length
The formula behind any helmholtz resonance calculator puts three quantities in charge of pitch: the volume of the cavity (V), the area of the opening (A), and the length of the neck or port (L). The frequency is f = (c / 2pi) x sqrt(A / (V x L)). Because A sits on top of the fraction and V and L sit underneath it, the directions are simple to remember: a bigger opening raises the pitch, while a bigger cavity or a longer neck lowers it. The physical picture is the same one you hear when blowing across a bottle mouth — the air in the neck bounces on the spring of the enclosed volume, and anything that makes that spring softer or the bouncing slug heavier slows the vibration down.
Volume is the strongest lever in everyday designs. Add air space and the spring gets softer, so the note drops. The 1 litre bottle with a small neck resonates at 125.7 Hz; the 50 litre enclosure with a wide port drops to 45.0 Hz. That is a large fall in pitch from a large change in cavity size, and it explains why the pitch of a blown bottle falls as the bottle empties of air volume. If you want a lower tuning from the same opening, enlarging the cavity is the direct route.
Port area works the opposite way. Widen the opening and more air moves with each cycle, which pushes the frequency up. The 50 litre enclosure reaches its low 45.0 Hz despite its size partly because its wide port is paired with that much volume; shrink the port on the same box and the note climbs. Neck length behaves like area in reverse: a longer neck means a heavier slug of air to shift, so the frequency falls. The end correction matters here, because the air just outside the neck moves too. The formula lengthens the neck by about 1.7 neck radii, so a short port is effectively longer than its measured length.
The worked example shows how these pieces combine. A 10 litre cavity with a 20 sq cm port 5 cm long resonates at 80.1 Hz, and its effective neck length is 9.3 cm rather than the 5 cm you would measure with a ruler. That gap is the end correction at work, and it is why a helmholtz resonance calculator that ignores it will miss the measured pitch. It also shows why short, wide ports are sensitive: the correction is a large share of a short neck.
When you tune, change one variable at a time. Enlarge the cavity to go lower, as the jump from 125.7 Hz to 45.0 Hz illustrates; shorten or widen the port to go higher; and remember that the effective length, not the cut length, is what the air actually sees.
- Bigger cavity volume: lowers the frequency (1 litre at 125.7 Hz versus 50 litres at 45.0 Hz).
- Bigger port area: raises the frequency.
- Longer neck or port: lowers the frequency.
- End correction: adds about 1.7 neck radii to the neck length (5 cm measured becomes 9.3 cm effective in the 10 litre example).
Where Helmholtz resonance works for a living
A Helmholtz resonator is a cavity of air with a short neck or port, and the air in the neck bounces on the spring of the enclosed volume. That simple mechanical picture describes a surprising range of real products and problems, which is why a helmholtz resonance calculator is useful well beyond the physics classroom: the same equation that tunes a speaker port also predicts a rattling car cabin or the note of a blowing bottle.
The best-known use is the bass-reflex port in a loudspeaker cabinet. Instead of sealing the box, the designer cuts a tube or slot so the air inside acts as a second radiator, reinforcing low frequencies near the tuning point. The resonance frequency is f = (c / 2pi) x sqrt(A / (V x L)), with an end correction that lengthens the neck by about 1.7 neck radii — a detail that matters because the air does not stop vibrating exactly at the rim of the port. A worked example shows the scale: a 10 litre cavity with a 20 sq cm port 5 cm long resonates at 80.1 Hz, and once the end correction is applied the effective neck length becomes 9.3 cm. Change the port area, the port length or the box volume and the tuning moves, which is exactly the trade a speaker designer makes.
Vehicle cabins behave the same way. A closed car body is a large air volume with openings such as windows, vents or a partly open sunroof acting as the neck, and at the right speed and opening size the cabin can boom or buffet at a low frequency. Recognizing the mechanism lets engineers change the opening geometry or add treatment rather than chase the noise blindly. Architectural absorbers use the effect deliberately: a perforated panel or slotted wall in front of a sealed air space forms a array of small resonators that soak up sound in a narrow band, useful for treating a room mode without thick foam.
The classic bottle demonstration ties it together. Blowing across a bottle mouth excites exactly this resonance, which is why the pitch falls as the bottle empties of air volume — the cavity grows, so the frequency drops. The numbers are easy to check: a 1 litre bottle with a small neck resonates at 125.7 Hz, while a 50 litre enclosure with a wide port drops to 45.0 Hz. Scale up the volume or widen the port and the note sinks; shrink either and it rises.
- Bass-reflex ports: the port air reinforces low output near the tuning frequency.
- Vehicle cabins: a closed body with a window or vent opening can boom at low frequency.
- Architectural absorbers: perforated panels over sealed air spaces absorb a narrow sound band.
- Bottle demo: blowing across the mouth sounds the cavity, and the pitch falls as air volume leaves.
FAQs
What is Helmholtz resonance?
Helmholtz resonance is the resonance of air in a cavity with a neck. The air in the neck oscillates as one plug, acting like a mass on the spring of the trapped volume behind it. This mass-and-spring behavior gives the cavity a single, well-defined resonant frequency you can calculate.
How do I calculate the frequency?
Use f = (c / 2pi) x sqrt(A / (V x L)), keeping all units consistent. Here L is the neck length extended by the end correction. In the worked 10 litre example, this formula gives a resonance of 80.1 Hz.
Why the end correction?
Air just outside the neck moves along with the plug inside it, so the neck behaves as if it were longer than its physical length. In this calculator, a 5 cm neck becomes 9.3 cm effective. That correction keeps the predicted frequency accurate.
What lowers the resonance?
A bigger volume, a smaller port area or a longer neck all lower the resonant frequency. In the example, moving to a 50 litre enclosure brings the resonance down to 45.0 Hz, compared with 80.1 Hz for the 10 litre case.
Is this how a bass-reflex port works?
Yes. A ported speaker enclosure is a Helmholtz resonator tuned so the port reinforces the bass. The box volume and port dimensions set the tuning frequency, and the port's output adds to the sound from the driver around that frequency.
Does temperature matter?
Yes, through the speed of sound. Warmer air raises c, and with it the resonant frequency. The speed-of-sound field in the calculator lets you test this effect by entering the value for your conditions.