helmholtz calculator

Helmholtz Resonator Calculator

Estimate resonance frequency from geometry, then reverse-solve neck length for a target pitch.


Reverse mode: solve for neck length

Use the same volume, diameter, temperature, and end correction above.

What this helmholtz calculator does

A Helmholtz resonator is a cavity connected to the outside world by a short neck. If you blow across the opening of a bottle and hear a tone, you are hearing Helmholtz resonance. This calculator helps you predict that tone from geometry and air temperature.

It is useful for audio port tuning, DIY acoustic experiments, educational physics demonstrations, and quick concept checks before building prototypes.

Helmholtz equation used

The calculator uses the standard relation:

f = (c / 2π) × √(A / (V × Leff))

  • f = resonance frequency (Hz)
  • c = speed of sound (m/s), estimated as 331.3 + 0.606T where T is °C
  • A = neck cross-sectional area (m²)
  • V = cavity volume (m³)
  • Leff = effective neck length = physical length + end correction

End correction matters because air at the neck opening also oscillates. Ignoring this can shift results noticeably, especially for short necks.

How to use the calculator

  1. Enter the cavity volume in liters.
  2. Enter the inner neck diameter and physical neck length in centimeters.
  3. Set air temperature (20°C default).
  4. Select an end-correction model that best matches your geometry.
  5. Click Calculate frequency.

If you already know your desired pitch, enter a target frequency in the reverse section and click Calculate required neck length.

Worked example

Example inputs

  • Volume: 2.0 L
  • Neck diameter: 3.0 cm
  • Neck length: 5.0 cm
  • Temperature: 20°C
  • End correction: both ends unflanged

With these values, the resonance lands around the low hundreds of Hz, roughly in the bass range. Small geometry changes can move the tuning quickly, which is why calculators are handy during design.

Design intuition: how each variable affects tuning

1) Increase volume (V)

Bigger cavity volume lowers frequency.

2) Increase neck area (A)

Larger diameter raises frequency because the “air spring” pushes a bigger moving air plug.

3) Increase effective length (Leff)

Longer neck lowers frequency. Even if physical neck length stays fixed, larger end corrections also lower tuning.

4) Increase temperature

Warmer air increases sound speed slightly, so predicted frequency rises a bit as temperature goes up.

Common mistakes to avoid

  • Mixing units (liters vs m³, cm vs m).
  • Using outer diameter instead of inner diameter.
  • Ignoring end correction for very short necks.
  • Assuming real-world damping losses are zero.
  • Expecting one exact frequency when geometry is irregular.

Practical notes

This tool assumes a simple neck-and-cavity model. Real systems may deviate because of wall thickness transitions, porous damping, airflow losses, and non-cylindrical geometries. For most early-stage design and educational use, however, the model is a strong first approximation.

🔗 Related Calculators