Box Fill Calculator — NEC 314.16 Volume Allowance

Count the volume allowances for conductors, devices, clamps and grounds, and check the box you actually bought.

Box fill calculator

Paste it on your own page or wiki — no signup, no tracking script.
Code reference. Box fill is calculated under NEC 314.16. The volume allowance per conductor depends on the largest conductor in the box, not on each conductor individually. Every equipment grounding conductor in the box counts as a single allowance. Each device yoke counts as two allowances. Cable clamps count as one. Box volume must be the figure printed or marked on the box itself.

Why box fill matters more than it looks

A box that is overfilled has three problems. The conductors are compressed against each other and can abrade when the device is pushed back. Heat from terminations has less room to dissipate. And connections get strained when the device is folded in, which is a leading cause of loose neutrals and intermittent faults that are hard to find later.

The calculation is not about the physical emptiness of the box — a box can look half empty and still be overfilled by the code, because the allowance is based on wire volume plus allowances for hardware that also takes up space.

The allowances, in full

ItemAllowances countedArticle
Each current-carrying conductor1314.16(B)(1)
Equipment grounding conductors, up to four1 total314.16(B)(5)
Each grounding conductor beyond four+¼ of one allowance314.16(B)(5)
Each device yoke (switch, receptacle)2 per yoke314.16(B)(4)
Cable clamps inside the box1314.16(B)(2)
Fixture studs, hickeys1314.16(B)(3)
Pigtails and wire nuts staying in the box0314.16(B)(1) exception

The volume per allowance is set by the largest conductor present: 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.

Three different bases, and only one of them is the largest conductor

The allowances do not all key off the same conductor. Three separate bases apply.

What you are countingWhich conductor size sets the allowanceArticle
Each current-carrying conductorThat conductor's own size314.16(B)(1)
Internal clamps, and the grounding conductorsThe largest conductor anywhere in the box314.16(B)(2), (B)(5)
Each device yokeThe largest conductor connected to that specific yoke314.16(B)(4)

So six 14 AWG conductors and two 12 AWG conductors in the same box cost 6 × 2.00 + 2 × 2.25 = 16.50 cubic inches, not 8 × 2.25 = 18.00. Use the largest conductor for all eight and you have over-counted by 1.50 cubic inches before you even look at clamps. The clamps in that same box still cost 2.25, because 12 AWG is the largest conductor present. A yoke on the 14 AWG side costs 4.00; a yoke on the 12 AWG side of the same box costs 4.50.

Two worked examples

1. A single-gang box with one 12 AWG cable

One cable brings a hot, a neutral and a ground, feeding one receptacle. Current-carrying conductors: 2 (hot and neutral). Grounds: 1 allowance. Device: 2 allowances. Total 5 allowances at 2.25 cubic inches each, or 11.25 cubic inches. It is inside a 20.5 cubic inch plastic box by a wide margin. This is the standard case and it is why single-gang boxes are almost never a fill problem.

2. A junction box where two cables splice

Two 12 AWG cables enter a metal 4 inch square box, and each conductor is spliced through. That gives 4 current-carrying conductors (2 hots, 2 neutrals), 1 ground allowance, 1 clamp allowance, and no devices. Total 6 allowances at 2.25 cubic inches, or 13.5 cubic inches. A 2-1/8 inch deep 4 inch square box has 30.3 cubic inches, so it passes easily. Add a receptacle and two more cables and the picture changes quickly — that is where installers get caught.

A full calculation, worked the way the licence exam works it

Minnesota's Department of Labor and Industry publishes a licensing guide for electrician exams. Its two-gang example is worth following line by line because it exercises every rule at once. A two-gang nonmetallic box holds a three-way switch and a duplex receptacle; one 14-2 and one 14-3 cable feed the lighting circuit, two 12-2 cables feed the outlet, and the box has internal cable clamps.

19.00 + 2.25 + 8.50 + 2.25 = 32.00 cubic inches, which is the answer the guide gives. Note what did not happen: the switch was not charged at 12 AWG just because a 12 AWG conductor existed somewhere in the box.

Where people actually fail

Past four grounding conductors, the count starts moving again

The old shortcut — all grounding conductors together count as one allowance — holds only up to four. From the fifth onward each one adds a quarter allowance, all still sized by the largest grounding conductor in the box. The same state guide states this against 314.16(B)(5). With 12 AWG grounding conductors that works out as:

Grounding conductorsAllowancesCubic inches at 2.25
1 to 41.002.25
51.252.81
61.503.38
82.004.50
123.006.75
205.0011.25

In absolute terms the adjustment is small — 1.13 cubic inches at six grounding conductors, 4.50 at twelve. It matters because of where it lands. Take five 12-2 cables entering one box with internal clamps and no devices: ten current-carrying conductors cost 22.50, the clamps 2.25, and the five grounding conductors 2.81 rather than 2.25. The requirement is 27.56 cubic inches. A 4 inch square box 2-1/8 inches deep has 30.3, so it passes with 2.74 to spare instead of 3.31. Nothing failed, but a quarter of the margin left the room. On a box that only just passes, that is the difference between a clean rough-in and a correction notice.

Where this calculator stops. The box fill calculator above counts your grounding conductors as a single allowance, which is correct up to four of them. If the box takes five or more, add a quarter allowance for each one past the fourth before you trust the pass or fail line: take the per-conductor volume shown in the result, multiply it by 0.25, and multiply again by the number of grounding conductors beyond four.

Where the box volume comes from, and why you never round up

The calculation is only as good as the number you divide into it. Box volume is not measured on site: it is the marked capacity in cubic inches, printed on the box or on a label inside the cover. A box with no marking cannot be used for this calculation at all, however large it looks. Manufacturers vary and older stock differs, so trust the box in your hand over any preset.

Two extras can add volume. A raised cover or extension ring counts only when its capacity is stamped on it — an unstamped ring contributes nothing. Nothing else gets added: not a blank cover, and not the space you can see inside the wall around the box.

When you work the question the other way around and ask how many conductors a box will take, divide the marked volume by the per-conductor allowance and stop at the whole number. 60 cubic inches divided by 2.25 gives 26.67, and the answer is 26 conductors, not 27. The same instruction appears in the state guide in as many words. Rounding up here produces an installation that fails inspection even though every number in it looked right.

How this calculator is verified

Volume allowances reproduce NEC 314.16(B). Box volume presets use the standard volumes marked on commonly available boxes; always confirm against the marking on your actual box, because manufacturers vary and older stock may differ.

Volume allowance table, worked examples and the grounding-conductor rule last verified: 1 November 2026.

Tools for the box you are checking

Box fill is arithmetic, but the conductors still have to be trimmed and spliced inside a box the calculation says will pass. These are the tools for that work.

  • Non-contact voltage tester — Confirm the circuit is dead before you count conductors. Every box-fill job starts with the power off.
  • Wire strippers — Trim conductors to a workable length before folding them back. Long loops and generous pigtails are what push a box that passed the arithmetic over its marked volume.
  • Wire connectors — Splices and pigtails take room. Choosing compact connectors keeps the fill inside the allowance the calculation uses.
  • Box extension ring — When a box fails on fill, an extension ring or a deeper box adds volume without re-running the circuit.

As an Amazon Associate I earn from qualifying purchases. The links above are affiliate links — if you buy through one, the price you pay is unchanged and a small commission helps keep these calculators free. Tools are listed because the job calls for them, not because of commission rates.

FAQ

How do I calculate box fill?

Add up the number of allowances: one per current-carrying conductor, one in total for all equipment grounds, two per device yoke, and one for internal cable clamps. Multiply by the cubic-inch volume for the largest conductor present, then compare with the volume marked on the box.

How many allowances does a receptacle add?

Two allowances per yoke. A single receptacle, a duplex receptacle and a switch each count as one yoke and therefore two allowances. A two-gang box with two devices counts four allowances.

Do all the ground wires count individually?

No. All equipment grounding conductors in the box count as a single allowance, sized by the largest one present. This is one of the most commonly misunderstood rules in Article 314.16.

What is the volume allowance for 12 AWG wire?

2.25 cubic inches. The full set is 2.00 for 14 AWG, 2.25 for 12 AWG, 2.50 for 10 AWG, 3.00 for 8 AWG and 5.00 for 6 AWG. The allowance is set by the largest conductor in the box and applies to every allowance in that box.

How many cubic inches is a standard single-gang box?

A one-gang plastic residential box is typically 18 to 22 cubic inches. A metal 4 inch square box 1-1/2 inches deep is about 21 cubic inches, and 2-1/8 inches deep is about 30 cubic inches. Always read the marking on the box itself.

Do pigtails count toward box fill?

No. A short conductor that both starts and ends inside the box, such as a pigtail used to split a connection, is not counted. Only conductors that enter or leave the box are counted.

Does a cable clamp count?

One allowance for cable clamps inside the box. Metal boxes with internal clamps count one. Plastic boxes with integral external clamps generally do not, because the clamp is not a separate body inside the box.

What happens if a box is overfilled?

It is a code violation, and it causes real failures: abraded insulation, strained terminations, heat build-up around connections, and intermittent faults. An inspector can require the box to be replaced. Using a deeper box or a two-gang box is almost always cheaper than the rework.

Do I include the bare ground wire in the count?

Yes, as a physical body it must be accounted for, but it contributes one allowance in total regardless of how many grounding conductors there are. It is never counted per conductor.

Is box fill different for a ceiling fan box?

The box fill calculation is the same. What differs is the box listing: ceiling fan boxes must be listed and marked for fan support, which is a structural requirement under Article 314.27(C), separate from the volume calculation.

More electrical tools

Have a suggestion?

Missing a feature or found something off? Tell us — user suggestions decide what we build next.