⚡ Electrical Box Fill Calculator
NEC code-compliant box capacity calculator
1️⃣ Conductors (Wires)
2️⃣ Devices & Equipment
3️⃣ Your Box Capacity
"Box fill violations are one of the top 3 code failures I see from DIYers and even some guys who should know better. Inspectors will make you pull devices out to count wires. And here's the mistake everyone makes: they forget to count pigtails. If you've got 3 hot wires twisted together with a pigtail going to your switch, that's 4 conductors, not 3. Also, all those ground wires count as ONE allowance total, not zero—people forget that. Use deep boxes whenever possible. The extra 50 cents for a 22.5 cu in box instead of 18 saves you from failing inspection."
📏 NEC Volume Allowances (NEC 314.16(B))
| Wire Size | Volume per Conductor |
|---|---|
| 18 AWG | 1.50 cubic inches |
| 16 AWG | 1.75 cubic inches |
| 14 AWG | 2.0 cubic inches |
| 12 AWG | 2.25 cubic inches |
| 10 AWG | 2.5 cubic inches |
| 8 AWG | 3.0 cubic inches |
| 6 AWG | 5.0 cubic inches |
📦 Common Box Sizes
| Box Type | Typical Capacity |
|---|---|
| Single-gang plastic (standard depth) | 18 cubic inches |
| Single-gang plastic (deep) | 20.5 - 22.5 cubic inches |
| Double-gang plastic | 30 - 36 cubic inches |
| 4" square metal (1.5" deep) | 21 cubic inches |
| 4" square metal (2" deep) | 30.3 cubic inches |
| 4-11/16" square (2-1/8" deep) | 42 cubic inches |
🧮 NEC Counting Rules
Conductors: Each wire gets its volume allowance based on wire size.
Devices (switches, outlets, dimmers): Count as 2× the volume of the largest wire connected to it.
Equipment grounds: All ground wires combined = 1× volume of the largest ground wire.
Internal clamps: If box has built-in cable clamps = 1× largest conductor.
Pigtails: Count as conductors. Don't forget these!
Wire nuts: Do NOT count.
⚠️ Common Mistakes
Forgetting pigtails: 3 wires + pigtail = 4 conductors.
Not counting grounds: All grounds = 1 allowance, not zero.
Wrong box size assumption: Not all single-gang boxes are 18 cu in—check the stamp inside.
Mixing wire sizes without using largest: If mixing 12 AWG and 14 AWG, devices count as 2× 12 AWG allowance (2.25), not 14.
Alex Kim
Licensed Electrician, 17 years experience