Enter the wires, grounds, clamps and devices in an electrical box to find the volume the NEC requires. The calculator lists the standard metal boxes that are large enough and checks a box volume you enter.
What this calculator does
- Box fill in cubic inches by NEC 314.16
- Wires, grounds, devices, clamps and fixture studs counted
- Standard metal boxes that fit, and a check of your own box
How to use the box fill calculator
- Count the insulated wires of each gauge that enter the box and end or splice there. A wire that passes straight through without a splice counts once. Pigtails that start and end inside the box do not count.
- Enter the number of ground wires.
- Enter the switches or receptacles (each strap or yoke counts once here).
- Say whether the box has internal cable clamps, and enter any fixture studs or hickeys.
- Optional: enter the volume of your box. It is stamped inside plastic boxes and listed in the NEC for metal ones.
Box fill rules (NEC 314.16)
Each insulated wire 1 allowance of its own size
All grounds together 1 allowance (plus 1/4 for each ground over 4)
All internal clamps 1 allowance
Each fixture stud or hickey 1 allowance
Each device (yoke) 2 allowances
Volume per allowance: 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³
Grounds and clamps are counted at the size of the largest wire in the box, and a device at the largest wire connected to it. This calculator uses the largest wire in the box for all of them, which is the safe side when gauges are mixed.
Worked example: a receptacle in the middle of a run
- Two 12/2 cables enter the box: 4 insulated wires and 2 grounds.
- Wires: 4 × 2.25 = 9.0 in³.
- Grounds: 1 × 2.25 = 2.25 in³.
- One receptacle: 2 × 2.25 = 4.5 in³.
- Total: 15.75 in³. A standard 18 in³ single-gang plastic box works. A shallow 14 in³ box does not.
Standard metal box volumes
| Box | Volume | Max 14 AWG | Max 12 AWG |
|---|---|---|---|
| 3 × 2 × 2-1/2 in device | 12.5 in³ | 6 | 5 |
| 3 × 2 × 3-1/2 in device | 18.0 in³ | 9 | 8 |
| 4 × 1-1/2 in octagon | 15.5 in³ | 7 | 6 |
| 4 × 2-1/8 in octagon | 21.5 in³ | 10 | 9 |
| 4 × 1-1/2 in square | 21.0 in³ | 10 | 9 |
| 4 × 2-1/8 in square | 30.3 in³ | 15 | 13 |
| 4-11/16 × 2-1/8 in square | 42.0 in³ | 21 | 18 |
The wire counts are from NEC Table 314.16(A) and assume nothing else in the box. Subtract for grounds, clamps and devices. A plaster ring or extension ring adds the volume marked on it.
Questions
How many 12 gauge wires fit in an 18 cubic inch box?
Eight allowances: 18 ÷ 2.25 = 8. With a receptacle (2) and grounds (1), that leaves room for five insulated 12 AWG wires.
Do wire nuts count toward box fill?
No. Wire connectors, locknuts and bushings are not counted.
Do pigtails count?
No. A wire that starts and ends inside the box, such as a pigtail to a device or a grounding jumper, is not counted.
Why does box fill matter?
An overfilled box crushes insulation, traps heat and makes loose connections more likely. Inspectors check it, and it is one of the most common rough-in corrections.
Local codes can add to these rules. Check with your inspector when in doubt.