HomeCalculatorsConstructionBox Fill Calculator

Box Fill Calculator

Construction

Calculate the total electrical box fill volume in cubic inches per NEC guidelines based on conductors, devices, grounds, and wire gauge. Free tool.

Reviewed by the thecalcu.com team · Last updated July 4, 2026

120
04
010

Total Box Fill Volume

14
Fill Count Equivalent
7

This calculator computes your Total Box Fill Volume, Fill Count Equivalent from the values you enter.

Inputs
Number of ConductorsDevices (Switches/Receptacles)Ground WiresWire Gauge
Outputs
Total Box Fill VolumeFill Count Equivalent

What is a Box Fill?

A box fill calculator computes the total electrical box fill volume, in cubic inches, needed for a given combination of conductors, devices, and grounding wires, following the counting method outlined in NEC Article 314.16. It's a practical first check when selecting an electrical box size for a switch, receptacle, or junction location.

The National Electrical Code sets volume requirements to prevent electrical boxes from being overcrowded with wire and devices, which can make safe installation difficult and increase heat and fire risk. The fill calculation converts your actual conductors, devices, and grounds into a "fill count equivalent", where devices count double and all grounds together count once, then multiplies that count by a per-conductor volume allowance based on wire gauge.

This calculator handles the most common residential and light commercial box fill scenario. For boxes with internal cable clamps, fixture studs, or mixed wire gauges, consult the full NEC 314.16 table for a precise calculation.

Why Use a Box Fill Calculator?

Choosing an undersized electrical box is one of the more common rough-in mistakes, it's a code violation, and it makes the finish-out stage (folding wires, mounting devices) noticeably harder and riskier for insulation damage. Running the numbers before you buy boxes avoids having to swap them out mid-project.

This calculator is especially useful when planning multi-gang boxes with several devices and conductor runs, where the fill count can add up quickly. Comparing wire gauge options is also useful, since 10 AWG wire takes up meaningfully more volume per conductor than 14 AWG, switching gauges for a longer circuit run can change your box size requirement.

Who Should Use This Calculator?

  • Electricians doing rough-in planning who want a quick fill check before selecting box sizes for a job.
  • DIY homeowners adding an outlet, switch, or light fixture who want to confirm their chosen box is code-compliant.
  • Electrical contractors and estimators specifying box sizes across a multi-room rough-in plan.
  • Inspectors and apprentices learning the NEC 314.16 counting method who want to verify hand calculations. Always cross-check final box selection against the full NEC table for your box type.

What Insights Does the Box Fill Calculator Give You?

  • Total Box Fill Volume, the primary result, showing the minimum cubic inch capacity your electrical box needs to legally and safely contain your conductors, devices, and grounds.
  • Fill Count Equivalent, the underlying conductor-equivalent count used to reach that volume, useful for cross-referencing against NEC box volume tables directly.

Together, these outputs let you shop for an electrical box with confidence that it meets the minimum required volume for your specific wiring configuration.

How to use this Box Fill calculator

  1. Enter the Number of Conductors, count each current-carrying wire entering the box (not counting grounds).
  2. Set the Devices count, the number of switches or receptacles that will be mounted in this box.
  3. Set the Ground Wires count, any number of grounds still counts as just one toward the fill total.
  4. Select your Wire Gauge, 14 AWG, 12 AWG, or 10 AWG, based on the circuit's conductor size.
  5. Read the Total Box Fill Volume result and compare it against the stamped cubic inch rating on the electrical box you're considering.

Note: this is a simplified NEC 314.16 box-fill estimate. Verify against the full code table for your specific box type, including any internal clamps or fixture studs, before final installation.

Show formula & methodology ↓Show less ↑

Formula & Methodology

Fill count equivalent:
Count = Conductors + (Devices × 2) + (1 if any ground wires present, else 0)

Total box fill volume:
Volume = Count × Per-Conductor Volume Allowance

Where the per-conductor volume allowance is 2.0 in³ for 14 AWG, 2.25 in³ for 12 AWG, and 2.5 in³ for 10 AWG, per NEC Table 314.16(B).

Worked example: For 4 conductors, 1 device, 1 ground wire, and 14 AWG wire:

- Fill count equivalent: 4 + (1 × 2) + 1 = 7
- Total box fill volume: 7 × 2.0 in³ = 14.0 in³

Frequently Asked Questions

How do I calculate electrical box fill?
Add up the fill count equivalent, the number of current-carrying conductors, plus twice the number of devices (switches or receptacles), plus one for all grounding conductors combined regardless of how many there are, then multiply that count by the per-conductor volume allowance for your wire gauge. This calculator does that math automatically once you enter your conductor, device, and ground counts along with wire gauge.
What is box fill and why does the NEC regulate it?
Box fill is the total volume of conductors, devices, and fittings inside an electrical box, which the National Electrical Code (NEC) regulates to prevent overcrowding. Overfilled boxes make it harder to safely fold wires into place without damaging insulation, and can lead to excess heat buildup, so NEC Article 314.16 sets minimum box volume requirements based on the fill count and conductor size.
How do devices like switches and receptacles count toward box fill?
Each device, such as a switch or receptacle, counts as two conductor-equivalents toward box fill, not one, because the device itself takes up meaningfully more space than a single conductor. This calculator applies that doubling automatically, enter your device count and it multiplies by two before adding it to the fill total.
How are grounding conductors counted in box fill?
Regardless of how many individual ground wires are in a box, the entire group of grounding conductors together counts as just one conductor-equivalent toward box fill, per NEC rules. This calculator reflects that, as long as you have one or more ground wires, it adds exactly one to the fill count, not one per wire.
What is the box fill volume allowance for different wire gauges?
NEC Table 314.16(B) assigns a specific volume allowance per conductor based on wire gauge, 14 AWG conductors require 2.0 cubic inches, 12 AWG requires 2.25 cubic inches, and 10 AWG requires 2.5 cubic inches. Larger gauge wire takes up more physical space, so it uses more of the box's available volume per conductor.
Is this calculator a complete NEC box fill compliance check?
No, this is a simplified estimate covering the most common fill scenario (conductors, devices, and grounds). It doesn't account for internal cable clamps, fixture studs, hickeys, or multiple conductor sizes mixed in the same box, all of which have their own NEC fill rules. Always verify your final box selection against the full NEC 314.16 table and any local code amendments before installation.
How do I know what size electrical box I need?
Once you have your total fill volume in cubic inches from this calculator, compare it against the stamped volume rating on the electrical box you're considering, most boxes list their cubic inch capacity on the box itself or in the manufacturer's spec sheet. Choose a box with a rated volume equal to or greater than your calculated fill requirement.
What happens if a box is overfilled?
An overfilled electrical box is a code violation and a safety hazard, it makes proper wire folding difficult, increases the risk of damaged insulation from pinching, and can contribute to overheating. If your calculated fill exceeds your box's rated volume, the fix is to select a larger box or split the conductors and devices across an additional box.
Do internal cable clamps count toward box fill?
Yes, under full NEC rules, internal cable clamps typically add one additional conductor-equivalent to the fill count (based on the largest conductor in the box), but this calculator does not include that factor since not all installations use internal clamps. If your box has integral cable clamps, add one extra conductor-equivalent manually when checking against your box's rated capacity.
Can I mix different wire gauges in the same box fill calculation?
This calculator applies a single wire gauge volume allowance to the entire fill count for simplicity. If your box actually contains a mix of gauges, for example, both 12 AWG and 14 AWG conductors, the accurate NEC method sums each conductor's individual volume allowance rather than applying one uniform rate, so you may need to calculate mixed-gauge boxes manually or in sections.
What other calculators are useful for electrical and rough-in work?
The [CFM Calculator](/cfm-calculator/) is useful for sizing bathroom exhaust fan runs that often share rough-in planning with electrical work, and the [Clearance Hole Calculator](/clearance-hole-calculator/) helps with mounting hardware sizing for electrical panels and enclosures.
Where in the NEC is box fill covered?
Box fill requirements are covered primarily in NEC Article 314.16, which includes both a table of standard box volumes by size and type, and the counting rules for conductors, devices, and grounds used in this calculator. Always consult the current edition of the NEC and any local amendments adopted in your jurisdiction.
Also known as
electrical box fill calculatorNEC box fill calculatorjunction box fill calculatorconduit box fill calculatoroutlet box size calculator