Helmholtz Resonator Calculator - Resonance from Cavity Geometry

Use this helmholtz resonator calculator to find the resonance pitch of a cavity from its volume, neck diameter, neck length, and air temperature.

Helmholtz Resonator Calculator

Static volume of the closed cavity behind the neck, in cubic centimetres. Acts like the spring in the mass-spring model.

Inner diameter of the neck opening, in millimetres. The neck acts like the inertial mass in the mass-spring model.

Visible length of the neck, measured from the cavity wall to the open end, in millimetres. Used with the end correction to set the effective neck length.

Air temperature in degrees Celsius. Drives the speed-of-sound calculation; 20 degC gives about 343 m/s.

Standard adds 0.3 times the neck diameter to the visible neck length. None uses the raw length. Custom uses the value you enter below.

Length added to the visible neck length when the end-correction mode is set to Custom. Ignored otherwise.

Results

Resonance Frequency
0Hz
Period 0ms
Acoustic Wavelength 0m
Speed of Sound 0m/s
Effective Neck Length 0mm

What Is Helmholtz Resonator Calculator?

A helmholtz resonator calculator finds the resonance frequency of an enclosed air cavity from its volume and neck geometry. The same calculation predicts the pitch of a bottle, the boomy tone of a partly open car window, and the absorbing behaviour of a tuned chamber in a recording studio. It also sizes bass-reflex ports in loudspeakers, picks intake chamber dimensions for small engines, and targets a single room mode with an acoustic absorber.

  • Predicting the pitch of a bottle: Enter the cavity volume and neck diameter of a glass bottle and the calculator returns the tone you would hear when blowing across the top.
  • Sizing acoustic absorbers: Match the absorber chamber volume and neck geometry to a room mode so the resonator traps that tone instead of letting it build up.
  • Designing intake and exhaust chambers: Pick a chamber size and neck geometry that emphasizes or absorbs a chosen engine note in an airbox or exhaust.
  • Modelling ocarina-style instruments: Treat the instrument body as the cavity and the open holes as the effective neck to estimate the lowest playable note.

The physics is the same for every example: the cavity stores air like a spring, the neck carries an oscillating mass of air, and the geometry sets the resonance frequency. Compare that picture with the deeper acoustic-property view in our acoustic impedance calculator, which connects the same geometry to pressure and velocity ratios inside the cavity.

How Helmholtz Resonator Calculator Works

The helmholtz resonator calculator evaluates the resonance formula directly. It combines the speed of sound with the cavity volume, neck area, and effective neck length, and returns the frequency, period, wavelength, speed of sound, and effective neck length.

f_H = (c / (2 * pi)) * sqrt(A / (V * L_eq)) L_eq = L + delta_L delta_L = 0.3 * D (standard, unflanged circular neck) A = pi * (D / 2)^2 c = 331.3 * sqrt(T_K / 273.15)
  • V: Static volume of the cavity, in cubic metres. The cavity stores the air that acts like a spring.
  • A: Cross-sectional area of the neck opening, in square metres. Computed from the neck diameter.
  • L: Visible length of the neck, in metres. Measured from the cavity wall to the open end.
  • delta_L: End correction added to the neck length. The default 0.3 x D accounts for the air that sloshes outside the opening.
  • L_eq: Effective neck length, equal to L + delta_L. The length that appears in the resonance formula.
  • c: Speed of sound in dry air at the chosen temperature, in metres per second.

The same formula also explains why cold air drops the pitch. c enters as a multiplicative factor, so the frequency scales with the square root of absolute temperature. Cooling the air from 20 degC to 5 degC drops c by about 3 percent, and the resonance by the same factor. The temperature scaling of c is covered under Air Temperature in the factors section below.

Wine bottle example with the standard end correction

V = 833.7 cm^3, D = 19 mm, L = 75 mm, T = 20 degC, standard end correction (0.3 x D = 5.7 mm)

1. T_K = 293.15 K, so c = 331.3 * sqrt(293.15 / 273.15) = 343.22 m/s. 2. A = pi * (0.019 / 2)^2 = 2.835 x 10^-4 m^2. 3. delta_L = 0.3 * 0.019 = 0.0057 m, so L_eq = 0.0807 m. 4. f_H = (343.22 / (2 * pi)) * sqrt(2.835 x 10^-4 / (8.337 x 10^-4 * 0.0807)) = 112.14 Hz.

Resonance frequency: 112.14 Hz. Period: 8.92 ms. Acoustic wavelength: 3.06 m. Speed of sound: 343.22 m/s. Effective neck length: 80.70 mm.

A typical wine bottle on a desk resonates around 112 Hz at room temperature, slightly lower than the 116 Hz you would get without the end correction. Fill the bottle with water and the pitch rises quickly because V sits inside the square root in the denominator.

According to Wikipedia Helmholtz resonance, the resonant frequency of a Helmholtz resonator is f_H = v / (2 pi) * sqrt(A / (V_0 * L_eq)), where the equivalent neck length is L_eq = L_n + 0.3 D and D is the hydraulic diameter of the neck.

According to Omni Calculator Helmholtz Resonator page, the Helmholtz resonance frequency is f = c / (2 pi) * sqrt(A / (V * L)), and a bottle with a 0.95 cm neck radius, 7.5 cm neck length, and 833.7 cm^3 cavity resonates near 116 Hz at c = 344 m/s when the end correction is omitted.

Because the resonance frequency is much lower than the cavity's first longitudinal mode, the lumped-element treatment works well for bottles, ocarinas, and most airbox chambers. For travelling and standing wave modes that take over at higher frequencies, our harmonic wave equation calculator works with wavelength, frequency, and wave speed directly.

Key Concepts Explained

Four physical ideas sit behind the helmholtz resonator calculator: a spring-like cavity, a mass-like neck, an end correction, and a temperature-driven speed of sound.

Cavity as a Spring

The cavity air is compressible, so a small change in volume produces a restoring pressure. Larger cavities give a softer spring, which lowers the resonance frequency.

Neck as a Mass

The air inside the neck has inertia and accelerates back and forth through the opening. A longer or narrower neck carries more mass and lowers the resonance frequency.

End Correction

Air just outside the neck opening also oscillates, which adds to the effective neck length. The standard correction adds 0.3 times the diameter for an unflanged circular opening.

Speed of Sound in Air

The speed of sound depends on the square root of absolute temperature. At 0 degC it is 331.3 m/s and at 20 degC it is about 343 m/s.

These four ideas form a one-line analogy to a mass on a spring. The cavity is the spring constant, the neck is the mass, the end correction is a small added length, and the speed of sound is a scaling factor. For a mechanical spring and mass system with adjustable stiffness, the vibration natural frequency calculator lets you dial the two values directly.

How to Use This Calculator

Five short steps turn a bottle (or any cavity with a neck) into a number you can interpret.

  1. 1 Enter the cavity volume: Measure the empty volume of the cavity behind the neck in cubic centimetres. Use a measuring jug or sum geometric sections (rectangular box, sphere, cylinder).
  2. 2 Enter the neck diameter and length: Measure the inner diameter and visible length of the neck in millimetres. A ruler or caliper gives enough precision for a first pass.
  3. 3 Set the air temperature: Use 20 degC for room temperature. Cold rooms, outdoor demos, and heated studios all change the speed of sound.
  4. 4 Pick an end-correction mode: Standard (0.3 x diameter) suits an open circular neck. Use None to compare against textbook treatments, or Custom when you have a measured correction.
  5. 5 Read the resonance and derived values: The primary result is the resonance frequency in hertz. The period in milliseconds, the acoustic wavelength in metres, and the effective neck length in millimetres appear alongside.

A measured bottle pitch and a predicted pendulum period are both ways of timing a slow oscillator. If you are comparing the two in a classroom lab, our pendulum period calculator estimates the pendulum period from length and gravity so the two timing models can be checked side by side.

Benefits of Using This Calculator

A purpose-built helmholtz resonator calculator removes the algebra and the unit conversions that make a hand calculation error-prone.

  • Instant verification of bottle demonstrations: Measure a glass bottle and check whether the calculated pitch matches the tone a pitch-detection app records.
  • Direct temperature comparison: Change the temperature by a few degrees and watch the resonance shift. The square-root relationship to absolute temperature makes the change small but predictable.
  • Same math for many systems: The same formula covers acoustic absorbers, bass-reflex ports, intake chambers, ocarinas, and bottle demos.
  • Quick end-correction experiments: Toggle between the standard 0.3 D correction, no correction, and a custom value to see how much the choice moves the predicted frequency.
  • Side-by-side wavelength view: The acoustic wavelength row lets you compare the resonance to the room dimensions, which matters for architectural acoustics.

When you also need the sound pressure level at the opening, the decibel calculator converts a reference pressure into decibels, which is how absorption performance is reported alongside the resonance frequency.

Factors That Affect Your Results

Five physical factors move the result, and two limitations tell you when the formula starts to lose accuracy.

Cavity Volume

Volume sits inside the square root in the denominator, so doubling the cavity volume only lowers the resonance by about 29 percent. Smaller cavities push the pitch up quickly.

Neck Diameter

The neck area enters the square root in the numerator. Doubling the diameter raises the resonance by about 41 percent because the area scales with the square of the diameter.

Neck Length

The effective neck length enters the denominator. Doubling the neck length halves the resonance, which is why a long-necked bottle produces a much lower pitch than a stubby bottle of the same volume.

End Correction

Air just outside the neck opening also oscillates, which adds to the effective neck length. The standard correction adds 0.3 times the diameter for an unflanged circular opening.

Air Temperature

The speed of sound scales with the square root of absolute temperature. A 20 degC drop (about 7 percent in kelvin) lowers the resonance by about 3.5 percent. Outdoor demonstrations in cold air therefore sound noticeably flatter than classroom predictions.

According to Wikipedia Speed of sound, c = 331.3 * sqrt(T_K / 273.15) m/s in dry air, evaluating to 343.4 m/s at 20 degC and 331.3 m/s at 0 degC.

  • The formula assumes linear, lossless oscillation. Real resonators lose energy to viscous drag in the neck and thermal conduction at the walls, broadening the resonance and lowering the peak amplitude. The calculator reports the ideal centre frequency, not the Q factor or bandwidth.
  • When the neck is not much smaller than the cavity or much longer than its diameter, the simple geometry breaks down. The standard correction assumes an unflanged circular opening; rectangular necks and flanges need different coefficients.

For the closely related beat-frequency experiment, where two slightly detuned resonances produce an audible pulsing tone, the beat frequency calculator returns the beat rate from two input frequencies.

Helmholtz resonator calculator interface showing cavity volume, neck diameter, neck length, and air temperature inputs with the resulting resonance frequency, period, and wavelength
Helmholtz resonator calculator interface showing cavity volume, neck diameter, neck length, and air temperature inputs with the resulting resonance frequency, period, and wavelength

Frequently Asked Questions

Q: How do you calculate the Helmholtz resonance frequency?

A: Use f_H = (c / 2 pi) * sqrt(A / (V * L_eq)), where c is the speed of sound in air, A is the neck cross-sectional area, V is the cavity volume, and L_eq is the effective neck length (visible neck length plus an end correction, usually 0.3 times the neck diameter).

Q: What is the end correction in a Helmholtz resonator?

A: The end correction is a small extra length added to the neck to account for the air that oscillates just outside the opening. For an unflanged circular neck, the standard value is 0.3 times the diameter, so L_eq = L + 0.3 D. Flanged or rectangular openings use different correction coefficients.

Q: Why does filling a bottle with water raise the pitch?

A: Adding water shrinks the cavity volume V, and V appears in the denominator of the resonance formula. A smaller V raises f_H. Filling the bottle halfway roughly squares the ratio between the original and new volumes, so the pitch can climb an octave or more before the bottle is full.

Q: What is the speed of sound used in the Helmholtz formula?

A: Use the speed of sound in dry air at the cavity temperature. A common approximation is c = 331.3 * sqrt(T_K / 273.15), which gives 331.3 m/s at 0 degC and about 343 m/s at 20 degC. Humidity and altitude can shift the value by a small amount, but for most classroom and hobby work the dry-air value is accurate enough.

Q: Does neck length or cavity volume change the pitch more?

A: Both move the resonance, but in different ways. Volume scales as 1 / sqrt(V) and neck length scales as 1 / sqrt(L_eq). Doubling the neck length halves the pitch, while doubling the volume only drops the pitch by about 29 percent, so neck length has a stronger per-unit effect than volume.

Q: Can a Helmholtz resonator be used as a sound absorber?

A: Yes. A Helmholtz resonator can be tuned to a problem frequency and lined with absorbing material so the air motion dissipates as heat. In a recording studio or a noisy room, several absorbers of different sizes cover a band of frequencies instead of a single tone.