🔬
🔬 Science & engineering

Helmholtz Resonator / Bass Port Calculator

Results update as you type.

Your numbers

Understanding the Helmholtz resonator and bass port calculator — concept and principle

Blow across the mouth of a bottle and it sings at one pitch: that is a Helmholtz resonator, an enclosed air volume connected to the outside through a narrow neck. A bass-reflex loudspeaker uses the same physics, with a port tube tuned so the box reinforces low frequencies. This calculator finds the tuning frequency from the box volume and the port's diameter and length.

Helmholtz resonance of a ported speaker boxA 40 L box with a 7 cm port 15 cm long (20.11 cm with end correction) resonates at about 37.8 Hz.A bass port is a mass on an air springbox air = springport air = massboxV = 40 Lport Ø 7 cmA = 38.48 cm²15 + 1.46 × 3.5L = 20.11 cm(34,300 ÷ 2π) × √(38.48 ÷ (40,000 × 20.11))Tuned to ≈ 37.8 Hzthe air plug bounces fastest here
The air in the port bounces on the springy air in the box — this one at about 37.8 Hz.

How it is calculated

f = (c ÷ 2π) × √(A ÷ (V × L_eff))

The 1.46r end correction combines about 0.85r for the port end flush with the front baffle and about 0.61r for the free end inside the box.

The principle

The air in the port acts like a mass and the air in the box like a spring. When the plug of air moves inward, it compresses the box air, which pushes it back out, so the system oscillates like a mass on a spring with f = (1/2π)√(k/m). A larger port area makes the spring stiffer relative to the mass, raising f; a bigger box or a longer port lowers it. The air just beyond each end of the port moves with it, so the port behaves as if it were slightly longer; that is the end correction.

Worked example

  1. Inputs: V = 40 L, d = 7 cm, L = 15 cm.
  2. A = π × 3.5² = 38.48 cm².
  3. L_eff = 15 + 1.46 × 3.5 = 20.11 cm; V = 40,000 cm³.
  4. A ÷ (V × L_eff) = 38.48 ÷ 804,400 = 4.784 × 10⁻⁵ cm⁻².
  5. f = (34,300 ÷ 2π) × √(4.784 × 10⁻⁵) = 5,459 × 0.006917 = 37.76 Hz (37.75906237).
How Tuning frequency (Hz) changes with Port diameter (cm)How Tuning frequency changes with Port d…0204060801.753.55.2578.7510.514Example: 37.75906237Port diameter (cm)
Each point is the calculator re-run with only “Port diameter (cm)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Port diameter (cm)Tuning frequency (Hz)
1.7510.49236508
3.520.20676655
5.2529.26405552
737.75906237
8.7545.76750508
10.553.3507629
1467.43489588

How to read the result

Bass-reflex boxes for home hi-fi are often tuned somewhere between about 30 and 50 Hz, close to the woofer's resonance as suggested by its Thiele-Small parameters. Below the tuning frequency output falls quickly, so a lower tuning extends bass but needs a larger box or a longer port. To lower tuning, lengthen the port or reduce its diameter; to raise it, do the opposite.

Common mistakes

Keep in mind: The formula is an idealised lumped model. Stuffing, leaks, port flares and placement near walls shift the real tuning, and the right tuning depends on the driver, so check with design software or measurement.

Frequently asked questions

Does the port shape matter?

The area and effective length matter most; slot ports work too, with a different end correction.

Why do bottles sound lower when they contain less liquid?

Less liquid means a larger air volume, which lowers the resonant frequency.

Can a resonator absorb sound?

Yes. Helmholtz absorbers in walls are tuned to remove specific low frequencies in rooms.

Sources: L. E. Kinsler, A. R. Frey, A. B. Coppens and J. V. Sanders, Fundamentals of Acoustics, 4th ed., Wiley, 2000 · L. L. Beranek, Acoustics, Acoustical Society of America (reprint)

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →