Skip to main content

Box Fill Calculator

Calculate box fill accurately for your build. Get material quantities, waste allowances, and project cost breakdowns. Get results you can export or share.

Skip to calculator
Construction & Engineering

Box Fill Calculator

Calculate electrical box fill per NEC 314.16. Determine if your junction box, device box, or outlet box meets code requirements for conductor capacity.

Last updated: December 2025

Calculator

Adjust values & calculate
Box Fill Status
OVERFILLED
20.0 cu in used of 12.5 cu in (160.0%)
Remaining
-7.5
cubic inches
Max Conductors
6
14 AWG only

Fill Breakdown (NEC 314.16)

Conductors (6 x 2 cu in)12.0 cu in
Grounds (all = 1 allowance)2.0 cu in
Clamps (all = 1 allowance)2.0 cu in
Devices (1 x 2 allowances)4.0 cu in
NEC Note: Pigtails originating and terminating within the box do not count toward box fill. Wire nuts and push-in connectors are accounted for in the conductor volumes. Always verify with your local AHJ for jurisdictional amendments.
Your Result
20.0 cu in needed | 12.5 cu in box | OVERFILLED
Share Your Result
Understand the Math

Formula

Total Fill = (Conductors x Vol) + (1 x Vol for grounds) + (1 x Vol for clamps) + (Devices x 2 x Vol)

Per NEC 314.16, each conductor gets one volume allowance based on wire gauge. All ground wires count as one allowance at the largest conductor volume. All internal clamps count as one allowance. Each device (switch or receptacle) counts as two allowances. The total cubic inches must not exceed the box volume rating.

Last reviewed: December 2025

Worked Examples

Example 1: Single Switch Box

Calculate box fill for a single switch with 2 cables (14 AWG): 4 conductors, 2 grounds, 1 clamp, 1 device.
Solution:
Conductors: 4 x 2.00 = 8.0 cu in Grounds: 1 x 2.00 = 2.0 cu in Clamps: 1 x 2.00 = 2.0 cu in Device: 1 x 2 x 2.00 = 4.0 cu in Total: 16.0 cu in 3x2x2-1/2 box = 12.5 cu in - TOO SMALL Need 3x2x3-1/2 box (18.0 cu in)
Result: 16.0 cu in required, need minimum 18.0 cu in box

Example 2: Receptacle with 3 Cables

Calculate box fill for a receptacle with 3 cables (12 AWG): 6 conductors, 3 grounds, 1 clamp, 1 device.
Solution:
Conductors: 6 x 2.25 = 13.5 cu in Grounds: 1 x 2.25 = 2.25 cu in Clamps: 1 x 2.25 = 2.25 cu in Device: 1 x 2 x 2.25 = 4.5 cu in Total: 22.5 cu in Need 4x2-1/8 square box (30.3 cu in)
Result: 22.5 cu in required, 4-inch square box works
Expert Insights

Background & Theory

The Box Fill Calculator applies the following established principles and formulas. Structural and construction engineering is governed by fundamental load analysis, material science, and regulatory standards that ensure the safety and durability of built structures. The primary distinction in load analysis is between dead loads โ€” the permanent self-weight of structural elements, finishes, and fixed equipment โ€” and live loads, which represent variable occupancy, furniture, and environmental forces such as wind and snow. These are combined using factored load equations, such as the ASCE 7 formula U = 1.2D + 1.6L, where D is dead load and L is live load. Concrete mix design is governed by the water-cement (w/c) ratio, which is the primary determinant of compressive strength and durability. A w/c ratio of 0.40โ€“0.45 typically yields concrete with 28-day compressive strengths of 30โ€“40 MPa. Common mix ratios by weight for structural concrete are approximately 1 part cement : 1.5โ€“2 parts sand : 3 parts coarse aggregate. Structural steel is characterized by its yield strength (the stress at which permanent deformation begins, typically 250โ€“350 MPa for mild steel) and ultimate tensile strength (typically 400โ€“500 MPa). Mid-span deflection of a simply supported beam under a central point load is given by ฮด = FLยณ / (48EI), where F is force, L is span length, E is Young's modulus, and I is the second moment of area. Building insulation is rated by R-value, a measure of thermal resistance in units of mยฒยทK/W (SI) or ftยฒยทยฐFยทh/BTU (imperial). Higher R-values indicate greater resistance to heat flow. Foundation design depends on the allowable bearing capacity of the underlying soil, which ranges from approximately 75 kPa for soft clay to over 10,000 kPa for bedrock. Drainage gradients for surface water are typically specified as a minimum of 1โ€“2% slope away from building foundations to prevent hydrostatic pressure and water infiltration.

History

The history behind the Box Fill Calculator traces back through the following developments. The history of construction engineering spans thousands of years of accumulated empirical knowledge and, more recently, rigorous scientific analysis. The ancient Egyptians built the Great Pyramid of Giza around 2560 BCE using an estimated 2.3 million stone blocks, demonstrating sophisticated logistics, geometry, and workforce organization. Roman engineers advanced the field dramatically through the use of pozzolanic concrete โ€” a mixture of volcanic ash, lime, and seawater โ€” enabling the construction of the Pantheon dome (43.3 m diameter, completed around 125 CE) and a vast network of aqueducts and roads across the empire. Cast iron emerged as a structural material during the Industrial Revolution, first used prominently in the Iron Bridge at Coalbrookdale, England, completed in 1779. Wrought iron and later steel allowed far greater spans and heights. The Eiffel Tower, completed in 1889, demonstrated the structural possibilities of wrought iron at scale and influenced the development of steel-frame skyscraper construction in Chicago and New York. Reinforced concrete was systematically developed by Joseph Monier, a French gardener, who patented iron-reinforced concrete pots and panels in the 1860s, and later by engineers including Franรงois Hennebique who created the first comprehensive reinforced concrete framing system in the 1890s. The 1906 San Francisco earthquake caused widespread devastation and galvanized the engineering profession to develop seismic design provisions. Subsequent earthquakes โ€” including the 1971 San Fernando and 1994 Northridge events โ€” drove successive improvements in seismic codes, base isolation technology, and ductile detailing of reinforced concrete and steel frames. Building codes became increasingly standardized in the twentieth century, with the International Building Code (IBC) first published in 2000 providing a unified model code adopted across much of the United States. Building Information Modeling (BIM) emerged in the 2000s as a digital workflow integrating architectural, structural, and MEP design into a unified three-dimensional model, fundamentally changing coordination practices across the industry.

Share this calculator

Explore More

Frequently Asked Questions

NEC 314.16 requires calculating box fill by assigning volume allowances to each item in the box based on the largest conductor size. Each current-carrying conductor gets one volume allowance. All equipment grounding conductors together count as one volume allowance. All internal cable clamps together count as one volume allowance. Each device such as a switch or receptacle counts as two volume allowances. The total of all allowances multiplied by the cubic inch volume per conductor for the wire gauge must not exceed the box volume listed in NEC Table 314.16(A).
Box fill calculations use the volume allowance of the largest conductor entering the box when calculating ground and clamp allowances. For conductor counts, each wire gauge has its own volume: 14 AWG is 2.00 cubic inches, 12 AWG is 2.25 cubic inches, 10 AWG is 2.50 cubic inches, 8 AWG is 3.00 cubic inches, and 6 AWG is 5.00 cubic inches. If a box contains mixed gauge conductors, you calculate the volume for each conductor at its own gauge but use the largest gauge volume for the single ground and single clamp allowances.
Pigtails and short conductors that originate and terminate within the box do not count toward box fill calculations per NEC 314.16(B)(1). This is because they do not pass through the box and are not connected to a fitting or device outside the box. However, conductors that enter the box from a cable or conduit do count even if they are spliced inside the box. Wire nuts, tape, and push-in connectors do not count separately because their volume is accounted for in the conductor allowances. This distinction is important because it means using pigtails does not increase your box fill count.
Overfilling an electrical box violates the National Electrical Code and creates several safety hazards. Crowded conductors can cause wire insulation damage from sharp box edges or conductor pressure, leading to short circuits or ground faults. Overfilled boxes generate more heat because conductors cannot dissipate heat effectively, potentially causing insulation breakdown. Devices may not seat properly in overfilled boxes, creating loose connections that arc and overheat. Code inspectors will fail an installation with overfilled boxes, requiring costly rework. Always use the correct box size or gang multiple boxes together.
You may use the results for reference and educational purposes. For professional reports, academic papers, or critical decisions, we recommend verifying outputs against peer-reviewed sources or consulting a qualified expert in the relevant field.
All calculations use established mathematical formulas and are performed with high-precision arithmetic. Results are accurate to the precision shown. For critical decisions in finance, medicine, or engineering, always verify results with a qualified professional.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

Formula

Total Fill = (Conductors x Vol) + (1 x Vol for grounds) + (1 x Vol for clamps) + (Devices x 2 x Vol)

Per NEC 314.16, each conductor gets one volume allowance based on wire gauge. All ground wires count as one allowance at the largest conductor volume. All internal clamps count as one allowance. Each device (switch or receptacle) counts as two allowances. The total cubic inches must not exceed the box volume rating.

Worked Examples

Example 1: Single Switch Box

Problem: Calculate box fill for a single switch with 2 cables (14 AWG): 4 conductors, 2 grounds, 1 clamp, 1 device.

Solution: Conductors: 4 x 2.00 = 8.0 cu in\nGrounds: 1 x 2.00 = 2.0 cu in\nClamps: 1 x 2.00 = 2.0 cu in\nDevice: 1 x 2 x 2.00 = 4.0 cu in\nTotal: 16.0 cu in\n3x2x2-1/2 box = 12.5 cu in - TOO SMALL\nNeed 3x2x3-1/2 box (18.0 cu in)

Result: 16.0 cu in required, need minimum 18.0 cu in box

Example 2: Receptacle with 3 Cables

Problem: Calculate box fill for a receptacle with 3 cables (12 AWG): 6 conductors, 3 grounds, 1 clamp, 1 device.

Solution: Conductors: 6 x 2.25 = 13.5 cu in\nGrounds: 1 x 2.25 = 2.25 cu in\nClamps: 1 x 2.25 = 2.25 cu in\nDevice: 1 x 2 x 2.25 = 4.5 cu in\nTotal: 22.5 cu in\nNeed 4x2-1/8 square box (30.3 cu in)

Result: 22.5 cu in required, 4-inch square box works

Frequently Asked Questions

How do you calculate electrical box fill per NEC 314.16?

NEC 314.16 requires calculating box fill by assigning volume allowances to each item in the box based on the largest conductor size. Each current-carrying conductor gets one volume allowance. All equipment grounding conductors together count as one volume allowance. All internal cable clamps together count as one volume allowance. Each device such as a switch or receptacle counts as two volume allowances. The total of all allowances multiplied by the cubic inch volume per conductor for the wire gauge must not exceed the box volume listed in NEC Table 314.16(A).

What size wire counts for box fill calculations?

Box fill calculations use the volume allowance of the largest conductor entering the box when calculating ground and clamp allowances. For conductor counts, each wire gauge has its own volume: 14 AWG is 2.00 cubic inches, 12 AWG is 2.25 cubic inches, 10 AWG is 2.50 cubic inches, 8 AWG is 3.00 cubic inches, and 6 AWG is 5.00 cubic inches. If a box contains mixed gauge conductors, you calculate the volume for each conductor at its own gauge but use the largest gauge volume for the single ground and single clamp allowances.

Do pigtails count in box fill calculations?

Pigtails and short conductors that originate and terminate within the box do not count toward box fill calculations per NEC 314.16(B)(1). This is because they do not pass through the box and are not connected to a fitting or device outside the box. However, conductors that enter the box from a cable or conduit do count even if they are spliced inside the box. Wire nuts, tape, and push-in connectors do not count separately because their volume is accounted for in the conductor allowances. This distinction is important because it means using pigtails does not increase your box fill count.

What happens if a box is overfilled?

Overfilling an electrical box violates the National Electrical Code and creates several safety hazards. Crowded conductors can cause wire insulation damage from sharp box edges or conductor pressure, leading to short circuits or ground faults. Overfilled boxes generate more heat because conductors cannot dissipate heat effectively, potentially causing insulation breakdown. Devices may not seat properly in overfilled boxes, creating loose connections that arc and overheat. Code inspectors will fail an installation with overfilled boxes, requiring costly rework. Always use the correct box size or gang multiple boxes together.

Is my data stored or sent to a server?

No. All calculations run entirely in your browser using JavaScript. No data you enter is ever transmitted to any server or stored anywhere. Your inputs remain completely private.

How do I get the most accurate result?

Enter values as precisely as possible using the correct units for each field. Check that you have selected the right unit (e.g. kilograms vs pounds, meters vs feet) before calculating. Rounding inputs early can reduce output precision.

References

Reviewed by Abdullah, Technical Content Specialist ยท Editorial policy