Box Fill Calculator

Calculate the maximum number of conductors allowed in an electrical box based on box size and wire count.

What counts toward box fill?

Each current-carrying conductor counts as one allowance based on its gauge. All equipment grounding conductors together count as one allowance. Each device yoke counts as two allowances. Internal clamps, support fittings, and fixture studs each count as one allowance if present.

Calculations assume one conductor size basis for fill allowance. For boxes with mixed conductor sizes, consult the NEC directly.

What Is a Box Fill Calculator?

A box fill calculator helps electricians and DIYers determine the maximum number of conductors (wires) allowed inside an electrical junction box, outlet box, or device box. It applies the fill capacity rules defined in the National Electrical Code (NEC) to ensure safe installations and prevent overheating or physical damage to wiring.

By entering the box volume and the number of wires, clamps, devices, and fittings, the calculator checks whether the box is oversized, undersized, or at capacity. This eliminates guesswork and helps you stay compliant with code requirements.

How Box Fill Calculations Work

NEC Article 314 specifies that each conductor, device, or fitting inside a box occupies a certain volume allowance. The total volume used must not exceed the box's internal volume. The basic formula is:

Total Volume Used = (Number of Conductors × Volume per Conductor) + Volume for Clamps + Volume for Devices + Volume for Fittings

Each conductor size has a standard volume allowance:

Grounding conductors count as one conductor total (the largest one). Internal clamps count as one conductor. Each yoke-mounted device (switch, receptacle) counts as two conductors. Cable connectors count based on their size.

How to Use the Box Fill Calculator

  1. Select the box type — Choose from standard junction boxes, outlet boxes, or device boxes.
  2. Enter the box volume — This is usually stamped inside the box in cubic inches.
  3. Specify wire gauge — Select the AWG size of the conductors you are installing.
  4. Count the conductors — Include all current-carrying wires, but exclude the grounding wire count (it's handled separately).
  5. Add devices and fittings — Include switches, receptacles, clamps, and cable connectors.
  6. Click Calculate — The tool will show whether the box is within code limits.

Example Calculation

Suppose you have a standard 4-inch square box with a volume of 21.0 cubic inches. You plan to install:

Volume used:

Since 18.00 cu in is less than 21.0 cu in, the box is compliant. The calculator confirms this instantly.

Understanding Your Results

The calculator returns one of three outcomes:

If the result shows overfilled, check your conductor count and device allowances. A common mistake is forgetting to count internal clamps or grounding conductors correctly.

Common Mistakes in Box Fill Calculations

Limitations and Constraints

This calculator follows NEC 2020 and 2023 guidelines for standard box fill. It does not cover:

Always verify your local code amendments, as some jurisdictions may have additional requirements beyond the NEC.

Practical Use Cases

FAQ

What is the maximum number of wires in a standard outlet box?

A standard single-gang outlet box typically has a volume of 14 to 18 cubic inches. For #12 AWG wire (2.25 cu in per conductor), that allows roughly 6 to 8 conductors, including devices. Use the calculator with your specific box volume for an exact count.

Do ground wires count in box fill?

Yes, but all grounding conductors together count as only one conductor of the largest size present. For example, three #12 ground wires count as one #12 conductor (2.25 cu in).

How do I find the volume of my electrical box?

Most boxes have the cubic inch volume stamped on the inside back or side wall. If the stamp is missing, measure the box dimensions and calculate volume (length × width × depth). For standard boxes, reference tables are available in NEC 314.16.

Does a wire nut count as a conductor for box fill?

No. Wire nuts (connectors) are not counted in box fill calculations. Only the conductors themselves, devices, clamps, and fittings count toward the volume allowance.

Can I use this calculator for PVC or metal boxes?

Yes. The calculator works for any box type as long as you enter the correct internal volume. Metal and PVC boxes of the same nominal size may have slightly different volumes, so always check the stamped value.