Box fill calculator
Type the wires that enter the box by size, the switches and receptacles, the clamps, fixture studs and ground wires to get the cubic inches the box needs under NEC 314.16(B). Choose a standard metal box or type the volume marked on yours to see whether it fits, and which standard boxes would.
Free, no sign-up. Runs in your browser. Updated December 1, 2026.
Nothing you type is sent to Nexfield or anyone else.
How to use it
- Type the wires that enter or pass through the box, by size.
- Add the devices, clamps, fixture studs and ground wires.
- Choose a standard box or type the marked volume, and read whether it fits.
How it works
Each wire that enters or passes through the box counts once at its Table 314.16(B) allowance: 2.00 cu in for 14 AWG, 2.25 for 12, 2.50 for 10, 3.00 for 8 and 5.00 for 6.
Each device yoke counts twice at the largest wire connected to it. Internal clamps, one or more, count once at the largest wire, and each fixture stud or hickey once.
Ground wires: up to four count once at the largest ground, and each one over four adds a quarter of that allowance (314.16(B)(5), since the 2020 NEC). The box must hold the total.
Wires 14 to 6 AWG only, the sizes of Table 314.16(B). Mud rings and extension rings add volume only when marked with it, and a multi-gang device counts two allowances for each gang.
Sources
- Zing², NEC Table 314.16(A), metal boxes, read December 1, 2026
- Zing², NEC Table 314.16(B), volume allowance per conductor, read December 1, 2026
- Open Exam Prep, Outlet and junction box sizing (NEC Table 314.16(A)), read December 1, 2026
- EC&M (Mike Holt), Box fill calculations (314.16(B)(1) to (5)), read December 1, 2026
- EC&M, Code quiz: box volume calculations and EGCs (the 2020 change to 314.16(B)(5)), read December 1, 2026
Worked example with made-up numbers
These numbers are invented to show the math. They are not an industry average.
| 14 AWG wires | 3 |
|---|---|
| 12 AWG wires | 2 |
| Devices wired with 14 AWG | 1 |
| Devices wired with 12 AWG | 1 |
| Internal cable clamps? | Yes |
| Ground wires | 2 |
| Largest ground wire | 12 AWG |
| Standard metal box | 4 x 2-1/8 in. square (30.3 cu in) |
| Volume needed | 23.5 cu in |
| Box volume | 30.3 cu in |
| Against the box | Fits, 6.8 cu in to spare |
| Smallest standard metal boxes that fit | 4-11/16 x 1-1/2 in. square (29.5 cu in) 4 x 2-1/8 in. square (30.3 cu in) 4-11/16 x 2-1/8 in. square (42.0 cu in) |
Jobs, notes and photos on the electrician's phone. Nexfield for technicians
Questions
How many 12 AWG wires in a 4 x 1-1/2 in. square box?
With nothing else in it, 9: the box holds 21.0 cu in and each 12 AWG wire takes 2.25.
How much does a receptacle count in box fill?
Two allowances of the largest wire connected to it: 4.5 cu in on 12 AWG, 4 cu in on 14 AWG.
Do ground wires count in box fill?
Up to four count once, at the largest ground; since the 2020 NEC each one over four adds a quarter of that allowance.
Do pigtails count?
No. A wire that starts and ends inside the box, such as a pigtail, is not counted.
Does a plastic box have a table volume?
No. Nonmetallic boxes are marked with their volume; type that number in the volume field.
Which NEC edition does it use?
The 2023 NEC (NFPA 70). Your state or city may enforce another edition or local changes, and the inspector's code wins.
Is what I type sent anywhere?
No. The calculator runs in your browser, and nothing you type is sent to Nexfield. "Copy link" puts your numbers in the link itself, after the # sign.
Related
- Conduit fill calculator Fill percent of EMT or PVC with mixed wires, and the smallest conduit that passes.
- Wire size calculator Smallest copper or aluminum wire for a load, by ampacity and voltage drop.
- Residential electrical load calculator A house's service load in amps by NEC 220.82, against today's panel.
- Free electrical tools Wire size, voltage drop, conduit and box fill, service load and paperwork.
- All free tools 91 calculators, lookups, PDF generators and text tools, free with no sign-up.