Box Fill
Calculate electrical box fill volume per NEC 2020 Table 314.16(B). Enter conductors, devices, clamps, and grounding wires for accurate volume allowances instantly.
About This Calculator
The Electrical Box Fill Calculator helps electricians, electrical engineers, contractors, and DIY homeowners determine the correct electrical box size for their wiring installations based on the National Fire Protection Association's NFPA 70: National Electrical Code (NEC) 2020, specifically Article 314.16(B) for box volume calculations. Proper box fill ensures electrical boxes are not overcrowded, preventing overheating, short circuits, and fire hazards.
The calculation follows the NEC volume allowance method. Each component entering or contained in an electrical box is assigned a number of volume allowances: each conducting wire counts as one allowance; a set of internal cable clamps counts as one allowance; support fittings (luminaire studs or hickeys) count as one allowance; each device (switch, receptacle, or outlet) counts as two allowances; and grounding conductors count as one allowance for 1-4 wires plus one-quarter allowance per additional wire beyond 4. The total allowances multiplied by the free space required for the largest conductor (per NEC Table 314.16(B)) gives the total box fill volume that must fit within the selected box's rated capacity.
Regional Notes
United States (NEC): The National Electrical Code (NFPA 70) applies across all US states and jurisdictions. Box fill calculations follow Article 314.16. Electrical boxes are typically labeled with their volume capacity in cubic inches. Common box types include 4-inch square, round/octagonal, device boxes, and masonry boxes. Check your local code adoption cycle — most jurisdictions have adopted NEC 2020 or 2023.
Canada (CEC): The Canadian Electrical Code has similar box fill requirements under Rule 12-3014. While the volume allowance approach is comparable, always consult the CEC for specific Canadian requirements and box sizing tables.
United Kingdom (BS 7671): UK wiring regulations (BS 7671 IET Wiring Regulations) specify cable capacity for enclosures under a different system. The UK uses factors based on cable size and type rather than the NEC volume allowance method. For UK installations, consult the IET On-Site Guide for appropriate enclosure selection.
This calculator provides estimates per NEC 2020 for informational purposes and should not substitute professional electrical advice. Always consult a licensed electrician for code-compliant installations.
Frequently Asked Questions
What is electrical box fill?
Electrical box fill refers to the NFPA 70 National Electrical Code (NEC) requirements for how many conductors, devices, clamps, and grounding wires can fit inside an electrical utility box. Each component takes up a certain number of volume allowances, and the total cannot exceed the box's rated capacity. Proper box fill calculation prevents overheating and fire hazards.
How is box fill calculated?
Box fill is calculated by counting volume allowances for each component: one allowance per conducting wire, one for a set of internal clamps (if present), one for support fittings (if present), two per device (switch or outlet), and one allowance for the first 1-4 grounding conductors plus one-quarter allowance per additional ground beyond 4. The total allowances are multiplied by the free space required for the largest conductor per NEC Table 314.16(B) — for example, 2.25 in³ per allowance for 12 AWG wire.
How many volume allowances does a device (switch or outlet) count as?
Each device (switch, receptacle, or outlet) counts as two volume allowances per NEC 2020. This means a single-gang switch box with one switch uses 2 allowances for the device alone, plus allowances for all conductors, clamps, and grounding wires entering the box. The allowances are multiplied by the free space needed for the largest conductor in the box.
Do grounding wires count toward box fill?
Yes, grounding conductors count toward box fill calculations. According to NEC 2020, 1 to 4 equipment grounding conductors count as one single volume allowance. For 5 or more grounding conductors, you add one-quarter volume allowance for each additional ground beyond 4. The grounding allowance is based on the largest grounding conductor entering the box.
What is the free space per conductor according to NEC Table 314.16(B)?
Per NEC Table 314.16(B): 18 AWG requires 1.50 in³ (24.6 cm³), 16 AWG requires 1.75 in³ (28.7 cm³), 14 AWG requires 2.00 in³ (32.8 cm³), 12 AWG requires 2.25 in³ (36.9 cm³), 10 AWG requires 2.50 in³ (41.0 cm³), 8 AWG requires 3.00 in³ (49.2 cm³), and 6 AWG requires 5.00 in³ (81.9 cm³) per conductor.
Do pigtail wires count in box fill calculation?
No, pigtail wires and other short wire segments that do not leave the electrical utility box are not counted in box fill calculations. Only conductors that enter and exit or pass through the box are counted. A wire that is longer than twice the minimum free conductor length (12 inches per NEC 300.14) must be counted twice.
What size electrical box do I need for 8 conductors, 2 devices, and 5 grounding wires?
For 8 conductors (12 AWG), 2 devices, internal clamps, and 5 grounding wires (12 AWG), the total is 14.25 volume allowances requiring 32.06 in³. Per NEC Table 314.16(A), a 4-11/16 inch by 2-1/8 inch square box (120 mm x 54 mm) provides 42.0 in³, which is sufficient. Always round up to the next available box size that meets or exceeds your calculated volume.
What is the difference between internal and external cable clamps for box fill?
Internal cable clamps that are part of the electrical box take up space inside the box and count as one volume allowance. External cable clamps, which secure cables outside the box, do not count toward box fill. When selecting a box, check whether it has built-in internal clamps (also called cable retainers or box clamps) as this affects your total volume allowance calculation.