Electrical Box Fill Calculator – How Many Wires Fit in a Junction Box

Use the free Electrical Box Fill Calculator below: your data never leaves your browser — all work happens on your device, and nothing is uploaded to any server.

Why boxes have a fill limit

A junction box is not just a container for wire nuts. Every conductor, device, clamp and ground inside it takes up volume, and a crowded box traps heat, crushes insulation and makes future work miserable. Electrical codes therefore assign a volume allowance to each item in the box, in cubic inches, and require the box to be at least as large as the total. The allowances used by this calculator follow the common North American table: 2.0 cubic inches per 14 AWG conductor, 2.25 for 12 AWG, 2.5 for 10 AWG, 3.0 for 8 AWG and 5.0 for 6 AWG.

Counting follows rules that surprise beginners. Each current-carrying conductor that enters the box counts once, and a conductor that passes straight through counts once, not twice. Each device, such as a switch or an outlet, counts as two conductors of the largest size connected to it. Internal cable clamps together count as one conductor. All the ground wires together count as one conductor, of the largest ground size, not one per ground wire. Those rules are built into this calculator: devices are doubled, clamps count once, and grounds count once however many you enter.

How to count a real box

Walk through the box wire by wire. Count the hot and neutral conductors first, at the volume of your main conductor size. Then add the devices: a single outlet or switch adds two conductor allowances, and a double-gang box with two devices adds four. Then add one allowance if the box has internal clamps, and one allowance if there is at least one ground wire. Compare the total with the box volume stamped inside the box or on its packaging. If the total exceeds the volume, the box is overfilled even if the cover screws down.

A worked example

Take a single-gang box with four 12 AWG current-carrying conductors, one outlet, one internal clamp set and two ground wires, in a 21-cubic-inch box. The conductors take 4 times 2.25, or 9 cubic inches. The outlet takes twice 2.25, or 4.5. The clamps take 2.25, and the grounds together take 2.25, for a total of 18 cubic inches. That fits in a 21-cubic-inch box with 3 cubic inches to spare, and the calculator reports exactly that.

Now put a second outlet in the same box, making it a two-device box. The devices now take 9 cubic inches instead of 4.5, and the total rises to 22.5 cubic inches, which exceeds the 21-cubic-inch box. The fix is a deeper box, a 25.5-cubic-inch box, or a larger gang arrangement. Notice that nothing about the circuit load changed: the same wires and the same current became non-compliant purely because a device was added. Box fill is a geometry rule, not a load rule, and it catches jobs that feel electrically fine but are physically overcrowded.

Common mistakes with box fill

The first mistake is counting each ground wire separately. All grounds together count as one allowance, so counting four grounds as four allowances overstates the fill and can push you to a bigger box than needed, which is safe but wasteful. The opposite mistake is worse: forgetting devices entirely. A device counts double, so a box that fits the wires alone often fails once the outlet is added, and that is the most common real-world box-fill failure.

Frequently asked questions

Do wires that just pass through count? Yes, each conductor counts once, even if it does not terminate in the box. Do pigtails count? Short pigtails that start inside the box and do not leave it generally do not add a count, but local rules vary, so confirm before relying on that. What if my box is overfilled? Use a deeper box, an extension ring, or split the splices into a second box. Never force the cover on and call it done, because crushed insulation is a slow failure that hides behind a finished wall plate.

Safety first: an estimate, not a code approval

Every electrical tool on this page is an educational estimator only. It is never professional advice and never a substitute for a licensed electrician. Electrical codes differ by country, region and building type, and they change over time. A result that looks fine here can still fail a local inspection, and a result that looks tight here can still be acceptable under a rule this simple calculator does not model, such as temperature correction, grouping, or a special location rule. Before you buy cable, cut a wall, or touch a panel, check your local electrical code and talk to a licensed electrician. Breaker, conduit and box-fill results are estimates, not code-compliance guarantees. If you are unsure about any part of a job, stop and ask a professional. Electricity can injure or kill, and no free online calculator changes that fact.

Related tools

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top