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

Small computer enclosure design for board builds

Size a small computer enclosure around the complete board stack, inserted plugs, cable bends and service access. Use an existing enclosure when it meets those needs; choose custom construction when mounting, interfaces or environmental protection require it. A removable internal carrier helps accommodate changing accessories without redesigning the shell.

NEMA4 Enclosure engineering team · Published October 31, 2026 · 7 min read

Choose an enclosure around the complete installed assembly, not the computer board alone. Include accessory boards, storage, cooling hardware, plugs and cable bends before you select the box. An existing enclosure is suitable when those parts fit, remain supported and meet the installation conditions. Choose a custom design when fixed mounting points, connector positions or environmental protection prevent a workable fit. For changing builds, a replaceable internal carrier can preserve the enclosure while the electronics layout evolves.

Start with the installation environment

A dry bench prototype and an unattended machine installation need different protection. Decide where the completed assembly will operate before choosing its enclosure construction.

Record these conditions:

  • Water: occasional drips, outdoor rain, cleaning spray or direct hose exposure.
  • Dust: ordinary room dust, airborne process debris or conductive contamination.
  • Chemicals: cleaning agents, coolant mist, salt air or chloride-bearing deposits.
  • Temperature: maximum local ambient, nearby hot equipment and direct sunlight.
  • Access: who can touch the assembly, disconnect cables or place objects against it.
  • Movement: fixed mounting, repeated transport or vibration from nearby machinery.

An exposed board on a shelf has no controlled barrier against dropped hardware, cable pulls or contamination. However, enclosing it without considering heat can introduce another failure mechanism.

The decision in repurposed versus purpose-built electronics enclosures is useful when an existing container appears mechanically convenient. For this design, the deciding question is whether the complete assembly remains protected, cooled and serviceable throughout its expected revisions.

Treat outdoor exposure as more than a water problem. A sunlit metal surface can run hotter than ambient, while overnight cooling can create condensation inside a sealed enclosure.

Select the rating for the assembled enclosure

For a clean, dry indoor location, a general-purpose NEMA Type 1 design may meet the enclosure requirement. Indoor dust and dripping liquids can point toward Type 12. Outdoor rain may call for Type 3R, while hose-directed water requires consideration of Type 4. Type 4X adds corrosion resistance to the Type 4 protection requirements.

Our custom enclosure ratings are manufacturer ratings for the specified design; the enclosures are not UL listed. Confirm any separate listing requirement before choosing the enclosure.

Do not select the rating from the empty shell alone. A connector opening, fan grille or removable storage slot becomes part of the environmental boundary. An ordinary computer connector exposed through a cutout does not automatically preserve the enclosure rating.

For wet installations, consider keeping ordinary plugs inside and passing suitable cables through sealing glands. Another approach uses bulkhead connectors with documented environmental performance for the installed configuration.

Check whether connector protection applies while connected, disconnected or fitted with a cap. The article on enclosure ratings after mounting devices explains why every penetration needs review.

Match the material to exposure and access

Material selection follows the environment, not the size of the computer board.

For custom metal work, powder-coated carbon steel suits indoor and sheltered industrial panels. Our 304 stainless steel option suits indoor washdown and many outdoor installations. Consider 316L stainless steel for salt air, brine, chlorides and relevant chemical exposure. Check the actual cleaning chemistry rather than treating any stainless grade as immune to corrosion.

Aluminum is another custom option where weight matters. Our polycarbonate and fiberglass options use standard molded sizes cut to the required layout; they are not arbitrary-size molded bodies.

Metal also changes wireless access. An internal antenna may perform poorly behind a closed metal enclosure. If wireless communication is required, plan an appropriate external antenna arrangement and review its penetration alongside the other openings.

You can specify material, dimensions and cutouts through custom enclosures. Choose the material before releasing the mounting and penetration drawings, because wall construction and hardware affect usable space.

Size the full assembly and check its heat

Start with an assembly drawing that includes everything installed during normal operation. The board outline alone misses many of the features that determine enclosure size.

Include:

  • Standoffs, mounting screws and hardware beneath the board.
  • Accessory-board stacks, headers and their installation direction.
  • Heat sinks, fans and required airflow paths.
  • Storage devices, interface adapters and power conversion modules.
  • Inserted connectors, strain reliefs and cable bends.
  • Space for unplugging cables and replacing removable parts.

Use the component manufacturers' clearances wherever specified. A convenient mechanical gap is not a substitute for electrical spacing, heat-sink clearance or a cable's minimum bend radius.

Build a usable-space example

Suppose a proposed assembly occupies 4 × 3 inches [102 × 76 mm] on its carrier. Its installed stack projects 2.25 inches [57 mm] from the carrier face, including standoffs and accessories.

For this example, reserve 1.5 inches [38 mm] beside one edge for the selected plugs and cable turns. Reserve 0.5 inch [13 mm] at the opposite edge and both remaining sides. Add 0.5 inch [13 mm] above the stack for the proposed mechanical clearance.

That produces a preliminary usable envelope of 6 × 4 × 2.75 inches [152 × 102 × 70 mm]. These are planning allowances for this example, not universal minimum clearances or a catalog enclosure size.

Check the actual cable assemblies before accepting those allowances. Then add the space consumed by the carrier, its supports, wall construction, door hardware and any door-mounted devices. The required outside enclosure dimensions will be larger than the usable envelope.

Use compact electronics enclosure layout for the detailed arrangement of parts within that space. Keep the enclosure selection focused on whether the complete installed and service envelopes fit.

Calculate heat independently of fit

A mechanically comfortable enclosure can still overheat. Add the losses from the computer, storage, accessory boards and internal power conversion at the highest expected operating load.

For example, a computer dissipating 15 W, accessories dissipating 3 W and internal conversion losses of 2 W create a 20 W enclosure heat load. Do not substitute the power supply's output rating for that heat calculation.

At 95°F [35°C] ambient, a selected internal air target of 122°F [50°C] allows a 27°F [15°C] rise. That target must suit every installed component; it is not a general computer operating limit. Processor junction temperature and heat-sink performance also need separate checks.

Evaluate the closed assembly at the intended mounting position and worst expected load. Include solar gain when applicable. An internal circulation fan moves heat around but does not remove it from a sealed box.

Where a defined conduction path is needed, use the approach described in conduction-cooled sealed enclosures. Do not assume that choosing a metal shell creates an adequate thermal connection by itself.

Mount the board without trapping the cables

Support the board through its intended mounting features. Do not let a power connector, network socket or accessory header become the primary mechanical restraint.

Choose standoff height from the underside component envelope, electrical clearances and mounting hardware. Check screw length carefully so fasteners cannot contact components or damage the board. Maintain clearance from the carrier under expected vibration and cable loads.

A removable carrier is useful when the main board stays similar but accessories change. It lets you revise the internal hole pattern without repeatedly modifying the enclosure shell. Keep fixed shell penetrations separate from revision-dependent internal mounting wherever practical.

DIN rail can help when several small modules need removal as a group. It also adds adapter depth and needs positive retention. Review DIN rail mounting for single-board computers before allocating space around a rail-mounted assembly.

Separate cable support from electrical connection

A gland provides sealing and cable retention only within its documented cable range and installation conditions. Verify cable diameter, wall thickness, hole dimensions and the required sealing hardware.

Clamp or otherwise support internal cables so an external pull does not reach board connectors. Leave enough controlled slack for service, but keep loops away from heat sinks and door hardware.

For a removable connector panel, provide its own fastening and sealing arrangement. Do not assume that adding a gasket to an unsupported plate preserves the intended environmental protection.

Accessible metal parts also need the appropriate bonding design. Where mains equipment is installed inside, revisit segregation, guarding, terminal access and the approval requirements for the complete assembly.

Check service access with the assembly closed

Model the door and latch volumes, not just the empty cavity. Check that the door closes without pressing on connectors or bending accessory boards.

Confirm that you can remove storage, reach mounting screws and disconnect cables in the intended service sequence. If removing one accessory requires stripping the whole enclosure, consider a different carrier arrangement before increasing the outside size.

Put the revision envelope on the order

A configurable model needs a controlled hardware baseline. Record the exact board revision, accessory stack and cable assemblies used to establish the fit. A connector moving slightly between board versions can invalidate an otherwise correct wall cutout.

For repeat builds, define what may change without changing the enclosure. That might include carrier hole positions or internal cable routing. Define changes that require another fit review, such as a taller accessory stack or a different bulkhead connector. The article on custom enclosure prototypes for repeat builds covers that release process.

Use a specification table like this when preparing the design:

Specification What to provide
Installation conditions Indoor or outdoor location; dust, water, chemicals, sunlight and ambient temperature
Environmental rating Required NEMA type and the conditions each installed penetration must withstand
Approval requirements Any required third-party evaluation or listing for the enclosure or completed assembly
Material Selected material and the exposure that drives the choice
Outside dimensions Width, height and depth, clearly distinguished from required usable space
Installed assembly envelope Board, standoffs, accessories, heat sinks and cable projections from the carrier datum
Mounting arrangement Carrier drawing, board mounting pattern, fasteners and enclosure attachment method
Cable interfaces Actual cable diameters, connector drawings, gland locations and service access
Thermal basis Maximum heat dissipation, ambient temperature, internal temperature target and cooling method
Wireless provision Antenna location, cable route and any sealed bulkhead interface
Revision control Approved board revision, accessory list and permitted future changes

The custom enclosure specification guide covers the general drawing and order information. Use the enclosure builder to configure the proposed enclosure and submit it for a quote. Check the returned drawing against the complete assembly before approval, including cable access and the usable depth behind the closed door.

Enclosures for this job

Catalog sizes that suit the job this article answers, picked from its subject; open one for its full specifications.

EnclosureMaterialOutside H x W x D / displayRating
16 × 12 × 8 in304 stainless16 x 12 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
24 × 20 × 8 in304 stainless24 x 20 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
30 × 24 × 10 in304 stainless30 x 24 x 10 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Does every small computer need a custom enclosure?

No. An existing purpose-built enclosure can work when it supports the complete assembly, accommodates the actual cables and meets the installation conditions. Custom construction becomes useful when accessory stacks, mounting positions, connector locations or environmental requirements prevent a workable fit.

How much clearance should surround a small computer board?

There is no universal clearance. Start with the component manufacturers' electrical and thermal requirements, then add the actual connector projections, cable bends and service space. Include standoffs, underside components, accessory boards and door hardware when determining the required usable volume.

How can one enclosure accommodate changing accessory boards?

Use a removable carrier and define a maximum installed accessory envelope. Keep revision-dependent mounting holes on the carrier where practical. Review any change that affects stack height, connector position, power dissipation or cable access before treating it as compatible with the existing enclosure.

Will an internal fan keep a sealed computer enclosure cool?

Not necessarily. A fan inside a sealed enclosure redistributes heat but does not discharge it outside. The design still needs an adequate path through the enclosure walls, a deliberate conduction arrangement or suitable cooling equipment. Check the closed assembly at maximum expected load and ambient temperature.

Can ordinary computer connectors pass through a rated enclosure wall?

Only when the complete connector arrangement supports the required environmental protection. Check the bulkhead installation, sealing hardware and whether protection applies when connected, disconnected or capped. Keeping ordinary connectors inside and using suitable cable glands can be a more practical arrangement.

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 × 8 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