Electrical Junction Box Size Calculator
Estimate the internal volume you need, then translate that requirement into a practical rectangular junction-box size using your own box depth and face proportions.
Enter your junction-box assumptions
Estimated box size
How the junction-box size estimate works
The calculator first builds a transparent volume estimate from your conductor quantity and the allowances you provide. It then adds a planning margin. From the resulting volume and proposed depth, it derives the required front-face area and converts that area into width and height using the chosen aspect ratio.
Planning volume = base fill × (1 + margin ÷ 100)
Face area = planning volume ÷ box depth
Why this is different from simply choosing a box by dimensions
Two boxes with similar width and height can have very different depths and therefore very different internal volumes. The useful starting point is the required internal volume, followed by a practical dimension selection that fits the installation.
Worked example
Ten conductors at 2 in³ each plus 4 in³ splice, 2 in³ clamp and 2 in³ grounding allowances produce 28 in³ of base volume. With a 10% planning margin, the planning volume becomes 30.8 in³. A 4 in deep box therefore needs about 7.7 in² of internal face area before the chosen aspect ratio is applied.
What this calculator does not establish
It does not determine conductor ampacity, enclosure rating, grounding requirements, weatherproofing, fire rating, accessibility, bending space or the legally permitted box-fill calculation for a specific installation.
Frequently Asked Questions
Should the conductor volume be the wire size or the finished conductor volume?
Use the applicable individual conductor volume for the actual conductor construction and governing code method.
Can I use zero for a missing allowance?
Yes, but only when that condition is genuinely absent.
Why is the planning margin separate?
Keeping it separate makes the estimate auditable instead of hiding spare capacity inside an unexplained box dimension.