Home › Construction & Home › Box Fill Calculator

Box Fill Calculator

This box fill calculator works out how big an electrical box needs to be for the wires and devices inside it, using the counting rules in the US National Electrical Code (NEC 314.16).

How box fill is counted (NEC 314.16)

  • Each insulated conductor that enters and ends or splices in the box: 1 allowance.
  • All equipment grounding conductors together: 1 allowance (based on the largest).
  • All internal cable clamps together: 1 allowance.
  • Each device yoke (switch or receptacle): 2 allowances, based on the largest wire connected to it.
  • Pigtails that start and end in the box, and fixture wires under certain conditions, aren't counted.
Wire sizeVolume per allowance (in³)
18 AWG1.50
16 AWG1.75
14 AWG2.00
12 AWG2.25
10 AWG2.50
8 AWG3.00
6 AWG5.00

Example

A 12 AWG receptacle box with 4 insulated conductors, grounds and internal clamps: 4 + 1 + 1 + 2 = 8 allowances × 2.25 = 18 cubic inches. An 18 in³ box is just big enough.

Tips

  • Boxes are marked with their volume; plaster rings and extensions add their marked volume too.
  • Local codes and inspectors have the final say, and electrical work may need a licensed electrician and permit.
  • Check wire sizing for long runs with the voltage drop calculator.

Frequently asked questions

How many 12 AWG wires can go in an 18 in³ box?

8 allowances' worth, counting devices, grounds and clamps as the rules require.

Do ground wires count in box fill?

Yes, but all grounds together count as one allowance.

Why do devices count as two?

Switches and receptacles take up significant space in the box, so the code counts each yoke double.

Written and checked by Vijay. Last updated .