Calculator · Free
Box Fill Calculator
Count conductor volume allowances to confirm a device box is legally large enough.
Required box volume
18.00 in³8 conductor allowances
- Conductor allowances4 conductors counted individually
- 9.00 in³
- Device, clamp and fitting allowancesTaken at 12 AWG, the largest conductor present
- 6.75 in³
- Grounding allowanceAll grounds as one 12 AWG conductor
- 2.25 in³
- Smallest standard box that works3" × 2" × 3-1/2" device box
- 18.0 in³
Legal, but tight
| Item | Counted as | Allowance size | Volume |
|---|---|---|---|
| 12 AWG conductors | 4 conductors | 2.25 in³ | 9.00 in³ |
| Device yokes (1) | 2 conductors | 2.25 in³ | 4.50 in³ |
| Internal cable clamps (2) | 1 conductor total | 2.25 in³ | 2.25 in³ |
| Grounding conductors (2) | 1 conductor total | 2.25 in³ | 2.25 in³ |
| Required | 18.00 in³ |
| Box | Volume | Spare after makeup | Status |
|---|---|---|---|
| 3" × 2" × 2" device box | 10.0 in³ | -8.00 in³ | Too small |
| 3" × 2" × 2-1/4" device box | 10.5 in³ | -7.50 in³ | Too small |
| 3" × 2" × 2-1/2" device box | 12.5 in³ | -5.50 in³ | Too small |
| 3" × 2" × 2-3/4" device box | 14.0 in³ | -4.00 in³ | Too small |
| 3" × 2" × 3-1/2" device box | 18.0 in³ | 0.00 in³ | Compliant |
| 4" square × 1-1/4" deep | 18.0 in³ | 0.00 in³ | Compliant |
| 4" square × 1-1/2" deep | 21.0 in³ | 3.00 in³ | Compliant |
| 4" square × 2-1/8" deep | 30.3 in³ | 12.30 in³ | Compliant |
| 4-11/16" square × 1-1/4" deep | 25.5 in³ | 7.50 in³ | Compliant |
| 4-11/16" square × 1-1/2" deep | 29.5 in³ | 11.50 in³ | Compliant |
| 4-11/16" square × 2-1/8" deep | 42.0 in³ | 24.00 in³ | Compliant |
| 18 cu in. plastic device box | 18.0 in³ | 0.00 in³ | Compliant |
| 20 cu in. plastic device box | 20.0 in³ | 2.00 in³ | Compliant |
| 22.5 cu in. plastic device box | 22.5 in³ | 4.50 in³ | Compliant |
| 32 cu in. plastic 2-gang box | 32.0 in³ | 14.00 in³ | Compliant |
| 42 cu in. plastic 2-gang box | 42.0 in³ | 24.00 in³ | Compliant |
Quick answer
NEC box fill limits how many conductors, devices, clamps, and equipment grounds can share a box. Each item counts as a volume allowance based on the largest wire in the box (for example, 14 AWG counts 2.00 in³ each in a standard calculation). If fill exceeds the box volume, you need a larger box or fewer devices — overcrowded boxes are a common inspection failure. Use the calculator with your box size, wire sizes, and device count; always follow the box manufacturer's listed volume and local amendments.
What this assumes
- Volume allowances per conductor come from NEC Table 314.16(B).
- All equipment grounding conductors together count as a single conductor of the largest size present.
- Each yoke or strap counts as two conductors of the largest size connected to that device.
Important
Box fill is a code minimum, not a workmanship target. Boxes filled to the legal limit are difficult to make up neatly and harder to service later.
Understanding the result
How the count works
NEC 314.16(B) assigns a cubic-inch allowance to each conductor size, then counts: each conductor entering and terminating counts as one; all grounds together count as one; all internal cable clamps together count as one; and each device yoke counts as two. Conductors that pass through without splice count as one each.
Why overfilled boxes fail
An overfilled box forces conductors against device terminals and makes it nearly impossible to fold the makeup back cleanly. That damages insulation, loosens terminations over time, and is a common inspection failure on residential rough-in.
Pass-through conductors add up fast
A three-gang switch box with power in, power out, and three switch legs can accumulate volume allowances quickly. Each 12 AWG conductor counts as 2.25 cubic inches. Six conductors at 12 AWG is 13.5 cubic inches before you count the device yokes — which is why a shallow 22 cubic inch box fails where a 30 cubic inch box passes.
Box volume is stamped on the box
Listed boxes have their internal volume marked on the back or inside. If the stamp is missing or illegible, use NEC Table 314.16(A) for standard metal boxes. Plastic boxes without a volume stamp are not code-compliant for use as device boxes.
Extensions are a legitimate fix
When a rough-in box is borderline, a box extension ring adds volume without replacing the entire box. For a finished wall, a mud ring and deeper extension is cheaper than opening drywall to swap boxes. Plan box depth at rough-in to avoid this entirely.
Common questions
What size box do I need for 4 wires and a switch?
How many wires can fit in a 4x4 box?
Do ground wires count in box fill?
What is the box fill for 12 AWG wire?
How big of a junction box do I need for 6 wires?
Does a dimmer switch count as two wires in box fill?
What size box for a GFCI outlet?
How many 14 AWG wires in a single gang box?
Do wire nuts count toward box fill?
What happens if a box is overfilled?
You may also need
The next decision usually follows directly from this one.
- CalculatorWire Size CalculatorFind the minimum conductor size for a load based on ampacity, temperature, bundling and distance.
- CalculatorConduit Fill CalculatorCheck conductor fill against NEC Chapter 9 limits and find the trade size you need.
- CalculatorDwelling Load CalculatorRun a standard NEC Article 220 dwelling load calculation to size a residential service.