Size the box from the dimensioned mounting layout, not from the schematic or a parts count: a schematic has no inches in it. Draw each device at its real footprint, run 2 in [50 mm] wire duct around all four edges, keep 20% of the plate empty, and add depth for the tallest device. The starter-and-PLC panel worked through below lands on a 17.1 x 16.4 in [434 x 417 mm] plate and a 21 x 20 x 8 in [533 x 508 x 203 mm] outside box. Its 21 W of losses lift the inside air about 8 K at a 30 C plant floor. Plate area, depth and watts decide the order. Take all three from the layout and the box fits the first time.
What you need
Work from documents, not guesses. The inputs:
- Footprints. The dimensional drawing of each selected part. Typical DIN-class widths: a module runs 0.7 in [18 mm], a control terminal 0.24 in [6 mm], a 40 A three-pole breaker 2.2 in [55 mm].
- Watts. The heat loss of each device from its datasheet. When a datasheet gives none, the device heat loss article shows how to estimate it from efficiency and output.
- Duct. 2 in [50 mm] wide by 2.2 in [55 mm] deep to start. Fill tables for wiring duct cap at 50% of the interior cross-section, a limit one duct maker ties to NFPA 79-2012 section 13.5.2. Round wires leave air gaps the duct cannot recover. The backplate and DIN rail layout guide carries the duct grid and the fill tables in detail.
- Ambient. The temperature at the wall the box hangs on, plus solar gain outdoors.
- Depth. The tallest device off the plate. Molded-case breakers and IEC contactors run about 3.5 in [90 mm] deep in these frames.
Before the drawing exists, the estimate-from-a-BOM article gives a quicker first cut to work from.
Lay out the plate in five steps
- Draw the plate at full size. Take mounting-plate dimensions from the size chart for catalog boxes, or from the approved drawing for a custom one. Mark the keep-outs first: hinge side, latch tongue, and the 0.4 in [10 mm] standoff margin at every edge.
- Place the fixed devices. Terminals sit beside the duct facing the cable entry, the main breaker near the incoming feed, and the heat sources — supply, drives — low on the plate with air around them, the way the PLC panel layout article arranges them.
- Run the duct. Horizontal 2 in [50 mm] runs across the top and bottom and between the rows, vertical runs down both sides. Every wire reaches duct within 4 in [100 mm] of its terminal; the duct placement around contactors article covers the drops at power devices.
- Add the spare as one band. Reserve a continuous empty strip of 20% of the plate area where terminals and I/O will grow. Scraps between devices cannot take a new rail; the band must fit a rail run and its devices.
- Check what geometry forgets. NEC 312.6 sets the minimum wire-bending space at terminals, and it grows with conductor size. Keep a straight 4 in [100 mm] of duct or open plate in front of the breaker's load terminals, and give a drive 2 in [50 mm] of free plate above and below unless its datasheet asks for more.
Worked example: a starter and PLC panel
Five devices, drawn at datasheet footprints. The loss figures are the example's assumptions except the supply, which follows from 60 W out at 90% efficiency:
| Device | Footprint | Area | Loss |
|---|---|---|---|
| 40 A three-pole breaker | 2.2 x 5.5 in (55 x 140 mm) | 12.1 in² | 2 W |
| Two contactors with overloads | 1.8 x 4.3 in (45 x 110 mm) each | 15.5 in² | 2 W combined |
| 24 V DC supply, 60 W out | 2.4 x 4.9 in (60 x 125 mm) | 11.8 in² | 6.7 W |
| Compact PLC | 3.5 x 4.3 in (90 x 110 mm) | 15.1 in² | 10 W |
| Sixteen terminals at 0.24 in | 3.8 x 2.8 in (96 x 70 mm) | 10.6 in² | 0 W |
Losses: 2 + 2 + 6.7 + 10 = 20.7 W, carried forward as 21 W.
Two rows, duct on all four edges and between them. The power row is 5.8 in [147 mm] of devices plus two 0.6 in [15 mm] gaps: 7.0 in wide, 5.5 in tall. The control row is 9.7 in [246 mm] plus its gaps: 10.9 in wide, 4.9 in tall, grown by its spare band to 13.1 in [333 mm].
- Plate width = 13.1 + 2 + 2 = 17.1 in [434 mm]
- Plate height = 5.5 + 4.9 + 2 + 2 + 2 = 16.4 in [417 mm]
- Plate area = 17.1 x 16.4 = 280 in² [1,806 cm²]
Duct area: three horizontal runs of 17.1 x 2 = 34.2 in², plus two vertical runs of 12.4 x 2 = 24.8 in², gives 102.6 + 49.6 = 152 in². Devices take 65.1 in². The drawn area of 217 in² leaves 63 in² empty, past the 43 in² that 20% of the drawn area asks for.
Half the plate is duct. That is normal in a panel this size, and it is exactly what a schematic count cannot see.
From plate to enclosure dimensions
The plate is not the box. In this size class the plate ends up about 3 in [75 mm] narrower and shorter than the outside dimension, wall and hinges included. That allowance is an example input; the size chart prints the actual inside and plate figures per catalog size. A 17.1 x 16.4 in plate wants an outside near 20.1 x 19.4 in, which rounds up to 21 x 20 in [533 x 508 mm].
Depth stacks from the plate forward: 0.4 in [10 mm] standoff, 3.5 in [90 mm] tallest device, 1.6 in [40 mm] from the device face to the door. That sums to 5.5 in [140 mm], so the 8 in [200 mm] depth closes it with room for a handle or a bezel later. NEC 312.8 also caps how much of a box holding switches or overcurrent devices fills with conductors and splices, one more reason the empty plate earns its keep. The electrical enclosure sizing guide carries the complete method.
Heat check before you order
Divide the losses by the surface the box shows to the air: ΔT = P / (k x A), with k = 3.7 W/m²K for stainless, 5.5 W/m²K for painted steel, 3.5 W/m²K for plastic.
The six faces of the 21 x 20 x 8 in box total 2 x (0.271 + 0.108 + 0.103) = about 0.97 m². The wall takes the 0.27 m² back face, so five faces show 0.70 m². Which faces count for which mounting is the surface-area article's subject. Then ΔT = 21 / (3.7 x 0.70) = 8.1 K.
- 25 C room: 33 C inside, a comfortable margin.
- 30 C plant floor: 38 C inside, under the 40 C ambient that most drives and electronics are built for unless a named datasheet allows more. Margin: 2 K.
- 35 C wall, rooftop or sun: 43 C, past the limit. Cut watts and grow the box together. A 94%-efficient supply drops the load to 18 W, and a 24 x 24 x 10 in box shows about 0.99 m² over five faces. Then 18 / (3.7 x 0.99) = 4.9 K, so the inside sits at about 40 C — the last stop before active cooling. In a sealed box that means an air-to-air heat exchanger or an air conditioner; a fan-filter trades the rating away.
Every 5 C of ambient moves the inside air 5 C, and doubling the watts doubles the rise. The heat-calculation guide runs the same formula over a larger drive panel.
Checks when the panel is built
- Duct lids sit flat. A bowed lid means the fill is past the 50% cap, and the next panel needs wider duct.
- The door swings shut without touching a duct lid or the tallest device, gasket seated.
- Power the panel at load for an hour and read the inside air: about 8 K over ambient matches the calculation, while 15 K over means a device dissipates more than its datasheet claims.
- Re-run the enclosure heat calculator with the as-built dimensions and the summer ambient.
- The spare band is still empty when the door closes.
Mistakes that cost space or the rating
- Sizing by parts count. Twenty devices can occupy 60 in² or 200 in²; only footprints add up to a plate.
- Forgetting the duct. In the example it takes 152 in², more than half the plate. A layout with no duct drawn is a layout that lies.
- Depth as an afterthought. A taller drive, an HMI bezel or a handle protrusion turns an 8 in box into a reorder.
- Field-cut holes. A hole saw and an unsealed edge drag the box below its rating. Order cutouts with the box; the cutouts, glands and windows guide lists what the factory punch preserves.
- A band sold off early. The first relay parked in the spare band is the signal to widen the box.
What goes on the order
The enclosure builder takes the material, the size and every cutout in one pass, with the drawing sent alongside. Order 21 x 20 x 8 in [533 x 508 x 203 mm] outside in 304 or 316L stainless, with every hole placed on the mounting layout. The box arrives rated NEMA 4X / IP66 by the manufacturer; not UL listed, and delivered in 10 business days from drawing approval. If the layout outgrew the plate instead, the out-of-space article sorts a rebuild from a second box.
Catalog dimensions to compare
Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 24 × 24 × 10 in | 304 stainless | 24 x 24 x 10 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 12 × 10 × 6 in | 304 stainless | 12 x 10 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 20 × 16 × 8 in | 304 stainless | 20 x 16 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 24 × 20 × 8 in | 304 stainless | 24 x 20 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
How much spare mounting-plate area should the layout keep?
Plan on 20% of the plate as one continuous empty band, placed where terminals and I/O land. Fragments between devices cannot take a new rail, so the band must fit a rail run and its devices; in the worked panel it is a 2.2 in [56 mm] strip beside the control row.
How do I check wire duct fill on the plate layout?
Compare areas. Duct fill tables cap at 50% of the interior cross-section, because round wires leave air gaps no duct recovers. A 50 x 55 mm duct has about 3.3 in² [21 cm²] of interior, so the cap allows about 1.7 in² [11 cm²] of wire. Check the densest run on the layout against that figure, then step up a duct size where it fails.
How much heat can a sealed stainless enclosure shed without cooling?
Use ΔT = P / (k x A) with k = 3.7 W/m²K for stainless. A bench rule from that formula: every 10 W in a box showing 0.7 m² of surface adds about 4 K, and 25 W adds about 10 K. Painted steel at 5.5 W/m²K brings the same 25 W down to about 6.5 K. Past a 10 K rise over a hot ambient, spec an air-to-air heat exchanger or an air conditioner.





