MasaApps360
English
PipeMaster

How to calculate box fill under NEC 314.16, step by step

Count conductors, devices, clamps and grounds, multiply by the volume allowance for your wire size (2.00 in³ at 14 AWG, 2.25 in³ at 12 AWG), and check it against the box. Four #12 conductors, one device, internal clamps and a ground need exactly 18.00 in³ — which is why that combo fills a standard 18 in³ box with zero to spare, an easy count to get wrong on site. PipeMaster's Box Fill calculator (Pro) does the counting for you.

3 min read · Updated 2026-09-10

The box fill calculation formula

Required volume = number of allowances × the allowance for the wire size. NEC 314.16(B) counts the allowances like this:

  • Each insulated conductor that comes into the box from outside: 1. A wire that passes through without a splice also counts 1; a pigtail that never leaves the box counts 0.
  • Each device yoke (a switch or receptacle strap): 2, based on the largest conductor connected to it.
  • All internal cable clamps together: 1.
  • All equipment grounding conductors together: 1. Some code editions add a quarter allowance for each ground beyond four.
  • Luminaire studs and hickeys: 1 each.
Volume allowance per conductor, NEC 314.16(B)
Wire sizeAllowance
18 AWG1.50 in³
16 AWG1.75 in³
14 AWG2.00 in³
12 AWG2.25 in³
10 AWG2.50 in³
8 AWG3.00 in³
6 AWG5.00 in³

How to do box fill in PipeMaster

  1. Open Box Fill under Electrical (Pro).
  2. Under Conductors, pick the Wire Size (AWG).
  3. Set Current-Carrying to the number of insulated conductors that enter the box, and Devices (yokes) to the number of devices.
  4. Switch on Internal Clamps and Equipment Ground if the box has them.
  5. Under Box, set Box Volume (3 to 100 in³ in 0.5 steps) to the volume marked on the box.
  6. Read Required and the result line: it fits with the spare volume, or it is over and tells you to use a larger box.

Box fill calculation examples

PipeMaster results with an 18.0 in³ box
WireConductorsDevicesClampsGroundRequiredResult
12 AWG41yesyes18.00 in³Fits — 0.00 in³ spare
12 AWG61yesyes22.50 in³Over by 4.50 in³ — use a larger box
14 AWG41yesyes16.00 in³Fits — 2.00 in³ spare
12 AWG21noyes11.25 in³Fits — 6.75 in³ spare

The second row by hand: (6 conductors + 2 × 1 device + 1 for clamps + 1 for grounds) × 2.25 = 10 × 2.25 = 22.50 in³, which is 4.50 in³ more than the box holds.

How many wires can go in a 4x4 box?

There is no single number: it depends on the box depth, any raised cover or extension ring, and the wire size. Read the volume stamped in the box, add the volume marked on a ring or raised cover, and enter the total in Box Volume. Then change the counts until the result says it fits.

As a quick check, divide the volume by the allowance. A box and ring marked 21.0 in³ in total holds 9 allowances of 12 AWG, because 21 ÷ 2.25 = 9.33 and you round down.

Limits of this calculator

  • One wire size for the whole box: with mixed sizes, work out the allowances by hand.
  • All grounds count as one allowance, however many there are.
  • No luminaire studs or hickeys, and devices always count as 2.
  • No box-size table: you type the volume.
  • NEC only; it does not follow the Canadian CEC rules.

Questions and answers

How many 12 gauge wires in a 4x4 box?
Divide the box volume (plus any ring or raised cover) by 2.25 in³ and round down; that is the number of allowances, and devices, clamps and grounds use some of them. With 21.0 in³ in total you get 9 allowances; one device, clamps and grounds take 4, which leaves room for five #12 conductors.
Do ground wires count in box fill?
Yes, but all the equipment grounds together count as one allowance at the size of the largest ground; some code editions add a little for each ground beyond four. In PipeMaster, switch on Equipment Ground to add that one allowance.
Does PipeMaster's box fill follow the Canadian code?
No. It follows NEC 314.16(B) in cubic inches. Canadian CEC box fill uses different rules, so do not use it for work under the CEC.

You might also like

More PipeMaster guides