Box Fill Calculator (NEC 314.16)

Enter what is going into the box — conductor sizes and counts, devices on yokes, internal clamps, support fittings and grounding conductors — and this calculator totals the cubic inches required under NEC 314.16(B) and compares them with the box's marked volume. It applies each rule the way the code writes it: one allowance for all clamps together, one for all equipment grounding conductors together, and a double allowance for every yoke. Pigtails that start and finish inside the box are correctly counted as nothing.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Conductor size, group 1The size of the largest group of conductors entering the box.14 AWG
How many of that sizeCount every conductor that originates outside and is spliced or terminated inside, plus any that pass through unbroken.4
Conductor size, group 2A second conductor size if the box has mixed sizes; leave the count at zero if not.12 AWG
How many of that sizeSet to zero when every conductor in the box is the same size.0
Number of yokes or strapsCount mounting straps, not devices: one strap carrying two stacked receptacles counts once.1
Largest conductor on a yokeThe device allowance is twice this conductor's volume allowance, per NEC 314.16(B)(4).14 AWG
Internal cable clamps presentTick only for clamps inside the box; connectors that clamp outside the box take no allowance.Yes
Luminaire studs or hickeysEach support fitting takes one allowance based on the largest conductor in the box.0
Largest equipment grounding conductorAll grounding conductors together take a single allowance based on the largest one.14 AWG
Separate isolated grounding conductors also presentAn additional isolated grounding system in the same box takes a second single allowance.No
Box volumeRead the volume marked on the box, or take it from NEC Table 314.16(A) for a standard box.18 in³

It returns

  • Required box volume — Total of every allowance in NEC 314.16(B).
  • Volume available
  • Spare volume
  • Box volume used
  • Further conductors of the largest size that fit

The formula

Vreq=knkak+aclamp+2ayoke+aEGC
a14=2.00a12=2.25a10=2.50

In plain text: V_required = Σ(n × allowance) + clamp + fittings + 2 × allowance per yoke + EGC allowance

  • n_kNumber of conductors of size k entering the box (count)
  • a_kVolume allowance for size k from NEC Table 314.16(B) (in³)
  • a_clampOne allowance for all internal clamps, based on the largest conductor present (in³)
  • a_yokeAllowance for the largest conductor on the yoke; each yoke takes twice this (in³)
  • a_EGCOne allowance for all equipment grounding conductors, based on the largest (in³)

The required volume must not exceed the box volume from NEC Table 314.16(A), or the volume marked on the box by its manufacturer. Conductors that originate and terminate inside the box are not counted.

Updated Category NEC Conductors, Raceway & Grounding Verified against published test cases Reading time 11 min

What box fill is and why the code cares

Box fill is a volume budget. Every conductor, device and clamp inside an outlet box takes up space and, more to the point, gets in the way of the space that insulation needs to avoid damage. NEC 314.16 assigns each item a cubic-inch allowance and requires the total to fit inside the box's actual volume. It is not a count of wires — it is an arithmetic comparison in cubic inches, and the same box holds a different number of 14 AWG and 12 AWG conductors for exactly that reason.

The failure mode the rule prevents is mechanical. Forcing conductors into a crowded box abrades and nicks insulation on the box edges and on device screws, and it puts strain on splices as the device is pushed home. Those faults do not show up at inspection; they show up years later as an arc fault behind a wall plate. A crowded box also traps heat, and it makes any future work on the circuit destructive.

The allowances scale with conductor size but not with cross-section — 14 AWG gets 2.00 in³ and 12 AWG gets 2.25 in³, a 12.5% step, while the copper area rises 59%. That is deliberate: the allowance is about the bending space and stiffness of the insulated conductor, not about the metal. A 6 AWG conductor takes 5.00 in³, two and a half times a 14 AWG conductor, because it is far harder to bend into a corner.

Box fill is a separate constraint from conduit fill, which limits cross-sectional area in a raceway, and from ampacity derating, which limits current when conductors are bundled. A box can pass fill and still fail derating, or vice versa; you have to check all three.

The five counting rules, and the two that people get wrong

Conductors. Each conductor that originates outside the box and is spliced or terminated inside counts once. A conductor that passes through the box without a splice also counts once. A conductor that both begins and ends inside the box — a pigtail from a wire nut to a device screw, a jumper between two receptacles — counts zero. That is the first rule people get wrong, usually by counting the pigtails and buying a bigger box than they need.

Clamps. Where one or more internal cable clamps are present, add one allowance in total, based on the largest conductor in the box. Not one per clamp. And connectors whose clamping mechanism sits outside the box — the common NM connector that screws into a knockout — take no allowance at all.

Support fittings. Each luminaire stud or hickey inside the box takes one allowance based on the largest conductor present.

Devices. Each yoke or strap supporting one or more devices takes a double allowance based on the largest conductor connected to that yoke. The unit is the yoke, not the device: a single strap holding two stacked receptacles takes one double allowance, while two separate straps in a two-gang box take two. That is the second rule people get wrong. Note also that later code editions add further allowances for devices wider than a single gang, so check 314.16(B)(4) in the edition your jurisdiction has adopted if you are installing an oversized device.

Equipment grounding conductors. All of them together take one allowance, based on the largest. Four grounds and a pigtail joined under one wire nut is a single 2.00 in³ entry for 14 AWG. Where a separate isolated grounding system is present in the same box, it takes a second single allowance.

Worked example: a receptacle box with two cables

A 3 in × 2 in × 3½ in device box, marked 18.0 in³, receives two 14/2 with ground NM cables through internal clamps. One duplex receptacle sits on a single yoke. The two grounds are joined with a pigtail to the receptacle's green screw.

  1. Conductors entering. Each 14/2 cable brings a hot and a neutral, so four insulated conductors originate outside and terminate inside. At 2.00 in³ each that is 4 × 2.00 = 8.00 in³.
  2. Clamps. Internal clamps are present, so add one allowance at the largest conductor size: 2.00 in³. Two clamps still count once.
  3. Device. One yoke, largest conductor on it 14 AWG, double allowance: 2 × 2.00 = 4.00 in³.
  4. Grounds. Both bare grounds together take a single 14 AWG allowance: 2.00 in³. The pigtail begins and ends inside the box and adds nothing.
  5. Total. 8.00 + 2.00 + 4.00 + 2.00 = 16.00 in³.
  6. Compare. 18.0 − 16.00 = 2.00 in³ spare, so the box passes at 88.9% utilisation. Since one more 14 AWG conductor takes 2.00 in³, exactly one more could be added — and nothing beyond that.

Change the cables to 12/2 and every allowance moves to 2.25 in³: 4 × 2.25 = 9.00, plus 2.25 clamps, plus 4.50 device, plus 2.25 grounds = 18.00 in³. That exactly fills the 18.0 in³ box, leaving no room for the switch leg you may want to add later. Add a third 12/2 cable and the fill becomes 6 × 2.25 + 2.25 + 4.50 + 2.25 = 22.50 in³, which needs at least a 21 in³ four-inch square box with a raised ring, or a deeper device box.

Note what the third cable did: it added two conductors at 2.25 in³ each, 4.50 in³, and nothing else. The clamp and ground allowances do not change with more cables, and the device allowance does not change at all. That is why the marginal cost of the second cable into a box is much lower than the cost of the first.

Reading the result and fixing an over-filled box

If the box fails, look at which line of the worksheet is largest before you reach for a bigger box. In a typical device box the yoke allowance and the conductor total are close in size, and the clamp and ground entries are small. That points at the cheapest fixes in order: eliminate a splice by moving it to another box, replace internal clamps with external connectors to recover one allowance, or fit a box extension ring, which adds its marked volume directly to the total available.

Watch the utilisation figure as well as the pass or fail. A box at 100.0% is compliant and unforgiving — any future change, including a device swap to a larger yoke, breaks it. Leaving one conductor's worth of spare volume is the practical target, and the calculator reports exactly how many more conductors of the largest size still fit.

Where the box is not a listed standard size, its volume must be marked on it by the manufacturer, and that marked volume is what you use. Table 314.16(A) covers standard metal boxes; plaster rings, extension rings and non-metallic boxes carry their own markings, and the volumes of assembled parts add. Do not compute a box's volume from its outside dimensions — wall thickness, corner radii and internal features make the geometric figure optimistic.

Finally, remember that fitting is not the only requirement. NEC 314.16 says nothing about how much free conductor length must be left — that is 300.14, which requires at least 6 inches of free conductor from where it enters the box, and at least 3 inches outside the opening. A box that passes fill but leaves 2 inches of wire is still wrong, and the practical consequence is the same: a splice that cannot be worked on.

NEC Table 314.16(B) volume allowances

Volume required per conductor by size, from NEC 2023 Table 314.16(B). The same allowance is used for the clamp, support-fitting and grounding entries, sized on the largest conductor concerned, and doubled for each device yoke.
Conductor sizeAllowance per conductor (in³)Allowance (cm³)Double allowance for one yoke (in³)
18 AWG1.5024.63.00
16 AWG1.7528.73.50
14 AWG2.0032.84.00
12 AWG2.2536.94.50
10 AWG2.5041.05.00
8 AWG3.0049.26.00
6 AWG5.0081.910.00

Metric equivalents are the cubic-inch figures converted at 16.387 cm³ per in³ and rounded to one decimal. Conductors 4 AWG and larger are outside the scope of 314.16 and are handled by 314.28.

Volumes of common standard boxes

Representative volumes from NEC Table 314.16(A). Always use the volume marked on the box you actually have; non-standard and non-metallic boxes are required to be marked and may differ from these.
BoxVolume (in³)14 AWG conductors it holds alone
3 × 2 × 2 in device box10.05
3 × 2 × 2½ in device box12.56
3 × 2 × 3½ in device box18.09
4 in square × 1¼ in18.09
4 in square × 1½ in21.010
4 in square × 2⅛ in30.315
4 in octagonal × 1½ in21.510
4¹¹⁄₁₆ in square × 2⅛ in42.021

The last column is the box volume divided by 2.00 in³ and rounded down, with no devices, clamps or grounds — a theoretical maximum, not a design target.

The mistakes that fail an inspection

  • Counting pigtails. A conductor that begins and ends inside the box takes no allowance. Counting them inflates the fill and can send you to a larger box for no reason.
  • Counting each clamp separately. All internal clamps together take one allowance. External connectors take none.
  • Counting devices instead of yokes. The double allowance is per yoke or strap. Two devices on one strap is one double allowance; two straps is two.
  • Counting each ground wire. All equipment grounding conductors together take one allowance based on the largest. Only a separate isolated grounding system earns a second.
  • Using the wrong conductor size for the clamp and device entries. Those allowances are sized on the largest conductor concerned, not on the most common one. One 12 AWG conductor in a box of 14 AWG raises the clamp allowance to 2.25 in³.
  • Computing box volume from outside dimensions. Use the marked volume or Table 314.16(A). Wall thickness and internal features make a geometric estimate too generous.
  • Forgetting the extension ring. A plaster ring or extension adds its own marked volume to the total, which is often the cheapest way to pass.
  • Ignoring 300.14. At least 6 inches of free conductor must be left, measured from where it enters the box, with at least 3 inches outside the opening. Box fill and free length are separate requirements.

Where box fill sits among the other enclosure rules

NEC 314.16 governs boxes of 100 in³ or less containing conductors of 6 AWG and smaller. Step outside either limit and a different rule applies. Enclosures containing conductors 4 AWG or larger are sized by 314.28, which is a geometric rule about pulling and bending space rather than a volume budget: straight pulls need eight times the largest raceway's trade size, and angle or U pulls need six times plus the sum of the other raceways. Larger enclosures follow the same section.

Two related sections come up constantly on the same job. NEC 314.27 covers the boxes permitted to support luminaires and ceiling fans, including the weight limits and the listing requirements for fan-rated boxes. NEC 314.29 requires that boxes remain accessible without removing part of the building, which is the rule that forbids burying a junction box behind drywall no matter how good the fill calculation was.

The rest of the wiring calculation runs alongside this one. Conductors bundled through the box and onward in a raceway may need ampacity derating; the raceway itself has to satisfy conduit fill; and the grounding conductor entering the box has to be sized under 250.122, which the equipment grounding conductor calculator covers. None of these substitutes for another.

One practical habit is worth more than any of the arithmetic: size boxes for the circuit you will have, not the circuit you are installing. A device box at exactly 100% fill today fails the moment someone adds a switch leg, a smart device with a larger yoke, or a second cable. The one-conductor margin costs nothing at rough-in and is expensive to retrofit.

Frequently asked questions

Do pigtails count towards box fill?

No. A conductor that both originates and terminates inside the box — a pigtail from a wire nut to a device screw, or a jumper between two devices — takes no volume allowance under NEC 314.16(B)(1). Only conductors that come from outside the box are counted, which is why joining four grounds to one pigtail is still a single grounding allowance.

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

Eight, if there is nothing else in the box: 18.0 ÷ 2.25 = 8. Add one receptacle on a yoke (4.50 in³), internal clamps (2.25 in³) and a set of grounds (2.25 in³) and only 9.00 in³ remains, which is four conductors. That is the whole point of doing the arithmetic rather than counting wires.

Does a duplex receptacle count as one device or two?

One. The allowance is per yoke or strap, and a duplex receptacle is a single yoke however many outlets it has. Two devices stacked on one strap also count once. Two separate straps in a two-gang box count twice, each at double the allowance of the largest conductor connected to that particular strap.

Do cable clamps always add volume?

Only clamps inside the box. NEC 314.16(B)(2) requires a single allowance where one or more internal clamps are present, sized on the largest conductor in the box. Connectors whose clamping mechanism is outside the box — the usual NM connector threaded into a knockout — take no allowance, which is one way to recover space in a marginal box.

How do I count the ground wires?

All equipment grounding conductors in the box together take one allowance, based on the largest of them. It does not matter whether there are two or six. A second single allowance is added only when a separate isolated grounding system, run under 250.146(D), is also present in the same box.

Where do I find the box volume?

On the box. Non-standard and non-metallic boxes are required to be durably marked with their volume, and that marked figure governs. Standard metal boxes are listed in NEC Table 314.16(A). Volumes of assembled parts add, so a plaster ring or extension ring contributes its own marked volume on top of the box's.

What if I have 4 AWG conductors in the box?

Then 314.16 does not apply. Enclosures containing conductors 4 AWG and larger are sized under NEC 314.28, which sets minimum dimensions based on raceway trade sizes and the pulling geometry rather than on a cubic-inch total — eight times the largest raceway for a straight pull, six times plus the others for an angle pull.

Can I add an extension ring instead of replacing the box?

Yes, and it is usually the cheapest fix. A listed extension ring or plaster ring adds its marked volume directly to the available total, so a 3.0 in³ ring turns an 18.0 in³ box into 21.0 in³. The ring must be listed for the purpose and installed so that the assembly remains accessible under 314.29.

References

  • NFPA 70, National Electrical Code, 2023 edition — Article 314 — National Fire Protection Association
  • NFPA 70 Handbook, 2023 edition — National Fire Protection Association
  • NFPA 70, National Electrical Code, 2023 edition — 300.14 free conductor length — National Fire Protection Association