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

Quick answer: Each 12 AWG conductor needs 2.25 cubic inches of box volume, each device (switch/receptacle) counts as two conductors, and all ground wires together count as one. A standard single-gang 18 cu in box maxes out at one receptacle with two 12/2 cables.
⚡ Safety first: These results follow common NEC (National Electrical Code) tables for typical residential conditions, but local codes vary and mistakes can cause fires. Always verify sizing against your local code and have work reviewed by a licensed electrician. Permits are required for most electrical work.

Calculate Your Box Fill

Your Box Fill Results

Insulated Conductors
Devices (2 counts each)
All Grounds (1 count total)
Internal Clamps (1 count total)
NEC 314.16 Box Fill Check
Minimum Box Suggestion

Estimated Material Cost

Material Qty Low Average High
Estimated Total

Prices are approximate U.S. averages and vary by region, retailer, and brand.

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:

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)44 × 2.25 = 9.0 cu in
Receptacle (device)22 × 2.25 = 4.5 cu in
All ground wires11 × 2.25 = 2.25 cu in
Internal cable clamps11 × 2.25 = 2.25 cu in
Total required818.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-gang14 cu inRetrofit in thin walls; very limited capacity
Single-gang plastic nail-on18 cu inStandard receptacles and switches
Deep single-gang plastic20.3–22.5 cu inDimmers, smart switches, three cables
Metal 4" square (1-1/2" deep)21–22.5 cu inConduit work, junction points
Two-gang plastic30.3–34 cu inSide-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.