← all tools

Speaker Box Calculator

Find net enclosure volume and port tuning for DIY speaker and subwoofer builds. Account for driver displacement, bracing, and panel thickness.

Box Dimensions (inches)
Driver (Woofer)
Port (if ported box)
Losses
Gross volume
 
After panel thickness
 
Driver displacement
 
Port displacement
 
Final air volume (sealed design)
 
Calculated port length
 
At target frequency
 
Port velocity
 
End correction factor
 

Need materials?
MDF board → PVC pipe for port → Woofer driver →

How the calculation works

The internal volume of a box is not the same as the space you have for air. A typical mistake is calculating the inside dimensions by subtracting panel thickness from the outside, then calling that usable air volume. The truth is that the driver takes up space, the port takes up space, any internal bracing takes up space, and so does a crossover or amplifier if you put one inside. All of that counts against your net air volume.

Gross volume is the space inside the walls, measured from internal wall to internal wall. Net volume is what remains for air. It matters because the tuning frequency of a ported box is set by the air volume, not by the board dimensions. A 15-litre box with a 1.5-litre driver is really a 13.5-litre box for tuning purposes.

Driver displacement varies by size. A typical 6.5-inch woofer displaces roughly 0.3 to 0.5 litres. A 15-inch subwoofer might displace 2 litres or more. The motor structure, cone depth, and the rear dust cap all take up volume. If you know your driver's exact displacement, use it; the presets are estimates.

Port displacement is small but real. A 2-inch diameter port 6 inches long displaces about 0.15 litres. In a large home theater box this is noise, but in a compact car audio enclosure it can nudge the frequency down a few Hz.

Port length is calculated from three things: box volume, port diameter, and your target tuning frequency. A larger box or lower target frequency requires a longer port. The formula used is the Helmholtz resonator equation, which accounts for end correction (the effective acoustic lengthening of the air column at the port opening). This is typically 0.7 to 0.85 times the port radius, depending on whether the port is flanged or sits flush.

Port velocity is how fast the air moves in and out of the port. If it gets too fast (above 20 metres per second), the port creates audible chuffing noise. A larger port diameter lowers velocity for the same acoustic output.

Reference: Woofer displacement by size

These are typical displacements. Measure yours if you can.

SizeDisplacement (L)Notes
6.5 inch0.3-0.5Car audio, bookshelf speakers
8 inch0.5-0.8Home theater, compact subwoofers
10 inch0.8-1.2Mid-size subwoofers, car audio
12 inch1.2-1.8Most common home subwoofers
15 inch1.8-2.5Large subwoofers, PA cabinets
18 inch2.5-3.5High-SPL subwoofers, PA

Displacement includes the cone, the surround, the motor structure, and the rear magnet/pole piece. Measure by water displacement if precision matters, or use a speaker simulator tool with the driver's published specs.

Reference: Target tuning frequencies by application

Use caseFrequency (Hz)Notes
Home theater subwoofer18-25Deep bass extension. Requires larger box.
Music listening (flat response)25-35Depends on room. Higher frequency = smaller box.
Car audio, sealed box50-80Sealed boxes tune higher than ported.
Car audio, ported box32-45Loud at tuning frequency. Narrower bandwidth.
Compact/satellite speaker80-150Very small box or vented port.

Tuning frequency is a choice you make based on the room, the subwoofer size, and your goal. Lower frequencies need larger boxes. Higher tuning frequencies work in smaller enclosures but restrict bass extension.

Understanding sealed versus ported

A sealed box means the enclosure is airtight. The air inside acts like a spring. As the woofer moves in, it compresses the air, creating a restoring force. Sealed boxes are easy to design, stable, and flat across a wide frequency range. They require more power because the air spring opposes the driver. Tuning does not apply to sealed boxes. Instead, the Thiele-Small parameters (Qts, Fs, Vas) of the driver define the system response.

A ported or vented box has one or more ports. The port creates a Helmholtz resonator with the box. At the tuning frequency, the port releases acoustic energy stored in the driver's motion, reinforcing output at that frequency. Ported boxes are louder at and just below tuning frequency and require less amplifier power. However, they have narrower bandwidth (response falls off quickly above tuning) and are less forgiving of design errors.

The trade-off is simple: sealed = flat and controlled but needs more power; ported = louder at one frequency but needs careful design. Both require an enclosure sized for the driver and the tuning goal.

Common questions

What is the net volume of a speaker enclosure?

Net volume is the actual amount of air remaining in the box after subtracting the volume lost to the speaker driver, the port, internal bracing, and internal crossover or amplifier components. It is different from gross internal volume. Most DIY builders calculate the internal dimensions by subtracting panel thickness from external dimensions, but then forget to subtract what the driver, bracing, and port themselves displace.

How do I calculate port length for a subwoofer box?

Port length is calculated using the Helmholtz resonator formula. The length depends on three things: the box volume, the port diameter (or area), and the target tuning frequency you want. A larger box or lower tuning frequency requires a longer port. A larger diameter port shortens the required length. The formula accounts for end correction, which subtracts an effective length equivalent to roughly 0.7 to 0.85 times the port diameter because the moving air column extends beyond the physical opening.

Does driver displacement volume matter?

Yes. A driver typically displaces 0.3 to 2 liters depending on its size and magnet depth. In a small box, ignoring this can throw your tuning frequency off by several Hz. For example, a 15-litre box with a 1.5-litre driver is really an 13.5-litre box; that is a 10 percent error. Larger boxes tolerate it better, but accurate tuning starts with net volume.

What is end correction in a port?

End correction accounts for the fact that the acoustic length of the port is longer than its physical length. Air moving in and out of the port extends acoustically beyond the physical opening. The end correction factor is typically 0.7 to 0.85 times the port radius, depending on whether the port opening is flanged (reinforced at the edge) or free (open to air). This is why the calculator subtracts this effective length from the final port length calculation.

What is a Helmholtz resonator?

A Helmholtz resonator is an enclosed air chamber with a small opening. The air mass inside the opening and the air spring inside the box oscillate together at a specific frequency, called the resonant frequency. A speaker port creates a Helmholtz resonator with the box. At the tuning frequency, the port reinforces the woofer's output, extending bass response. This is why ported enclosures can play louder at low frequencies than sealed boxes of the same volume.

What is a sealed versus ported enclosure?

A sealed enclosure is airtight. The air inside acts as a spring, storing energy as the woofer moves. Sealed boxes are easier to design and always stable, but they require more amplifier power to reach the same level as a ported box. A ported (or vented) enclosure has a port, which is a tuned opening. At the tuning frequency, the port releases energy, lowering the amplifier load and extending bass response. Ported boxes are louder at and below the tuning frequency but less controlled above it.

Next, if you are buying
Used studio monitor prices →Used AV receiver prices →