Skip to content

Box Fill Calculator (NEC 314.16)

Enter the wires by gauge, the grounds, devices and clamps to get the box fill in cubic inches under the National Electrical Code, the percentage of your box it uses and the smallest standard box that fits.

Calculator Details

The box is too small:16 in³ neededSee results ↓

Canadian Electrical Code (cm³) or US National Electrical Code (in³)

Trade size; or choose “Marked volume” and type the volume stamped in the box

Each insulated wire that enters the box and is connected, or passes through (15 A circuits)

20 A circuits

30 A circuits

Not counted under the CEC when bare; NEC counts one for up to four

Each device (yoke or strap) counts as two conductors

Each counts as one conductor

NEC counts one conductor for all internal clamps; the CEC does not count them

Your Results

The box is too small: 16 in³ needed

The box is too small

16 in³ needed

Device box 3 × 2 × 2-1/2 in: 12.5 in³ (128% full)

Needed

262.2 cm³

16 in³

Conductor equivalents

8

Largest conductor No. 14 AWG (2 in³)

Smallest listed box that fits

Device box 3 × 2 × 3-1/2 in (18.0 in³)

Turn the power off at the panel before opening a box. Electrical work in Canada usually needs a permit and inspection; provincial amendments and your inspector decide what is allowed, and in many provinces only a licensed electrician may do it.

The wiring needs 16 in³ under the National Electrical Code 2023, 314.16; the device box 3 × 2 × 2-1/2 in holds 12.5 in³ (128% full), so it is too small.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

What takes up the box

What takes up the box

Detailed Breakdown

Volume needed (National Electrical Code 2023, 314.16)
ItemCounted asVolume (in³)
No. 14 AWG conductors × 2 in³48
2 grounding conductors (No. 14)12
Internal clamps (No. 14)12
Device yokes × 2 (No. 14)24
Total needed816
Device box 3 × 2 × 2-1/2 in12.5

How This Calculator Works

How box fill is calculated

Required = Σ conductors × Table 314.16(B) + clamps 1 + studs 1 + yokes 2 + grounds 1 (+ ¼ each over four)

The box fits when required ≤ box volume

Your numbers: 8 + 2 + 2 + 4 = 16 in³, against 12.5 in³ for the device box 3 × 2 × 2-1/2 in.

Frequently Asked Questions

Is a 12.5 cubic inch box big enough for two 14/2 cables and a switch?

No. Four 14 AWG conductors count 4 × 2.00 = 8 cubic inches, the switch counts double the largest conductor (4.00), internal clamps count one (2.00) and all the grounds together count one (2.00): 16 cubic inches. A 3 × 2 × 2½ inch device box holds 12.5, so you need at least an 18 cubic inch box such as a 3 × 2 × 3½.

How many cubic inches does each wire size count?

NEC Table 314.16(B) gives 2.00 cubic inches for 14 AWG, 2.25 for 12 AWG, 2.50 for 10 AWG, 3.00 for 8 AWG and 5.00 for 6 AWG. Each conductor that enters and ends or splices in the box counts once; a wire that passes through unbroken also counts once, and pigtails that don't leave the box count zero.

Where is the volume marked on a plastic box?

Nonmetallic boxes are stamped inside with their volume in cubic inches, as the NEC requires (314.16(A)). Metal boxes of standard sizes take their volume from Table 314.16(A); a 4 inch square box 1½ inches deep, for example, is 21 cubic inches, and a raised cover or extension ring adds its marked volume.

Do I need a permit to replace a switch or outlet box?

It depends on your state and city. Many allow a homeowner to replace a device like-for-like in their own house without a permit, but adding a circuit, a box or new wiring usually needs an electrical permit and an inspection. Turn the breaker off and test the wires with a tester before you touch them.

Not an inspection: provincial and state amendments, the edition in force (CEC 2021 or 2024, NEC 2020 or 2023) and your inspector govern. Canadian counting rules and Table 22 values for No. 14 and No. 12 follow the Régie du bâtiment du Québec interpretation of CEC Rule 12-3034 (No. 10, 8 and 6 values and the connector allowance are still being checked against CSA C22.1); US rules and volumes from NEC 314.16 and Tables 314.16(A) and (B). Box volumes are trade sizes; the volume marked on your box governs. It leaves out extension rings and raised covers, conduit bodies, pull and junction boxes above No. 6 AWG (CEC 12-3036, NEC 314.28), double-wide devices, isolated grounds, cable clamps outside the CEC count and wire bending space.

Box Fill Calculator: NEC 314.16 Cubic Inches for an Electrical Box

By FindMySum · Last reviewed

This box fill calculator applies section 314.16 of the National Electrical Code (NEC 2023), adopted in some edition by every US state, to an outlet, switch or junction box. Every conductor, device, clamp and ground in a box takes up an allowance of volume, and the box must be at least as big as the total so wires aren't crammed in, overheated or nicked when the device is pushed back. The calculator adds the allowances in cubic inches and compares them with the volume of the box you choose.

Worked example: a switch fed by two 14/2 cables

The US page starts with four 14 AWG insulated conductors (two 14/2 cables with ground), two grounds, one device (a switch), internal cable clamps, and a 3 × 2 × 2½ inch metal device box.

  1. Conductors: 4 × 2.00 = 8.00 cubic inches.
  2. Device: a switch counts two volume allowances for the largest conductor on it, 2 × 2.00 = 4.00.
  3. Clamps: one allowance for all internal clamps, 2.00.
  4. Grounds: one allowance for all equipment grounding conductors together, 2.00.
  5. Total: 16 cubic inches, against a box of 12.5 cubic inches: 128% full, so it fails.

The smallest standard device box that holds it is the 3 × 2 × 3½ inch box at 18 cubic inches, which would be 89% full.

Making a box fit

If a box is too small you can fit a deeper box, add an extension ring or a raised cover marked with its volume, or move a splice to another box. Smart switches, dimmers and GFCI receptacles still count two allowances under the NEC, but they are much deeper than an ordinary switch and leave little room for the wires folded behind them, so many electricians fit a deeper box than the minimum when they install one. Cable connectors outside the box don't count, which is one reason to use them in place of internal clamps.

Safety first

Working on a live circuit is the cause of most electrical injuries, and OSHA's figures show electrocution among the leading causes of death in construction. Switch off the breaker, confirm the circuit is dead with a non-contact tester and then a meter, and if your house has aluminum branch wiring or knob-and-tube, get an electrician.

Box fill is also checked by inspectors at the rough-in stage, before the drywall goes up, so it is worth adding it up when you plan each box.

For the Canadian Electrical Code rules (Rule 12-3034, volumes in cm³), use the box fill calculator.

Sources

This article explains how the calculator works and is general information, not financial, tax or legal advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy