Email us

Este artículo está en inglés. Ver el sitio en español

Cet article est en anglais. Voir le site en français

Dieser Artikel ist auf Englisch. Website auf Deutsch ansehen

Este artigo está em inglês. Ver o site em português

本文为英文。 查看中文网站

Clearance around devices in a control cabinet for cooling

Give a device that makes heat 2 in [50 mm] of free air above and below, and use the datasheet figure when it is larger — 1.4 in [35 mm] is a value real controller sheets print. Zero side clearance is fine only against neighbors that stay cool, and 2 in [50 mm] of front gap keeps the door clear. A 16 x 12 x 6 in stainless box sheds about 34 W at 35 °C (95 °F) ambient before the air passes a 55 °C (131 °F) limit.

NEMA4 Enclosure engineering team · Published November 10, 2026 · 9 min read

Short answer: give a device that makes heat 2 in [50 mm] of free air above and below on your backplate, and take whatever its datasheet prints when that is more. A smaller printed gap works only when the sheet also says where it measures the temperature limit. Zero side clearance is correct, but only against neighbors that stay cool. Then run your watts: a 16 x 12 x 6 in stainless wall-mount box sheds about 34 W at a 35 °C (95 °F) shop ambient before the air inside passes a 55 °C (131 °F) device limit. The steps below carry the numbers, and one worked example shows you the arithmetic.

Read three lines on the installation sheet

Every device that makes heat — a controller, a drive, a power supply — prints the same three lines, and each line sets a different gap in your panel.

The heat line is a sum. A controller manual tells you to add the maximum heat dissipated with field power applied by the processor and all the I/O modules, not the processor alone. That summed figure is the load your box has to carry, so read it before you believe any gap.

The clearance lines set the space. One compact controller asks 1.4 in [35 mm] above and below and 0 mm left and right where the neighbors generate no heat. One PLC catalog sets 2 in [50 mm] between the panel door — or any device you mount in it — and the nearest controller. One PLC manual ties the clearance above its modules to the wiring duct and prints the value for a duct 50 mm [2 in] or less tall, so duct height belongs in the same measurement as your devices.

The limit line tells you where to put the probe. That compact controller holds 131 °F (55 °C) at a point 1 in [25 mm] below the unit, vertical mounting only. A limit without its measuring point and orientation is half a number; you cannot check it in a built panel.

Line on the sheet What it sets A printed example
Heat dissipation the watts your box must shed processor plus all I/O, field power applied
Clearance above and below vertical free air 1.4 in [35 mm], one compact controller
Clearance at the sides side-by-side mounting 0 mm where neighbors make no heat
Clearance to the door front space 2 in [50 mm], one PLC catalog
Duct height boundary the gap above modules 50 mm [2 in] duct or less, one PLC manual
Limit and measuring point where the probe goes 131 °F (55 °C), 1 in [25 mm] below the unit, vertical only
Space above a cooling unit air-mover intake 3U, 5.25 in [133 mm], a self-cooling rack unit

What you need

  • The installation sheet for every device that makes heat
  • The summed heat figure in watts for the section you are laying out
  • The inside dimensions of your box: a 16 x 12 x 6 in wall-mount box gives you 15.88 x 11.88 x 5.88 in of working space
  • Duct heights, because they share the gap with your devices
  • The hottest ambient the panel sees in service
  • A probe thermometer and an IR thermometer for the checks afterwards

Front-to-back depth is a separate job; the minimum-depth guide for DIN rail devices works it module by module. This page covers the air around your devices, and the two checks together fix the box size.

Set the clearances step by step

  1. Sum the heat. Take the heat-dissipation line from every device in the section and add them: processor plus all I/O, field power applied.
  2. Set the vertical gaps. Start at 2 in [50 mm] of free air above and below each device that makes heat, and go with the datasheet when it prints more. A sheet may print less, like 1.4 in [35 mm]; take the smaller figure only when it comes with a measuring point and a mounting orientation.
  3. Keep the sides honest. Zero at the sides is correct against a cool neighbor — terminals and signal I/O qualify. Split hot devices across the rail so each side wall sheds heat instead of soaking it. Terminals need their own gap to the wall too; the terminal clearance article sets that number.
  4. Count the duct into the gap. A duct above a module sits in the rising hot air. The PLC manual's 50 mm [2 in] boundary is the reminder: measure duct height and device clearance together.
  5. Leave the front clear. Hold 2 in [50 mm] between the door and the nearest device, and spend it first on anything you mount in the door — an HMI eats that gap before anything else does.
  6. Give the room its own space. NEC 110.26(A) asks for clear working space in front of equipment likely to be serviced while energized: at least 3 ft [900 mm] deep for 0–150 V to ground in Condition 1, with the door free to open 90 degrees. That space sits outside the box and is a different check from your internal gaps.
  7. Give air movers room. A cooling unit needs an intake path before it needs power: the self-cooling rack unit's sheet asks 3U — 5.25 in [133 mm] — clear above it. Inside a cabinet, fan placement around hot components decides whether the gaps you left actually carry air.
  8. Run the watt check. Spread the summed heat over the box faces, take your ambient, and compare the resulting inside air with the lowest device limit. Unless a datasheet allows more, 40 °C (104 °F) is the ambient that drive and electronics sheets assume. The wall-loss method is in the enclosure heat calculation guide, and the worked example below runs it end to end.

Working the gaps for a 45 mm controller in a 16 x 12 x 6 in box at 35 C ambient

The inputs, and where each one comes from:

  • Device: an example DIN rail controller built from printed sheet values — slot height 1.77 in [45 mm], gaps of 1.4 in [35 mm] above and below, 0 mm at the sides to cool neighbors, and a 131 °F (55 °C) limit measured 1 in [25 mm] below the unit, vertical mounting only.
  • Heat: assume the summed line reads 30 W. This is the input you replace with your own sheet's figure.
  • Ambient: assume a 35 °C (95 °F) shop in summer. Replace it with yours; every kelvin moves the result.
  • Box: a 16 x 12 x 6 in 304 stainless wall-mount enclosure — one of the stainless wall-mount enclosures — with 15.88 x 11.88 x 5.88 in inside.
  • Wall transfer: 3.7 W/m²K for stainless steel walls.

The vertical stack first: 35 mm above + 45 mm device + 35 mm below = 115 mm, which is 4.5 in of backplate height. Add a 2 in [50 mm] duct below and the stack takes 165 mm, or 6.5 in. The 15.88 in inside height holds it and leaves room for terminal rows above.

Then the watts. Surface of all six faces: 2 × (16 × 12) + 2 × (16 × 6) + 2 × (12 × 6) = 384 + 192 + 144 = 720 in² = 0.465 m². Heat through the walls: 3.7 W/m²K × 0.465 m² = 1.72 W per kelvin. Rise at 30 W: 30 ÷ 1.72 = 17.4 K, so the average air inside settles near 35 + 17.4 = 52 °C (126 °F), which is 3 K under the controller's limit. Air at the probe point runs warmer than that average — exactly why the sheet measures 1 in below the unit, and why you keep the printed gap.

Capacity at the limit: (55 − 35) × 1.72 = 34 W. That is your decision number: this 16 x 12 x 6 in 304 stainless wall-mount enclosure holds the 30 W controller with margin and tops out at 34 W.

At 40 W the same box reaches 35 + (40 ÷ 1.72) = 58 °C (136 °F), which is 3 K over the limit, so you step up. The 20 x 16 x 8 in box gives 2 × (20 × 16) + 2 × (20 × 8) + 2 × (16 × 8) = 1216 in² = 0.785 m², so 3.7 × 0.785 = 2.90 W/K; the rise at 40 W is 13.8 K, the inside sits at 49 °C (120 °F), and capacity at the limit is 20 × 2.90 = 58 W. Ambient moves both boxes kelvin for kelvin: beside a 40 °C (104 °F) furnace line, the small box holds (55 − 40) × 1.72 = 26 W. Painted steel walls move it the other way: at 5.5 W/m²K, the same 720 in² carries about 51 W.

Checks when the panel is built

De-energize, lock off and test for absence of voltage before a tape or a probe goes into the panel. The running check is the one live step: clamp the probe in place, close up, and read it from outside.

  • Measure at the printed point. Put the probe 1 in [25 mm] below the controller, or wherever your sheet measures. Give the section half an hour at full load, then read twice, 15 minutes apart; a second reading that still climbs means the box is still soaking.
  • Check with the doors closed. An open door dumps the heat you are trying to count and flatters the result.
  • Tape the gaps against the drawing. 2 in [50 mm] above and below by default, the sheet's side rule at every hot neighbor, and 2 in to the door with the HMI fitted.
  • Scan the walls with the IR thermometer. It reads the wall, not the air; a hot patch behind a device shows you where a gap got stolen.

Mistakes that cost the cooling

  • Filling the top gap with duct. The rising air off the device has nowhere to go; the 50 mm [2 in] boundary in the PLC manual exists because tall ducts choke it. Route the duct to the side or drop a row.
  • Spending the front gap on the HMI. Door-mounted devices consume the 2 in [50 mm]; set the door layout before you place the rail.
  • Reading the limit as cabinet air temperature. The 55 °C in the example holds at a point 25 mm below the device, vertical only; lay the same controller on its side and it is off its own sheet.
  • Two hot devices at 0 mm. The zero-side rule names cool neighbors; two warm devices touching soak each other and show it at the probe.
  • Cutting the box for a fan when the watts are the problem. Openings drop the assembly to the fan or filter's own rating, so the cure can cost the washdown rating before it fixes the temperature.

When the gaps are not enough

Work down the list; each step costs more than the last.

Our wall-mount boxes are rated NEMA 4X / IP66 by the manufacturer; not UL listed. Keep the datasheet's measuring point on the drawing and the decision writes itself: cool neighbors share the rail at 0 mm, hot neighbors buy their gaps, and watts over the limit at your ambient go to a bigger box or a closed-loop cooler.

Enclosures in this article

EnclosureMaterialOutside H x W x D / displayRating
16 × 12 × 6 in304 stainless16 x 12 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
20 × 16 × 8 in304 stainless20 x 16 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Is 2 in [50 mm] of free air above and below always enough?

It is the starting point for a device that makes heat. The datasheet wins when it prints more, and it may print less: one compact controller's sheet asks 1.4 in [35 mm] above and below, 0 mm at the sides next to cool neighbors, and holds its 131 °F (55 °C) limit at a point 1 in [25 mm] below the unit, vertical mounting only. Take the smaller figure only when the sheet also gives that measuring point and the orientation.

How many watts can a 16 x 12 x 6 in stainless box carry?

With all six faces free to move air and 35 °C (95 °F) ambient, about 34 W: 720 in² of surface times 3.7 W/m²K gives 1.72 W per kelvin, and a 55 °C (131 °F) limit allows 20 K of rise. A 30 W load settles near 52 °C (126 °F); 40 W reaches about 58 °C (136 °F), which is past that limit.

Can devices sit side by side with zero gap?

Yes, when the neighbor stays cool: one controller's installation sheet allows 0 mm at the sides against devices that generate no additional heat, so terminals and signal I/O can sit right beside it on the rail. Separate the hot devices instead — a drive and a controller each need their printed gaps, because touching side walls soak heat instead of shedding it.

Does a fan fix a clearance problem in a sealed NEMA 4X box?

A fan bolted to the wall of a sealed box breaks the rating: the openings drop the assembly to the fan or filter's own lower rating. On a box rated NEMA 4X / IP66 by the manufacturer; not UL listed, cool with a closed-loop heat exchanger or air conditioner, or step up the size — the 20 x 16 x 8 in stainless box carries about 58 W where the 16 x 12 x 6 in one carries 34 W.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Build it from 16 × 12 × 6 inRequest a custom quote

Check the heat load in the calculator · Outdoor enclosures: sizes for this job

Keep reading

More on layout and installation

All articles

Buying guides

The guides behind this answer

All guides