Skip to content

Electrical Box Fill Calculator

Calculate electrical box fill with instant, accurate results and clear step-by-step output.

By CalcGenius Editorial TeamLast reviewed August 28, 20253 min read
Electrical Box Fill Calculator (NEC 314.16)
📊
Enter your values and click Calculate
Compliant (NEC 314.16)
The box has 0.00 cu in of spare capacity. Installation is code-compliant.

About

NEC Article 314 governs outlet, device, and other electrical boxes. Section 314.16 specifies the box fill calculation that ensures adequate volume for conductors, devices, clamps, and studs. The purpose is to prevent overcrowding, which damages insulation through friction and cramping — a leading cause of electrical fires. Every installation must pass this check before the panel can be energized.

The per-conductor volume allowance comes from NEC Table 314.16(B): 14 AWG = 2.0 cu in, 12 AWG = 2.25, 10 AWG = 2.5, 8 AWG = 3.0. Larger wires need more physical room for their insulation and bending radius. The 'largest wire in the box' rule simplifies the math: when different AWGs are mixed, all counts use the largest wire's volume allowance. This is conservative — small wires technically need less room, but using one value avoids complex accounting for combinations.

Devices (switches, receptacles) count as two conductor equivalents each. This accounts for the wires entering and leaving the device's terminals plus the device body itself occupying volume. A double-gang device (like a stacked switch) counts as four equivalents. Internal cable clamps count once regardless of the number present (they take roughly the same space whether one or two). Fixture studs and hickeys (used to mount light fixtures) each count as one equivalent.

Conductor counting has nuances. Each conductor that enters the box counts as one unit. Exception: equipment grounding conductors (EGCs) — all of them together count as one unit based on the largest EGC. Spliced (pigtailed) conductors count once each. Conductors that pass through the box without splicing also count one each (they still take up space). Conductors that originate inside the box and don't leave don't count.

Standard box volumes from NEC 314.16(A): single-gang device 18 cu in, double-gang device 36 cu in, 4-inch square × 1½-inch 30 cu in, 4-inch square × 2⅛-inch deep 30 cu in (the deeper box is for splices, not more fill), 4 11/16-inch square 42 cu in, 5-inch round 44 cu in. The authoritative figure is stamped on the box itself per NEC 314.16(A) — always verify the stamped value matches the table before relying on this calculator.

Overcrowded boxes are a leading cause of electrical fires. Insulation damaged by friction and cramping causes short circuits and arcs that ignite surrounding combustibles. The NEC box fill rules are simple but essential: enough room for the conductors, devices, and connectors without forcing them against each other or the box edges. Inspectors measure box fill on every installation — violations require rework before sign-off.

How to Use

  1. 1
    Select the box type
    Pick the box type from the dropdown: single-gang, double-gang, 4-inch square, 4 11/16-inch square, or 5-inch round. The standard volume is used — verify against the stamped value on the actual box.
  2. 2
    Select the wire gauge
    Choose 14, 12, 10, or 8 AWG. The volume per conductor is from NEC Table 314.16(B): 14 = 2.0, 12 = 2.25, 10 = 2.5, 8 = 3.0 cu in per conductor.
  3. 3
    Enter the conductor count
    Count each conductor entering the box. Equipment grounding conductors all together count as one unit. Pass-through (unspliced) conductors also count one each.
  4. 4
    Enter the device count
    Count switches and receptacles — each single-gang device = 2 units, double-gang = 4 units. The volume allowance is 2 × the per-conductor volume of the largest connected wire.
  5. 5
    Enter clamps and studs (if any)
    Internal cable clamps count as 1 unit (regardless of number). Fixture studs or hickeys each count as 1 unit. External NM connectors don't count.
  6. 6
    Read the fill status
    The hero shows required volume vs. available. Green = Pass (under fill limit), Red = Fail (overcrowded — upsize the box).

Formula

Required = N_conductors × V_AWG + N_devices × 2 × V_AWG + (N_clamps > 0 ? 1 : 0) × V_AWG + N_studs × V_AWG, where V_AWG is the per-conductor volume from NEC Table 314.16(B): 14 = 2.0, 12 = 2.25, 10 = 2.5, 8 = 3.0 cu in. The required total must not exceed the box's stamped volume per NEC 314.16(A).

Worked Example

A single-gang device box (18 cu in) with 5 conductors of 12 AWG (2.25 cu in each), 1 device (counts as 2 × 2.25 = 4.5 cu in), and 1 internal clamp (counts as 1 × 2.25 = 2.25 cu in). Required = 5 × 2.25 + 4.5 + 2.25 = 11.25 + 4.5 + 2.25 = 18.0 cu in. The box is at 100% fill — exactly at the limit, no spare capacity. If we added one more conductor, we'd need 20.25 cu in — overflowing the box and violating NEC. Solution: use a deeper box (e.g., 4-inch square × 2⅛-inch deep with a plaster ring).

Tips

  • Always verify against the stamped volume on the actual box — manufacturers may vary slightly.
  • Equipment grounding conductors all count as ONE unit based on the largest EGC, not one each.
  • When wires of different AWGs mix, use the largest AWG for all conductor counts — conservative and code-compliant.
  • Spliced (pigtailed) conductors count as 2 units each (one for the original, one for the pigtail).
  • If a box is overcrowded, switch to a deeper box or a larger footprint rather than overstuffing.

Common Mistakes

Common mistakes
  • Counting each EGC separately — they all count as one unit (per NEC 314.16(B)(5)).
  • Forgetting that devices count as 2 units — easy to forget the device body itself takes up box volume.
  • Using the standard 18 cu in for a single-gang box without checking the actual stamped volume — some boxes are smaller (e.g., 14 or 16 cu in for shallow old-work boxes).

Frequently Asked Questions

What is NEC Article 314 box fill?
NEC Article 314 governs the installation and sizing of electrical boxes. Box fill (314.16) ensures there's enough room in the box for conductors, devices, clamps, and studs without overcrowding. Overcrowded boxes cause insulation damage from friction, leading to short circuits and fires. Each component counts as a certain number of 'volume units' based on the largest wire size in the box — per Table 314.16(B), 14 AWG = 2.0 cu in, 12 = 2.25, 10 = 2.5, 8 = 3.0.
How does a device (switch/receptacle) count?
Each device (single-gang switch or receptacle) counts as two volume units of the largest wire connected to it. So a switch on 12 AWG wire counts as 2 × 2.25 = 4.5 cu in. A double-gang device (like a duplex switch) counts as four units. The device counts because the wires entering and leaving the device take up physical space and the device body itself occupies volume that conductors must share.
How do wire clamps and fixture studs count?
Internal cable clamps count as one volume unit of the largest wire in the box (only if all clamps are present — typically you count once regardless of the number of clamps). Fixture studs or hickeys (used to mount a light fixture) each count as one unit. External cable clamps (NM connectors mounted on the outside of the box) do not count toward fill. The calculator allows you to specify these inputs.
How are conductors counted — every wire, or just some?
Each conductor that enters the box counts as one volume unit. Exception: equipment grounding conductors (all of them together) count as one unit based on the largest EGC. Spliced (pigtailed) conductors count once each. Conductors that originate and terminate within the box (no splice, just passing through) don't count. Conductors entering a box through a knockout that pass through without a splice count as one unit each.
What are the standard electrical box types?
Single-gang device (18 cu in), double-gang device (36 cu in), 4-inch square × 1½-inch (30 cu in), 4-inch square × 2⅛-inch deep (30 cu in), 4 11/16-inch square (42 cu in), 5-inch round (44 cu in). The actual stamped volume on the box is the authoritative figure — manufacturers stamp the cubic-inch capacity inside or on the back of the box per NEC 314.16(A).
Why does box fill matter for safety?
Overcrowded boxes cause insulation damage when wires are crammed together — friction from thermal cycling, vibration, and device operation wears through insulation. Bare conductors touch, causing short circuits and arcs that can ignite surrounding material. The NEC box fill rules prevent this by ensuring adequate room. Inspectors measure box fill on every installation — violations require rework before the panel can be energized.

NEC box fill rules

NEC Article 314.16 sets the box fill rules: each conductor, device, clamp, and stud counts as a certain number of 'volume units' based on the largest wire size. The total must not exceed the box's stamped volume. Failure to follow causes overcrowding, insulation damage, and fire risk. Inspectors verify box fill on every installation.

AWG and volume per conductor

NEC Table 314.16(B) gives volume per conductor: 14 AWG = 2.0 cu in, 12 = 2.25, 10 = 2.5, 8 = 3.0. Larger wires need more physical room for their insulation and bending radius. The 'largest wire in the box' rule means all conductor counts use the largest gauge present, simplifying the math.

Device counts as 2 conductors

A single-gang device (switch or receptacle) counts as 2 volume units of the largest wire connected. A double-gang device counts as 4 units. The doubling accounts for the conductors entering and leaving the device plus the device body itself. A box with one duplex receptacle on 12 AWG wire has 4.5 cu in of device fill alone.

Box fill safety

Overcrowded boxes are a leading cause of electrical fires. Insulation damaged by friction and cramping causes short circuits and arcs that ignite surrounding combustibles. The NEC box fill rules are simple but essential: enough room for the conductors, devices, and connectors without forcing them against each other or the box edges.

Common electrical box installations with their fill calculations per NEC 314.16.
Box typeVol (cu in)WireConductorsDevicesRequiredStatus
Single-gang device1812 AWG5 conductors1 device13.5Pass
Double-gang device3612 AWG8 conductors2 devices22.5Pass
4" square (deep)3012 AWG6 conductors1 device18.0Pass
4 11/16" square4210 AWG8 conductors2 devices29.0Pass
Single-gang device1812 AWG8 conductors1 device22.5Fail
5" round4410 AWG10 conductors1 device30.0Pass
NEC 314.16 vs 314.24
Box fill (314.16) concerns conductor and device counts. Box depth and pull requirements (314.24) are separate — even when fill passes, a box too shallow for the wire's bending radius violates code. For 4 AWG and larger wires the minimum box size is dictated by the bending radius, not the fill calculation. Always check both.
When in doubt, upsize
If your calculation comes close to the box limit (margin < 2 cu in), use a deeper or larger box. The cost difference is a few dollars — far less than the cost of a fire inspection failure or future device replacement. Many electricians default to deep boxes for all 20 A circuits to allow for future expansion.

Authoritative References

  • NFPA 70 — NEC Article 314— NFPA
    The NEC Article 314 (Outlet, Device, and Other Boxes) governs box fill calculations. The calculator implements 314.16 with the standard volumes from Table 314.16(A) and per-conductor allowances from Table 314.16(B).
  • Mike Holt — Box Fill Calculations— Mike Holt Enterprises
    Practical guide to NEC box fill with worked examples and illustrations. Mike Holt is a leading NEC educator with extensive free materials on Article 314.
  • Wikipedia — Junction box— Wikipedia
    Background on electrical junction box types, materials, and applications. Useful before diving into the NEC fill rules.

Try our other free calculators

CalcGenius has 1,200+ free, ad-free, browser-based calculators for finance, health, math, science, and everyday life. No sign-up required.

Electrical Box Fill Calculator — Force, Energy & Kinematics