Box fill violations are one of the most common NEC findings on electrical inspections. The rules are straightforward once you learn the counting method, but they trip up electricians because not every wire counts the same way. A ground wire does not count the same as a hot conductor. A cable clamp inside the box adds volume. A device (switch or receptacle) counts as two conductors. Miss any of these rules and the box is either overfilled (code violation, fire risk from heat buildup) or oversized (wasted material and space).
This guide covers NEC Article 314.16 box fill calculations for conductors, devices, clamps, and grounds. It includes the volume allowance table, the step-by-step counting method, common violations inspectors catch, and guidance on when to upsize from a standard box to a larger or ganged enclosure.
Conductor Counting: What Counts and How Much
NEC 314.16(B) defines how each element in the box counts toward the fill calculation. Every conductor that enters the box counts based on its wire gauge size, using the volume from Table 314.16(B). But the counting rules differ depending on what the conductor is and what it connects to.
Each current-carrying conductor (hot, neutral, traveler) that enters the box and is spliced, terminated, or passes through counts as ONE conductor. A 14 AWG conductor counts as 2.0 cubic inches; 12 AWG counts as 2.25 cubic inches; 10 AWG counts as 2.5 cubic inches. Conductors that pass through the box without splice or termination (no break in the insulation) also count as one conductor.
Equipment grounding conductors: All grounding conductors in the box together count as ONE conductor, based on the largest ground wire present. If you have four 14 AWG grounds and one 12 AWG ground, they all count as one 12 AWG conductor (2.25 cubic inches total for all grounds).
Cable clamps: All internal cable clamps together count as ONE conductor, based on the largest conductor entering the box. If the box has built-in cable clamps and the largest conductor is 12 AWG, add one 12 AWG conductor volume (2.25 cubic inches) for all clamps. External clamps (outside the box) do not count.
Devices: Each yoke or strap (switch, receptacle, dimmer) counts as TWO conductors, based on the largest conductor connected to that device. A single receptacle on 12 AWG wire adds 2 × 2.25 = 4.5 cubic inches to the fill calculation.
18 AWG: 1.50 in³
16 AWG: 1.75 in³
14 AWG: 2.00 in³
12 AWG: 2.25 in³
10 AWG: 2.50 in³
8 AWG: 3.00 in³
6 AWG: 5.00 in³
Multiply count × volume for total required box volume.
Junction Box Fill Calculator
NEC 314.16 junction box fill calculator. Count conductors, devices, and clamps to check cubic inch capacity. Avoid failed rough-in inspections.
Step-by-Step Box Fill Calculation
Here is the counting method applied to a real-world example: a single-gang switch box with one 14/2 NM cable entering (hot + neutral + ground), one 14/3 NM cable entering (two hots + neutral + ground), internal cable clamps, and a single-pole switch.
Step 1: Count conductors. From the 14/2 cable: 2 conductors (hot + neutral). From the 14/3 cable: 3 conductors (2 hots + neutral). Total current-carrying conductors: 5.
Step 2: Count grounds. Both cables have a 14 AWG ground. All grounds count as 1 conductor. Total: 1.
Step 3: Count clamps. Internal cable clamps present. Count as 1 conductor (largest wire is 14 AWG). Total: 1.
Step 4: Count devices. One single-pole switch. Count as 2 conductors (largest wire connected is 14 AWG). Total: 2.
Step 5: Total count. 5 + 1 + 1 + 2 = 9 conductor equivalents at 14 AWG.
Step 6: Calculate volume. 9 × 2.00 in³ = 18.0 in³ minimum box volume.
A standard single-gang 18 cubic inch box (3" × 2" × 3-1/2" deep) is the minimum. If the calculated fill exceeds the box volume, upsize to a deeper box (21 or 22.5 cubic inch models) or switch to a two-gang box.
Each hot/neutral/traveler = 1 conductor
All grounds combined = 1 conductor (largest gauge)
All internal clamps = 1 conductor (largest gauge)
Each device yoke = 2 conductors (largest gauge connected)
Multiply total count × volume per conductor from Table 314.16(B).
Junction Box Fill Calculator
NEC 314.16 junction box fill calculator. Count conductors, devices, and clamps to check cubic inch capacity. Avoid failed rough-in inspections.
Common Box Fill Violations Inspectors Catch
Forgetting to count the device: This is the most common error. Electricians count the wires entering the box but forget that the switch or receptacle itself counts as two conductors. Adding a device to a box that is already at capacity pushes it over the limit. A box that is legal with just splices becomes a violation when you add a device.
Using the wrong wire gauge for counting: If a box has both 14 AWG and 12 AWG conductors, each conductor counts at its own gauge volume. The grounds count at the largest ground gauge. The clamps count at the largest conductor gauge. Mixing gauges correctly is where many calculations go wrong. When in doubt, count everything at the largest gauge present. This is conservative and always code-compliant.
Exceeding the fill of a stamped-volume box: Metal boxes have their volume stamped on the inside. If the stamp says 18 in³, that is the maximum. No exceptions. Plastic boxes similarly have their volume molded into the body. Do not assume that a box "looks big enough" without checking the actual volume against the calculation.
Ignoring pigtails and splice conductors: A pigtail wire that originates inside the box (spliced to incoming conductors and terminating on a device) does not count as an additional conductor. It is part of the device count. But if you bring in an extra wire from outside the box for any reason, it counts as another conductor. Know the difference between internal pigtails (no additional count) and conductors entering the box (always count).
When to Upsize: Box Selection Guide
Single-gang boxes: Standard 18 in³ boxes work for most single-switch or single-receptacle applications with one or two cables. When a third cable enters (common at three-way switch locations), you often need to step up to a 22.5 in³ deep box or a two-gang box. Always run the calculation before selecting the box. Do not assume the standard box is sufficient.
Two-gang and larger: Two-gang boxes range from 30 to 42 in³ depending on depth and manufacturer. Three-gang boxes range from 45 to 63 in³. For multi-device installations (kitchen counter receptacles, bathroom switch banks), calculate the total fill for all devices and all conductors, then select a box with at least that volume. Many electricians default to the deepest box available in each gang size to maximize fill capacity.
4-inch square boxes with raised covers: The 4" square (4S) box with a single-gang or two-gang raised cover is a versatile option. The box itself provides 21 to 30 in³ (depending on depth), and the raised cover adds additional volume. This combination often provides more fill capacity than a standard single-gang box at a similar cost. The raised cover also makes it easier to work with the conductors inside.
Pull boxes and junction boxes (Article 314.28): For conductors 4 AWG and larger, the sizing rules change. Straight pulls require the box length to be at least 8 times the trade size of the largest raceway. Angle pulls and U-pulls require 6 times the largest raceway plus the sum of the other raceways on the same wall. These are completely different calculations from the conductor-count method used for boxes with 6 AWG and smaller wire.
3" × 2" × 2-1/4" deep: 12.5 in³
3" × 2" × 2-1/2" deep: 14.0 in³
3" × 2" × 2-3/4" deep: 16.0 in³
3" × 2" × 3-1/2" deep: 18.0 in³
3" × 2" × 3-3/4" deep: 22.5 in³
Always verify with the volume stamped on the box.
Junction Box Fill Calculator
NEC 314.16 junction box fill calculator. Count conductors, devices, and clamps to check cubic inch capacity. Avoid failed rough-in inspections.