This box fill calculator works out the minimum size of an electrical outlet, switch or junction box for the wires and devices inside it. Enter the number of conductors of each wire size, the number of devices, and whether there are cable clamps and grounding conductors, and the box fill calculator adds up the volume the National Electrical Code (NEC) requires and checks it against your box.
How to use the box fill calculator
- Choose the wire size and enter how many conductors of that size are in the box. Add more sizes if the box has mixed wire.
- Enter the number of devices, such as switches and receptacles.
- Tick the boxes for internal cable clamps and grounding conductors.
- Enter your box's volume (often marked inside the box) to check it, then press Calculate.
NEC box fill allowances
NEC Table 314.16(B) gives the volume each conductor needs, by wire size. As quoted by ElectricalLicenseRenewal.com from the 2017 NEC:
| Wire size | Volume per conductor |
|---|---|
| 18 AWG | 1.50 in³ |
| 16 AWG | 1.75 in³ |
| 14 AWG | 2.00 in³ |
| 12 AWG | 2.25 in³ |
| 10 AWG | 2.50 in³ |
| 8 AWG | 3.00 in³ |
| 6 AWG | 5.00 in³ |
What counts toward box fill
- Conductors: under 314.16(B)(1), each conductor that starts outside the box and ends or is spliced inside counts once, and each conductor passing through without a splice also counts once.
- Cable clamps: under 314.16(B)(2), if there are one or more internal cable clamps, add a single allowance based on the largest conductor in the box.
- Devices: under 314.16(B)(4), a device such as a duplex receptacle or switch needs a double allowance, based on the largest wire connected to it.
- Grounding conductors: under 314.16(B)(5), if one or more equipment grounding conductors enter the box, add a single allowance based on the largest one.
The calculator counts devices, clamps and grounds at the largest wire size in the box, which is the cautious choice when devices are wired with the largest wire.
Worked example
A single switch box has four 14 AWG conductors, one switch and grounding conductors, with no internal clamps. The conductors need 4 × 2.00 = 8.00 in³, the switch 2 × 2.00 = 4.00 in³, and the grounds 2.00 in³, for 14.00 in³. A box marked 18 in³ would be big enough.
A box with six 12 AWG and two 14 AWG conductors, two devices, internal clamps and grounds needs 13.50 + 4.00 = 17.50 in³ for conductors, 9.00 for the devices, 2.25 for the clamps and 2.25 for the grounds: 31.00 in³.
Reading the results
The big number is the minimum box volume in cubic inches. If you entered your box's volume, the line below says whether everything fits. The table breaks the total into conductors, devices, clamps and grounds, and shows it in cubic centimeters too.
Editions and other items
This calculator follows the 2017 NEC text quoted by its source. Later editions may change some of these rules, and other items in a box can also take up volume. Local codes may adopt a particular edition with amendments, so check before you rely on the result.
Finding your box volume
Most metal and plastic boxes have their volume in cubic inches marked inside or on the label. Enter it in the calculator to check whether everything fits. If the result is too large for the box, you can use a deeper box, a larger box, an extension ring on some boxes, or move some splices to another box. A bit of spare space makes it easier to fold the wires in neatly.
Mixed wire sizes
Many boxes contain more than one wire size, for example 12 AWG for a receptacle circuit and 14 AWG for a light. Add a line for each size. Each conductor counts at its own size. The clamp and ground allowances use the largest conductor in the box, as the code says; the code bases each device on the largest wire connected to it, and the calculator uses the largest wire in the box, which is the cautious choice.
Metric equivalents
The NEC gives box volumes in cubic inches. The calculator also shows the total in cubic centimeters, at about 16.39 cm³ per cubic inch, for boxes labeled in metric.
Planning before you wire
Run the calculator while you plan a circuit, not after the box is in the wall. Count every cable that will enter the box, the conductors in each one, and the devices you'll mount. If the total is close to the box's volume, choose the next size up; extra space makes the wiring neater and safer to fold back into the box.
Common mistakes
- Counting grounds one by one. All the grounding conductors together get a single allowance.
- Forgetting devices count double. A switch or receptacle takes two allowances.
- Ignoring clamps. Internal clamps add an allowance.
- Counting pigtails. A wire that starts and ends inside the box isn't counted.
Tips
- Look for the volume stamped inside the box.
- Choose a bigger box than the minimum to make wiring easier.
- Have electrical work checked by a qualified electrician.
What next
Use this often? Add Box Fill to your Home screen.
Frequently asked questions
How does a box fill calculator work?
It adds up the NEC 314.16(B) volume for each conductor, plus double for devices and single allowances for clamps and grounds.
How many cubic inches does a 14 AWG wire need?
2.00 in³ per conductor; 12 AWG needs 2.25 in³.
How do devices count in box fill?
Each switch or receptacle counts as two conductors of the largest wire connected to it.
Do ground wires count in box fill?
All the equipment grounding conductors together count as one allowance at the largest size.
What size junction box do I need?
Add up the allowances; the box's marked volume must be at least the total.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.