NEC Code Compliance calculator
Box Fill Calculator
NEC 314.16 box fill calculator for U.S. electrical rough-in planning. Calculate required volume for conductors, devices, clamps, and grounding conductors in outlet boxes, switch boxes, and junction boxes before closing the installation.
Updated July 10, 2026
Example Calculations
How to Use
NEC 314.16 Box Fill Formula
Required Volume = Conductors + Devices + Clamps + Grounds + Fittings
NEC 314.16(B) Volume Allowances per Conductor
| Wire Size (AWG) | Volume (cu.in.) | Typical Use |
|---|---|---|
| 14 AWG | 2.00 | 15A lighting circuits |
| 12 AWG | 2.25 | 20A receptacle circuits |
| 10 AWG | 2.50 | 30A circuits |
| 8 AWG | 3.00 | 40A circuits |
| 6 AWG | 5.00 | 55A circuits |
Box Fill Counting Rules (NEC 314.16(B))
| Item | Count | Example |
|---|---|---|
| Conductors | 1× each | 6 wires = 6× volume |
| Devices (yoke) | 2× largest | Switch = 2× volume |
| Equipment Grounds | 1× total | All grounds = 1× volume |
| Internal Clamps | 1× total | All clamps = 1× volume |
| Support Fittings | 1× each | Hickey = 1× volume |
Calculation Example: Switch box with 2 cables (6× 14 AWG) + 1 device + grounds + clamps:
Conductors: 6×2.00 = 12.00 + Device: 2×2.00 = 4.00 + Ground: 2.00 + Clamp: 2.00 = 20.00 cu.in. minimum
Use Conduit Fill Calculator for raceway sizing. For wire sizing, use Wire Size Calculator.
Technical notes. Open for formula basis, assumptions, and validation notes.
The Thermodynamics of Box Fill Limits
The foundational logic behind NEC 314.16 is not merely physical space management—it is strict thermodynamic control. When current flows through standard 14 AWG or 12 AWG copper branch circuits, I²R laws dictate that heat is generated. In open air, this heat dissipates rapidly. However, when multiple conductors are crammed into a plastic or metal electrical box surrounded by fiberglass insulation inside a wall cavity, the box becomes a thermal trap. If the box is overfilled beyond its calculated volume allowance, the cumulative heat cannot escape, baking the PVC insulation surrounding the copper wire. Over years of thermal cycling, this trapped heat causes the wire insulation to embrittle, crack, and ultimately fail, leading to dead short circuits or arcing faults precisely where the copper wires bend around the receptacle yoke. The code-mandated cubic inch limits mathematically ensure that a safe ratio of free air volume exists to convectively cool the conductors down to their operational 60°C or 75°C limits during peak loads.
Decoding the "Two Volume Allowance" Yoke Rule
One of the most frequently misunderstood calculations in American electrical rough-in work concerns NEC 314.16(B)(4) regarding devices (yokes or straps). The Code definitively states that for each yoke or strap containing one or more devices (like a standard duplex receptacle or a smart dimmer switch), a double volume allowance must be deducted based on the largest wire connected to that device. This is crucial for modern building retrofits installing deep, bulky smart switches into older, shallower 1980s metal switch boxes. A smart switch inherently occupies the physical space of several conductors. If your switch is wired with 14 AWG (2.00 cubic inches each), adding that single switch to your calculation immediately consumes 4.00 cubic inches of your box's legal limit. If you fail to calculate this "invisible" device payload, you will overstuff the box, legally forcing the electrical inspector to fail the rough-in and requiring complete wall-plate removal and box extraction.
The Ground Wire Exception: NEC 314.16(B)(5)
When calculating final volume requirements for complex junction boxes, mastering the Equipment Grounding Conductor (EGC) rule is paramount. Prior to the 2020 NEC cycle updates, the rule stated that no matter how many bare or green grounding wires entered the box, you only counted one single volume allowance based on the largest ground wire present. However, to combat extreme over-packing in multi-circuit splice boxes, the modern NEC has tightened this rule mathematically. Now, if the box contains four or fewer equipment grounding conductors, you count them as one single allowance. But for each additional grounding conductor over four, you must add a 0.25 (one-quarter) volume allowance modifier. This precise fractional penalty ensures that engineers cannot legally cram eight 12 AWG ROMEX cables into a 4-inch square box and claim all 8 bare grounds consume the exact same thermal volume as a single wire.
Common Applications
More applications. Open to review 2 additional use cases.
Frequently Asked Questions
How do I calculate box fill for a switch with multiple cables?
What size box do I need for a standard 20A duplex receptacle?
Do all ground wires count separately for box fill?
Related Calculators
Check conduit fill, conductor count, and raceway loading against NEC-style limits.
Handle conductor gauge selection from load current, standard OCPD, and voltage drop after ampacity and raceway constraints are known.
Individual conductor ampacity and derating per NEC 310.16 with ambient-temperature correction, current-carrying conductor adjustment, and terminal-rating limits.
Evaluate panel loading, demand, and spare capacity against NEC-style design assumptions.
Screen straight, angle, and U-pull box dimensions from NEC 314.28 using governing raceway rows.
Convert between AWG, mm², and circular mils for conductor sizing and documentation.