Subwoofer Port Length Calculator

Calculate the exact port tube length to hit your target bass tuning frequency.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

A subwoofer port length calculator built on the physics of Helmholtz resonance — the same model used by WinISD, BassBox Pro and every serious speaker design tool. Give it your box volume, target tuning frequency and port diameter, and it tells you exactly how long to cut your port tube. Switch to “Verify existing port” if you already have a box and want to know what frequency it is tuned to. Everything runs entirely in your browser — no data is uploaded.

How it works

A ported (bass-reflex) subwoofer enclosure works as a Helmholtz resonator: a closed cavity connected to the outside by a short tube of air. At the tuning frequency f_b, the air plug in the port resonates with the spring of the enclosed air, reinforcing bass output and protecting the driver from excessive excursion near that frequency.

The resonant frequency is:

f_b = (c / 2π) × √(A / (V_b × L_eff))

Solving for the acoustic (effective) port length:

L_eff = c² × A / (4π² × f_b² × V_b)

  • c = speed of sound ≈ 34,400 cm/s at 20 °C
  • A = total port cross-sectional area (cm²)
  • f_b = target tuning frequency (Hz)
  • V_b = net box internal volume (cm³)

The physical port you cut is slightly shorter than L_eff because the acoustic mass extends a little beyond the tube ends — the so-called end correction:

ΔL = k × r

where r is the port radius and k is the sum of the end-correction coefficients for each end (0.85 for a flanged end, 0.61 for a free end). The final port length is:

L_port = L_eff − ΔL

For a slot port the rectangular cross-section is converted to an equivalent radius r = √(A/π) before applying the end correction, following the convention of all major speaker-design tools.

Worked example

A DIY subwoofer enclosure with a 20-litre net volume tuned to 35 Hz using a 7.62 cm diameter (3-inch) round port, one end flanged:

ParameterValue
Speed of sound c34,400 cm/s
Port area Aπ × 3.81² = 45.60 cm²
Box volume V_b20 L = 20,000 cm³
Target f_b35 Hz
L_eff34,400² × 45.60 / (4π² × 35² × 20,000) = 55.79 cm
End correction (one flanged)k = 1.46; ΔL = 1.46 × 3.81 = 5.56 cm
Physical port length55.79 − 5.56 = 50.23 cm

That is just over half a metre — typical for a 35 Hz tune in a 20 L box with a 3-inch port. Increasing the port to 10 cm diameter (4 inches, A = 78.54 cm²) would give a longer port (about 89 cm) and lower port velocity, which is better for high-power applications but harder to fit without folding.

Formula note

The Helmholtz model is an idealisation assuming the port is short compared to the wavelength (true for subwoofer frequencies below ~200 Hz), the air acts as an incompressible plug, and the box walls are rigid. In practice, port length measurements match the formula to within 1–2 Hz for typical sub enclosures — well within audible tuning tolerance. For very short ports or unusually large port-to-box-area ratios, higher-order acoustic models (transfer-matrix methods) give more accurate predictions, but the Helmholtz formula is the accepted standard for all consumer and professional speaker-design software.

Ad placeholder (rectangle)