RoughInSizing calculators for the trades

Box fill calculator

Enter what goes in the box. You get the volume the NEC requires, line by line, and every standard metal box that holds it. For plastic boxes, enter the volume stamped inside.

NEC 314.16(B) allowancesTable 314.16(A) boxesNEC 2020+ ground rule

Inputs

Insulated wires entering the box
Count hots and neutrals, not grounds. A 14/2 cable is 2 wires; 14/3 is 3. A wire that loops through unbroken counts once, or twice if the loop is 12 in or longer.
All equipment grounds together count as one, plus a quarter for each over four.
Each counts as two wires of the size connected to it.
Internal cable clamps
Each counts as one of the largest wire.
Plastic boxes are marked with their volume inside; choose "Marked volume" and enter it.
cu in
cu in
Add the volume marked on it, if any.

Result

Box fill required
16.00cu in required
Fits: 18.0 cu in box, 2.00 to spare
ItemCounts ascu in
14 AWG conductors4 × 2.008.00
Internal cable clamps1 × 2.002.00
Device yokes, wired with 14 AWG2 × 2.004.00
Equipment grounding conductors (2)1 × 2.002.00
Total816.00
Box volume
18.0 cu in
Smallest metal boxes that fit
Square, 4 x 1-1/4; Device, 3 x 2 x 3-1/2

Wire volumes and counting rules from NEC 314.16(B). Wires smaller than 14 AWG from a luminaire with a domed canopy, and pigtails that stay inside the box, are not counted.

Metal box volumes

NEC Table 314.16(A). Green rows hold what you entered.

Box (inches)Volume, cu in14 AWG max12 AWG max
Round or octagonal, 4 x 1-1/412.565
Round or octagonal, 4 x 1-1/215.576
Round or octagonal, 4 x 2-1/821.5109
Square, 4 x 1-1/418.098
Square, 4 x 1-1/221.0109
Square, 4 x 2-1/830.31513
Square, 4-11/16 x 1-1/425.51211
Square, 4-11/16 x 1-1/229.51413
Square, 4-11/16 x 2-1/842.02118
Device, 3 x 2 x 1-1/27.533
Device, 3 x 2 x 210.054
Device, 3 x 2 x 2-1/410.554
Device, 3 x 2 x 2-1/212.565
Device, 3 x 2 x 2-3/414.076
Device, 3 x 2 x 3-1/218.098
Handy box, 4 x 2-1/8 x 1-1/210.354
Handy box, 4 x 2-1/8 x 1-7/813.065
Handy box, 4 x 2-1/8 x 2-1/814.576

Volume per conductor

NEC Table 314.16(B).

Wire sizecu in each
18 AWG1.50
16 AWG1.75
14 AWG2.00
12 AWG2.25
10 AWG2.50
8 AWG3.00
6 AWG5.00

How box fill is counted

NEC 314.16 gives every wire a volume by its size, then counts everything in the box as a number of wires:

  • Each insulated wire that comes into the box counts once. Pigtails that start and end inside the box do not count.
  • All the ground wires together count as one wire of the largest ground. From the 2020 NEC, add a quarter for each ground beyond four.
  • Each device, a switch or receptacle on one strap, counts as two wires of the largest wire connected to it.
  • Internal cable clamps, however many, count as one wire of the largest in the box.
  • Each fixture stud or hickey counts as one of the largest wire.
Required volume = sum of (counted wires x volume per wire)

A single-gang box with three 12/2 cables feeding a receptacle: six 12 AWG wires (6), three grounds (1), the receptacle (2) and the clamps (1) make 10 wires of 12 AWG at 2.25 cu in: 22.5 cu in. A 4 x 1-1/2 in square box at 21.0 is too small; a 4 x 2-1/8 in at 30.3 works.

Plastic boxes are not in the table. Nonmetallic boxes are marked with their volume, often 18 to 22.5 cu in for a single gang, and that marking governs. Check it inside the box.

Questions

How many wires can go in a box?

It depends on the box volume and wire size. A 4 x 2-1/8 in square box holds 15 wires of 14 AWG or 13 of 12 AWG, before devices, clamps and grounds are counted. The calculator counts all of it.

How do I count box fill?

Count each wire entering the box as one, all grounds together as one, each switch or receptacle as two, and any internal clamps as one. Multiply by 2.00 cu in for 14 AWG or 2.25 for 12 AWG and compare with the box volume.

Do ground wires count in box fill?

Yes. All the equipment grounding conductors together count as one wire of the largest ground, and under the 2020 and 2023 NEC each ground beyond four adds a quarter more.

Do wire nuts count in box fill?

No. Wire connectors, splicing devices and pigtails that start and end in the box are not counted.

What is the volume of a 4 inch square box?

18.0 cu in at 1-1/4 in deep, 21.0 at 1-1/2 in and 30.3 at 2-1/8 in, by NEC Table 314.16(A). A plaster ring or extension adds the volume marked on it.

Sources

Codes are adopted and amended locally. Check the edition in force where you work.

More Electrical calculators

Voltage drop calculator

Drop in volts and percent for copper or aluminum, single-phase, three-phase or DC.

Conduit fill calculator

Fill percentage and the smallest EMT, rigid or PVC conduit for a mix of THHN conductors.

Recessed lighting calculator

How many can lights a room needs, the spacing, where each one goes from the wall, and whether that hits the light level the room wants.

Electrical load calculator

Dwelling service size by the NEC 220.82 optional method, with every demand factor shown.

Wire size & ampacity calculator

Conductor size and breaker from the load, with ambient correction and bundling adjustment applied.

Minimum circuit ampacity calculator

MCA, max breaker and wire size for an AC condenser, heat pump or air handler, from the nameplate amps.

Watts to amps calculator

Convert watts to amps for DC, single-phase and three-phase power, with power factor and the breaker it needs.

Amps to watts calculator

Convert amps to watts, kilowatts and VA at any voltage, DC or AC, single- or three-phase.

kVA calculator

kVA to amps, amps to kVA and kW to kVA, single- or three-phase, with the next standard transformer size.

Generator sizing calculator

The generator size a house actually needs, counting one motor start at a time instead of all of them at once.

Breaker size calculator

The breaker a load or motor needs, with the 125% continuous rule, the motor tables and the wire that goes with it.

Electricity cost calculator

What an appliance or a whole list of them costs to run per hour, day, month and year, at your state’s average rate or your own.

EV charging cost calculator

What it costs to charge an electric car at home, at public chargers and at fast chargers, per mile and per month, compared with gas.

Space heater cost calculator

What a space heater costs to run per hour, day, month and winter, and how much electricity it really uses, at your state’s rate.

Other trades