Box Fill Calculator
Compute required cubic inches using conductor equivalents (US / NEC-style).
cu in
Tip: Enter the exact cubic-inch volume stamped on the box for best accuracy.
qty
qty
If you only have one wire size, leave the second size blank.
qty
eq

Box Fill Calculator

The importance of electrical box fill calculation

An electrical box fill calculator (often called a box fill calculator) helps you size electrical utility boxes so the total box fill volumes you calculate will pass code and inspection. I’ve seen good work fail simply because a box was crowded—too many wires, too many devices, and not enough room for safe bends and connections.

The rules come from the National Fire Protection Association (NFPA) and NFPA 70, also known as the 2020 NEC / National Electrical Code. These rules, regulations, guidelines cover the electrical aspects of building construction, including box volume calculations under NEC Article 314.16(B).

Why this matters in real jobs:


Table of contents

Below is a simple Table of contents to match how people search and how inspectors check:

SectionCovers
importance of electrical box fill calculationwhy box fill matters
how to calculate box fillvolume allowances + safety
Conductor fillTable 314.16(B), AWG volumes
Clamp fillinternal cable clamps vs external
Support fittings fillluminaires, lighting fixtures
Device or equipment fillswitches, outlets, fixtures
Equipment grounding conductor fill1–4 rule + 1/4 rule
Total box fillsum formulas V_total and A_total
how to use our box fill calculatorstep-by-step example
how to use electrical box fill chartsTable 314.16(A) Metal Boxes
how do I calculate box fill fast?memory + practice
Disclaimersafety + scope
FAQscommon box fill questions

(Reference terms included: importance of electrical box fill calculation, Table of contents, how to calculate box fill, how to use our box fill calculator, how to use electrical box fill charts, how do I calculate box fill fast, Disclaimer, FAQs, NEC, National Electrical Code, Article 314.16(B), box volume calculations.)


Why box fill calculation matters

Electrical box fill calculations are crucial for safe installations. A lot of contractors struggle with determining proper box capacity, especially when there are multiple conductors and devices. Whether you are a professional electrician or a DIY enthusiast, meeting box fill requirements helps prevent:

These requirements come from NEC Article 314.16 (and specifically Article 314.16(B) for the detailed volume allowance rules).


How to calculate box fill

To calculate total box fill, you’re really finding the required volume of an electrical box so you follow the electrical building code and avoid potential danger and fire hazards.

The NEC approach uses volume allowances. Each electrical component that is entering the box gets an equivalent volume allowance. That allowance is treated like “one conductor worth of space” unless the rules say otherwise.

Components counted in box fill:

The core job is to count volume allowances for everything in the utility box, then convert allowances to cubic inches (or cm³) using the largest wire involved.


Conductor fill

For conductor fill, the 2020 NEC says count one volume allowance for each conducting wire entering or passing through, regardless of wire sizes. (If you’re unsure what size a job needs, a wire size calculator is how many certified electricians double-check.)

Important counting details:

Formulas used:

Where:

Table 314.16(B) quick reference (Size of conductor AWG, free space within box in cm³ and in³):

Size of conductor (AWG)cm³in³
1824.61.50
1628.71.75
1432.82.00
1236.92.25
1041.02.50
849.23.00
681.95.00

If you need help identifying wire size, a wire gauge calculator can help confirm the AWG.


Clamp fill

Clamp fill depends on internal cable clamps vs external cable clamps.

Rules and symbols:

Volume:

Where V_c is the clamp fill volume.


Support fittings fill

If you’re using luminaires or lighting fixtures, you might need supports like studs or hickeys.

Rule:

Symbols:

Volume:

Where V_s is the support fittings volume.


Device or equipment fill

For devices or equipment (like switches, outlets, or fixtures), each device counts as a double volume allowance.

Symbols:

Where:

Volume:

Where V_d is the device fill volume.


Equipment grounding conductor fill

The equipment grounding conductor fill rules got a key update in the 2020 NEC:

Symbols:

Where:

Volume:

The size reference also comes from Table 314.16(B).


Total box fill

Once we’ve determined the box fill volumes for each component, take their sum to get total box fill volume:

In many real jobs, if the largest conductor equals the largest grounding wire, it’s faster to total allowances first:

Then use electrical box fill charts from manufacturers to choose the correct size box and meet requirements quickly.


NEC compliant box sizing interface

Many modern tools show a NEC compliant box sizing interface like this:

Input Parameters:

Buttons:

Output:

Quick Tips I always follow:


Standard wire volumes and deductions

Here’s the quick cheat sheet many electricians memorize as Standard Wire Volume Requirements:

Device and Fitting Volume Deductions:


How to use a box fill calculator

I teach helpers to follow the same field-safe checklist:

  1. Identify Your Electrical Box Type: confirm box capacity and dimensions

  2. Count All Conductors: include hot, neutral, grounding, and pigtails

  3. Calculate Device Requirements: multiply devices by conductor volume

  4. Add Equipment Grounding: count all as one conductor

  5. Apply the Formula: compute total required volume


Box types and capacities

Common electrical box types:

Standard Metal Boxes:

Plastic Boxes:


How to use our box fill calculator

Let’s use the exact scenario from a typical electrical plan:

We need to feed:

Into an electrical box, with 2 convenience outlet devices, and we want internal clamps.

Steps:

  1. Enter number of conducting wires: 6 + 2 = 8 wires

  2. Choose wire size of largest conducting wire: 12 AWG

  3. Select Yes for box with internal clamps

  4. Select No for support fittings

  5. Enter 2 for number of devices

  6. Enter 5 for grounding wires

  7. Choose 12 AWG for largest ground wire size selection

Results example:

So you need an electrical box with at least 32.06 in³. In practice, the capacity indicated inside the box helps. If it’s not labeled, the NEC allows checking capacities using dimensions from Table 314.16(A).


How to use electrical box fill charts

Electrical box fill charts are an easy way to pick a box after you know your calculated volume allowance.

Many people use 2020 NEC Table 314.16(A) for Metal Boxes, including:

How to read it with our example:

  1. Find the largest conducting wire column: 12 AWG

  2. Look for the maximum number of conductors closest to 14.25

  3. The closest number is 18

  4. That points to a 4 ¹¹/₁₆ × 2 ⅛ square box, size 120 mm × 54 mm

  5. It has volume capacity 42.0 in³ (listed as 689 mm³ in the source text)

  6. That can accommodate 32.06 in³

If you need bigger enclosures, an electrical junction box sizing calculator is made for junction boxes.


Box fill formula and examples

Box Fill Formula:
Total Required Volume = (Number of Conductors × Wire Volume) + (Device Volume) + (Clamp/Connector Volume)

Example 1: Basic Receptacle Installation (20-amp receptacle, 12 AWG wire)

Example 2: Switch Loop with Multiple Devices (Three-way switch, 14 AWG wire)


Common mistakes and best practices

Common Box Fill Mistakes to Avoid:

Best Practices:


How do I calculate box fill fast?

If you want to calculate box fill fast, the old-school method is:


Disclaimer

Disclaimer: results are for informational purposes only and do not replace professional guidance. If you are not a certified electrician, check your electrical competence and consult a qualified professional before any electrical installation.


FAQs

How many wires can I put in an electrical box?
It depends on wire size and the size of the box. A 4-inch square box that is 1 ¼-inch deep can handle:

A 4-inch square box that is 2 ⅛-inch deep can handle:

Do grounds count in box fill?
Yes. Grounding wires count. Under NFPA 70 / National Electrical Code 2020, one up to four equipment grounding conductors (and equipment jumping conductors) count as a single volume allowance. Each additional grounding conductor adds an additional 1/4 volume allowance based on the largest grounding conductor.

Do pigtails count in a box fill?
Many guides say “don’t count pigtails,” but that’s only true for small pieces of wires that never leave the electrical utility box. If a conductor is fed through the box, it counts.

How much volume does a #12 wire need in a box?
A #12 wire needs 2.25 in³ (or 36.9 cm³). If larger wires enter the box, use the largest conductor for volume:

Example:

Electrical Box Fill

What is electrical box fill calculation?

How do you calculate the number of wires in a junction box?

How do electricians size electrical junction boxes?