NEC Electrical Box Fill Calculator
Input Parameters
Computed Results
The NEC electrical box fill calculator determines the total required volume for an electrical enclosure based on National Electrical Code (NEC) 314.16 rules. It helps you calculate conductor allowances, device fill, grounding requirements, and internal clamps to ensure your box capacity is compliant and not overfilled.
How to Use the Calculator
Follow these steps to determine if your electrical box meets NEC fill requirements:
- Select Box Capacity: Choose a standard box preset (like a 4-inch square or switch box) to auto-fill the volume, or manually enter the box capacity in cubic inches.
- Enter Conductors: Input the number of 14 AWG, 12 AWG, and 10 AWG circuit conductors originating outside the box.
- Add Wiring Devices: Enter the number of switches or receptacles and select the largest wire gauge connected to them.
- Count Grounding Conductors: Input the total number of equipment grounding conductors (EGCs) and their largest wire gauge.
- Include Internal Clamps: Indicate whether the box contains internal factory cable clamps.
Formula and Calculation Method
The calculator uses the volume allowances specified in NEC Table 314.16(A) and 314.16(B). The total required fill volume is the sum of four components:
Each component is calculated using specific volume allowances based on wire gauge (14 AWG = 2.00 in³, 12 AWG = 2.25 in³, 10 AWG = 2.50 in³):
- Conductor Volume: Each current-carrying conductor counts as one allowance of its respective wire gauge.
- Device Volume: Each yoke or strap containing a device (like a switch or outlet) counts as a double allowance (2 × volume) based on the largest conductor connected to it.
- Ground Volume: All ground wires combined count as a single allowance for the first four grounds. Each additional ground wire beyond four adds 0.25 to the allowance. This total is multiplied by the volume of the largest grounding conductor.
- Clamp Volume: One or more internal factory cable clamps count as a single allowance based on the largest conductor present in the entire box.
Inputs and Outputs
| Input/Output | Description |
|---|---|
| Standard Box Preset | Optional selection of common enclosures to auto-fill capacity. |
| Box Capacity (in³) | The internal volume of the box, stamped on the inside or from NEC tables. |
| Conductors (14, 12, 10 AWG) | The count of circuit conductors entering the box. |
| Wiring Devices | The number of switches or receptacles installed on a yoke/strap. |
| Equipment Grounding Conductors | The total count of ground wires in the box. |
| Internal Cable Clamps | Whether the box includes factory-installed internal clamps. |
| Total Required Fill Volume | The calculated minimum volume required for all contents. |
| Remaining Volume | The unused capacity in the box. |
| NEC 314.16 Compliance | Indicates "Pass (Compliant)" if required volume is less than or equal to box capacity. |
Verified Scenario Walkthroughs
Here are examples of how the calculator applies NEC rules to different wiring situations:
Small switch box with minimal wiring
Using a standard 2x3x2.5 switch box (12.5 in³ capacity) with two 14 AWG conductors, one device connected to 14 AWG wire, one 14 AWG ground, and no internal clamps. The required volume is 10 in³ (4 in³ for conductors + 4 in³ for the device + 2 in³ for the ground). The box uses 80% of its capacity, leaving 2.5 in³ remaining, resulting in a "Pass (Compliant)" status.
Standard 4-inch square box with multiple devices
A 4x2.125 square box (30.3 in³ capacity) containing six 14 AWG conductors, two 12 AWG conductors, two devices connected to 12 AWG wire, three 12 AWG grounds, and internal clamps. The required volume is exactly 30 in³. This leaves 0.3 in³ of remaining capacity (99% fill percentage), which is compliant.
High-density junction box with heavy gauge wire
A custom 60 in³ junction box holding four 14 AWG, four 12 AWG, and four 10 AWG conductors. It has no devices, but contains six 10 AWG grounds and internal clamps. The required volume calculates to 33.25 in³. The box is 55.4% filled, leaving 26.75 in³ of remaining capacity.
Octagon box with many grounds and clamps
A 4x2.125 octagon box (21.5 in³ capacity) with four 14 AWG conductors, one device connected to 14 AWG wire, eight 14 AWG grounds, and internal clamps. The eight grounds count as 2 total allowances (1 for the first four, plus 4 × 0.25). The total required volume is 18 in³, leaving 3.5 in³ remaining (83.7% fill percentage) and passing compliance.
Practical Use Cases
Calculating box fill is necessary when planning residential or commercial wiring layouts. It ensures that wires are not cramped, which helps prevent heat buildup and reduces the risk of short circuits. Common applications include sizing a junction box to splice multiple circuits together, verifying if an existing single-gang box is large enough to add a smart switch (which often requires additional neutral wires), or determining the correct box depth when installing heavy-gauge wiring for appliances.
Frequently Asked Questions
How are grounding conductors counted for box fill?
Under NEC 314.16(B)(5), the first four equipment grounding conductors count as a single volume allowance based on the largest ground wire present. Each additional ground wire beyond four adds one-quarter (0.25) of an allowance.
Do internal cable clamps count towards box fill?
Yes. If a box contains one or more internal factory cable clamps, they count as a single conductor volume allowance. This allowance is based on the largest conductor present in the box.
How much volume does a switch or receptacle require?
Each yoke or strap containing one or more devices counts as a double volume allowance (2 × the standard conductor volume). This allowance is calculated using the largest wire gauge connected to that specific device.