Box Fill Calculator

Count what goes in the box under NEC 314.16, check it against the box volume, and find the smallest standard metal box that holds it.

Conductors each wire entering; a loop of 12 in or more counts 2; pigtails count 0

Box fill chart: metal boxes

Most conductors of one size in each metal box, NEC Table 314.16(A). Clamps, devices, fittings and grounds take room too: use the calculator for a full count.
Box Volume (cu in) 18 AWG 16 AWG 14 AWG 12 AWG 10 AWG 8 AWG 6 AWG
Round/octagonal 4 x 1-1/412.58765542
Round/octagonal 4 x 1-1/215.510876653
Round/octagonal 4 x 2-1/821.51412109874
Square 4 x 1-1/418.0121098763
Square 4 x 1-1/221.01412109874
Square 4 x 2-1/830.32017151312106
Square 4-11/16 x 1-1/425.5171412111085
Square 4-11/16 x 1-1/229.5191614131195
Square 4-11/16 x 2-1/842.02824211816148
Device 3 x 2 x 1-1/27.55433321
Device 3 x 2 x 210.06554432
Device 3 x 2 x 2-1/410.57654432
Device 3 x 2 x 2-1/212.58765542
Device 3 x 2 x 2-3/414.09876542
Device 3 x 2 x 3-1/218.0121098763
Device 4 x 2-1/8 x 1-1/210.36554432
Device 4 x 2-1/8 x 1-7/813.08765542
Device 4 x 2-1/8 x 2-1/814.59876542
Masonry 3-3/4 x 2 x 2-1/214.09876542
Masonry 3-3/4 x 2 x 3-1/221.01412109874
FS single gang min. 1-3/4 depth13.59766542
FD single gang min. 2-3/8 depth18.0121098763
FS multiple gang min. 1-3/4 depth18.0121098763
FD multiple gang min. 2-3/8 depth24.016131210984

Volume per conductor

Cubic inches per conductor, NEC Table 314.16(B)(1) (2023).
WireVolume (cu in)
18 AWG1.50
16 AWG1.75
14 AWG2.00
12 AWG2.25
10 AWG2.50
8 AWG3.00
6 AWG5.00

Use this next

Box fill is the room a box needs for everything inside it. NEC 314.16 gives each item an allowance in cubic inches, set by wire size: 2.0 cu in for 14 AWG, 2.25 for 12 AWG and 2.5 for 10 AWG. The allowances are added, and the total may not be more than the box volume. Choose the box and enter what goes in it; the result gives the total against the box and the smallest metal box of each type that holds it. Take a receptacle box fed by two 12/2 cables with internal clamps: four 12 AWG conductors are 9.0 cu in, the clamps 2.25, the receptacle 4.5 and the two grounds 2.25, 18.0 in all. The 3 x 2 x 3-1/2 device box is exactly 18.0 cu in, so it fits with nothing to spare.

Each wire that comes in from outside the box counts once, whether it ends there, is spliced or passes straight through. An unbroken loop counts twice when it is at least twice the 6 in free length of 300.14, so 12 in or more. A pigtail that starts and ends inside the box counts nothing. Internal cable clamps count once together, however many there are. Fixture studs and hickeys count once for each type, not each piece. Each device yoke or strap counts twice. Up to four grounds count once together, and each ground past four adds a quarter. Since the 2023 edition, each terminal block counts once, however many poles it has.

The wire size behind each allowance depends on the item. Clamps and support fittings take the largest conductor in the box. The code sizes a terminal block by the largest wire terminated on it; the calculator uses the largest in the box, which is never smaller. Grounds take the largest ground entering the box, and a device the largest conductor connected to it. With two 12 AWG and three 14 AWG conductors, clamps, a device wired in 14 AWG and three grounds, the largest 12 AWG, the device counts 4.0 cu in rather than 4.5 and the total is 19.0. That is too much for the 18.0 device box, and no single-gang device box in the table holds it; the smallest square box that does is the 4 x 1-1/2, at 21.0.

For a metal box in Table 314.16(A), the volume is the table figure. The chart below gives the most conductors of one size for each of its 24 boxes: the volume divided by the allowance, rounded down. 21.0 ÷ 2.25 is 9.33, so a 21.0 cu in box holds 9 of 12 AWG. The 2023 edition corrected the 4 x 1-1/4 round or octagonal box at 8 AWG from 5 to 4. Nonmetallic boxes, and other boxes of 100 cu in or less that aren't in the table, are marked with their volume by the manufacturer; choose "Other box" and enter the marking. A plaster ring, extension ring or domed cover marked with its volume adds that volume.

Most box fill errors are counting errors. Counting each clamp or stud adds allowances the code doesn't ask for: one extra clamp allowance takes the receptacle box above to 20.25 cu in, and the 18.0 box wrongly fails. Sizing grounds or a device by the largest wire in the box can overstate it too; in the 19.0 example, a 12 AWG device allowance gives 19.5. A single wire size for the whole box can't count a mixed box, and the quarter for each ground past four needs the number of grounds, so the calculator asks for both.

Some rules are left to you. A device wider than a single 2 in device box counts twice for each gang it needs, so enter one device per gang. A ground and up to four fixture wires smaller than 14 AWG that come from a domed luminaire or similar canopy and end in the box aren't counted. Conduit bodies follow 314.16(C), which the calculator doesn't cover, and the minimum box depth for a device is set by 314.24(B), not by box fill. Local amendments can change any of this, and the inspector's reading is the one that counts.

Frequently asked questions

How many wires can go in a 4 x 1-1/2 square box?

10 of 14 AWG, 9 of 12 AWG or 8 of 10 AWG, from its table volume of 21.0 cu in, when nothing else is in the box. Clamps, devices and grounds take room too: six 14 AWG conductors with clamps, one receptacle and three 14 AWG grounds come to 20.0 cu in, which still fits.

Do ground wires count in box fill?

Yes. Up to four grounds count as one conductor together, at the size of the largest ground entering the box, and each ground past four adds a quarter. Six 12 AWG grounds count 1.5 × 2.25 = 3.375 cu in, and eight count 2 × 2.25 = 4.5 cu in.

Does a wire nut count in box fill?

No. Small fittings such as locknuts and bushings count nothing, and the 2026 code adds splicing connectors to that list. A pigtail joined under the wire nut doesn't count either, since it never leaves the box.

How much does a receptacle count in box fill?

Two conductors for its yoke, at the size of the largest wire connected to it: 4.5 cu in with 12 AWG and 4.0 cu in with 14 AWG. A device wider than a single 2 in device box counts two for each gang it needs.

How do I find the volume of a plastic box?

Read the marking. Nonmetallic boxes are marked with their volume by the manufacturer, since Table 314.16(A) lists metal boxes only. Choose "Other box" in the calculator, enter the marked volume, and add any ring or domed cover marked with its own volume.