Box fill calculator

Find the cubic inches a box needs for its wires, devices, clamps and grounds, and whether your box holds them. Every allowance is shown as you type.

Uses NEC 2023 314.16, Tables 314.16(A) and 314.16(B)(1), exactly as published. A guide for planning; the installation must meet your local code and be checked by a licensed electrician.

The box

A ring, raised cover or extension adds the volume marked on it. Nonmetallic boxes: use the volume marked inside.

Conductors entering

Count each insulated conductor that enters, not the grounds (below). One passing through unbroken counts once; a loop of 12 in or more counts twice. Pigtails that never leave the box count zero.

Devices, grounds and fittings

Each device yoke counts twice its largest wire; a device wider than a single 2 in box counts twice per gang it needs. Grounds: one allowance for up to four, a quarter for each one more (since 2020).
Support fittings (luminaire stud, hickey)
Free for your own website, with no account and no ads.

Put the box fill calculator on your website

Paste this code into an HTML or embed block on any page. Your visitors use the calculator right there, the same as here: free, no sign-up, no ads, and nothing they type is sent anywhere.

Preview it

It fits any width from a phone up to 640 px and grows to the calculator's height. The line under it links to this page, so your visitors can see where it comes from. Every calculator you can embed

Free calculator by Billsmith

Box fill needed
Box volume
See the working

Box fill, worked out

The method

Each item in the box counts as one or more volume allowances, sized by Table 314.16(B)(1): 2.00 cu in for 14 AWG, 2.25 for 12 AWG, 2.50 for 10 AWG. Add them up and the box, plus any ring marked with its volume, must be at least that big.

Conductors entering: 1 each. Clamps: 1 for all. Support fittings: 1 per type. Devices: 2 per yoke. Grounds: 1 for up to four, plus 1/4 for each more.

An example

Two 12-2 NM cables with clamps feeding a receptacle, as in Hubbell RACO's catalog: 4 conductors + 1 for the two grounds + 1 for the clamps + 2 for the receptacle = 8 allowances. 8 × 2.25 = 18.0 cu in. A 3 × 2 × 3-1/2 device box (18.0 cu in) holds it exactly; a 3 × 2 × 2-3/4 (14.0) does not.

Mixed sizes

Count each conductor at its own size. Clamps and support fittings use the largest conductor in the box, a device uses the largest conductor connected to it, and grounds use the largest ground entering. Mike Holt's example: 14/3 with a switch is 5 × 2.00 = 10.0, and 12/2 with clamps, a receptacle and the ground is 6 × 2.25 = 13.5, so 23.5 cu in.

What changed in 2020 and 2023

Since the 2020 NEC, up to four grounding conductors count as one allowance and each one more adds a quarter: eight 12 AWG grounds are (1 + 4 × 1/4) × 2.25 = 4.5 cu in. The 2023 edition corrected Table 314.16(A): a 4 × 1-1/4 round box holds four 8 AWG conductors, not five, and added terminal blocks, one allowance each, which this calculator does not count.

Volume per conductor

NEC Table 314.16(B)(1): volume allowance for each conductor.
Conductor sizeCubic inches
18 AWG1.50
16 AWG1.75
14 AWG2.00
12 AWG2.25
10 AWG2.50
8 AWG3.00
6 AWG5.00

Metal box sizes (Table 314.16(A))

NEC 2023 Table 314.16(A), metal boxes: minimum volume and the most conductors of one size when nothing else is in the box.
Box, incu in181614121086
4 × 1-1/4 round or octagonal12.58765542
4 × 1-1/2 round or octagonal15.510876653
4 × 2-1/8 round or octagonal21.51412109874
4 × 1-1/4 square18.0121098763
4 × 1-1/2 square21.01412109874
4 × 2-1/8 square30.32017151312106
4-11/16 × 1-1/4 square25.5171412111085
4-11/16 × 1-1/2 square29.5191614131195
4-11/16 × 2-1/8 square42.02824211816148
3 × 2 × 1-1/2 device7.55433321
3 × 2 × 2 device10.06554432
3 × 2 × 2-1/4 device10.57654432
3 × 2 × 2-1/2 device12.58765542
3 × 2 × 2-3/4 device14.09876542
3 × 2 × 3-1/2 device18.0121098763
4 × 2-1/8 × 1-1/2 device10.36554432
4 × 2-1/8 × 1-7/8 device13.08765542
4 × 2-1/8 × 2-1/8 device14.59876542
3-3/4 × 2 × 2-1/2 masonry box or gang14.09876542
3-3/4 × 2 × 3-1/2 masonry box or gang21.01412109874
FS single cover or gang (1-3/4 min. depth)13.59766542
FD single cover or gang (2-3/8 min. depth)18.0121098763
FS multiple cover or gang (1-3/4 min. depth)18.0121098763
FD multiple cover or gang (2-3/8 min. depth)24.016131210984

Questions

How do you calculate box fill?

Count the allowances: 1 for each conductor entering, 1 for any internal clamps, 1 per type of support fitting, 2 for each device yoke, and 1 for up to four grounding conductors plus 1/4 for each more. Multiply each by its conductor's volume from Table 314.16(B)(1) and add them up. The box must be at least that size.

How many cubic inches per wire?

14 AWG 2.00, 12 AWG 2.25, 10 AWG 2.50, 8 AWG 3.00 and 6 AWG 5.00 cubic inches (NEC Table 314.16(B)(1)); 18 AWG 1.50 and 16 AWG 1.75.

Do ground wires count in box fill?

Yes. Up to four grounding conductors entering the box count as one allowance, sized by the largest; each one beyond four adds a quarter allowance. This rule dates from the 2020 NEC.

Do wire nuts and pigtails count?

No. Wire connectors, locknuts and bushings have no allowance, and a conductor that starts and ends inside the box, such as a pigtail, counts zero.

How many 12 AWG wires can go in a 4 inch square box?

A 4 × 1-1/2 square box (21.0 cu in) takes nine 12 AWG conductors and a 4 × 2-1/8 square box (30.3 cu in) thirteen, when nothing else is in the box. Devices, clamps and grounds each take some of that room.

What about plastic boxes?

Nonmetallic boxes are marked with their volume by the maker: use that number. Extension rings, plaster rings and raised covers marked with their volume add it to the box.