Get the app

Box Fill Calculator

Each #14 counts 2.00 in³, each #12 2.25 in³. Count every wire that ends or splices in the box, two allowances per device yoke or strap, one for clamps, and one for up to four grounds. A 4" square × 1-1/2" box holds 21 in³.

  • NEC 314.16
  • Tables 314.16(A) and (B)(1)
  • 2020 and 2023 rules

Box fill calculator

NEC 314.16

Add one row per size: a yoke or terminal block counts at the largest wire connected to it, and a long loop (at least twice the free length 300.14 requires) counts twice.

Needed
18.00in³
Box holds
21.0in³
Result
Fits: entered items

4 × 12 AWG conductors = 9.00 · Internal clamps (1 × 12 AWG) = 2.25 · 1 device yoke (2 × 12 AWG each) = 4.50 · Equipment grounding conductors (1 × 12 AWG total) = 2.25

This covers only the items entered. Check the actual box volume (nonmetallic boxes: the marked volume) and the NEC edition your jurisdiction has adopted.

The app finds the smallest listed box that works and keeps box fill next to conduit fill and your bends, offline.

See it in the Android app →

Method and sources

By Blissom · Updated 2026-10-23

Short answer: add up an allowance for every conductor entering the box (#14 = 2.00 in³, #12 = 2.25 in³, #10 = 2.50 in³), two allowances per device yoke, one for internal clamps, one for each type of support fitting, one per terminal-block assembly (2023), and one for up to four grounds (plus a quarter for each ground over four). The total must not exceed the box volume. The calculator covers #18 to #6 conductors, yokes, clamps, grounds, pass-throughs, long loops, support fittings and terminal blocks, in the listed metal boxes or any box with a marked volume.

What counts, and how much (314.16(B))

ItemCounts as
Each conductor that enters and ends or is spliced1 allowance of its size
Conductor passing through unbroken1 allowance
Unbroken loop or coil at least twice the free length 300.14 requires2 allowances
Pigtails and jumpers that do not leave the box0
Internal cable clamps (any number)1 allowance, largest conductor
Support fittings (luminaire studs, hickeys)1 allowance for each type present, largest conductor
Each device yoke or strap2 allowances, largest conductor on that device (per gang if wider than 2")
Each terminal-block assembly (2023 NEC, 314.16(B)(6))1 allowance, largest conductor on that block
Equipment grounding conductors, up to 41 allowance, largest ground
Each ground beyond 4 (2020 NEC and later)1/4 allowance

Volume per conductor (Table 314.16(B)(1) in NEC 2023, 314.16(B) in 2020)

Sizein³ each
#6 AWG5.00
#8 AWG3.00
#10 AWG2.50
#12 AWG2.25
#14 AWG2.00
#16 AWG1.75
#18 AWG1.50

Metal box volumes (Table 314.16(A))

BoxVolume in³Max #14Max #12
4 × 1-1/4 round / octagon12.565
4 × 1-1/2 round / octagon15.576
4 × 2-1/8 round / octagon21.5109
4 × 1-1/4 square18.098
4 × 1-1/2 square21.0109
4 × 2-1/8 square30.31513
4-11/16 × 1-1/4 square25.51211
4-11/16 × 1-1/2 square29.51413
4-11/16 × 2-1/8 square42.02118
3 × 2 × 1-1/2 device7.533
3 × 2 × 2 device10.054
3 × 2 × 2-1/4 device10.554
3 × 2 × 2-1/2 device12.565
3 × 2 × 2-3/4 device14.076
3 × 2 × 3-1/2 device18.098
4 × 2-1/8 × 1-1/2 device10.354
4 × 2-1/8 × 1-7/8 device13.065
4 × 2-1/8 × 2-1/8 device14.576

"Max" is the number of allowances the box holds, before counting devices, clamps and grounds as allowances. Plastic and nonmetallic boxes use the volume marked on the box.

Worked example: receptacle in a 4" square box

A 4" square × 1-1/2" box (21.0 in³) with four #12 conductors, one receptacle, internal clamps and two grounds:

  • 4 × #12 = 4 × 2.25 = 9.00 in³
  • Receptacle yoke = 2 × 2.25 = 4.50 in³
  • Clamps = 2.25 in³
  • Grounds (two) = 2.25 in³
  • Total 18.00 in³ ≤ 21.0 in³: the box is big enough.

The grounding rule since 2020

Before the 2020 NEC, equipment grounding conductors generally shared one allowance, with an extra allowance for an additional set of isolated-ground conductors (250.146(D)). Since 2020, up to four grounding conductors entering the box share one allowance and each one beyond four adds a quarter allowance. Boxes with many grounds that passed under older editions can now fail. Check which edition your jurisdiction enforces, and see the conduit fill calculator for the raceway side.

Sources: NFPA 70 (NEC) 2020 and 2023: 314.16, Table 314.16(A), Table 314.16(B)(1) (314.16(B) in 2020), 314.16(B)(1)–(6) and 300.14; Box manufacturer markings for nonmetallic and listed boxes. Method.

Questions electricians ask

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

A 4" square × 1-1/2" deep box (21 in³) holds nine #12 conductor allowances (9 × 2.25 = 20.25 in³). Remember that a device counts as two allowances, clamps as one and the grounds as one.

How do devices count in box fill?

Each yoke or strap holding one or more devices (switch, receptacle) counts as two conductors of the largest size connected to it (314.16(B)(4)). A device wider than 2" counts two allowances for each gang it needs.

Do ground wires count in box fill?

Since the 2020 NEC, up to four equipment grounding conductors entering the box count as one allowance of the largest ground, and each one beyond four adds a quarter allowance. Earlier editions counted them as one allowance, plus one for an additional isolated-ground set.

Do pigtails count in box fill?

No. A conductor that starts and ends inside the box, such as a pigtail or a jumper, is not counted (314.16(B)(1) exception). Fixture wires coming from a canopy also do not count in some cases.

Conduit Bending Calculator app screen

Box fill next to your bends

  • Smallest listed box that works
  • Box fill and conduit fill next to your bends
  • Works offline on site
  • In five languages

Android only. There is no iPhone version yet; the free calculators on this site work on any phone.

Android appGet it on Google Play
Scan with your phone camera to open it on Google Play.

$7.99 one time · no subscription · no ads · works offline