Junction Box Sizing Calculator

Determine the minimum junction box size required per NEC Article 314.16 based on wire gauge, number of conductors, devices, and clamps.

MINIMUM BOX VOLUME
--
Conductor Fill
--
Device Fill
--
Clamp + Ground
--
Recommended Box
--

NEC Junction Box Fill Requirements

The National Electrical Code (NEC) Article 314.16 specifies minimum volume requirements for junction boxes, outlet boxes, and device boxes. Proper box sizing prevents overheating, damaged insulation, and difficult installations. Every conductor, device, clamp, and grounding wire entering a box takes up space that must be accounted for.

Box fill calculations ensure adequate space for conductors to be safely installed, connected, and maintained. An overfilled box increases the risk of electrical fires, short circuits, and code violations that will not pass inspection.

Box Fill Calculation (NEC 314.16)

Total Fill = (Conductors × Vol.) + (Devices × 2 × Vol.) + (Clamps × 1 × Vol.) + (Grounds × 1 × Vol.)
  • Conductors: Each conductor entering the box counts as 1× the volume allowance for its wire gauge.
  • Devices: Each switch or receptacle counts as 2× the volume allowance of the largest conductor connected to it.
  • Internal clamps: All internal cable clamps together count as 1× the volume allowance of the largest conductor.
  • Equipment grounds: All grounding conductors together count as 1× the volume allowance of the largest grounding conductor.

Volume Allowance per Conductor

Wire Size (AWG)Volume (in³)Volume (cm³)
181.5024.6
161.7528.7
142.0032.8
122.2536.9
102.5041.0
83.0049.2
65.0081.9

Common Box Sizes

Box TypeDimensionsVolume (in³)
Single-gang plastic3×2×2¼"14.0
Single-gang deep3×2×3½"18.0
Double-gang plastic3×4×2¼"28.0
4" square metal4×4×1½"21.0
4" square deep4×4×2⅛"30.3
4-11/16" square4-11/16×4-11/16×1½"29.5
4-11/16" deep4-11/16×4-11/16×2⅛"42.0

Frequently Asked Questions

Do pigtails count as conductors?

Pigtails (short conductors originating and terminating within the box) do not count toward box fill per NEC 314.16(B)(1). Only conductors entering the box through a knockout are counted.

How do I count a switch loop?

Each conductor entering the box counts individually. A standard switch loop with two conductors counts as 2 conductors. The switch device itself adds 2× the volume allowance.

What if I have mixed wire gauges?

Each conductor is counted at its own gauge volume. Devices are counted at 2× the largest conductor connected to them. Clamps and grounds are counted at the largest conductor size in the box.

Can I use a box smaller than calculated?

No. The NEC minimum box fill is a code requirement. Inspectors will fail installations with undersized boxes. When in doubt, go one size larger for easier installation.