Box Fill Calculator — NEC Electrical Box Sizing Made Easy

Determine the minimum electrical box volume required per NEC 314.16. Enter conductor count, wire gauge, devices, and fittings for an instant box fill compliance check with full step-by-step breakdown.

NEC 314.16 Compliant Instant Results Privacy First

Box Fill Calculator

Enter your wiring details below to calculate the minimum box volume required per NEC 314.16.

Volume allowance per conductor per NEC Table 314.16(B)
Each yoke = 2× allowance
All count as 1 allowance
All count as 1 allowance
Each counts as 1 allowance
Leave blank to only see required volume
Selecting a preset will auto-fill the available box volume above
Enter your wiring details and click Calculate Box Fill to see the result.

NEC Box Fill Formula Explained

The box fill calculation is governed by NEC Article 314.16, which specifies how much volume each component inside an electrical box requires. The total required volume is the sum of volume allowances for all conductors, devices, clamps, and fittings.

Total Required Volume = (Conductors × Vallow) + Grounding Allowance + Device Allowance + Clamp Allowance + Stud/Hickey Allowance

Volume Allowance Rules (NEC 314.16(B))

  • Conductor Fill (B)(1): Each current-carrying conductor that originates outside the box and terminates or splices inside counts as 1 × Vallow.
  • Clamp Fill (B)(2): One or more internal cable clamps collectively count as 1 × Vallow (based on the largest conductor present).
  • Support Fittings (B)(3): Each luminaire stud or hickey counts as 1 × Vallow.
  • Device Yoke (B)(4): Each single-gang device yoke (switch or receptacle) counts as 2 × Vallow.
  • Grounding Conductors (B)(5): All equipment grounding conductors together count as 1 × Vallow (based on the largest grounding conductor).

The volume allowance Vallow depends on the wire gauge, as specified in NEC Table 314.16(B).

How to Calculate Electrical Box Fill

Follow these steps to perform a manual box fill calculation per NEC 314.16:

  1. Determine the wire gauge — Identify the AWG size of the conductors entering the box. This sets the volume allowance per conductor from NEC Table 314.16(B).
  2. Count all current-carrying conductors — Count every conductor that originates outside the box and terminates or is spliced inside. Multiply by the volume allowance.
  3. Add grounding conductor allowance — Regardless of how many ground wires enter the box, they collectively count as 1 volume allowance (based on the largest ground wire).
  4. Add device yoke allowance — Each single-gang device (switch, receptacle) adds 2 volume allowances.
  5. Add internal clamp allowance — If the box has internal cable clamps, add 1 volume allowance for the entire set.
  6. Add stud/hickey allowance — Each luminaire stud or hickey adds 1 volume allowance.
  7. Sum all allowances — Multiply the total conductor equivalents by the volume allowance factor to get the minimum required box volume in cubic inches.

NEC Table 314.16(B) — Volume Allowance per Conductor

This table shows the free space required for each conductor within an electrical box, based on the American Wire Gauge (AWG) size.

AWG SizeVolume Allowance (in³)Typical Application
18 AWG1.50Low-voltage control wiring, thermostat cable
16 AWG1.75Fixture wires, appliance wiring
14 AWG2.0015-amp lighting circuits, general receptacles
12 AWG2.2520-amp kitchen and bathroom circuits
10 AWG2.5030-amp dryer and water heater circuits
8 AWG3.0040-amp range and subpanel feeders
6 AWG5.0055-amp subpanel and large appliance feeders

Box Fill Calculator Examples

Example 1: Standard 14 AWG Lighting Box

A 4" octagonal box contains two 14 AWG cables (4 conductors total), one 14 AWG ground wire, and one internal clamp. No devices.

Conductor equivalents = 4 (conductors) + 1 (grounds) + 1 (clamps) = 6
Vallow for 14 AWG = 2.00 in³
Total required = 6 × 2.00 = 12.0 in³

A standard 4" octagonal box (15.5 in³) would be adequate with 3.5 in³ to spare.

Example 2: 12 AWG with Device

A single-gang box with two 12 AWG cables (4 conductors), one ground, and one duplex receptacle.

Conductor equivalents = 4 (conductors) + 1 (grounds) + 2 (device yoke) = 7
Vallow for 12 AWG = 2.25 in³
Total required = 7 × 2.25 = 15.75 in³

A standard single-gang box (~18 in³) would be adequate. A shallow box (~14 in³) would be overfilled and violate NEC.

Example 3: Mixed-Gauge Scenario

When multiple wire gauges enter a box, use the largest gauge for all volume allowance calculations per NEC 314.16(B). If a box has both 14 AWG and 12 AWG conductors, use 12 AWG (2.25 in³) for everything.

Real-World Box Fill Applications

  • Residential Wiring: Ensuring outlet and switch boxes have adequate volume for the number of wires and devices in each room circuit.
  • Commercial Electrical: Verifying junction box capacity in office buildings where multiple circuits may converge in a single enclosure.
  • Electrical Inspections: Passing rough-in and final electrical inspections by demonstrating NEC 314.16 compliance with proper box sizing.
  • Remodeling & Additions: Determining whether existing boxes can accommodate additional wiring runs or if larger boxes are needed during renovations.
  • DIY Home Projects: Helping homeowners safely plan electrical additions like new ceiling fans, recessed lights, or additional outlets without overfilling boxes.
  • Industrial Control Panels: Sizing junction and pull boxes in industrial settings where many conductors must be safely housed.

People Also Ask

NEC box fill calculation, governed by NEC Article 314.16, determines the minimum electrical box volume required to safely contain all conductors, devices, clamps, and fittings. Each conductor, device yoke, grounding wire set, internal clamp set, and stud/hickey contributes a specific volume allowance based on the wire gauge used, ensuring boxes are not overcrowded.
Per NEC Table 314.16(B), each 12 AWG conductor requires a volume allowance of 2.25 cubic inches. This means each current-carrying 12 AWG conductor counts as 2.25 in³, each device yoke on a 12 AWG circuit counts as 4.5 in³ (2×2.25), and all grounding conductors together count as a single 2.25 in³ allowance.
Per NEC 314.16(B)(5), all equipment grounding conductors together are counted as a single conductor volume allowance, based on the largest grounding conductor entering the box. Even if you have four ground wires, they collectively count as only one volume allowance — a common point of confusion that leads to unnecessary box upsizing.
A standard 4-inch square box with 1-1/2 inch depth has approximately 21.0 cubic inches of volume. For 14 AWG wire (2.0 in³ per conductor), you can fit about 10 conductor equivalents. For 12 AWG wire (2.25 in³ per conductor), you can fit about 9 conductor equivalents. This count must also account for devices, clamps, and grounds which each consume additional volume allowances.
Overfilled electrical boxes pose serious safety hazards including overheating from restricted air circulation, damaged wire insulation from crowding and pinching, increased risk of short circuits and electrical fires, and difficulty making proper secure connections. NEC code violations for overfilled boxes also cause failed electrical inspections, potentially requiring costly rework and project delays.

Frequently Asked Questions

Yes. This calculator is built on NEC Article 314.16 and Table 314.16(B) requirements. The volume allowance values and counting rules reflect current National Electrical Code standards. Always verify against your local code requirements, as some jurisdictions may have amendments.
For multi-gang boxes, each device yoke still counts as 2 volume allowances. A 2-gang box with two switches counts as 4 conductor equivalents for the devices alone. The box itself typically has a larger stamped volume (e.g., a double-gang box might be 32-36 in³), which must accommodate all conductors plus device allowances.
No. Pigtail wires that originate and terminate within the same box without leaving it do not count toward box fill. Only conductors that originate outside the box and enter it are counted per NEC 314.16(B)(1).
When multiple wire gauges are present, use the volume allowance for the largest gauge conductor in the box for all calculations. For example, if a box contains both 14 AWG and 12 AWG wires, use the 12 AWG allowance of 2.25 in³ for every conductor equivalent in the box.
Yes. Box extenders (also called mud rings or extension rings) can increase the usable volume of an electrical box. The additional volume provided by the extender is added to the base box volume. Ensure the extender is properly listed and installed per manufacturer instructions.
Most modern electrical boxes have their cubic inch volume stamped on the inside back wall or side. This is required by NEC 314.16(A). If the volume is not marked, you can calculate it using interior dimensions (length × width × depth) or refer to the manufacturer's specifications.

Box Fill Glossary

Volume Allowance

The cubic inch space required per conductor inside an electrical box, determined by wire gauge per NEC Table 314.16(B).

Conductor Equivalent

A unit of box fill counting where each current-carrying wire, ground set, clamp set, stud, or device yoke represents a specific number of allowances.

Device Yoke

The metal mounting strap of a switch, receptacle, or other wiring device. Each yoke counts as 2 conductor equivalents in box fill calculations.

AWG (American Wire Gauge)

The standard measurement system for electrical wire diameter in North America. Smaller AWG numbers indicate thicker wire with higher current capacity.

Internal Clamp

A built-in cable clamping mechanism inside an electrical box that secures nonmetallic sheathed cable. All clamps together count as 1 conductor equivalent.

Luminaire Stud

A threaded fitting inside a box used to mount lighting fixtures. Each stud or hickey counts as 1 conductor equivalent per NEC 314.16(B)(3).

Equipment Grounding Conductor

The bare or green-insulated wire providing a fault current path to ground. All grounding conductors in a box collectively count as 1 conductor equivalent.

Mud Ring / Box Extender

An attachment that increases the usable volume and brings the box flush with the finished wall surface. Its volume adds to the base box volume.

Editorial Review & Methodology

This box fill calculator was built and reviewed by the NumbrWiz Editorial Team. The calculation methodology follows NEC Article 314.16 and Table 314.16(B) standards, which are the authoritative references for electrical box fill requirements in the United States.

  • Code compliance verification: Cross-checked against NEC 314.16(B)(1)-(5) counting rules and Table 314.16(B) volume allowances.
  • Edge case testing: Tested with zero-value inputs, mixed-gauge scenarios, large conductor counts, and standard box size comparisons.
  • UX review: Designed for intuitive input with clear error messaging, standard box presets, and full step-by-step breakdown.

Transparency note: All calculations run client-side in your browser. No data is ever collected, stored, or transmitted. Results are for educational and planning purposes; always verify critical calculations independently and consult a licensed electrician for code compliance in your jurisdiction. Local building codes may have amendments beyond the NEC.

Page last reviewed: May 2026 · NumbrWiz Editorial Team