← all posts

Box fill calculation: how to count conductors, devices and grounds (NEC 314.16)

In short

Box fill is the minimum volume an electrical box must have for what is inside it (NEC 314.16, 2023 edition). To calculate it, count one volume allowance for each conductor that enters the box, one for all internal cable clamps together, one for each type of support fitting, two for each device yoke (a switch or receptacle), and one for up to four ground wires plus a quarter for each ground over four. Multiply each count by the volume for its wire size in Table 314.16(B)(1): 2.00 cubic inches (in³) for 14 AWG, 2.25 in³ for 12 AWG, 2.50 in³ for 10 AWG. The box volume must be at least the total. Example: a receptacle fed by two 14/2 cables in a plastic box with no clamps needs 7 × 2.00 = 14 in³.

Box fill counts volume allowances, not wires: devices, clamps and grounds each take allowances, and most failed counts miss one of them. Here is what you count, the wire size each item is based on, and three examples.

What counts toward box fill?

What counts toward box fill and at which wire size (NEC 314.16(B))
ItemAllowancesAt the volume ofNEC
Conductor that enters the box and is spliced or terminated there1 eachIts own size314.16(B)(1)
Conductor that passes through unbroken1 each; 2 if it is looped with 12 in. or more of free lengthIts own size314.16(B)(1)
Pigtail or jumper that starts and ends in the box0–314.16(B)(1)
Internal cable clamps, one or many1 in totalThe largest conductor in the box314.16(B)(2)
Fixture stud or hickey1 for each typeThe largest conductor in the box314.16(B)(3)
Switch or receptacle, per yoke2The largest conductor connected to that device314.16(B)(4)
Equipment grounds, up to four1 in totalThe largest ground in the box314.16(B)(5)
Each equipment ground over four¼The largest ground in the box314.16(B)(5), 2020 and later
Terminal block1 per blockThe largest conductor connected to it314.16(B)(6), new in 2023
Volume per allowance by conductor size (NEC Table 314.16(B)(1))
Conductor sizeCubic inches (in³) per allowance
18 AWG1.50
16 AWG1.75
14 AWG2.00
12 AWG2.25
10 AWG2.50
8 AWG3.00
6 AWG5.00

Compare the total with the volume of the box: Table 314.16(A) for standard metal boxes, the volume marked inside for plastic boxes. Volumes of common metal boxes, and how many conductors each takes, are on the box fill chart: how many wires each metal box takes.

Box fill calculation examples

Example 1: a receptacle with two 14/2 cables

A 14/2 cable comes in and another goes on to the next outlet, in a single-gang plastic nail-on box with no internal clamps.

  • Conductors: two hots and two neutrals, 4.
  • Receptacle: 2.
  • Grounds: two of them, 1.
  • Total: 7 allowances × 2.00 in³ = 14 in³.

An 18 in³ plastic box passes with room for a pigtail splice. In a metal box with internal clamps, add one allowance: 8 × 2.00 = 16 in³, so a 3 × 2 × 3½ in. device box (18 in³, Table 314.16(A)) passes and a 3 × 2 × 2½ in. one (12.5 in³) fails. Counting only the four insulated wires gives 8 in³, about half of what the box needs.

Example 2: a switch and a receptacle in a two-gang box with three 12/2 cables

Feed in, feed out, and a switch leg to a light, in a metal box with internal clamps.

  • Conductors: 3 cables × 2 = 6.
  • Clamps: 1.
  • Devices: two yokes × 2 = 4.
  • Grounds: three of them, 1.
  • Total: 12 allowances × 2.25 in³ = 27 in³.

A 4 in. square box 1½ in. deep (21 in³, Table 314.16(A)) fails before the volume of its plaster ring is added. The 2⅛ in. deep one (30.3 in³) passes. With EMT or MC cable and connectors outside the box, the clamp allowance drops out. The pigtails that join the grounds and feed the receptacle do not count.

Example 3: 12 AWG and 14 AWG in the same box

A 20 A circuit in 12/2 is spliced through the box, and a 15 A lighting circuit in 14/2 comes in, feeds a switch and goes out to the light. Internal clamps. Each item is counted at the wire size the code assigns to it:

Box fill for two circuits in one box, 12 AWG and 14 AWG
ItemCountVolume
12 AWG conductors4 × 2.259.00 in³
14 AWG conductors4 × 2.008.00 in³
Clamps, at the largest conductor in the box (12 AWG)1 × 2.252.25 in³
Switch, at the largest conductor connected to it (14 AWG)2 × 2.004.00 in³
Four grounds, at the largest ground (12 AWG)1 × 2.252.25 in³
Total25.50 in³

A 4 in. square box 1½ in. deep (21 in³) fails. A 4 11/16 in. square box 1¼ in. deep is exactly 25.5 in³ (Table 314.16(A)) and passes with nothing to spare; a 4 in. square box 2⅛ in. deep (30.3 in³) leaves room. Counting everything at 12 AWG instead gives 12 × 2.25 = 27 in³. That shortcut never gives a smaller box than NEC 314.16(B) requires, and it is how the app's box fill calculator counts.

What does not count toward box fill, and what adds volume?

  • Not counted: pigtails, wire nuts, and cable connectors whose clamp is outside the box.
  • Not counted: an equipment ground and up to four fixture wires smaller than 14 AWG that enter from a domed fixture canopy (314.16(B)(1), exception).
  • Adds volume: plaster (mud) rings, extension rings and domed covers that are marked with their volume (314.16(A)).
  • Wide devices: a device too wide for a single 2 in. gang, such as a range receptacle, counts 2 allowances for each gang it needs (314.16(B)(4)).
  • Large wire: boxes with 4 AWG or larger conductors also have to meet the pull-box rules of 314.28.

How did the 2020 NEC change the ground-wire count?

Before the 2020 edition, all the grounds in a box shared one allowance. Since 2020 the first four share one and each further ground adds a quarter. A junction box with six 12 AWG grounds now needs 1 + ¼ + ¼ = 1.5 allowances, or 3.375 in³, where it used to need 2.25 in³. The 2023 edition then added terminal blocks as their own item. Which rule applies depends on the edition your state enforces: see NEC edition by state, or Code in Your State, free in the app.

Common box fill mistakes

  • Counting only the insulated wires and forgetting that a device is 2 allowances.
  • Counting every clamp, or every ground, separately.
  • Counting pigtails.
  • Estimating the volume from the outside of the box instead of the table or the marking.
  • Assuming a GFCI or a smart switch counts more. It is still 2 allowances, but it takes real space, so a deeper box makes it easier to close without crushing the wires.

For the conduit feeding the box, see how to calculate conduit fill.

Box fill questions

How do you calculate box fill?

To calculate box fill, count one allowance for each conductor entering the box, one for all internal clamps, one for each type of support fitting, two for each device yoke and one for up to four grounds plus a quarter for each additional ground. Multiply each by the volume for its wire size in NEC Table 314.16(B)(1) and compare the total with the box volume.

How do you calculate box fill with 12 AWG and 14 AWG in the same box?

Count each conductor at its own size, clamps at the largest conductor in the box, each device at the largest conductor connected to it and the grounds at the largest ground (NEC 314.16(B)). Two 12/2 cables spliced through and two 14/2 cables to a switch, with clamps, come to 25.5 in³. Counting everything at 12 AWG gives 27 in³, which is never too small.

How many cubic inches does a switch or receptacle count for?

A switch or receptacle counts two allowances per yoke at the size of the largest conductor connected to it (NEC 314.16(B)(4)): 4.00 cubic inches on 14 AWG and 4.50 on 12 AWG. A GFCI, a dimmer or a smart switch counts the same two allowances.

Does a 14/3 or 12/3 cable count as three wires?

Yes, a 14/3 or 12/3 cable counts as three allowances, one for each insulated conductor that enters the box (NEC 314.16(B)(1)): 6.00 in³ for 14/3 and 6.75 in³ for 12/3. Its bare ground is counted with the other grounds.

Do ground wires count in box fill?

Yes, ground wires count in box fill, but together. Up to four equipment grounds count as one allowance, and each ground over four adds a quarter of an allowance, based on the largest ground in the box (NEC 314.16(B)(5), 2020 and later editions).

Does box fill apply to plastic boxes?

Yes, box fill applies to plastic boxes. The count is the same; the volume to compare it with is the one marked inside the box by the manufacturer instead of the figure in NEC Table 314.16(A).

More guides

Written by Andrii Zhukovskyi, a software developer and the maker of Electrician Calc. He is not a licensed electrician. The numbers follow NFPA 70, National Electrical Code, 2023 edition, and are the values the app uses (methodology and sources); the code text is not reproduced. Under the 2017 NEC, Table 310.16 is Table 310.15(B)(16), 310.15(C)(1) is 310.15(B)(3)(a) and 310.12 is 310.15(B)(7). Found a mistake? Write to [email protected]. Reference only: the edition and amendments adopted where you work, the equipment listing and the manufacturer's instructions govern. NEC® and NFPA 70® are registered trademarks of the National Fire Protection Association; this site is not affiliated with or endorsed by NFPA.