Box Fill Calculator — NEC 314.16

Whether your conductors, devices and clamps fit the box — with the three counting rules that produce nearly every wrong answer: pigtails count zero, all grounds count one, each device counts two.

Inputs

Non-metallic boxes are not in the table; use the volume marked on the box.

Entering the box and terminating or passing through. 2.00 in³ each.

2.25 in³ each.

2.50 in³ each.

3.00 in³ each.

Both ends inside the box. These count ZERO — entered so you can see that.

All of them together count as one allowance.

The allowance is taken at the largest ground present.

Switches, receptacles, dimmers. Each yoke counts TWO allowances.

Internal cable clamps

One allowance total. Connectors outside the box count nothing.

One allowance each.

Separate isolated ground

An additional isolated grounding set per 250.146(D) adds one more allowance.

Results

Volume required14Σ allowances × Table 314.16(B)
Box provides
12.5
Spare
-1.5
Box used
112 %
Allowances counted
7

2 grounding conductors counted as ONE allowance of 2.00 in³, per 314.16(B)(5). Not one each — all of them together are a single volume, taken at the largest. This is where hand calculations most often come out too large.

Each device yoke counts TWO allowances, not one — 314.16(B)(4). 1 device at 2.00 in³ each costs 4.00 in³, which is usually the single largest item in a switch or receptacle box.

Clamps, devices and fittings are all charged at the largest conductor in the box — 14 AWG here, 2.00 in³. A single larger conductor therefore raises the cost of every one of those items, not just its own line.

3 × 2 × 2½″ device has a free volume of 12.5 in³ from Table 314.16(A). If a plaster ring or extension is fitted, its marked volume adds to this.

This box is too small. 14.00 in³ is required and it holds 12.50 in³ — 1.50 in³ over. Use a deeper box, a larger one, or an approved extension ring.

Diagram

Box fill against box capacity14.00 cubic inches required in a box of 12.50 — 1.50 over.Does not fit+1.5014.00 in³box holds 12.5 in³112% used · 1.50 in³ over7 allowances counted

Worked examples

Switch box — two 14/2 cables, one switch

The most common box in a house, and it does not fit a 3 × 2 × 2½.

16.00 in³ required against 12.50 available — 3.50 in³ over

The same box, 3½″ deep

One size deeper and it fits with room to spare.

16.00 in³ against 18.00 — 2.00 in³ spare

Junction of three 12/2 cables

No device, just splices. A 4″ square × 1½″ takes it exactly.

18.00 in³ against 21.00 — the grounds cost one allowance, not three

With pigtails counted properly

Four pigtails to the device. Watch the total not move — 314.16(B)(1) excludes them.

Pigtails add nothing; the device yoke adds 4.50 in³

Two-gang with a 10 AWG feed through

One larger conductor raises the allowance for every device and clamp.

Devices and clamps charged at 2.50 in³ because of the 10 AWG present

Reviewed by Salamot Hok, electrician with 10+ years · Last reviewed 17 August 2026

Engineering guidance, not a code sign-off. Verify against the governing standard before relying on this result for safety-critical or code-compliance work.

The arithmetic is addition. The rules are the hard part

When to use this: deciding what box to buy, checking whether an existing box can take another cable, or working out why a device will not push back into the wall.

Every conductor, clamp and device in a box is assigned a volume from Table 314.16(B), and the total must fit the box. Nobody gets the addition wrong. Three counting rules produce nearly every wrong answer:

  1. Pigtails count zero. A conductor that both originates and terminates inside the box adds nothing — 314.16(B)(1).
  2. All grounds count one, together. Not one each. Six grounds are a single allowance — 314.16(B)(5).
  3. Each device counts two. A yoke or strap is two allowances, not one — 314.16(B)(4).

The first two make people buy boxes larger than they need. The third makes them buy boxes too small. They do not cancel out.

A worked example — the most common box in a house

Two 14/2 NM cables into a device box, feeding one switch, with internal clamps:

ItemCountAllowancesEachVolumeRule
14 AWG conductors442.008.00 in³314.16(B)(1)
Internal cable clamps112.002.00 in³314.16(B)(2)
Devices on a yoke122.004.00 in³314.16(B)(4) — 2 each
Equipment grounding conductors (2)212.002.00 in³314.16(B)(5) — 1 total
Total required16.00 in³

A 3 × 2 × 2½″ device box holds 12.5 in³. This arrangement needs 16.00, so it does not fit — by 3.50 in³. The 3½″ deep box at 18 in³ does, with 2.00 in³ spare.

That surprises people, because the 2½″ box is everywhere. It is a perfectly legal box — just not for four conductors, a ground, clamps and a switch.

What the common mis-count gives

Count the two grounds separately and the device as one allowance instead of two, and you get 24.00 in³. That is only 8.00 in³ away from the right answer here — close enough to look plausible and wrong in a way that varies with the box. On a two-gang box with four grounds the same errors diverge much further.

Table 314.16(B) — volume per conductor

Conductor sizeVolume allowance
18 AWG1.50 in³
16 AWG1.75 in³
14 AWG2.00 in³
12 AWG2.25 in³
10 AWG2.50 in³
8 AWG3.00 in³
6 AWG5.00 in³

The largest conductor in the box sets the price of everything else. Clamps, device yokes and support fittings are all charged at the largest conductor present, not at their own size. Running a single 10 AWG through a box of 14 AWG lifts every one of those allowances from 2.00 to 2.50 in³ — with two devices and clamps, an extra 2.50 in³ on top of the conductor itself.

Table 314.16(A) — box volumes

Metal boxes only. Non-metallic boxes are required to be marked with their volume and that marking governs — read the number moulded into the box rather than measuring it.

TypeBoxVolumeMax 14 AWGMax 12 AWG
Round / octagonal4″ round/octagonal × 1¼″12.5 in³65
Round / octagonal4″ round/octagonal × 1½″15.5 in³76
Round / octagonal4″ round/octagonal × 2⅛″21.5 in³109
Square4″ square × 1¼″18.0 in³98
Square4″ square × 1½″21.0 in³109
Square4″ square × 2⅛″30.3 in³1513
Square4-11/16″ square × 1¼″25.5 in³1211
Square4-11/16″ square × 1½″29.5 in³1413
Square4-11/16″ square × 2⅛″42.0 in³2118
Device3 × 2 × 1½″ device7.5 in³33
Device3 × 2 × 2″ device10.0 in³54
Device3 × 2 × 2¼″ device10.5 in³54
Device3 × 2 × 2½″ device12.5 in³65
Device3 × 2 × 2¾″ device14.0 in³76
Device3 × 2 × 3½″ device18.0 in³98
Device4 × 2⅛ × 1½″ device10.3 in³54
Device4 × 2⅛ × 1⅞″ device13.0 in³65
Device4 × 2⅛ × 2⅛″ device14.5 in³76
Masonry gang3¾ × 2 × 2½″ masonry gang14.0 in³76
Masonry gang3¾ × 2 × 3½″ masonry gang21.0 in³109

The last two columns are the numbers everybody remembers — and they assume the box contains nothing else at all. A 4″ square × 1½″ takes 9 bare 12 AWG conductors; add a device, the grounds and clamps and it realistically holds six.

The rules in full

314.16(B)(1) — conductor fill

One allowance for each conductor that originates outside the box and terminates or is spliced inside. One for each conductor passing through unbroken. Zero for a conductor with both ends inside the box. Fixture wires smaller than 14 AWG entering from a domed luminaire canopy are also excluded, up to four of them.

314.16(B)(2) — clamp fill

One allowance in total where one or more internal cable clamps are present, at the largest conductor in the box. Clamps or connectors on the outside count nothing — which is the normal arrangement for NM cable into a metal box, and a common source of unnecessary volume in hand calculations.

314.16(B)(3) — support fittings

One allowance for each luminaire stud or hickey, at the largest conductor present.

314.16(B)(4) — device fill

Two allowances for each yoke or strap containing one or more devices, at the largest conductor connected to that yoke. In a device box this is usually the single largest item on the list. A device wider than a single 2-inch gang counts two allowances for each gang it occupies.

314.16(B)(5) — grounding conductor fill

One allowance for all of them, at the largest. Where an additional set of isolated grounding conductors is present under 250.146(D), that set gets one more allowance — the only circumstance in which grounds are counted twice.

When it does not fit

In order of cost:

  • Add an extension or plaster ring. They are marked with their own volume, which adds to the box. This fixes most calculations that come up two or three cubic inches short, and it is why a box that fails on paper may be compliant as actually installed.
  • Use a deeper box of the same footprint. A 3 × 2 device box goes from 7.5 in³ at 1½″ to 18 in³ at 3½″ for the same wall opening.
  • Move the splices. Put the through-conductors and joints in a separate accessible junction box and run a single cable to the device.

Box fill is a minimum, not a target. A box filled to 98% is legal, unpleasant to work in, and leaves nothing for the next change. Crowded conductors are also how insulation gets damaged when a device is pushed back into the wall — which is the failure the rule exists to prevent.

Conduit bodies are different

314.16(C) handles them separately. A conduit body enclosing 6 AWG or smaller must have a cross-sectional area at least twice that of the largest conduit entering it. Where it contains splices or devices it must be durably marked with its volume and then calculated like a box. A conduit body with no splices, only unbroken conductors passing through, has no fill calculation at all.

For the raceway feeding the box, our conduit fill calculator works to NEC Chapter 9, and ground wire size covers the equipment grounding conductor that costs you one allowance here however many of them arrive.

How to use this calculator

  1. Pick the box

    Metal boxes are in Table 314.16(A). Non-metallic boxes are required to be marked with their volume — use that number, and add any plaster ring or extension marked with its own.

  2. Count conductors entering the box

    Every conductor that comes in and terminates, and every conductor that passes through without a splice, counts one. A conductor that both starts and ends inside the box counts zero.

  3. Count the grounds together

    All equipment grounding conductors in the box are a single allowance, taken at the largest of them. Six grounds count once.

  4. Count each device as two

    Each yoke or strap holding one or more devices counts two allowances at the largest conductor connected to it. This is usually the biggest single item in a device box.

  5. Add clamps and fittings

    Internal cable clamps count one allowance in total. Each luminaire stud or hickey counts one. Connectors on the outside of the box count nothing.

Frequently asked questions

How do I calculate box fill?

Add up the volume allowances from NEC Table 314.16(B) — 2.00 in³ for 14 AWG, 2.25 for 12 AWG, 2.50 for 10 AWG — for every conductor entering the box, plus one allowance for all the grounds together, one for internal clamps, one for each luminaire stud, and two for each device yoke. Compare the total to the box volume from Table 314.16(A) or the marking on a non-metallic box.

Do pigtails count in box fill?

No. NEC 314.16(B)(1) counts only conductors that originate outside the box and terminate or are spliced within it, plus those passing through. A conductor that both begins and ends inside the box — the standard ground or neutral pigtail to a receptacle — adds nothing. Counting them is the single most common error in box fill, and it always makes you buy a bigger box than the code requires.

How many grounding conductors count?

One, in total, no matter how many there are. 314.16(B)(5) treats all equipment grounding conductors in a box as a single volume allowance based on the largest of them. Four 12 AWG grounds twisted under one wirenut are 2.25 in³, not 9.00. A separate isolated grounding set under 250.146(D) adds one more allowance, and that is the only case where you count grounds twice.

How many wires can I put in a 4 inch square box?

A 4″ square × 1½″ box is 21.0 in³, so ten 14 AWG or nine 12 AWG conductors — but only if it contains literally nothing else. Add a device yoke, the grounds and internal clamps and a 12 AWG box realistically holds six conductors. The bare number is the one people remember and then misapply.

Why does one big conductor make everything else cost more?

Because clamps, devices and support fittings are all charged at the largest conductor in the box, not at their own size. Running a single 10 AWG through a box of 14 AWG lifts every clamp and yoke allowance from 2.00 to 2.50 in³. With two devices and clamps that is an extra 1.50 in³ on top of the conductor itself.

Do cable clamps count in box fill?

Internal clamps count one allowance in total, however many are present, at the largest conductor in the box — 314.16(B)(2). Clamps or connectors on the outside of the box count nothing. This distinction matters with metal boxes, where an external NM connector is common and adds no fill at all.

Does a plaster ring add volume?

Yes, if it is marked with its volume — which they are required to be. A plaster ring or extension ring adds its marked cubic inches to the box. This is often the cheapest way to fix a box that comes out a couple of cubic inches short, and it is why a device box that fails on paper may be fine as actually installed.

What is the minimum box size for a receptacle?

With two 14/2 cables, one receptacle and internal clamps you need 16.00 in³, so a 3 × 2 × 3½″ device box at 18.0 in³ or a 4″ square. The very common 3 × 2 × 2½″ box at 12.5 in³ does not fit that arrangement, which surprises people — it is a legal box, just not for that many conductors and a device.

Does box fill apply to conduit bodies?

Separately, under 314.16(C). A conduit body enclosing 6 AWG or smaller must have a cross-sectional area at least twice that of the largest conduit entering it, and where it contains splices it must be durably marked with its volume and then calculated like a box. Conduit bodies with no splices and only unbroken conductors passing through have no fill calculation at all.

What happens if the box is too small?

It is a code violation and a real hazard: crowded conductors damage insulation when the device is pushed back, and the heat has nowhere to go. The fixes, cheapest first, are an extension or plaster ring with a marked volume, a deeper box of the same footprint, or moving splices to a separate junction box.

Sources and further reading

How this calculator is checked

Salamot Hok, Technical reviewer

Technical reviewer

Electrician · 10+ years of installation work in Bangladesh and the wider South Asian region

He reads the result the way an installer would: are the defaults values people actually meet, does the warning fire where you would stop and think, and is the answer something you could buy and fit? The code figures themselves come from the published standards cited below, not from him — that boundary is set out on his profile.

  • The maths lives in a pure function with its own test suite, asserted against worked examples from published references and standards. A calculator does not ship until those tests pass.
  • 2 sources cited by name and linked, so any figure on the page can be traced back to the document it came from.
  • Last reviewed . Review dates are advanced only when the page is actually re-read, never to look fresh.
  • Unusable input returns no answer. Where the inputs do not describe a real design, the calculator says so and withholds the number rather than printing a plausible-looking wrong one.

Related calculators