A bass-reflex (ported) subwoofer enclosure uses a tuned port to extend low-frequency output below what a sealed box of the same size can manage. This calculator sizes that port: enter the net box volume, your target tuning frequency and the port diameter, and it returns the exact tube length needed.
The Helmholtz resonator maths
A ported box behaves as a Helmholtz resonator — the springy air inside the box resonates with the mass of air in the port. The resonance (tuning) frequency Fb is set by the box volume and the port geometry. Solving the Helmholtz relation for tube length gives:
Lv = ( c² · Av ) / ( 4 · π² · Fb² · Vb ) − k · √(Av / π)
where c is the speed of sound (34 400 cm/s at room temperature), Av is the total port
cross-sectional area in cm², Vb is the net box volume in cm³, Fb is the tuning
frequency in Hz, and k is the end-correction factor. The first term is the ideal length;
the second term removes the acoustic end correction so the physical tube you cut is
correct.
The total port area Av for round ports is the area of one tube, π · (d/2)², multiplied
by the number of ports.
Tips and example
Suppose you have a 40 L net box, you want to tune to 32 Hz, and you choose a single 7.5 cm diameter port. One port gives an area of about 44.2 cm². Plugging into the formula yields a tube of roughly 27 cm. If that is too long to fit, switching to two 7.5 cm ports doubles the area and shortens each tube, while also halving the air velocity through each one.
- Always subtract port and driver displacement when entering net volume.
- Keep peak port air velocity low to avoid chuffing — bigger or more ports help.
- Round port ends (flares) reduce turbulence and are why end correction matters.
- Verify the final design in a box-modelling tool against your driver’s Thiele-Small data.
Every calculation runs locally in your browser — nothing is uploaded.
Port velocity: the spec that separates clean from chuffing
A port is an organ pipe as much as a tuning device. If air moves through it too fast, the smooth airflow breaks into turbulence and you hear chuffing — a breathy noise on bass hits. The working rule of thumb is to keep peak port air velocity below roughly 17–20 m/s (about 5% of the speed of sound) at maximum excursion; achieving that usually means a larger port diameter, which in turn requires a longer port for the same tuning frequency. When the required length gets impractical, builders switch to a slot port using a box wall as one side, or flare the port ends to delay turbulence onset.
Choosing a tuning frequency by listening habit
| Tuning | Character | Typical use |
|---|---|---|
| Below ~28 Hz | Extended, flat, “musical” | Home theatre, audiophile sealed-like response |
| 30–35 Hz | Balanced output and extension | All-round car and home builds |
| 38–45 Hz | Peaky, maximum SPL | Competition and bass-heavy genres |
Tuning above the music’s lowest content trades accuracy for output; tuning below it buys headroom against over-excursion under the tuning frequency, where a ported box unloads and the driver moves dangerously freely. A subsonic filter set just below the tuning frequency is cheap insurance.
Where the model comes from
The box/port relationship used here descends from the classic loudspeaker-alignment work of A. N. Thiele and Richard Small, published through the Audio Engineering Society in the early 1970s — the same “Thiele–Small parameters” printed on every serious driver datasheet. Measure or download your specific driver’s parameters (manufacturer datasheets or DIY measurement guides) rather than assuming a generic value: Vas and Fs vary between driver batches, and the box is only as accurate as the parameters that sized it.
Finally, remember that the box is half the system: room or cabin gain adds low-frequency lift that varies with the space (a car cabin can add several dB below 50 Hz), so a design that measures flat in free air can sound bass-heavy installed. Build to the model, then listen in place before judging — and prefer a slightly larger port over a slightly smaller one when the maths lands between drill sizes, since port noise punishes undersizing far more than tuning drifts punish oversizing.