SOLVETUTORMATH SOLVER

Instrument MI-08-073 · Construction

Junction Box Sizing Calculator

Pick a standard NEC box size and conductor gauge to see the maximum same-gauge conductor count — a starting point, not a substitute for a full code-compliant fill calculation.

Instrument MI-08-073
Sheet 1 OF 1
Rev A
Verified
Type 08 — Code Compliance — Electrical SER. 2026-08073

Maximum conductors of this gauge

9

max = floor(box capacity / per-conductor volume)

The working Every figure verified twice
  1. maxConductors = floor(21 ⁄ 2.25) = 9
Worksheet log
  1. No entries yet — change an input to log a scenario.

How this instrument works

The National Electrical Code (NEC / NFPA 70) limits how many conductors can be packed into an electrical box, because overcrowding makes it hard to work safely inside the box and can stress conductor insulation. Table 314.16(A) lists the standard listed volume, in cubic inches, for common box trade sizes — a 4-inch square box 1-1/2 inch deep, for instance, is listed at 21.0 cubic inches — and Table 314.16(B) sets how much of that volume each conductor of a given gauge consumes. This calculator divides one by the other to show the maximum count of same-gauge conductors a box can hold.

This is a preliminary, single-gauge estimate only, not a full NEC 314.16(B) box-fill compliance check. The real procedure also counts a volume allowance for internal cable clamps, device or yoke straps, luminaire studs or hickeys, and equipment-grounding conductors — each of which reduces the usable conductor count below the bare number this tool returns — and a mixed-gauge box requires each conductor's own per-gauge allowance to be summed individually. Treat this as a preliminary estimate only; a licensed electrician or your local building department's inspector should verify the actual fill calculation before any box goes into a wall.

Box volume and per-conductor volume are both fixed NEC table values, not figures that vary by brand — but which values apply depends on your specific box's trade size, shape, and depth, and on your specific conductor gauge, both selectable here directly from the standard NEC tables rather than typed in freehand.

maxConductors = floor(boxCapacityCuIn / conductorCuIn)
boxCapacityCuIn — the box's listed volume from NEC Table 314.16(A) · conductorCuIn — cubic inches allowed per conductor of the chosen gauge, from Table 314.16(B) · maxConductors — bare conductor count only; the real fill count also subtracts allowances for clamps, devices, and grounding conductors.
  • Select your box size from the dropdown — matched to NEC Table 314.16(A) trade sizes and their listed cubic-inch capacities.
  • Select the conductor gauge you're planning to run, assuming every conductor in the box is that same gauge.
  • Read Maximum conductors — the largest number of that gauge the box's listed volume allows, from Table 314.16(A)/(B) alone.
  • Before wiring, add allowances for clamps, devices, and grounding conductors per the full NEC 314.16(B) procedure, or have a licensed electrician verify the fill.

Worked example — a 4in square box, 12 AWG wire

Select the 4in square, 1-1/2in deep box (21.0 cubic inches per NEC Table 314.16(A)) and 12 AWG conductors (2.25 cubic inches each per Table 314.16(B)). Maximum conductors = floor(21.0 ÷ 2.25) = floor(9.33) = 9 bare 12 AWG conductors.

That figure counts conductors only. If this box also has an internal cable clamp, a device like a switch or outlet, or an equipment-grounding conductor, each of those adds its own volume allowance and reduces the real usable conductor count below 9 — exactly why this tool is scoped as a preliminary estimate, with a full 314.16(B) fill calculation or a licensed electrician's sign-off still required before the box is wired.

Questions

Does this calculator give me a fully code-compliant box-fill count?

No — it computes only the bare conductor capacity from NEC Table 314.16(A) box volume divided by Table 314.16(B) per-conductor volume for a single gauge. The complete 314.16(B) procedure also subtracts volume for internal cable clamps, device or yoke straps, luminaire studs or hickeys, and equipment-grounding conductors, each of which lowers the real usable conductor count. Treat this as a preliminary estimate only, and have a licensed electrician or your local building department verify the final fill calculation.

What happens if I put too many conductors in a box?

Overfilling a box violates NEC 314.16 and creates a real safety issue: conductors get crowded and sharply bent, insulation can be damaged during installation or later service work, and there's less room to safely make and inspect connections. Inspectors check box fill during rough-in, and an overfilled box is a common reason for a failed inspection — this is a code requirement grounded in real safety concerns, not just a suggested best practice.

Why does the maximum conductor count change if I mix wire gauges?

Because each conductor's volume allowance is tied to its own gauge — a 10 AWG conductor consumes more of the box's listed volume than a 14 AWG one. In a mixed-gauge box, NEC 314.16(B) requires adding up each conductor's specific per-gauge allowance individually rather than using one flat per-conductor number, so a box with several different wire sizes needs a manual sum, not this calculator's single-gauge division.

Is a bigger box always the safer choice?

Generally yes for fill purposes, since a larger listed volume gives more conductor capacity and more working room — but the box still has to be an approved type for its application, fit the mounting location, and be properly supported per code. Going oversized doesn't cause a fill violation, but it isn't a substitute for correctly counting clamps, devices, and grounding conductors; a licensed electrician can confirm the right box for your specific circuit.

Where do the standard box capacity numbers, like 21.0 cubic inches, come from?

They're published directly in NEC (NFPA 70) Table 314.16(A), which lists standard trade sizes and shapes of electrical boxes — square, octagonal, device boxes, and more — alongside their listed cubic-inch capacity at each depth. These are code-table values, not manufacturer marketing figures, though some boxes are marked with a manufacturer-stated volume that differs slightly and should be used instead when present on the box itself.

References