CARBOXLAB / FROM DATA TO A BOX

How to calculate a subwoofer box: from driver parameters to a buildable enclosure

A good enclosure starts with reliable data and ends with a design you can actually build. Follow a complete project: choose a subwoofer, compare enclosures, read the graphs and prepare the panels. No guessing the box volume from the driver diameter alone.

21 November 2026 · Practical guide · about 15 minutes
By: Sound Audio System

Educational example, not a design for a specific product. Screenshots and results are from CarBoxLab checked on 21 November 2026. The application is evolving, so later versions may look or calculate differently.

Before you start: what should the enclosure do?

Measure the available space in your car: maximum width, height and depth, plus the boot opening the finished box must pass through. Allow for the projecting frame, cone, terminal, cables and clearance in front of the port. For a trapezoid, record the top and bottom depths separately. Available space and acoustic volume are different quantities.

Decide which frequency range matters and how much input power you intend to use. Deep extension, small dimensions and high output usually involve compromises. Do not choose the largest or smallest box simply because the calculator accepts it. For a real driver, start with the manufacturer's documentation.

Open the CarBoxLab designer and choose your units. This guide uses centimetres for the enclosure, millimetres for boards and cutouts, and litres for volume. In imperial mode, pay particular attention to inches versus cubic feet: 1 inch = 25.4 mm and 1 ft³ ≈ 28.317 litres.

Step 1. Select a subwoofer or enter your own data

Start with the subwoofer and project database or enter a custom driver. Check the full model name, impedance and coil variant. Similar names do not guarantee identical parameters. Open the linked manual or manufacturer data sheet: a dual-2-ohm variant may differ from a dual-4-ohm version.

For this article we use CarBoxLab Demo 12, a fictional educational driver based on the application's demonstration data. It is not a product, a measurement or a recommendation for every 12-inch subwoofer. We are not adding it to the manufacturer catalogue. Use the following values to reproduce the example:

CarBoxLab Demo 12 — demonstration data
ParameterValue
Driver count1
Fs / Vas30 Hz / 60 L
Qes / Qms0.45 / 5
Qts≈ 0.413
Re / Le3.4 Ω / 1.2 mH
Sd / Xmax510 cm² / 12 mm
Frame / cutout / depth31.5 cm / 28.2 cm / 15 cm
Total input power100 W
High-pass filter0 Hz
Board / front18 mm / 1 × 18 mm
Driver and bracing displacement3 L

Enter the parameters of one driver, then select the number of identical units. Do not manually multiply Vas or Sd before entering two drivers. Total input power and internal displacement, however, refer to the complete enclosure. Re and Le must match the intended coil wiring of each individual driver. Check the circuit in the voice-coil wiring configurator.

One demonstration driver in step 1. Mounting dimensions and T/S parameters serve different purposes.
One demonstration driver in step 1. Mounting dimensions and T/S parameters serve different purposes. Click to enlarge.

What do Fs, Vas, Qts and the other parameters mean?

Fs is the driver's free-air resonance frequency. It does not promise a particular low-frequency limit inside a car. Vas expresses suspension compliance as an equivalent air volume: a Vas of 60 litres does not mean a recommended 60-litre box. Qes and Qms describe electrical and mechanical damping respectively; together they determine Qts.

When the manufacturer provides Qes and Qms, calculate Qts = (Qes × Qms) / (Qes + Qms). Our example gives 0.4128, rounded to 0.413. Do not replace a missing parameter with a random value from a similar driver. A derived parameter should remain distinguishable from one measured or supplied in the manual.

Re is DC resistance, not the nominal impedance on the label. Sd is effective cone area, not the area calculated from the outside frame diameter. Le describes voice-coil inductance. Here, Xmax means one-way linear excursion: do not enter twice that value as peak-to-peak travel, or substitute the mechanical limit Xmech.

Frame diameter, cutout and mounting depth are used for physical fit checks. Missing depth need not prevent an estimated response, but it prevents reliable confirmation that the driver fits. Likewise, without Xmax you cannot reliably assess excursion headroom.

Step 2. Manufacturer design, Qtc calculation or your own variant?

Keep three sources of information separate. A manufacturer recommendation applies to a specific model and comes from its documentation. A Qtc calculation gives a theoretical sealed-box starting point. An application proposal depends on the selected goal, available data and search constraints. These three volumes need not match.

There is no manufacturer recommendation for our fictional driver. Select “Balanced response” and apply the sealed suggestion. In the checked example, the program returned 31.03 litres net, Qtc 0.707 and Fc 51.4 Hz. This is a starting point, not proof that it will be the best design for your car.

The simplified single-driver equation is Vb = Vas / ((Qtc / Qts)² − 1). It requires Qtc greater than Qts. As the two values approach each other, the required volume increases rapidly. With these parameters, Qtc around 0.577 gives approximately 63 litres, not just slightly more than 31 litres. A “more damping” label alone therefore cannot settle the choice.

If a real driver's manufacturer recommends 25 litres but a formula returns 11, that does not automatically indicate an arithmetic error. The goals, volume definition, damping assumptions or driver variant may differ. Compare those assumptions first. Do not replace the manufacturer's design with a smaller box without checking response, excursion and physical feasibility.

Sealed or ported: how should you compare them?

A sealed enclosure has no port: construction is simpler, and the trapped air provides an additional spring for the cone. Bass-reflex uses the resonance of the duct and chamber. You must choose net volume, tuning frequency Fb, port area and port length together. “Ported” here means bass-reflex, not an enclosure with its rear panel removed.

Compare alternatives using the same driver data, driver count, power and filters. Keep the sealed design as B, then try a ported design as A. Do not automatically carry the sealed-box volume over to bass-reflex. Manufacturers may specify separate designs for both types or approve only one.

For a ported design, pay particular attention to excursion below tuning and the space needed for the duct. The relationship between enclosure volume, duct area and length is also discussed in KICKER's box-building guide. That source explains general principles; it does not recommend an enclosure for our fictional driver.

Step 3. Read the graphs and compare volumes

After applying a suggestion, open the “Response” step. Volume, tuning, power and filter controls sit beside the plot. Start with 31.03 litres, 100 W total and a high-pass setting of 0 Hz. Zero disables the simulated filter; it does not automatically protect the physical amplifier or driver.

Click “Keep as B”. Change only the volume of A, for example to 25 litres and then 40 litres. Observe response, Qtc, excursion and required depth. Avoid changing five fields at once, otherwise the cause of a difference becomes unclear. Return to 31.03 litres to reproduce the rest of this guide.

Actual CarBoxLab screenshot: 31.03 L net sealed box, 100 W, filter off. Full-plot F3: approximately 56 Hz.
Actual CarBoxLab screenshot: 31.03 L net sealed box, 100 W, filter off. Full-plot F3: approximately 56 Hz. Click to enlarge.

Response shows the shape of the frequency response in dB. It is different from absolute SPL. In this model, SPL refers to half-space at 1 metre with RMS input voltage. It is not a measurement at the driver's seat. The cabin, box position, crossover, equalisation and integration with the other speakers will change the in-car result.

The main plot's F3 is the lower −3 dB crossing relative to the maximum between 10 and 500 Hz. Our example shows approximately 56 Hz in the full result, while the simplified Qtc suggestion states 51.4 Hz. These are not identical readings. The more detailed model and peak-relative reference can differ from an idealised sealed alignment. Compare the whole curve instead of relying on F3 alone.

Excursion, power, impedance and group delay

Open “Excursion” and inspect the full intended range, including below port tuning. In the 31.03-litre sealed example at 100 W with the filter disabled, the program reported a maximum of approximately 6.6 mm against Xmax of 12 mm over 10–500 Hz. This is a simulation result, not a measurement or a thermal power rating.

Increasing input power increases excursion. In a linear model, going from 100 W to 400 W at the same impedance reference means approximately twice the voltage and excursion, not four times. Real drivers become nonlinear at high drive levels. Excursion headroom must not be confused with the voice coil's thermal capacity.

Impedance varies with frequency; it is not a fixed resistance. Do not select an amplifier load based on a high peak in the impedance plot. Check nominal coil wiring and the amplifier's minimum permitted load. Group delay helps compare frequency-dependent behaviour, but one number cannot describe overall bass quality.

The high-pass filter must correspond to the real system. This version models a 12 dB/octave Butterworth filter. Selecting the same frequency on an amplifier with a different slope does not reproduce the same result. Enable the simulated filter, check the curves again, and only then transfer settings that your hardware can actually reproduce.

Bass-reflex: tuning and a port that physically fits

For bass-reflex, volume and Fb are only the beginning. Choose a round or slot port. A tube uses its inside diameter for airflow, but its outside diameter for the front-panel cutout. For a slot, enter the clear width and height, excluding the boards. Rectangular area is width times height; circular area is π times radius squared.

A larger area can reduce air velocity, but usually needs a longer duct for the same volume and tuning. Lowering Fb also lengthens the port when other conditions remain fixed. If it will not fit, do not simply shorten it without recalculating. Check available bent routing, magnet clearance and space at the internal opening.

Assess port velocity at the intended power and filter settings. A threshold used by the search algorithm is not a guarantee of silent operation: flares, bends, cross-sectional shape and construction also matter. High velocity is a reason to revise the design, then check port length and occupied volume again.

Verify tuning by measurement after building a ported box. End corrections and nearby walls mean a geometry-based result is approximate. Fb and F3 are not interchangeable: the former is resonator tuning, while the latter describes response roll-off against a defined reference.

Step 4. Convert net litres into external dimensions

Our project assumes a single front panel, 18 mm material and a total of 3 litres occupied by the driver and bracing. This is an example assumption, not a universal displacement for a 12-inch driver. A net volume of 31.03 litres therefore requires 34.03 litres internally before subtracting those components. The 3D information strip rounds this to 34 litres.

With an external width of 38 cm and height of 39 cm, the required depth is approximately 31.5448 cm. Check it with (38 − 3.6) × (39 − 3.6) × (31.5448 − 3.6) / 1000 − 3 ≈ 31.03 L. Two board thicknesses are removed from each dimension. The 38 × 39 × 31.54 cm dimensions describe the outside of the box, not its air chamber.

The demonstration box in 3D. Labels A–F match the panels; the model can be rotated.
The demonstration box in 3D. Labels A–F match the panels; the model can be rotated. Click to enlarge.

Adjust width and height beside the 3D model and watch the result. When preserving volume, the program changes depth accordingly. Editing depth recalculates capacity. For an existing or made-to-measure box, use “Custom dimensions” and inspect its resulting volume instead of expecting any external size to retain the previous volume.

A trapezoid requires both depths. Its sloping wall affects internal space and panel cuts; simply averaging the outside depths is not an exact internal calculation. A double front also takes up space. After enabling it, recheck depth, cutouts and net volume.

Check the layout and actual components

Rotate the model and inspect the front, rear and top. In placement mode, move the driver and port, then return to 3D. Two openings fitting on the front does not guarantee clearance for the magnets and a bent duct behind them. Enable the mounting-depth and port view.

Minimum width depends on frames, the port, wall thickness and clearances. Do not force a width below the required minimum just to remove a warning. Revise the layout, height, port or driver count and recalculate. The program uses simplified geometry; the real basket, pole vent and terminal still need checking against the manufacturer's drawing.

For bass-reflex, do not add the duct displacement a second time to the internal-components field: the application accounts separately for port air and duct-wall material. The 3-litre field in our sealed example is for the driver and bracing. Update it if you change the bracing design.

Step 5. Panels, cutouts and PDF/DXF exports

Review warnings first. Then open the panel step and match labels A–F to the model. Our rectangular enclosure uses front and rear panels of 380 × 390 × 18 mm, top and bottom of approximately 380 × 279.4 × 18 mm, and two sides of approximately 279.4 × 354 × 18 mm. These dimensions follow a specific joint arrangement: front and rear cover the other panels, while top and bottom cover the side edges.

380 × 390 mm front with a 282 mm cutout. Centre: X 190 mm, Y 195 mm from the bottom-left corner.
380 × 390 mm front with a 282 mm cutout. Centre: X 190 mm, Y 195 mm from the bottom-left corner. Click to enlarge.

The driver cutout is 282 mm, although its frame diameter is 315 mm. In this centred example, the opening centre is 190 mm from the left and 195 mm from the bottom edge, viewed from outside. Check against the actual driver's mounting drawing and agree on tolerances before cutting.

PDF provides readable dimensions and assembly information. DXF contains millimetre geometry and opening layers, but is not a ready-to-run CNC machine program. CAM setup still requires the cutter, machining side, compensation, tabs and feeds. Bevels need an appropriate operation. Saw kerf, machining allowances and glue gaps are not automatically added to finished dimensions.

For a trapezoid, read the sections, angles and dimensions on both faces of the board. A simple top-view outline does not fully describe a bevel. Finally, save JSON to your device to retain parameters and settings for later editing. Export from the language version you want for the labels.

Pre-build checklist

  • The complete model and coil variant match official documentation.
  • Parameters describe one driver; count and wiring are correct.
  • Net volume has not been confused with gross volume or external dimensions.
  • Curves were checked at intended power and filter settings, not just demonstration settings.
  • A ported design has been checked for excursion below Fb, port velocity and room for the whole duct.
  • Frames, cutouts, mounting depths, terminals and bracing physically fit.
  • Actual board thickness, joints and bevels match the drawings.
  • Measurement and in-car adjustment are planned after construction.

A common mistake is treating one number as the complete answer: a 12-inch diameter does not determine volume, the lowest F3 does not guarantee a good design, and a green fit message does not replace a workshop check. A good project combines reliable data, an appropriate response and feasible construction.

CarBoxLab helps you follow this process free of charge in your browser. For enclosure construction and in-car system integration, visit Sound Audio System. Cabin acoustics and sound treatment are further parts of the complete system.

Sources and scope

Example, table, screenshots and reported values: our CarBoxLab demonstration session. General enclosure and port principles: KICKER — How to Build a Subwoofer Box.

The simulation excludes the vehicle cabin, thermal compression and full nonlinear behaviour. Check the design against the actual components.

Continue reading

NOW TRY YOUR DESIGN

Enter data. Compare. Build.

Design your enclosure ↗Find your subwoofer