Box Fill Calculator
Add up NEC 314.16 volume allowances for conductors, devices, grounds, and clamps — and find out if your electrical box is big enough.
Last updated: August 2026
How Box Fill Counting Works
NEC 314.16 prevents electrical boxes from being stuffed beyond their safe capacity. Instead of measuring actual wire volume, the code assigns a fixed volume allowance per "count," based on conductor size: 2.0 cubic inches for 14 AWG, 2.25 for 12 AWG, 2.5 for 10 AWG, 3.0 for 8 AWG, and 5.0 for 6 AWG. You tally up counts, multiply by the allowance, and compare against the volume stamped or molded into the box.
Here is how the counting rules work in plain English:
- Each insulated conductor entering the box counts as one. Every hot and every neutral that originates outside the box and enters it gets one count. A wire that passes through unbroken counts once, not twice. Pigtails that both start and end inside the box do not count at all.
- All ground wires together count as one. No matter how many equipment grounding conductors enter the box, they collectively take a single count, sized at the largest ground present. (A second count applies only if there are more than four grounds under the 2023 NEC — rare in residential work.)
- Each device counts as two. A switch or receptacle on its own yoke takes a double count, sized at the largest conductor connected to that device. A duplex receptacle is one device, not two.
- All internal cable clamps together count as one. One count at the largest conductor in the box — whether the box has one clamp or four. External clamps and connectors (like NM connectors on a metal box) do not count.
- Each fixture stud or hickey counts as one. These show up in ceiling boxes supporting light fixtures; count one for each type present, at the largest conductor size.
Worked Example: One Receptacle, Two 12/2 Cables
Take the most common rough-in scenario there is: a receptacle in the middle of a circuit, with one 12/2 w/ground cable coming in and another going out, in an 18 cubic inch single-gang plastic box. Each 12 AWG count is worth 2.25 cubic inches:
| Item | Counts | Volume |
|---|---|---|
| Insulated conductors (2 hots + 2 neutrals) | 4 | 4 × 2.25 = 9.0 cu in |
| Receptacle (device) | 2 | 2 × 2.25 = 4.5 cu in |
| All ground wires | 1 | 1 × 2.25 = 2.25 cu in |
| Internal cable clamps | 1 | 1 × 2.25 = 2.25 cu in |
| Total required | 8 | 18.0 cu in |
The total comes to exactly 18.0 cubic inches — this box passes, but with zero margin. Add a pigtailed third cable, swap in a bulky smart switch, or move up a wire gauge and it fails. This is why many electricians default to 20 or 22 cubic inch boxes for new work: the cost difference is under a dollar, and the working room pays for itself at trim-out.
Common Box Volumes
| Box Type | Volume | Typical Use |
|---|---|---|
| Shallow single-gang | 14 cu in | Retrofit in thin walls; very limited capacity |
| Single-gang plastic nail-on | 18 cu in | Standard receptacles and switches |
| Deep single-gang plastic | 20.3–22.5 cu in | Dimmers, smart switches, three cables |
| Metal 4" square (1-1/2" deep) | 21–22.5 cu in | Conduit work, junction points |
| Two-gang plastic | 30.3–34 cu in | Side-by-side switches or receptacles |
Plastic boxes have their volume molded inside, usually on the back wall. Metal box volumes come from NEC Table 314.16(A) or the stamping on the box. When you gang metal boxes or add extension rings, volumes add together — a 4-inch square box with a plaster ring gains the ring's marked volume too.
Why Overfilled Boxes Are Dangerous
An overfilled box concentrates heat. Every splice and device terminal generates warmth under load, and packed conductors insulate each other, pushing temperatures toward the point where insulation hardens, cracks, and eventually fails. Overcrowding also means force: jamming a receptacle back into a stuffed box can nick insulation against a screw or clamp, loosen a wire nut, or stress a terminal connection. Loose connections arc, and arcing inside a concealed box is a classic ignition source for structure fires. Box fill violations are among the most common findings in home inspections, and they are entirely preventable at rough-in for the cost of a slightly bigger box.
When to Use a Bigger Box or Extension Ring
If the numbers do not fit, you have three options. For new work, simply install a deeper or multi-gang box — a 22 cubic inch single-gang costs pennies more than an 18. For existing metal boxes, add an extension ring: it screws onto the existing box and its marked volume adds to the total. For existing plastic boxes in finished walls, cut-in "old work" boxes up to 22.5 cubic inches swap in without opening the wall. Smart switches and dimmers deserve special mention: their bodies eat up physical space the fill calculation does not account for, so even a passing box can be a knuckle-buster. When in doubt, go bigger — no inspector has ever failed a box for having too much room.
Frequently Asked Questions
Reminder: box fill answers assume typical residential NM cable installs — always verify against your local electrical code.
A standard 18 cu in single-gang box with a device, grounds, and clamps has room for 4 insulated 12 AWG conductors (two 12/2 cables) — that totals exactly 18.0 cu in. With 14 AWG wire, the same box fits 5 insulated conductors plus a device, grounds, and clamps — also exactly 18.0 cu in. Run this calculator for your exact combination.
No. Wire nuts, splice connectors, and pigtail leads that begin and end inside the box are all excluded from the NEC 314.16 fill calculation. Only conductors entering the box, devices, grounds, clamps, and fixture studs or hickeys count.
Yes, but all ground wires together count as just one conductor, sized at the largest equipment grounding conductor in the box. Three grounds in a box of 12 AWG cable add one count of 2.25 cu in total, not 6.75.
The requirement is exactly 18.0 cu in (4 conductors + device counted as 2 + grounds as 1 + clamps as 1, all at 2.25 cu in), so an 18 cu in single-gang box just barely passes. Choose a 20 to 22.5 cu in box for comfortable working room, especially if a dimmer, smart switch, or GFCI is going in.