Electrical Box Fill Calculator (NEC 314.16)
Electrical
- Box fill count: 6 conductors + grounds counted once + clamps counted once + 1 device(s) at two each = 10 conductor equivalents
- Volume allowance per conductor at this wire size (NEC Table 314.16(B)) = 2.25 cubic inches
- Required Box fill volume = 10 x 2.25 = 22.50 cubic inches
- The chosen box provides 18 cubic inches, leaving -4.50 cubic inches of capacity; a negative remainder means the box is overfilled and a larger box is required
An electrical box has a legal capacity, and it is not measured in wires. NEC 314.16 assigns every item in the box a volume allowance from Table 314.16(B) - each conductor counts once at the allowance for its size, all the equipment grounds together count once, internal clamps once, and every device yoke counts twice - and the sum of allowances must fit inside the box's marked volume. This calculator does that counting, applies the table for the largest wire size present, and reports the required volume and the margin against the box you plan to use.
Box fill is the code rule DIYers and apprentices trip over most, because a box that physically closes can still be illegally full: overfilled boxes crush insulation, cook connections and fail inspection. The arithmetic is simple but the counting rules have enough exceptions to reward care, and the worked examples below include the classic failure - a common box asked to hold more than its volume allows.
Worked examples
12 AWG, 22.50 in3, over
(12 AWG · 6 · 1 · Yes · Yes · 18 in3)
| Required box volume (in3) | 22.50 |
| Total conductor-equivalent count | 10 |
| Volume allowance per conductor (in3) | 2.25 |
| Remaining capacity of the chosen box (in3) | -4.50 |
14 AWG, 14.00 in3
(14 AWG · 4 · 1 · Yes · No · 20 in3)
| Required box volume (in3) | 14.00 |
| Total conductor-equivalent count | 7 |
| Volume allowance per conductor (in3) | 2.00 |
| Remaining capacity of the chosen box (in3) | 6.00 |
10 AWG, 35.00 in3
(10 AWG · 8 · 2 · Yes · Yes · 42 in3)
| Required box volume (in3) | 35.00 |
| Total conductor-equivalent count | 14 |
| Volume allowance per conductor (in3) | 2.50 |
| Remaining capacity of the chosen box (in3) | 7.00 |
Counting allowances, not wires
Walk through a box the way the code counts it. Every conductor that originates outside the box and terminates or is spliced inside counts once - hots, neutrals, travellers, each at the allowance for its gauge. Conductors passing straight through count once each as well. All equipment grounding conductors together - however many enter - count as a single allowance at the largest ground's size, one of the code's mercies. Internal cable clamps, if present, add one allowance collectively. Each device - switch, receptacle, dimmer - counts as two allowances at the largest conductor connected to it, because a yoke displaces about twice a conductor's room.
What does not count is as instructive: pigtails that originate and end inside the box add nothing, and neither do locknuts, bushings or wire connectors themselves. The calculator implements the main counting rules - conductors, the single ground allowance, the single clamp allowance, devices at two each - and the page's later sections flag the common exceptions a real installation must still check.
- Each conductor: 1 allowance. All grounds together: 1. Internal clamps together: 1. Each device: 2.
- Allowances are priced at the largest conductor size in the box, from Table 314.16(B).
- Required volume = total allowances x the per-conductor volume for that size.
Table 314.16(B) volumes by wire size
The table prices a conductor's room by its gauge: 2.00 cubic inches for 14 AWG, 2.25 for 12, 2.50 for 10, 3.00 for 8 and 5.00 for 6. The steepening at the heavy end reflects bending radius as much as bulk - a 6 AWG conductor does not merely occupy more space, it refuses to fold into what remains. Because a mixed box is priced entirely at its largest conductor, one heavy conductor reprices every allowance in the box, a rule that surprises remodelers who add a single 10 AWG run to a box full of 14.
Boxes declare their volume in cubic inches, stamped inside or listed by the manufacturer - a standard single-gang device box runs 18 to 22.5, a 4-inch square box 21 to 30 depending on depth, octagon boxes 12.5 to 21.5. The calculator takes the box volume as an input precisely because the marked figure, not the box's trade name, is what the code enforces.
| Worked example | Largest wire | Allowances | Per-conductor volume | Required volume | Box volume | Remainder |
|---|---|---|---|---|---|---|
| 1 | 12 AWG | 10 | 2.25 in3 | 22.50 in3 | 18 in3 | -4.50 in3 |
| 2 | 14 AWG | 7 | 2.00 in3 | 14.00 in3 | 20 in3 | +6.00 in3 |
| 3 | 10 AWG | 14 | 2.50 in3 | 35.00 in3 | 42 in3 | +7.00 in3 |
Worked examples: overfilled, comfortable and device-heavy
The first example is the inspection failure in its natural habitat: six 12 AWG conductors, one device, grounds and clamps in the 18 cubic inch box that ships with every big-box store's value pack. Ten allowances at 2.25 need 22.50 cubic inches; the remainder is -4.50, and the correct response is a deeper box, not stronger thumbs. The second example shows the same arithmetic passing comfortably: four 14 AWG conductors and a device in a 20 cubic inch box need 14.00 and leave 6.00 in hand - room for the future circuit someone will inevitably add.
The third example is device-heavy: eight 10 AWG conductors and two devices reach 14 allowances - the two yokes alone contribute four - and need 35.00 cubic inches. It fits its 42 cubic inch box with 7.00 to spare, but notice how fast devices eat volume at heavy gauges: at 10 AWG each device costs 5.00 cubic inches of allowance, the price of two conductors.
Grounds, clamps and yokes
The single-allowance rules for grounds and clamps are the code recognising physical reality: ground wires are typically bare or green, folded into the back of the box together, and clamps sit at the entries. Both mercies have edges. An isolated-ground receptacle's separate grounding conductor has historically drawn its own counting treatment, and equipment grounding conductors that are spliced with a pigtail to the box still count within the single collective allowance. When a box carries several cables, the collective ground allowance is what keeps the arithmetic sane - four cables' grounds cost one allowance, not four.
Devices are the opposite: no mercy. Each yoke is two allowances at the largest conductor connected to that device, and a duplex receptacle and a switch side by side in a two-gang box are four allowances before a single conductor is counted. Large devices - dimmers, smart switches, GFCI receptacles - occupy more than the standard allowance imagines, which is why experienced electricians upsize the box beyond the calculated minimum whenever a device body is bulky: the code gives a floor, not a comfort target.
Common exceptions and larger-box remedies
The exceptions most often relevant: conductors that originate within the box (pigtails) are not counted; a conductor that runs unbroken through the box counts once, while a loop or coil of slack in a junction box can count double under the length rules; fixture studs and hickeys in fixture boxes carry their own small allowances; and where the box contains a fan or luminaire canopy, different articles take over. Each is a reason the calculator describes itself as implementing the main rules - the final authority is the current NEC text and the local inspector's amendments.
When the count fails, the remedies in order of preference: fit a deeper box of the same footprint, move to a larger square box with a mud ring, split the splices across two boxes, or relocate a device. What is not a remedy is forcing the devices in - the failure mode the rule exists to prevent is damaged insulation and overheated terminations discovered years later, which is why inspectors check fill even when everything visibly works.
Metal versus nonmetallic boxes and volume marking
Nonmetallic boxes have their volume marked by the manufacturer; metal boxes take their volume from Table 314.16(A) by trade size, and adding a plaster ring or extension ring adds its marked volume to the total - a legitimate way to rescue a tight count without opening the wall further. The calculator's box-volume input accepts whatever the marked or tabled total is, ring included. One caution travels with metal boxes: the box itself must be bonded to the grounding system, and the ground wires' fold space is part of why the collective allowance exists.
Whichever material, the discipline is the same: count the allowances, price them at the largest wire, compare with the marked volume, and keep a margin for the human hands that must fold the conductors in. The arithmetic takes a minute; the rework takes a day.
Remodel work adds a wrinkle the new-work examples do not face: the existing box's volume may be unmarked, grandfathered, or simply unknown, and the cables already in the wall fix the conductor count before the design starts. The practical sequence is to inventory what is actually in the box - every conductor, every device, the clamps - price it with this calculation against the volume of the replacement box being considered, and let that comparison, rather than the old box's apparent ability to close, decide whether the new work is legal. Inspectors apply the current code to the new installation regardless of what the old one got away with.
FAQs
Six 12 AWG conductors, one device, grounds and clamps in an 18 cubic inch box - legal?
No: 10 allowances at 2.25 cubic inches need 22.50, leaving a remainder of -4.50 - fit a larger box.
How much volume does each 12 AWG conductor allowance take?
2.25 cubic inches under Table 314.16(B); 14 AWG takes 2.00 and 10 AWG takes 2.50.
Four 14 AWG conductors, one device, grounds, no clamps, 20 cubic inch box?
7 allowances need 14.00 cubic inches, leaving 6.00 spare - a comfortable fit.
Why do devices count double?
A device yoke displaces roughly two conductors' worth of room: the third example's 2 devices add 4 allowances of its 14.
Eight 10 AWG conductors with 2 devices, grounds and clamps?
14 allowances at 2.50 cubic inches = 35.00 required; the 42 cubic inch box leaves 7.00.
Do all the ground wires count separately?
No - all equipment grounding conductors in the box together count as a single allowance at the largest ground's size.