NewNot sure which service you need? Answer four quick questions. Try the Service Finder

Engineering Tools

Will My 3D Printed Enclosure Overheat? A Heat-Rise Worked Example

By IMECA3D · · 6 min read

Line drawing of an enclosure section with a 6 W circuit board, cool air entering through low vents and warm air leaving through high vents, and the inside temperature falling from 65 °C to 47 °C

Plastic is a poor conductor of heat, so electronics in a printed box run hotter than most people expect. In this example we put a Raspberry Pi 4 in a printed enclosure and use our free enclosure heat-rise calculator to answer three questions: how hot does it get, what fixes it, and what does the air temperature not tell you?

The example: a Raspberry Pi in a black PETG box

InputValue
Heat inside6 W (Raspberry Pi 4 under load, board 85 × 56 mm)
LimitRaspberry Pi 4: 50 °C air around the board
Box120 × 90 × 40 mm, 2.4 mm walls, black PETG
Walls as printed2 wall loops, 4 top/bottom layers, 15 % infill
Where it runsStanding on a desk, office at 30 °C in summer, always on

Step 1: the sealed box

Too hot65 °Cinside air, steady state · limit 50 °CElectronics 102 °CHottest wall 63 °COutside surface 45 °C

The air inside reaches 65 °C, 35 °C above the surroundings, against 50 °C allowed (Raspberry Pi 4 product brief: operating 0–50 °C ambient). Margin: -15 °C. Below a 5 °C margin, small changes in power, room temperature or printing can push it over.

The calculator's section of the sealed box: electronics 102 °C, inside air 65 °C, walls 44 to 61 °C
The sealed box: the air inside reaches 65 °C, 15 °C over the limit.

Open the sealed box in the calculator →

The verdict is red: the air inside settles at 65 °C, 35 °C above the room and 15 °C over the Pi's limit. It takes about 24 minutes to get there, so a quick test on the bench can look fine. This box can only get rid of about 3.2 W before the air reaches 50 °C.

Three other figures are worth reading:

  • Electronics 102 °C. The board surface is far hotter than the air. The calculator estimates that a 105 °C / 2000 h electrolytic capacitor there would last only about 0.3 years.
  • Hottest wall 63 °C. That is within 15 °C of PETG's heat deflection temperature (69 °C). The box keeps its shape, but screw bosses and clips keep only about 42 % of their stiffness and may loosen. (This is why our snap-fit and screw boss examples check the temperature too.)
  • Outside 45 °C. Above the 43 °C threshold for plastic surfaces touched for long periods (EN ISO 13732-1).
cool air in, lowwarm air out, highheight between ventsconvection · radiationchipboardinside airprinted wall:solid skins + infilldesk: little heat passes into it
Where the heat goes. Each step from chip to room adds a temperature difference, which is why the electronics run much hotter than the air around them. Vents add a second path: warm air rises and leaves through the high opening.

Step 2: what helps most

What helps most

  • To stay at 50 °C: add about 1,030 mm² of low openings and the same high up, 28 mm apart.
  • Make the box 25 % bigger in each direction: about 9.9 °C cooler.
  • Mount it on small feet or standoffs so every face can lose heat: about 5.4 °C cooler.
  • A thermal pad from board straight into the plastic wall would heat that spot of the wall to about 98 °C, too close to the material's limit. Put a thin aluminium plate between pad and wall to spread the heat, or use a metal heatsink.
  • Add 200 mm² of vents low and 200 mm² high (28 mm apart): about 3.1 °C cooler.
  • This enclosure can take up to about 3.2 W inside before the air reaches 50 °C.
"What helps most" for the sealed box, ranked by effect.

The calculator ranks the options. The biggest lever is vents: about 1,030 mm² of openings low on the box and the same high up, 28 mm apart vertically, to reach 50 °C. Cool air comes in at the bottom, is warmed by the board, rises and leaves at the top (the stack effect). The vertical distance between the openings drives the flow, so low-and-high works much better than two openings at the same height.

Making the box 25 % bigger in each direction would cool it by about 9.9 °C, and standing it on small feet by about 5.4 °C. The list also warns against an easy-looking fix: a thermal pad from the board straight into the plastic wall would heat that spot of the wall to about 98 °C, too hot for PETG.

Step 3: sizing the vents

We tried three vent sizes, each the same area low and high:

  • 400 mm² (for example two 4 × 50 mm slots): 56 °C. Better, still red. Open →
  • 1,030 mm², as the calculator suggested: exactly 50 °C, on the limit. Open →
  • 1,500 mm² of plain slots: 47 °C, 3 °C under the limit. Open →
Close to the limit47 °Cinside air, steady state · limit 50 °CElectronics 91 °CHottest wall 53 °COutside surface 40 °C

The air inside reaches 47 °C, 17 °C above the surroundings, against 50 °C allowed (Raspberry Pi 4 product brief: operating 0–50 °C ambient). Margin: 3 °C. Below a 5 °C margin, small changes in power, room temperature or printing can push it over.

The calculator's section of the box with 1,500 mm² of vents low and high: inside air 47 °C
With 1,500 mm² of slots low and high: 47 °C, close to the limit but under it.

Printed grilles are not open holes. The area you enter is the open area. A printed grille or louvre is only about 60 % open, so 1,030 mm² of grille behaves like about 620 mm² of slots: the calculator gives 54 °C instead of 50 °C. Choose "Printed grille or louvres" in the vent settings, and enlarge the grille to match. Open this case →

Step 4: the air is not the whole story

With vents the air passes, but the board does not improve much: 91 °C at the surface with 1,500 mm² of slots, against 102 °C sealed. Vents cool the air, but the heat still has to leave the board through its own surface first, and that step barely changes. The calculator's checks say so directly: the electronics run much hotter than the air, so a heatsink may help more than vents.

The last option is a small 40 mm fan. The air drops to 34 °C and the board to 74 °C, and the box could now take up to 24 W. The verdict is still amber, not green, because of the capacitor check: about 1.9 years for a 105 °C / 2000 h part at 74 °C. Whether that matters depends on the real parts on your board, so the calculator asks you to check their ratings.

Open the fan version →

30 °C40 °C50 °C60 °C70 °C80 °C90 °C100 °C110 °Climit 50 °CSealed box65 °C102 °CVents 400 mm² low + high56 °C97 °CVents 1,030 mm² low + high50 °C93 °CSlots 1,500 mm² low + high47 °C91 °C40 mm fan34 °C74 °Cinside airelectronics (board surface)
The same 6 W board in a 120 × 90 × 40 mm black PETG box, room at 30 °C. Vents bring the air under the limit; only the fan also brings the board itself down a long way.

What we would build

For a Raspberry Pi running flat out all day in a warm office, we would choose the fan, plus a heatsink on the processor, and keep the vents low and high so the fan has a clear path. For a lighter load the 1,500 mm² slots are enough, with a mesh or a hood if the box sits somewhere dusty, since openings reduce protection against dust and water.

The calculator is a design estimate built on a thermal network: natural convection on every face, radiation, conduction through printed walls (solid skins plus infill), stack-effect and fan airflow, and a time simulation. It is not a certification. For tight limits, fans and heatsinks together, or complex vent paths, we run a CFD thermal simulation of the actual CAD model as part of our product development support.

More worked examples with our design tools

← All articles

Need an enclosure that stays cool?

Send us the board, the power and where it will be used. We design the enclosure, vents and mounting, choose the material and print it.

Get a Quote
Chat on WhatsApp