Box Fill Calculation Explained (NEC 314.16)

NEC 314.16 · Box fill · Updated 2026-08-07

Box fill is the NEC 314.16 math that decides whether an outlet box is big enough for everything inside it. Every insulated conductor, device, ground, and clamp consumes a set volume allowance in cubic inches, and the total can never exceed the marked volume of the box. Overfilled boxes are one of the most common rough-in inspection failures, and they are a genuine safety problem: crowded conductors get nicked, splices get stressed, and heat has nowhere to go.

This guide gives you the full allowance chart, the exact counting rules, and three worked examples with every step of the arithmetic shown, so you can size any box before you pull wire. The same counting mindset pairs with the conduit fill chart for raceway sizing and the wire size chart for choosing the conductors in the first place.

What box fill means and why it fails inspections

NEC 314.16 treats every outlet box, device box, and junction box as a fixed volume in cubic inches. Everything that lives inside the box - the insulated circuit conductors, the devices mounted to it, the equipment grounding conductors, and any internal cable clamps - is assigned a volume allowance based on the size of the conductor involved. Add up the allowances, compare the total to the box volume, and you have your answer. If the total exceeds the volume, the box is overfilled and you need a bigger box, an extension ring, or fewer conductors.

The box volume comes from the manufacturer. On most steel boxes it is stamped into the metal, on nonmetallic boxes it is molded inside, and standard metal box sizes are tabulated in NEC 314.16 itself. A plaster ring or extension ring marked with a volume adds to the total. What box fill is not: a judgment call about how many wires physically fit. A box that closes with some effort can still fail the calculation, and inspectors check the math, not the squeeze.

Volume allowances per conductor size

Each conductor size carries a fixed allowance in cubic inches. These numbers come straight from NEC 314.16, and every count in this guide is built on them.

NEC 314.16 volume allowance per conductor
Conductor sizeVolume allowance
14 AWG2.0 cu in
12 AWG2.25 cu in
10 AWG2.5 cu in
8 AWG3.0 cu in
6 AWG5.0 cu in

Notice the jump at 8 AWG and 6 AWG. Larger conductors take dramatically more room, which is why a junction box that comfortably handled 12 AWG branch circuits can be badly undersized the moment 6 AWG conductors pass through it. If you are also sizing conductors for load, the wire size chart covers that side of the job, and conduit derating covers what happens when many of them share a raceway.

The counting rules

The allowance chart is only half the system. The other half is knowing how many allowances each item in the box consumes, and at which conductor size. NEC 314.16 assigns them like this:

What counts toward box fill under NEC 314.16
ItemAllowancesCounted at
Each insulated conductor entering or leaving the box1 eachIts own conductor size
Each device or yoke (switch, receptacle)2Largest conductor connected to that device
All equipment grounding conductors combined1 totalLargest grounding conductor in the box
One or more internal cable clamps1 totalLargest conductor in the box

A few clarifications keep the count honest. A conductor that passes through the box without a splice still counts - there is no free pass for through-wires. Pigtails that originate and terminate inside the box are not counted, because they never enter or leave. Wire connectors, locknuts, and bushings take no allowance at all. And no matter how many equipment grounds land in the box, they count once, together, at the size of the largest ground. Sizing those grounds correctly is its own topic, covered in the ground wire size chart.

Worked example 1: a receptacle fed through a single-gang box

Start with the most common residential case: one 12/2 cable feeds the box, a second 12/2 cable continues on to the next receptacle, the box has internal cable clamps, and one receptacle mounts to it. Every conductor here is 12 AWG, so every allowance is worth 2.25 cubic inches.

  1. Count the insulated circuit conductors: Two cables with two insulated conductors each means 4 conductors entering or leaving. 4 x 2.25 = 9.00 cubic inches.
  2. Add the device: The receptacle yoke counts as 2 allowances at 12 AWG, the largest conductor connected to it. 2 x 2.25 = 4.50 cubic inches.
  3. Add the grounds: Both bare grounds together count as 1 allowance at 12 AWG: 2.25 cubic inches.
  4. Add the clamps: The internal cable clamps count as 1 allowance at 12 AWG: 2.25 cubic inches.

Total: 9.00 + 4.50 + 2.25 + 2.25 = 18.00 cubic inches. A single-gang box stamped 18.0 cubic inches passes exactly, with zero margin, and anything smaller fails. That is precisely why shallow device boxes marked 14.0 or 16.0 cubic inches cannot hold a feed-through receptacle on 12/2 cable with internal clamps. When the numbers land this close, most electricians step up a size anyway - the calculation is a floor, not a target.

Worked example 2: mixed 12 AWG and 14 AWG in a two-gang box

Mixed conductor sizes are where field counts usually go wrong. Say a two-gang box holds a receptacle on a 20 A circuit wired with 12/2 in and 12/2 out, plus a switch on a 15 A lighting circuit wired with 14/2 in and 14/2 out, with internal clamps. Each conductor is counted at its own size, and the shared items - the grounds and the clamps - are counted at the largest relevant conductor in the box.

Worked tally: two-gang box with 12 AWG and 14 AWG
ItemAllowancesMathCubic inches
12 AWG insulated conductors44 x 2.259.00
14 AWG insulated conductors44 x 2.08.00
Receptacle yoke (12 AWG connected)22 x 2.254.50
Switch yoke (14 AWG connected)22 x 2.04.00
All grounds (largest is 12 AWG)11 x 2.252.25
Internal clamps (largest is 12 AWG)11 x 2.252.25
Total30.00

You need a two-gang box with at least 30.0 cubic inches of marked volume. Check the stamp before assuming any particular box qualifies - two-gang boxes vary widely, and a plaster ring with a marked volume can add the few cubic inches that make the difference between passing and failing.

Worked example 3: a ceiling box with no device

Not every box has a yoke. A ceiling junction box with two 14/2 cables spliced through and internal clamps counts like this: 4 insulated conductors x 2.0 = 8.00, all grounds together = 2.00, clamps = 2.00, for a total of 12.00 cubic inches. No device means no yoke allowance, which is why plain splice boxes pass easily while the same box with a switch added can suddenly fail - one 14 AWG device instantly adds 4.00 cubic inches to the requirement.

How many conductors actually fit

Divide the marked box volume by the allowance for your conductor size and you get the number of allowances the box supports - allowances, not conductors, because devices, grounds, and clamps each consume some of them. The table below runs that division for a few common stamped volumes. Always round down; a fraction of an allowance is not an allowance.

Allowances that fit, computed as marked volume divided by allowance, rounded down
Marked box volume14 AWG allowances (vol / 2.0)12 AWG allowances (vol / 2.25)
18.0 cu in98
20.3 cu in109
21.0 cu in109
30.3 cu in1513

Translate allowances into real capacity with a quick mental subtraction: a device takes 2, all grounds take 1, clamps take 1. In an 18.0 cubic inch box wired entirely in 12 AWG, that is 8 allowances minus 4 of overhead, leaving just 4 insulated circuit conductors - exactly the two-cables-and-a-receptacle scenario from example 1. Once those conductors leave the box for a raceway, the conduit fill chart takes over the counting.

Common mistakes that blow the count

  • Counting the device as one. Every switch or receptacle yoke is 2 allowances at the largest conductor connected to it, not 1.
  • Counting every ground separately. All equipment grounding conductors together take a single allowance at the largest ground present.
  • Forgetting the clamps. One or more internal cable clamps take 1 allowance at the largest conductor in the box. Fittings that clamp the cable outside the box are a different situation - when in doubt, count it or ask your inspector.
  • Ignoring pass-through conductors. A conductor spliced nowhere in the box still counts once it enters and leaves.
  • Counting pigtails. Pigtails made up entirely inside the box take no allowance - only conductors that enter or leave the box count.
  • Using the wrong size for shared items. Grounds, clamps, and devices count at the largest relevant conductor, so a single 12 AWG conductor landing in a mostly 14 AWG box raises the clamp allowance, and the allowance of any device it connects to, to 2.25 each.
  • Trusting the fit. If the cover closes, that proves nothing. The calculation, not the cover screw, decides.

Field technique: size the box before rough-in

  1. Read the marked volume: Find the stamped or molded cubic inch marking on the box, and add the marked volume of any plaster ring or extension ring. For standard metal boxes without a marking, the volumes tabulated in NEC 314.16 apply.
  2. Count insulated conductors by size: Tally every insulated conductor entering or leaving the box, each at its own allowance. Pass-throughs count; pigtails do not.
  3. Add the overhead: Add 2 allowances per yoke at the largest conductor on that device, 1 allowance for all grounds at the largest ground, and 1 allowance for internal clamps at the largest conductor in the box.
  4. Multiply, sum, and compare: Convert every allowance to cubic inches, add them up, and compare the total to the marked volume. If the total exceeds the box, go bigger - a deeper box or an extension ring is far cheaper than a failed inspection.

Do the count in seconds, right at the box. Conduit Fill & Bending Calc by Panda Taps includes a box fill calculator built on the NEC 314.16 allowances: pick your box volume, add conductors, devices, grounds, and clamps, and it totals the cubic inches instantly. The same app handles conduit fill, bend marking, voltage drop, and ampacity with derating, works fully offline, and needs no account - built for the field, on iPhone and iPad. Download Conduit Fill & Bending Calc on the App Store.

Frequently asked questions

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

An 18.0 cubic inch box provides 8 allowances at 12 AWG, since 18.0 divided by 2.25 is 8. A device consumes 2 of those, all grounds together consume 1, and internal clamps consume 1, which leaves room for 4 insulated circuit conductors in a typical clamped device box with a receptacle.

Do ground wires count in box fill?

Yes, but all equipment grounding conductors in the box count together as a single allowance, taken at the size of the largest ground present. Ten grounds spliced in one box still add only one allowance.

Do wire nuts and pigtails count toward box fill?

No. Wire connectors take no allowance, and pigtails that begin and end inside the box are not counted because they never enter or leave it. Only conductors entering or leaving the box, plus the device, ground, and clamp allowances, go into the total.

Where do I find the volume of a box?

Manufacturers stamp the volume into steel boxes and mold it into nonmetallic ones, usually on the inside back wall. Standard metal box volumes are also listed in NEC 314.16, and a marked plaster ring or extension ring adds its volume to the total.

Keep reading