Skip to content
Construction

Electrical Box Fill Calculator (NEC 314.16)

Enter the number and size of conductors, devices, internal clamps, support fittings, and grounding conductors. The calculator sums every volume allowance defined in NEC Table 314.16(B) and tells you the minimum box volume required for a code-compliant installation. Switch between cubic inches and cubic centimeters at any time.

Your details

Use the largest wire gauge entering the box. Devices, clamps, and fittings are counted at the volume of the largest conductor in the box per NEC 314.16(B).
Count each unbroken wire that passes through or terminates in the box. Do not count pigtails (short wires that start and end inside the box). Count looped conductors with 6-inch or longer free length as two conductors.
wires
Count each device yoke (switch, receptacle, GFCI, etc.) mounted in the box. Each single-gang yoke counts as 2 conductor volumes using the largest wire that terminates on it.
yokes
If the box has built-in cable clamps inside the box body, count ONE volume allowance total (regardless of how many clamps there are), sized to the largest conductor.
Count each luminaire stud or hickey inside the box. Each one adds one conductor volume based on the largest conductor in the box.
fittings
Enter how many grounding (bare or green) conductors enter the box. All of them together count as ONE volume allowance sized to the largest grounding conductor in the box.
wires
Minimum box volume requiredFits in most single-gang boxes
16

Total NEC 314.16(B) fill volume - the box must meet or exceed this

Conductor volume8
Device volume4
Clamp volume2
Support fitting volume0
Grounding conductor volume2
Unitin³
Volume per conductor2
Conductors8
Devices4
Clamps2
Fittings0
Grounds2

Minimum box volume: 16.00 in3

  • Total fill required: 16.00 in3.
  • The smallest standard metal box that fits is the 4" × 2-1/8" round/octagonal (21.5 in3).
  • Boxes with factory-installed internal clamps use one combined clamp allowance regardless of how many clamps are present.

Next stepVerify that the box you select also has its volume marked in cubic inches (required for non-standard boxes) or appears in NEC Table 314.16(A). Conduit bodies are governed by a separate section (314.16(C)).

What is an electrical box fill calculation?

Box fill is the total minimum internal volume an electrical box must provide to safely house all the conductors, devices, and fittings installed inside it. The National Electrical Code (NEC) Section 314.16 defines how to calculate this volume so that there is enough space for heat dissipation and to work with the wires without damaging insulation. An under-sized box is a code violation and a fire and shock hazard. Every conductor entering the box, every device yoke, every set of internal clamps, and every grounding conductor contributes to the total fill, and the box must provide at least that much internal volume.

How to count conductors and components (NEC 314.16(B))

NEC 314.16(B) breaks the fill calculation into five categories. First, count each conductor that enters or passes through the box as one allowance at its own volume from Table 314.16(B). Pigtails (short jumpers that originate and terminate inside the box) are not counted. A conductor that forms a loop and has at least twice the minimum free length counts as two conductors. Second, each device yoke (switch, receptacle, GFCI, etc.) counts as two allowances based on the largest conductor terminating on it. Multi-gang yokes count two allowances per gang. Third, one or more internal cable clamps count as a single combined allowance based on the largest conductor entering the box. Fourth, each luminaire stud or hickey inside the box counts as one allowance at the same volume. Fifth, all equipment grounding conductors together count as a single allowance equal to the largest grounding conductor entering the box.

Choosing the right box size

Once you have the total required volume in cubic inches, compare it against the standard metal box sizes listed in NEC Table 314.16(A). Common choices include: a 4" x 1-1/4" round or octagonal box at 12.9 in3, a 4" x 1-1/2" square at 21.0 in3, a 4" x 2-1/8" square at 30.3 in3, and a 4-11/16" x 2-1/8" square at 42.0 in3. Device boxes range from 7.5 in3 (3" x 2" x 1-1/2") to 18.0 in3 (3" x 2" x 3-1/2"). Non-metallic and non-standard boxes must have their volume stamped or marked inside the box by the manufacturer. If no single standard box is large enough, you can use a deeper box, a raised cover that adds volume (if listed for the purpose), or split the circuit into two separate boxes.

Common mistakes and NEC compliance tips

The most common box fill mistakes are: forgetting to count conductors that only pass through the box without terminating (they still count), counting multiple internal clamps as multiple allowances when the code only requires one combined allowance, and forgetting that all grounding conductors share a single allowance. When in doubt, round up to the next box size. Conduit bodies (LBs, LLs, LRs, T-fittings) are governed by NEC 314.16(C) and have different rules. Junction boxes serving only as splices with no devices are also governed by 314.16 but often need larger square boxes. Always verify with your local Authority Having Jurisdiction, as some jurisdictions adopt the NEC with local amendments.

NEC Table 314.16(B): Volume allowance per conductor

Wire Size (AWG)Cubic Inches (in3)Cubic Centimeters (cm3)
18 AWG1.5024.6
16 AWG1.7528.7
14 AWG2.0032.8
12 AWG2.2536.9
10 AWG2.5041.0
8 AWG3.0049.2
6 AWG5.0082.0

Free space required for each conductor in a box, per the 2023 National Electrical Code. Devices, clamps, and fittings are also counted at the volume of the largest conductor in the box.

Frequently asked questions

What is the NEC code section for box fill?

Box fill calculations are governed by NEC Section 314.16, titled "Number of Conductors in Outlet, Device, and Junction Boxes." Subsection 314.16(A) covers the allowable volume of standard and non-standard boxes, and 314.16(B) defines the volume allowance for each type of conductor, device, clamp, fitting, and grounding conductor that must be counted. The volume allowances per wire gauge are listed in Table 314.16(B).

Do pigtails count toward box fill?

No. A pigtail is a short jumper that starts and ends inside the box without passing through the box walls. Because both ends are within the box, the NEC exempts it from the fill count. However, if a conductor enters from outside the box and then loops with a free length of at least twice the minimum free conductor length required, it counts as two conductors.

How many allowances do multiple cable clamps take?

Only one combined allowance regardless of how many internal cable clamps the box has. That single allowance is sized to the largest conductor entering the box. This applies to clamps that are built into the box body. External connectors (like Romex connectors tightened from outside) do not count toward box fill at all.

How are equipment grounding conductors counted?

All equipment grounding conductors entering the box together count as a single allowance equal to the volume of the largest grounding conductor. So whether you have one bare copper ground or four, you still only add one allowance. The size of that allowance is determined by the gauge of the largest grounding wire in the box.

Can I use a raised device cover to add box volume?

A raised cover can increase the available volume only if it is listed by a Nationally Recognized Testing Laboratory and marked with its volume. If the cover is listed and marked, you may add its volume to the box volume when sizing the assembly. Blank covers and extension rings must also be listed and marked with their added volume to count.

What is the difference between a junction box and a device box for fill purposes?

The same NEC 314.16 rules apply to both. The difference is practical: a device box typically holds receptacles or switches (which add large device allowances), while a junction box has only conductors being spliced (no device allowances). Junction boxes often need larger square boxes because many conductors pass through them. Both must have total allowances that fit within the rated box volume.

Sources

Written by Aisha Rahman, PEng Structural Engineer · Toronto, Canada

Structural Engineer and PEng with 16 years designing and verifying load-bearing systems across Canada's most demanding construction environments.

Search 3,500+ calculators

Loading search…