Box Fill Calculator: NEC 314.16 Cubic Inches for an Electrical Box
By FindMySum · Last reviewed
This box fill calculator applies section 314.16 of the National Electrical Code (NEC 2023), adopted in some edition by every US state, to an outlet, switch or junction box. Every conductor, device, clamp and ground in a box takes up an allowance of volume, and the box must be at least as big as the total so wires aren't crammed in, overheated or nicked when the device is pushed back. The calculator adds the allowances in cubic inches and compares them with the volume of the box you choose.
Worked example: a switch fed by two 14/2 cables
The US page starts with four 14 AWG insulated conductors (two 14/2 cables with ground), two grounds, one device (a switch), internal cable clamps, and a 3 × 2 × 2½ inch metal device box.
- Conductors: 4 × 2.00 = 8.00 cubic inches.
- Device: a switch counts two volume allowances for the largest conductor on it, 2 × 2.00 = 4.00.
- Clamps: one allowance for all internal clamps, 2.00.
- Grounds: one allowance for all equipment grounding conductors together, 2.00.
- Total: 16 cubic inches, against a box of 12.5 cubic inches: 128% full, so it fails.
The smallest standard device box that holds it is the 3 × 2 × 3½ inch box at 18 cubic inches, which would be 89% full.
Making a box fit
If a box is too small you can fit a deeper box, add an extension ring or a raised cover marked with its volume, or move a splice to another box. Smart switches, dimmers and GFCI receptacles still count two allowances under the NEC, but they are much deeper than an ordinary switch and leave little room for the wires folded behind them, so many electricians fit a deeper box than the minimum when they install one. Cable connectors outside the box don't count, which is one reason to use them in place of internal clamps.
Safety first
Working on a live circuit is the cause of most electrical injuries, and OSHA's figures show electrocution among the leading causes of death in construction. Switch off the breaker, confirm the circuit is dead with a non-contact tester and then a meter, and if your house has aluminum branch wiring or knob-and-tube, get an electrician.
Box fill is also checked by inspectors at the rough-in stage, before the drywall goes up, so it is worth adding it up when you plan each box.
For the Canadian Electrical Code rules (Rule 12-3034, volumes in cm³), use the box fill calculator.
Sources
This article explains how the calculator works and is general information, not financial, tax or legal advice. Rules change; check the sources above or a qualified professional before you act.