Wiring a circuit? THHN and NM-B wire on Amazon (opens in a new tab)

Box Fill Calculator

Count the wires, devices, clamps and grounds in an electrical box and check the volume they need against the box, by NEC 314.16.

cu in

Nonmetallic boxes have the volume molded inside. Add the marked volume of any extension ring.

Insulated wires that enter the box or are spliced in it (not grounds, not pigtails)

Each yoke counts as two wires of the largest size connected to it.

Box fill —
Standard boxes for this fill

How to use the box fill calculator

  1. Pick the box. Metal boxes are listed with their NEC volume; for plastic boxes, enter the volume molded inside.
  2. Count the insulated wires of each size that enter the box or are spliced in it. A 12/2 cable brings two (the black and the white).
  3. Enter the number of devices and any fixture studs, and tick whether there are grounds and internal clamps.

The calculator adds up the required volume, says whether it fits and lists the standard boxes that are big enough.

How box fill is counted (NEC 314.16(B))

ItemCounts as
Each insulated wire entering the box or spliced in it1 wire of its size
Wire passing through without a splice1 wire (2 if it loops 12 in or more)
Pigtails that start and end in the box0
All equipment grounding wires together1 wire of the largest ground
All internal cable clamps together1 wire of the largest size
Each fixture stud or hickey1 wire of the largest size
Each device yoke (switch, receptacle)2 wires of the largest size connected to it

Each “wire” then takes the volume in the table below.

Volume per wire (NEC Table 314.16(B))

Wire sizeVolume
14 AWG2.00 cu in
12 AWG2.25 cu in
10 AWG2.50 cu in
8 AWG3.00 cu in
6 AWG5.00 cu in

Example

A receptacle box with two 12/2 cables (one in, one out): 4 insulated 12 AWG wires = 9.00 cu in, one receptacle = 4.50 cu in, the grounds = 2.25 cu in. Total 15.75 cu in. A 3 × 2 × 2-1/2 in metal device box holds only 12.5 cu in, so it is too small; an 18 cu in plastic box or a 4 in square box with a mud ring works.

Tips

  • A box that only just passes is hard to work in. Leave some spare room, especially with GFCI and smart switches, which are much deeper than plain devices.
  • Extension rings and raised covers add their marked volume.
  • Conduit bodies and boxes over 100 cu in, or with 4 AWG and larger wire, follow different rules (NEC 314.16(C) and 314.28).

Choosing wire for the circuit first? Start with the wire size calculator.

Frequently asked questions

Do ground wires count in box fill?

Yes, but all of them together count as one wire of the largest ground size. A second, separate set of isolated grounds (for sensitive equipment) adds one more allowance.

How many wires can go in a single-gang box?

It depends on the box volume and the devices. An 18 cu in box with one device and grounds has room for five 12 AWG wires (18 ÷ 2.25 = 8 allowances, minus 2 for the device and 1 for the grounds).

More wire calculators