Box Fill Calculation for Wires
Box fill is a different rule from conduit fill. How NEC 314.16 counts conductors, clamps, devices and grounds in volume allowances, with worked examples.
Box Fill: How Many Wires Fit in a Box
You have a junction box on the wall, a handful of cables entering it, and an inspector on the way. The NEC 2023 rule that decides whether you pass or pull it all out is Article 314.16, the box fill calculation. The answer is a cubic-inch budget: the box has a certain volume, each conductor or fitting eats a fixed allowance from Table 314.16(B), and you simply sum the deductions. No geometry, no percentages, just a ledger.
Box Fill Vs. Conduit Fill: The Two Are Not The Same
A common inspection failure is treating box fill like conduit fill. Conduit fill (Chapter 9) limits the cross-sectional area of the raceway to a percentage of its interior, 40% for more than two conductors, 31% for two, 53% for one, 60% for a nipple. Box fill, under NEC 314.16, uses a cubic-inch budget, not an area percentage. The box volume is fixed, and each conductor, clamp, device yoke, or grounding conductor deducts a set number of cubic inches from it. You never calculate a fill percentage for a box; you check whether the sum of allowances exceeds the box's marked or tabulated volume.
Volume Allowance Per Conductor Size: NEC Table 314.16(B)(1) And (B)(2)
Table 314.16(B)(1) gives the allowance for conductors 18 AWG through 6 AWG. For 14 AWG, each conductor deducts 2.0 in³; for 12 AWG, 2.25 in³; for 10 AWG, 2.5 in³; and for 8 AWG, 3.0 in³. For 6 AWG and larger, turn to Table 314.16(B)(2): a 4 AWG conductor takes 5.0 in³; 2 AWG takes 5.5 in³; 1/0 AWG takes 6.5 in³; 2/0 AWG takes 7.5 in³; 3/0 AWG takes 9.0 in³; 4/0 AWG takes 10.5 in³; and the table continues up through 2000 kcmil, which takes 62.0 in³. These values are per conductor, per the 2023 code.
What Counts Toward Box Fill: Conductors, Clamps, Fittings, Devices, Grounds
NEC 314.16(B)(3) is the counting rule. A conductor that originates outside the box and terminates inside is counted once. A conductor that passes through without a splice or tap is counted once. A conductor that is spliced or tapped inside is counted once. Equipment grounding conductors and bonding jumpers: one volume allowance per set that enters the box, based on the largest conductor in that set. Section 314.16(B)(4) says each internal cable clamp deducts one allowance, based on the largest conductor entering that clamp. Under 314.16(B)(5), each luminaire stud or hickey deducts one allowance, based on the largest conductor entering the box. Section 314.16(B)(6) says each device yoke, a switch or receptacle yoke, deducts one allowance, based on the largest conductor connected to that device. The rule is simple: count every conductor, every clamp, every stud, every device yoke, and every grounding set. Nothing is free.
Standard Box Volumes: NEC Table 314.16(A)
Table 314.16(A) lists the cubic-inch capacities for metal boxes of standard sizes. A 4x1.5 in round metal box has 14.0 in³. A 4x2.125 in round metal box has 21.5 in³. A 4x1.5 in square metal box has 21.0 in³. A 4x2.125 in square metal box has 30.3 in³. For nonmetallic boxes, Table 314.16(B) gives different values: the same 4x2.125 in square nonmetallic box is 26.0 in³. The difference matters: you cannot use the metal-box volume for a Carlon nonmetallic box. For any box smaller than 100 in³, NEC 314.16(C) requires the manufacturer to stamp the cubic-inch capacity on the box. Raco 4x2.125 in square metal boxes are marked 30.3 in³. Carlon marks its nonmetallic boxes at 26.0 in³. When the stamp exists, it overrides the table; when it does not, use the table value.
Worked Example: Device Box With Two Cables
You have a 4x2.125 in square metal device box, volume 30.3 in³ from Table 314.16(A). Two 12/2 NM cables enter the box. Each cable contains two 12 AWG conductors plus a grounding conductor. For the box fill calculation, you count each conductor individually. The two 12 AWG conductors per cable: 2 x 2.25 in³ = 4.5 in³ per cable. Two cables: 9.0 in³. The grounding conductors: one per cable, 12 AWG, each 2.25 in³, for a total of 4.5 in³. The device yoke for a duplex receptacle: one allowance based on the largest conductor connected (12 AWG), 2.25 in³. Total deductions: 9.0 + 4.5 + 2.25 = 15.75 in³. The box has 30.3 in³, so you are well within the limit. The failure case would be adding a third 12/2 cable and a second device yoke, which pushes the total to 27.0 in³, still under 30.3, but only by 3.
Worked Example: 4-11/16 Junction Box
A 4-11/16 in square junction box is a common size. For a metal box, the volume from Table 314.16(A) is not listed in the fact sheet, use the manufacturer's stamp. Assume a 4-11/16 x 2.125 in metal box with a marked volume of 42.0 in³ (a typical value; verify on your box). Three 1/2 in EMT conduits enter the box. Each conduit carries four 12 AWG THHN conductors and one 12 AWG bare ground. Total conductors per conduit: 4 insulated plus 1 bare = 5. Three conduits: 15 conductors. Each 12 AWG: 2.25 in³. 15 x 2.25 = 33.75 in³. One set of grounding conductors per conduit: three sets, each one allowance based on 12 AWG, 2.25 in³ each, total 6.75 in³. No internal clamps, no device yokes. Total: 33.75 + 6.75 = 40.5 in³. The box has 42.0 in³, so it passes by 1.5 in³. Add one more 12 AWG conductor and you fail.
Box Fill Calculation: The NEC 314.16 Method
The NEC 314.16 method is a simple addition problem, not a geometry exercise. List every item in the box: each conductor (counted once regardless of splice), each internal clamp, each device yoke, each luminaire stud, and each set of equipment grounding conductors. Look up the cubic-inch allowance per item from Table 314.16(B)(1) or (B)(2). Sum them. Compare the sum to the box's cubic-inch capacity from Table 314.16(A) or from the manufacturer's stamp. If the sum exceeds the capacity, the box is too small. No percentage, no fill ratio, no exceptions for short lengths. The most common error is forgetting to count the grounding conductors, which adds 2.25 in³ per set for 12 AWG and can push a marginal installation over the limit.
Junction Box Fill: A Practical Walkthrough
Walk through a typical rough-in: a 4x2.125 in square nonmetallic box (26.0 in³). Two 14/2 NM cables enter. Each cable has two 14 AWG conductors (2.0 in³ each) and one 14 AWG ground (2.0 in³). Per cable: 2 x 2.0 + 2.0 = 6.0 in³. Two cables: 12.0 in³. A single-gang device yoke for a switch: one allowance based on 14 AWG, 2.0 in³. Total: 14.0 in³. The box has 26.0 in³, so it passes. The failure case is adding a third cable: 18.0 in³ plus the yoke, 20.0 in³, still fine. But add a second device yoke, and the total becomes 22.0 in³, still under. The limit is reached at four cables plus two yokes: 4 x 6.0 = 24.0 in³ plus 2 x 2.0 = 28.0 in³, which exceeds 26.0 in³. At that point, you need a larger box or a second box.
How Many Wires In A 4x4 Box: What The Tables Say
A 4x4 in square box is 4 in by 4 in by the depth. For a 4x1.5 in square metal box, Table 314.16(A) gives 21.0 in³. For a 4x2.125 in square metal box, 30.3 in³. For a 4x2.125 in square nonmetallic box, 26.0 in³. The number of 12 AWG conductors that fit: 21.0 in³ ÷ 2.25 in³ = 9.3, so 9 conductors maximum. For the 30.3 in³ box: 13 conductors. For the 26.0 in³ nonmetallic: 11 conductors. These counts assume no clamps, no device yokes, and no grounding conductors counted separately. The moment you add a device yoke or a ground, the count drops. Use the manufacturer's stamp if the box has one, it overrides the table.
Box Fill Chart: Quick Reference For Common Sizes
Below is a table of common box sizes and their cubic-inch capacities from NEC 2023 Tables 314.16(A) and (B). Use these values only when the box is not stamped. For a box smaller than 100 in³ that has a stamp, use the stamp.
| Box Type and Size | Metal (in³) | Nonmetallic (in³) |
|---|---|---|
| 4 x 1.5 in round | 14.0 | 12.0 |
| 4 x 2.125 in round | 21.5 | 18.5 |
| 4 x 1.5 in square | 21.0 | 18.0 |
| 4 x 2.125 in square | 30.3 | 26.0 |
| 4-11/16 x 2.125 in square | Use manufacturer stamp | Use manufacturer stamp |
NEC 314.16: The Authority For Box Fill
NEC 314.16 is the only rule for box fill. It applies to junction boxes, pull boxes, and conduit bodies. The 2023 edition has not changed the allowance tables from the 2020 edition. The one thing most electricians get wrong is applying the Chapter 9 conduit fill rules to a box, do not do it. The box fill calculation is separate, and the failure case is an inspector who knows the difference. Always carry a copy of Table 314.16(B)(1) and (B)(2) or have the numbers memorized for the sizes you use daily.
What Often Goes Wrong With Box Fill
The single most common failure is applying the conduit fill 40% rule to a junction box. It does not work that way. The second is forgetting to count the grounding conductors, which for 12 AWG adds 2.25 in³ per set, enough to push a marginal box over the limit. The third is using the metal box volume for a nonmetallic box, or vice versa. The fourth is trusting the table when the box has a manufacturer's stamp; the stamp is the legal authority. The fifth is not accounting for device yokes, a single-gang switch or receptacle yoke takes one allowance based on the largest conductor connected to it. Skip any of these, and the inspector will catch it.
More in this guide
Conduit Dimensions Chart and NEC Table 4Adding Conduit Runs in Feet, Inches, and Fractions.
Common Questions
What is the difference between a junction box and a conduit body for fill purposes?
NEC 314.16 covers both. For conduit bodies smaller than 100 in³, there is an additional rule: the cross-sectional area must be at least twice that of the largest conduit connected. For boxes, only the cubic-inch capacity matters.
Do I count a conductor that is spliced in the box more than once?
No. NEC 314.16(B)(3) says each conductor that is spliced or tapped within the box is counted once, not once per splice. A conductor that enters, is spliced, and leaves is still counted once.
What happens if the box fill calculation says I am over the limit?
The box is too small. You must install a larger box, add a second box, or reduce the number of conductors. An inspector will fail a box that exceeds its cubic-inch capacity.
Do grounds count toward the box fill?
Yes. NEC 314.16(B)(3) says equipment grounding conductors and bonding jumpers: one volume allowance for each set that enters the box, based on the largest conductor in that set.