Blog · · 5 min read

Will my electronics enclosure overheat? A five-minute heat estimate for a sealed box

A sealed box keeps water out and heat in. Estimate the temperature inside your electronics enclosure from watts and surface area, and learn what to do when it runs too hot.

A waterproof box solves one problem and creates another. Once the seals are tight, the only way for heat to leave is through the walls. A board that ran cool on the desk can sit at sixty degrees inside a closed housing in the sun, and that is where batteries age, displays fade and capacitors dry out.

The good news: for most small devices you can estimate the problem in five minutes, before anything is printed or ordered. This article shows the estimate, the numbers behind it, and the usual fixes.

Step 1: how many watts turn into heat?

Almost all the electrical power a device uses ends up as heat inside the box. The exceptions are small: the light that leaves an LED, the sound of a speaker, the work a motor does outside the housing.

So start with a power budget:

  • Average power, not peak. A radio that sends for one second every minute adds little heat. A display that is always on adds a lot.
  • Losses in the power supply. A linear regulator turns the voltage difference into heat. Dropping 12 V to 3.3 V at 0.2 A burns about 1.7 W in the regulator alone, more than many boards use in total. A switching regulator does the same job with a fraction of that loss.
  • Chargers and motor drivers. Charging a battery and driving a motor both waste some power inside the box, often more than the logic does.

Write the result down in watts. Many sensor devices land below half a watt. A device with a display, a heater, a motor driver or a linear regulator from a high voltage can reach several watts.

Step 2: how big is the surface?

A sealed plastic box loses heat mainly through its outer surface, by natural air movement around it and by radiation. Calculate the outer surface area of the box in square meters. A box of 120 × 80 × 50 mm has an area of about 0.039 m².

Step 3: the estimate

For a box standing in still air, a rough rule is that each square meter of surface sheds about 5 to 10 watts for every degree the surface is warmer than the air around it. The range covers orientation, colour and how freely air can flow past the walls.

The temperature rise of the box is then roughly:

rise ≈ power ÷ (surface area × 5 to 10)

For the box above with 1 W inside:

1 ÷ (0.039 × 5) ≈ 5 K, and 1 ÷ (0.039 × 10) ≈ 2.6 K.

So the walls run 3 to 5 degrees above the air. The air inside and the hottest parts on the board are warmer still, because heat also has to get from the parts to the walls. With 3 W in the same box, the walls alone reach 8 to 15 degrees above ambient.

This is an estimate, not a simulation. It is good enough to tell you whether you have a problem, and how big it is.

Step 4: add the sun

Outdoors, the sun often matters more than the electronics. Direct sunlight delivers up to about 1000 W per square meter at noon. A dark box absorbs most of it; a white or bright box reflects a large part.

Even if only a fraction of that reaches the box, a few watts of sun on one face can be more than the whole board produces. That is why a dark enclosure on a balcony in summer can get hot enough to touch with care only, while the same box in the shade stays mild.

The practical rules:

  • Prefer light colours for outdoor housings.
  • Give it shade: a small roof, a mounting spot on the north side, or a gap between the box and a hot wall.
  • Do not mount on dark metal that heats up in the sun and passes the heat on.

Step 5: compare with the limits that matter

Now set the result against the most sensitive part, which is rarely the processor:

  • Lithium batteries. Many cells are specified for charging only up to around 45 °C. Above that, the charger should stop, and the cell ages faster even when it is not charging.
  • Electrolytic capacitors. Their lifetime is often described as roughly halving for every 10 °C of extra temperature. A capacitor rated for a few thousand hours at its top temperature can live for many years when it runs much cooler.
  • Displays and touch panels. Some go dark or slow at high temperatures.
  • Plastic. Common printing materials soften at temperatures that a dark box in the sun can reach. A housing that bends will not seal.

Take the hottest ambient air the device will see, add the rise from your estimate, add the sun if it is outdoors, and see whether you stay clear of these limits with margin.

What to do when it runs too hot

If the numbers are tight, fix the cause before you add a fan.

  1. Waste less power. Swap a linear regulator for a switching one, dim the display, let the radio sleep. Every watt you do not use is a watt you do not have to remove.
  2. Move the heat to the wall. Place hot parts close to the housing wall and connect them with a thermal pad, or use a metal plate as part of the wall. The heat then takes a short path out instead of warming the air inside.
  3. Make the box bigger or change its shape. A flat, wide box has more surface for the same volume than a cube.
  4. Use a metal housing or a heat sink that is part of the outer wall. Metal spreads heat over the whole surface.
  5. Vent it, carefully. Vents change the problem completely, because air now carries the heat away. But they also let water and dust in. If the device must stay sealed, a breathable membrane vent equalises pressure and lets moisture out, though it does not move much heat. Real airflow needs openings that are protected from rain, such as louvres facing down.
  6. Add a fan only as the last step. It adds noise, power, a part that wears out, and openings that need protection.

Test it

The estimate tells you where to look; a measurement tells you the truth. Put a small temperature sensor inside the closed box, run the device at its highest load for an hour, and log the inside temperature against the room. Then repeat it in the sun, or under a lamp, if the device will live outdoors.

On our platform, the electronics step adds up the power budget, and the 3D model step checks the housing for surface, wall contact of hot parts and room for vents or seals before anything is built. You can see a controller that lives next to a hot grill in the public project DIY BBQ Temperature Controller. If your box must also keep water out, Waterproof electronics enclosure explains the seals and IP ratings.

Watch hardware get built by AI. Follow public projects on makemachine.ai, read every result in full and get an email when there is something new.

Get started See the live projects

More from the blog

Open-hardware projects built with AI