Electrical Box Fill Calculator

Electrical Box Fill Calculator

Calculate the required volume for an electrical box based on NEC standards for conductors, devices, and clamps.

Last updated: March 2026

Switches/Outlets

First 4 = 1 count; additional = 1/4 each

All clamps = 1 count

Minimum Volume
14 cu in
(229.42 cm³)
Total Counts
7
× 2 cu in each

Disclaimer: This calculator provides general estimates based on NEC guidelines. Actual box fill requirements may vary depending on conductor types, installation conditions, local code interpretations, and amperage. Always consult the latest electrical code or a licensed electrician for final determinations.

What is Box Fill?

Box fill refers to the maximum number of conductors, devices, and clamps allowed in an electrical box. This is regulated by the National Electrical Code (NEC) Article 314.16 to prevent overheating, fire hazards, and difficulty installing devices safely.

The volume of each component is calculated based on the size of the largest wire in the box. Each wire gauge has a specific cubic inch allowance. Devices count as two conductor volumes, all ground wires together count as one, and all internal clamps together count as one. Overfilling a box is a code violation and creates safety risks—conductors can be damaged, insulation can be compromised, and heat dissipation is reduced.

How to Calculate Box Fill

NEC Volume Allowances (Table 314.16(B))

14 AWG: 2.00 cu in per count
12 AWG: 2.25 cu in per count
10 AWG: 2.50 cu in per count
8 AWG: 3.00 cu in per count
6 AWG: 5.00 cu in per count

Counting Rules

Wires:
Each conductor counts as 1 unit (based on its wire gauge)
Devices:
Each strap-mounted device (switch, receptacle) counts as 2 units (based on largest wire connected to it)
Grounds:
Per NEC 2020 Article 314.16(B)(1)(e): All ground wires up to 4 count as 1 unit; each additional ground counts as 1/4 unit (based on largest ground wire)
Clamps:
ALL internal cable clamps combined count as 1 unit (based on largest wire in box)

Example: Switch Box

Calculate box size for: 4 wires (14 AWG), 1 switch, 1 ground wire, no clamps:

Step 1:
Count the wires:
4 wires × 1 count each = 4 counts
Step 2:
Count the device:
1 switch × 2 counts = 2 counts
Step 3:
Count grounds and clamps:
All grounds = 1 count, No clamps = 0 counts
Step 4:
Calculate total volume:
Total counts = 4 + 2 + 1 + 0 = 7 counts
Volume = 7 × 2.00 cu in (14 AWG) = 14.00 cu in
Result:
Minimum 14.00 cubic inches required

Use an 18 cu in or larger box (standard 3×2×2.5" box = 12.5 cu in is too small)

Frequently Asked Questions

How do I count ground wires?

Under NEC rules, all ground wires in a box count as a single conductor based on the largest ground wire present. You don't count each one individually.

What counts as a 'device'?

A device is any strap-mounted component like a single-pole switch, duplex receptacle, GFCI, or dimmer. Each strap counts as two conductors based on the largest wire connected to it.

Do wire nuts count?

No, wire nuts, pigtails, and cable connectors that remain outside the box do not count towards the fill volume. Only items inside the box count.

What if I have different wire sizes in the same box?

Calculate each wire size separately. For devices and grounds, use the volume allowance for the largest wire connected to them. Add all volumes together.

Can I use a smaller box if it's a tight fit?

No. Using a box smaller than the calculated minimum is a code violation and creates safety hazards. Always meet or exceed the minimum required volume.

What are common box sizes?

Standard single-gang boxes: 18 cu in (3×2×3.5"), 22.5 cu in (4" square × 1.5" deep). Double-gang: 25-30 cu in. Check box markings for exact volume.

Do conduit bodies count toward box fill?

Conduit bodies and fittings may affect fill calculations; consult NEC guidance and local code—some accessories have specific allowances or exceptions.

How do I handle solid vs stranded conductors?

NEC allowances are based on conductor gauge regardless of solid or stranded construction. When in doubt, use the published cubic inch values for the largest conductor present.

© 2026 Patchworkr Team. All rights reserved.

Related Tools