A box that is too small is a code violation and a fire risk: crammed conductors overheat, insulation gets nicked, and nobody can work on the splices later. This free box fill calculator checks your box against NEC 314.16.
Count each conductor that originates outside the box and terminates or is spliced inside it, once, at its own size. A conductor that passes straight through the box without a splice or termination counts once. Pigtails that start and end inside the box are not counted. Equipment grounding conductors go in the box below, not here. Conductors 4 AWG and larger are not sized by box fill at all; they fall under the pull and junction box rules of NEC 314.28.
Each device yoke counts as two allowances, and all internal cable clamps together count as one allowance, both based on the largest conductor in the box. Grounds follow the NEC 2023 rule: up to four entering grounding conductors share one allowance, and each one beyond four adds a quarter allowance, all based on the largest conductor in the box. Support fittings and terminal blocks are not counted here; add one allowance for each if they are present.
Volumes are the minimum volumes of standard metal boxes from NEC Table 314.16(A). A nonmetallic box, or a box not in the table, is marked with its volume by the maker; choose Custom volume and enter the marked figure. The volume of a plaster ring, domed cover or extension ring marked with its volume adds to the box volume.
Please enter at least one conductor, and whole numbers of 0 or more for every count.
| Standard Box | Volume (cu in) | Fill Required (cu in) | Remaining (cu in) | Result |
|---|
Each row checks the same box contents against a different standard metal box from Table 314.16(A). A box passes when its volume is at least the fill required.
Founder & CEO, Techraxy
Faiq Ur Rahman is a web designer, digital product developer, and Founder of Techraxy, a growing platform of online calculators and utility tools. He specializes in building structured, user-friendly tools focused on finance, health, conversions, productivity, and everyday problem-solving. He is passionate about developing practical digital solutions that make complex tasks simpler for users worldwide.
User Ratings:
ADVERTISEMENT
ADVERTISEMENT
A box that is too small is a code violation and a fire risk: crammed conductors overheat, insulation gets nicked, and nobody can work on the splices later. This free box fill calculator checks your box against NEC 314.16. Enter the conductors by gauge, the devices, the clamps and the grounds, pick a standard box, and it works out the fill required in cubic inches, whether the box passes, and the smallest standard box that does. A comparison table checks the same contents against eleven standard metal boxes at once, so you can see at a glance which sizes work.
A box fill calculator adds up the volume allowances that NEC 314.16 assigns to everything inside an electrical box, and compares the total with the volume of the box. Each conductor gets a fixed allowance from Table 314.16(B) based on its size: 14 AWG takes 2.00 cubic inches, 12 AWG 2.25, 10 AWG 2.50, 8 AWG 3.00 and 6 AWG 5.00. Those are code allowances, not the physical volume of the wire; you do not measure the actual conductors. On top of the conductors, each device yoke counts as two allowances, all the internal cable clamps together count as one allowance, and the grounding conductors share one allowance for the first four with a quarter allowance for each one beyond that, all based on the largest conductor in the box. The box passes when its volume, from Table 314.16(A) for a standard metal box or marked on the box by the maker, is at least the total fill required.
Box fill applies to conductors 6 AWG and smaller. Conductors 4 AWG and larger are not sized by volume at all; they fall under the pull and junction box rules of NEC 314.28, which size the box from the raceway diameters instead. The Junction Box Sizing Calculator covers those rules.
Volume allowance per conductor, NEC Table 314.16(B):
14 AWG = 2.00 cu in, 12 AWG = 2.25 cu in, 10 AWG = 2.50 cu in, 8 AWG = 3.00 cu in, 6 AWG = 5.00 cu in
(18 AWG = 1.50 cu in and 16 AWG = 1.75 cu in are also in the table, for fixture wires.)
Conductor fill = sum of (count of each gauge x its allowance)
Device fill = number of device yokes x 2 x largest conductor allowance
Clamp fill = 1 x largest conductor allowance, when internal clamps are present
Ground fill = grounding allowances x largest conductor allowance, where grounding allowances = 0 when no grounds enter, 1 for one to four entering grounds, and 1 + 0.25 x (grounds – 4) for more than four
Total fill required = conductor fill + device fill + clamp fill + ground fill
The box passes when box volume is greater than or equal to total fill required.
The largest conductor allowance is the Table 314.16(B) allowance of the largest conductor in the box (the smallest AWG number present). Strictly, the code bases the device allowance on the largest conductor connected to the device, the clamp allowance on the largest conductor in the box, and the grounding allowance on the largest grounding conductor entering the box. This calculator uses the largest conductor in the box for all three, which matches the usual case where all conductors are the same size, and is the conservative reading when they are mixed.
Standard metal box volumes, NEC Table 314.16(A): 3 x 2 x 2 in device 10.0 cu in; 3 x 2 x 2-1/2 in device 12.5 cu in; 4 in octagon x 1-1/2 in deep 15.5 cu in; 3 x 2 x 3-1/2 in device 18.0 cu in; 4 in square x 1-1/4 in deep 18.0 cu in; 4 in square x 1-1/2 in deep 21.0 cu in; 4 in octagon x 2-1/8 in deep 21.5 cu in; 4-11/16 in square x 1-1/4 in deep 25.5 cu in; 4-11/16 in square x 1-1/2 in deep 29.5 cu in; 4 in square x 2-1/8 in deep 30.3 cu in; 4-11/16 in square x 2-1/8 in deep 42.0 cu in.
This calculator follows NEC 2023 Article 314.16. The grounding rule above is the 2020 and 2023 wording; earlier editions counted all grounding conductors as a single allowance no matter how many there were. Confirm the edition your jurisdiction has adopted and any local amendments before you close up.
A 4 in square box, 1-1/4 in deep (18.00 cu in), holding four 14 AWG conductors, one device yoke, internal cable clamps and two entering grounding conductors. All steps below use the unrounded values; displayed figures are rounded to two decimals only at the end.
Conductor fill = 4 x 2.00 = 8.00 cu in.
Device fill = 1 x 2 x 2.00 = 4.00 cu in.
Clamp fill = 1 x 2.00 = 2.00 cu in.
Ground fill = 1 x 2.00 = 2.00 cu in (two grounds share one allowance).
Total fill required = 8.00 + 4.00 + 2.00 + 2.00 = 16.00 cu in.
Box volume = 18.00 cu in.
Remaining space = 18.00 – 16.00 = 2.00 cu in.
The box passes, with 2.00 cu in to spare. The smallest standard box that holds this fill is also 18.00 cu in, either the 3 x 2 x 3-1/2 in device box or the 4 in square x 1-1/4 in deep box; the next size down, the 4 in octagon at 15.50 cu in, fails by 0.50 cu in.
Yes. Under NEC 2023 314.16(B)(5), up to four equipment grounding conductors entering a box share one volume allowance, based on the largest grounding conductor entering the box, and each grounding conductor beyond four adds a quarter allowance. Five 12 AWG grounds, for example, take (1 + 0.25) x 2.25 = 2.81 cu in. The old shortcut that all grounds together count as one allowance, however many there are, was the rule before the 2020 edition and no longer describes the current code. Grounds that start and end inside the box, such as bonding jumpers and pigtails, are not counted.
Because a switch or receptacle yoke, with the device body behind it, takes up roughly twice the space of a single conductor in the box. NEC 314.16(B)(4) therefore assigns each single-gang device yoke two volume allowances, based on the largest conductor connected to the device. A device wider than a single gang takes two allowances for each gang it needs for mounting, so a two-gang device counts as four allowances.
Use the volume marked on the box. Table 314.16(A) lists standard metal boxes; boxes not in the table, and nonmetallic boxes, must be durably and legibly marked with their volume by the manufacturer. Choose Custom volume in this calculator and enter the marked figure. The volume of a plaster ring, domed cover or extension ring that is marked with its volume, or made from a listed box, adds to the box volume.
Pigtails that originate inside the box and terminate inside the box are not counted. A conductor that originates outside the box and terminates or is spliced inside it counts once. A conductor that runs straight through the box without a splice or termination also counts once, and a conductor looped through the box unbroken, 12 inches or longer, counts twice, because 12 inches is twice the 6 inch free-conductor minimum of NEC 300.14. Equipment grounding conductors and bonding jumpers that start and end inside the box are not counted either.
They are not sized by box fill. NEC 314.16 covers conductors 6 AWG and smaller; boxes containing conductors 4 AWG and larger are sized under NEC 314.28, which sets the minimum box length from the raceway trade sizes: eight times the largest raceway for a straight pull, or six times the largest raceway plus the other raceways on the same wall and row for an angle pull, U pull or splice. The Junction Box Sizing Calculator works those numbers out.
This calculator gives estimates based on NEC 2023 Article 314.16, Tables 314.16(A) and 314.16(B), as reproduced in published references. It covers conductors 6 AWG and smaller only, and does not count support fittings or terminal blocks; add one allowance for each if they are present. The NEC edition your jurisdiction has adopted may differ, and local amendments may apply. The results are for planning and estimating only. Confirm the calculation against the adopted code text and the volume marked on the box, and have the work checked by a licensed electrician and the authority having jurisdiction before closing up.
ADVERTISEMENT
ADVERTISEMENT