Box fill · NEC 314.16 · 2017 / 2020 / 2023 editions
Box Fill Calculator
Will your conductors and devices fit the box? Enter them below for a pass or fail against the box volume, or look up the per-conductor allowance table.
By Allen Tan · Updated · How results are sourced
Scope: what this tool covers — and what it refuses
Covers: outlet, device and junction boxes — Table 314.16(A) metal boxes or boxes with the volume durably marked on the box, up to 1650 cm³ (100 in³), conductors 18 to 6 AWG, one undivided box space.
- 4 AWG and larger also need the pull and junction box rules of 314.28 — size those with the pull box sizing calculator (NEC 314.28), not here.
- Conduit bodies use 314.16(C) and count differently from boxes.
- Unmarked non-table boxes cannot be checked — use the volume marked on the box or ask your AHJ.
- Boxes above 1650 cm³ (100 in³) are outside this tool — check the marked volume with your AHJ.
- Clamp assemblies with a cable termination: this tool has no rule to count a clamp assembly with a cable termination. Ask your AHJ how to count it.
- Domed luminaire / canopy exception wiring and motor or generator terminal housings are not covered — for terminal housings see 430.12 and ask your AHJ.
2Box
Standard metal boxes live in this list. Only open the marked-volume input if your box is not listed.
3Circuit conductors
Size group 1
Originates outside, ends or is spliced inside: counted once each.
Through without splice or termination: counted once each.
Unbroken loop or coil: counted twice each.
No part leaves the box: never counted, sizes clamps and yokes.
4Devices and fittings
One allowance per fitting type, not per piece.
Stud + hickey together take two allowances.
5Grounding (EGC)
Terminal blocks and edge casesTerminal blocks count only on NEC 2023. The checkboxes below mark jobs this tool refuses.
Grounding answer needed
The tool never assumes zero. Confirm that no EGC enters this box and it will count zero on that confirmed basis — it does not check grounding compliance.
Before you start: three answers the tool will not guess
- NEC edition. 2017, 2020 or 2023 as adopted where you work. EGC counting and terminal blocks depend on it; the tool tries all three first and asks you to choose only when the answer depends on it.
- Grounding. How many equipment grounding conductors enter the box and the largest EGC size — or an explicit confirmation that none enters.
- Box volume. Either a Table 314.16(A) metal box from the list or the volume marked on the box, in in³ or cm³. There is no manufacturer model list; type the marked volume yourself.
If your conductors just left a raceway, the conduit fill calculator checks the raceway while this page checks the box they land in.
How box fill works
Box fill is a volume comparison: the allowances of 314.16(B)(1) through (B)(6) are added together and the box volume must be not less than that total. It does not depend on voltage, current, or single-phase versus three-phase.
- Conductors (B)(1). Terminated or spliced wires count once each, wires passing through without a splice count once each, and long unbroken loops count twice each. A pigtail no part of which leaves the box is never counted.
- Clamps (B)(2). Internal cable clamps take a single allowance at the largest conductor present.
- Studs and hickeys (B)(3). One allowance per fitting type at the largest conductor present.
- Yokes and straps (B)(4). A double allowance per gang, sized by the largest conductor connected to that yoke. Enter the first yoke (it defaults to the largest wire in the box — change it down if the device wire is smaller) and add more only when their wire sizes differ.
- Grounding (B)(5). Edition-sensitive: 2017 counts any number of EGCs as one allowance; 2020 and later count up to four as one and add a quarter allowance per extra EGC.
- Terminal blocks (B)(6). Counted only under the 2023 edition, one allowance per assembly.
Volume allowance required per conductor, Table 314.16(B)(1) (some secondary sources still label it Table 314.16(B))
| Wire size (AWG) | Allowance (in³) | Allowance (cm³, as printed) |
|---|---|---|
| #18 | 1.50 | 24.6 |
| #16 | 1.75 | 28.7 |
| #14 | 2.00 | 32.8 |
| #12 | 2.25 | 36.9 |
| #10 | 2.50 | 41.0 |
| #8 | 3.00 | 49.2 |
| #6 | 5.00 | 81.9 |
The in³ column governs; cm³ is shown as printed. Table 314.16(A) (24 rows) and Table 314.16(B)(1) values were checked against the NEC 2023 page images; edition-difference rules for 2017 / 2020 remain from secondary sources and are pending recheck against the official text.
Worked example: four #12 plus six #14 in a 4 in square box
Four #12 conductors at 2.25 in³ each plus six #14 at 2 in³ each, with no EGC entering (confirmed), in a 4 in square by 1-1/2 in box.
| Step | Result |
|---|---|
| Fill required | 21.00 in³ |
| Box volume (Table 314.16(A), 4 sq × 1-1/2) | 21.0 in³ |
| Margin | 0.00 in³ — passes exactly at equality |
Fill equal to the box volume passes: 314.16 requires the volume to be not less than the fill. A seventh #14 would not fit. Enter your own mix in the calculator.
What this tool refuses, and why
A refusal is a verdict, not a missing feature: the input needs a different code article or has no verifiable volume, so the tool gives no number rather than a wrong one.
- 4 AWG and larger. These conductors also need the pull and junction box rules of 314.28 — use the pull box sizing calculator (NEC 314.28), not this tool.
- Conduit bodies. Conduit bodies fall under 314.16(C) and count differently from boxes.
- Unmarked boxes outside Table 314.16(A). Non-table boxes must be durably marked with their volume; unmarked cannot be checked.
- Boxes above 1650 cm³ (100 in³). Outside the scope of this tool.
- Clamp assemblies, domed-luminaire wiring, motor terminal housings. Not covered; the refusal names the clause.
- Volume check of 314.16 only: 314.24 minimum depth, 300.14 free length, 314.28, and Chapter 9 Table 1 are not checked.
- Tables and rules follow NEC 2023 pages 70-195/70-196 (user-provided). Adopted edition at the site may differ; ask the AHJ.
Check the edition your jurisdiction has adopted with the AHJ. Table values follow the NEC 2023 page set; counting behavior follows the edition you select.
After the box check
A passing box result says the volume fits — it does not check conductor ampacity, box depth, free conductor length, or fault current. Size the conductors with the secondary conductor sizing calculator, then check voltage drop for the run.
Disclaimer. Box volumes and allowances from NEC Table 314.16(A) and Table 314.16(B)(1) (2023 page set); counting follows the edition you select. This calculator is a sizing and checking aid and is not engineering advice; confirm every result with a licensed professional and your AHJ. Not engineering advice and not a substitute for the code text. Verify against the edition adopted in your jurisdiction and with your Authority Having Jurisdiction — protection decisions affect life safety.
Questions people actually ask
How do I calculate box fill?
Confirm the NEC edition your AHJ adopted, then list every conductor by how it sits in the box: terminated or spliced (counted once each), passing through (once each), and long unbroken loops (twice each). Add one allowance for internal clamps, one per stud or hickey type, a double allowance per yoke gang sized by that yoke’s own connected wire, the EGC allowance for your edition, and terminal blocks on 2023. Compare the total against the box volume. The calculator above does the adding line by line from Table 314.16(B)(1) values.
What is the NEC code for box fill?
NEC Article 314.16, Number of Conductors in Outlet, Device, and Junction Boxes. Part (A) covers box volume and part (B) covers the fill allowances (B)(1) through (B)(6). Counting rules differ by edition — for example EGC counting changed after 2017 and terminal blocks appear only in 2023 — so check which edition your jurisdiction enforces.
How many 12 gauge wires can you put in a 4 square box?
It depends on the box depth, assuming same-size #12 conductors with no devices or fittings: a 4 in square by 1-1/4 in box (18 in³) holds 8, a 4 in square by 1-1/2 in box (21 in³) holds 9, and a 4 in square by 2-1/8 in box (30.3 in³) holds 13. Any EGC, device yoke, clamp, or mixed wire size changes the count — run your exact mix in the calculator.
How much box fill is needed for 12 gauge wire?
Each #12 allowance takes 2.25 in³ (36.9 cm³) from Table 314.16(B)(1). So four #12 allowances need 9 in³ before devices and fittings. See the full per-size table under volume allowance per conductor.
Which NEC edition should I select: 2017, 2020 or 2023?
Use the edition your AHJ adopted, not the newest one. It matters: on 2017 any number of EGCs takes a single allowance, while on 2020 and 2023 the first four take one allowance and each extra EGC adds a quarter. Terminal block assemblies count only on 2023. The tool first tries all three editions and shows one result when they agree; it asks you to pick an edition only when the answer depends on it.
What if there is no ground wire in the box?
The tool never assumes zero. If you confirm no equipment grounding conductor enters the box, tick the confirmation box and the tool counts zero on that confirmed basis; it does not verify grounding compliance. Otherwise enter the EGC count and the largest EGC size.
Why does the tool refuse some inputs instead of calculating?
Some jobs are outside NEC 314.16 box fill: conductors 4 AWG and larger also need the pull and junction box rules of 314.28, conduit bodies use 314.16(C), unmarked non-table boxes have no volume to check against, and boxes above 1650 cm³ (100 in³) are out of scope. A refusal names the reason, the code clause, and the next step — nothing is silently counted as zero.
Is box fill the same as conduit fill?
No. Conduit fill (NEC Chapter 9) checks conductor area against raceway area; box fill (NEC 314.16) checks conductor and device allowances against box volume. If you sized the raceway first with the conduit fill calculator, bring those same conductors here and check the box they land in.
Related calculators
Conduit Fill Calculator (NEC Chapter 9)
Fill percentage and smallest raceway for the conductors before they reach the box.
OpenSecondary Conductor Sizing Calculator (NEC 310.16)
Ampacity with ambient correction and terminal limits.
OpenVoltage Drop Calculator
Volts lost on the run — a box that fits can still drop too much.
Open