Box Fill Calculator
Find the electrical box volume needed for wires, clamps, devices and grounds.
Uses 2020 NEC Article 314.16(B) allowances for 18–6 AWG conductors in three volume units.
Updated November 16, 2026
Overview
An electrical box has to hold more than the wires that pass through it. It also has to hold the clamps, support fittings, devices and equipment grounding conductors that share the same space. This page answers one narrow question: what is the minimum free volume the box must provide for the components you plan to install?
The answer is built from volume allowances. An allowance is a count, not a volume. One allowance is worth the free space the largest conducting wire needs, according to the conductor table used by the 2020 National Electrical Code. A clamp, a support fitting, a device and a grounding conductor each carry their own allowance count, and the page multiplies the total count by the appropriate table value.
That makes the useful inputs the ones an electrician already counts on site: how many conducting conductors enter the box, the largest conducting wire size, whether there are internal clamps or support fittings, how many devices are mounted, and how many equipment grounding conductors enter the box. The page is for planning a new box, checking a box before adding a circuit, or comparing a planned fill with the box that is already on the wall.
18–6 AWG
Conductor sizes covered by the menus
1/4
Extra allowance for each ground above four
3 volume units
Cubic inches, centimeters or millimeters
A fill check, not a box picker
The result is a minimum volume for the fill calculation. It does not select a product or confirm that a particular box is listed for the installation. Compare it with the capacity marked on the box, and check the code edition adopted in your area.
Quick start
The order of the inputs does not change the answer, but counting in this order keeps the easy items from being missed. Both wire-size menus start at 12 AWG, the clamp and support questions start at No, and the counts start blank.
Count the conducting conductors
Count each conductor that enters, passes through or leaves the box. A conductor with 6 to 12 inches of free length is one conductor; a conductor longer than 12 inches counts as two; a pigtail that stays entirely inside the box is not counted. Enter the total in Number of conducting wires.
Choose the largest conducting wire size
Pick the largest size among all the conducting conductors, not an average. That one table value is used for every conducting-wire allowance, and for the clamp, support and device allowances too. A 12 AWG conductor is worth 2.25 in³ of free space per allowance.
Answer the clamp and support questions
A set of internal clamps is one allowance. External clamps are not counted. One or more luminaire studs or hickeys are one support-fittings allowance, not one per fitting. Both questions start at No.
Count devices and grounding conductors
Each device or piece of equipment is two allowances. For grounding, one through four conductors are one allowance, and each additional conductor adds one quarter. Enter the grounding count and choose the largest grounding wire size separately from the conducting wire size.
Read the total allowance and the volume
The Total volume allowance group shows one row when the largest conducting and grounding wire sizes have the same table value. It shows two rows when they differ. The Total box fill volume is the number to compare with the box marking. Turn on the detail question to see each component's allowance and fill volume.
Worked example: eight 12 AWG conductors
Eight 12 AWG conducting conductors, a set of internal clamps, no support fittings, two devices and five 12 AWG grounding conductors:
The page returns 32.0625 in³. The component rows show 18.00 in³ for the eight conductors, 2.25 in³ for the clamp, 9.00 in³ for the two devices and 2.8125 in³ for the grounding conductors. In the volume menu, the same result is 525.4102395 cm³ exactly, or 525,410.24 mm³ in the compact metric display.
Compare 32.0625 in³ with the volume marked on the box. A box whose marked volume is at least that number meets this fill calculation. The next section explains what changes when the conducting and grounding wire sizes are not the same.
How the volume is built
There is only one table value in the conducting-wire part of the calculation, and it comes from the largest conducting wire. The rest is addition and one small step function for the grounding conductors.
Conductors, clamps, supports and devices
Each conducting conductor is one allowance. A set of internal clamps is one allowance, and one or more support fittings are one allowance. A device or piece of equipment is a double allowance. The fill volume for each group is its allowance count multiplied by the same conductor table value.
The wire-size table
These are the free-space values the page uses when the largest conducting wire is the selected size. The menu covers 18 through 6 AWG; the same values are used for a clamp, a support fitting or a device allowance.
| Conductor size | Free space per allowance |
|---|---|
| 18 AWG | 1.50 in³ |
| 16 AWG | 1.75 in³ |
| 14 AWG | 2.00 in³ |
| 12 AWG | 2.25 in³ |
| 10 AWG | 2.50 in³ |
| 8 AWG | 3.00 in³ |
| 6 AWG | 5.00 in³ |
Grounding conductors are counted as a step function
One through four equipment grounding conductors are a single allowance. Each additional grounding conductor adds one quarter of an allowance. A box with no grounding conductor has no grounding allowance, so zero is a legitimate answer here.
The grounding fill is that allowance multiplied by the largest grounding conductor's table value:
| Grounding conductors | Allowance |
|---|---|
| 0 | 0 |
| 1–4 | 1 |
| 5 | 1.25 |
| 6 | 1.50 |
| 7 | 1.75 |
| 8 | 2.00 |
| 9 | 2.25 |
When the two largest sizes are equal
If the largest conducting wire and the largest grounding wire have the same table value, every allowance in the box shares one multiplier. Add the allowance counts and multiply once. This is the case in the worked example above, where both menus are 12 AWG.
When the two largest sizes differ
If the two table values differ, the grounding allowances cannot use the conductor table value. The page splits the total: one row for the conducting wires, clamps, support fittings and devices, and one row for the grounding conductors. Each row is multiplied by its own table value.
For example, eight 10 AWG conductors, no clamps or support fittings, two devices and five 12 AWG grounding conductors give a conductor-side allowance of 12 and a grounding allowance of 1.25. If the grounding table value is the larger of the two, the split still works the same way: each side keeps its own multiplier.
The split is not a 13.25-allowance total
The page shows 12 and 1.25, not a single 13.25 row. Multiplying all 13.25 allowances by the 10 AWG value would give 33.125 in³, which is 0.3125 in³ higher than the actual result. The grounding side has its own multiplier, and that is the point of the split.
The metric volume units are exact conversions
The final volume can be read in cubic inches, cubic centimeters or cubic millimeters. The metric values are exact conversions of the cubic-inch result:
Checks before you trust the number
The arithmetic is only one part of a trustworthy answer. These checks catch the mistakes that survive a correct multiplication.
Use the component detail as a cross-check
Turn on the detail question and compare each allowance and fill volume with your own count. A missing device, clamp or grounding conductor shows up there before you compare the final number.
Count a pass-through conductor once
A conductor that passes through the box without terminating still counts, but only once. Do not count it again at the other end; its free length decides whether it is one conductor or two.
A larger grounding wire is handled by the split
Do not force the conducting-wire table value onto a grounding conductor that has a larger table value. The page shows two rows and uses each side's own value.
Box fill is not conduit fill
This result says nothing about how full a raceway is, the conductor ampacity, or the support of the raceway. Those are separate checks with their own rules.
Compare the exact number, not a rounded one
A result of 32.0625 in³ is above a 32 in³ marked box. Rounding the result down before comparing can cross a capacity boundary, so compare the number the page shows.
The detail rows do not change the answer
The detail question only controls what is shown. Turning it off leaves the total allowance and the box volume unchanged.
Reading the result
The final number is a minimum free volume for the fill calculation. It is not a catalog number, a box depth, or a promise that every device will fit comfortably.
Compare with the marked capacity
Most boxes are marked with their volume inside. Use that marking first. If the marking is at least the result, the fill calculation is satisfied. If the marking is smaller, the box does not meet this minimum. When the number falls between two marked sizes, the next marked size above the result is the one that meets the minimum.
Do not estimate the volume from the outside dimensions unless the marking is missing and the code or listing allows that method. The wall thickness, rounded corners and internal features can make an outside measurement misleading.
What the total allowance is for
The total allowance count is the number used with box fill charts that list how many allowances a box accepts for a given conductor size. The volume result is that count multiplied by the table value. When the two sizes differ, use the conductor-side row with the conducting-wire table value and the grounding-side row with the grounding-wire table value.
Blank results and zero results
A blank result means a required count is still missing; it is not zero. Enter 0 for a count that is truly zero. A zero result is a real answer for a box with no conductors, devices or grounding conductors.
Volume is not the whole installation check
A box can have enough volume and still be a poor fit. The devices and conductors need physical room, the box must be listed for the application, and the installation still has to satisfy the adopted code. Volume is one check, not the only one.
Do not round a result down to the nearest box
The result is a minimum. If it sits just above a marked size, that marked box is not large enough for this fill calculation. Move to the next marked size above the result, then check the physical fit.
Limits and code checks
This is a fill calculation, not an inspection or a code ruling. The result is only as good as the counts and the edition of the code the box has to satisfy.
- •The volume allowances follow NFPA 70, National Electrical Code, Article 314.16(B), 2020 edition. Your jurisdiction may enforce a different edition or local amendments.
- •The menus cover 18 through 6 AWG only. Conductors of 4 AWG and larger are outside this page; use the code table directly for those sizes.
- •The page does not choose a box, verify a marked capacity, or check device fit, box depth, bending space, barriers or partitions.
- •It does not cover conduit fill, ampacity, conductor support, or grounding electrode conductor sizing. Those are separate calculations and separate code rules.
- •It assumes the conductor count follows the 6-to-12-inch free-length rule and that every internal clamp, support fitting and device has been included. A missed component changes the result.
- •A blank result means a count is missing. A zero result is a legitimate empty box, not an error.
- •Verify the result against the code edition adopted in your area. Have the installation reviewed by a licensed electrician or the authority having jurisdiction before relying on it.
The page states its code basis
The reference line under the final result names the 2020 NEC article used by the calculation. If your project is governed by a different edition, start from that edition and use this page as a cross-check.
Related Calculators
Board Foot Calculator
Calculate board feet from lumber dimensions. Convert timber volume measurements across different unit systems.
Bolt Circle Calculator
Lay out a circular bolt pattern: turn the hole count, radius, first-hole angle and centre offset into an x and y coordinate for every hole.
Bowl Segment Calculator
Turn a segmented bowl's segment count, outer radius, wall thickness and allowances into cut-ready segment lengths, blank thickness and cutting angle.
Material Removal Rate Calculator
Work out how much material a machining pass removes per minute for turning, milling, grooving, drilling or grinding. Enter the cut geometry and the cutting speed, read the removal rate in ten flow units, or leave one box empty to solve back for it.
Beam Deflection Calculator
Find how far a simply supported or cantilever beam bends under a point load, a uniform load, a linearly varying load, a triangular load or an end moment. Enter the span, the load and the flexural rigidity, or the modulus of elasticity and area moment of inertia separately, and read the maximum deflection and where it occurs.
Square Yards Calculator
Multiply a length and a width into square yards and price the material. Seven length units, nine area units from square centimeters to acres, and twenty currencies converted at live exchange rates.