Derive passive cooling enclosure clearances from the board drawing, component package limits, mounting stack and thermal-interface requirements. Do not copy the apparent gaps from another enclosure. A heatsink relief that clears one board revision may interfere with another, even when their mounting holes match.
You can develop a workable clearance drawing without the original enclosure CAD. Start with manufacturer-controlled dimensions, separate contact surfaces from keep-out areas, and calculate the worst-case assembled gaps. Then verify both mechanical fit and temperatures on the finished assembly.
Clearance means three different things
A passively cooled enclosure needs three separate clearance decisions. Combining them into one general gap creates avoidable failures.
- Thermal contact gap: The controlled distance between an approved component contact surface and the heatsink, before interface compression.
- Mechanical keep-out: The space needed to prevent surrounding components, solder joints and connectors from touching the heatsink.
- Electrical clearance: The separation required between conductive surfaces at different electrical potentials, including the metal enclosure.
These distances are not interchangeable. A thermal pad can bridge a mechanical gap without necessarily providing qualified electrical insulation. Likewise, an electrically acceptable spacing might not accommodate board bow or assembly movement.
Draw separate contact and keep-out regions on the board layout. Identify each region by component reference, board revision and drawing datum. The heatsink should contact only surfaces approved for that purpose.
An exposed metal package surface is not automatically a suitable clamping surface. Confirm whether it is electrically live, whether top-side cooling is supported, and what load the package permits.
Get the dimensions that control the fit
Ask the board manufacturer for a mechanical drawing, component-height map and cooling-interface requirements. Request the exact board revision being installed, not a similar assembly.
If a full three-dimensional model is unavailable, a controlled two-dimensional drawing can still define the critical geometry. You need mounting-hole locations, board outline, connector envelopes and the heights around the cooling contact.
Collect these inputs before detailing the heatsink:
| Input | What it must establish |
|---|---|
| Board mounting drawing | Hole coordinates, mounting datum, board thickness and supported mounting method |
| Component package drawing | Maximum outline, height tolerances and approved contact surface |
| Assembly information | Installed component height, solder attachment effects, board bow and revision differences |
| Thermal-interface data | Thickness tolerance, permitted compression, pressure and electrical properties |
| Heatsink drawing | Contact-land height, relief pockets, flatness, finish and machining tolerances |
| Mounting hardware data | Standoff height, shoulder dimensions, fastening method and permitted loads |
| Operating conditions | Heat dissipation, maximum ambient temperature, orientation and nearby heat sources |
A package drawing alone may not establish the installed component height above the board. Its reference plane can differ from your assembly datum. Check whether solder attachment height is included.
Measurements from a sample help confirm the drawing, but they do not establish production limits. Record uncertainty and measure several relevant locations rather than treating one height reading as exact.
The same datum discipline used in a PCB enclosure tolerance stack applies to the heatsink interface. Keep dimensional chains short and reference functional surfaces.
Calculate the assembled gap at its limits
Choose a common reference plane, such as the component-side PCB surface. Express both the component contact height and heatsink contact-land height from that plane.
For a simple vertical stack:
Contact gap = heatsink contact-land height − installed component height.
The minimum gap occurs with the lowest heatsink land and tallest component. The maximum gap occurs with the highest heatsink land and shortest component.
Include standoff tolerances, board thickness where relevant, machining variation and contact-land flatness. Add board bow and assembly movement where they change the local gap. Do not count a tolerance twice if the assembly drawing already includes it.
Suppose the completed dimensional stack gives a contact gap between 0.0374 and 0.0433 in [0.95 and 1.10 mm]. That range, not its midpoint, determines whether the thermal interface can work.
Now consider surrounding components. For each relief pocket, compare the lowest possible pocket ceiling against the highest possible component underneath. Account for lateral board movement as well as vertical height.
A pocket that clears a component vertically can still strike its corner after mounting-hole clearance allows the board to shift. Check the complete component envelope, not only its centerline.
There is no universal extra gap that makes every design safe. Set the margin from dimensional uncertainty, expected movement, electrical requirements and the consequence of contact.
Match pad compression to package loading
Select the interface material after establishing the gap range. Choosing a convenient pad thickness first can force excessive compression or leave incomplete contact.
For a compressible pad, the simplified compression relationship is:
Compression = (uncompressed thickness − assembled gap) ÷ uncompressed thickness.
Assume a hypothetical pad has an uncompressed thickness range of 0.0571–0.0610 in [1.45–1.55 mm]. Also assume its manufacturer permits 20–40% compression for the intended application.
Using the previous gap range:
- Minimum compression is
(1.45 − 1.10) ÷ 1.45, approximately 24%. - Maximum compression is
(1.55 − 0.95) ÷ 1.55, approximately 39%.
That combination fits the assumed compression window. It does not yet prove the assembly is acceptable. The pad pressure at those compressions must remain within the component, PCB and mounting-system limits.
Use the interface manufacturer's pressure-versus-compression data. Approximate total load as contact pressure multiplied by contact area, then check how that load reaches the mounting points. A large pad can impose substantial force even at modest pressure.
Do not use tightening torque as a substitute for a controlled gap. Where appropriate, use a designed shoulder or hard stop to control the final geometry. The board manufacturer's mounting and loading instructions still govern.
The separate article on thermal pad placement covers interface positioning. Here, the essential requirement is matching thickness and compression across the full dimensional range.
Mechanical fit does not prove cooling performance
A component can fit perfectly and still overheat. Clearance calculations establish geometry; thermal calculations establish whether the available path can carry the heat.
For a first-pass, single-source estimate:
Allowable total thermal resistance = (target junction temperature − maximum ambient temperature) ÷ heat dissipation.
For a hypothetical 10 W device, a 45 °C maximum ambient and an 85 °C target junction temperature allow 4 K/W overall. If the validated upstream path consumes 1.5 K/W, the remaining heatsink-to-ambient allowance is 2.5 K/W.
That simplified example assumes one dominant heat path. Multiple heat sources, shared spreading surfaces and alternate conduction paths need a more complete model.
Do not substitute a package junction-to-ambient value for a junction-to-case value without understanding its test conditions. Package thermal metrics describe particular boundary conditions, not every enclosure installation.
A thick pad may accommodate the dimensional stack but consume too much thermal margin. Its thermal resistance depends on thickness, area, compression and the specified test conditions. Contact resistance also matters.
Use heat sink thermal resistance in sealed enclosures for the thermal-path calculation. Keep this calculation tied to the actual enclosure orientation and external cooling conditions.
Check what the available evidence actually proves
Each source answers a different question. None should be stretched beyond its scope.
- A CAD model establishes nominal geometry unless tolerances and configuration control accompany it.
- A package drawing establishes dimensional limits, but may not permit mechanical loading on the package top.
- A pad datasheet describes material behavior under stated conditions, not the finished assembly's insulation performance.
- A heatsink thermal rating applies to its stated orientation, airflow and mounting conditions.
- A successful fit check proves that the checked assembly fits, not that every tolerance combination will fit.
- A thermal test demonstrates performance under the tested loads, temperatures and mounting conditions.
Avoid treating an unpowered fit check as a full design qualification. It cannot reveal excessive junction temperature, long-term pad movement or vibration-related contact.
Likewise, cooling success does not establish environmental sealing. Any heat-transfer feature that crosses the enclosure boundary needs a separate sealing and structural assessment.
Apply the clearances to the complete enclosure
Check more than the processor or other main heat source. Connectors, cable exits and service access often determine the final enclosure depth.
Allow cables to leave connectors without pressing against the heatsink. Use connector and cable manufacturer limits for mating access, bend radius and strain relief. Include the space needed to remove the board without scraping components against relief pockets.
Check fastener heads, washers and screw penetration at their worst positions. A screw that protrudes beyond a standoff can create an interference or electrical hazard beneath the PCB.
Separate protective bonding from the thermal interface design. Neither a thermal pad nor incidental heatsink contact should be assumed to provide the required protective connection.
For the first assembly, inspect the interface with power isolated and stored energy controlled. Confirm that hard stops seat correctly and that the board does not visibly bow. Follow the interface manufacturer's method for checking contact; do not insert conductive gauges around energized circuitry.
After mechanical checks, run a thermal soak test for a sealed enclosure under representative worst operating conditions. Record component temperatures, ambient temperature, orientation and workload. Compare results against component limits and the design target.
Specify the interface as part of the drawing package
The enclosure order needs functional requirements, not a request to reproduce another case's appearance. Specify the contact geometry and the surrounding exclusion zones separately.
| Drawing item | What to specify |
|---|---|
| Assembly identity | Board model, revision and controlled reference drawings |
| Enclosure geometry | Width, height, depth, material and mounting orientation |
| Thermal contact | Approved component surfaces, contact-land dimensions and calculated gap range |
| Relief pockets | Component envelopes, pocket depths, lateral allowances and tolerances |
| Interface material | Material identification, thickness tolerance, compression range and pressure limits |
| Retention | Standoffs, hard stops, fastener locations and package loading restrictions |
| Finish and insulation | Contact-surface requirements and any separately qualified insulating barriers |
| Verification | Mechanical inspection method, thermal operating conditions and acceptance limits |
For custom enclosures, we build to your specified material, width, height, depth and cutouts, from one piece. Identify any machined cooling interface explicitly for quotation and drawing review; an enclosure outline alone does not define it.
The enclosure builder can establish the overall configuration. Attach the detailed interface requirements rather than relying on a general three-dimensional view.
If you lack a full model, the article on requesting a custom enclosure without CAD explains the basic submission. Include a dimensioned contact-and-keep-out sketch with that information.
Approve the final drawing only after the board, heatsink and interface tolerances agree. Freeze the relevant board revision, and review the interface again whenever component heights or cooling materials change.
Enclosures for this job
Catalog sizes that suit the job this article answers, picked from its subject; open one for its full specifications.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 16 × 12 × 8 in | 304 stainless | 16 x 12 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 |
| 30 × 24 × 10 in | 304 stainless | 30 x 24 x 10 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Do I need the original enclosure CAD to design a passive cooling interface?
No. A controlled board drawing, component-height information and a dimensioned interface sketch can define the necessary geometry. You still need installed height limits, mounting tolerances and thermal-interface requirements. A nominal model alone would not establish those limits or prove that the assembly is safe.
How much clearance should a heatsink have around nearby components?
There is no universal safe gap. Calculate the smallest separation using component height limits, heatsink machining tolerances, board movement and assembly variation. Then address electrical clearance separately. The required margin depends on the circuit, operating environment, applicable product standard and consequences of contact.
Can a thicker thermal pad compensate for uncertain component heights?
Only if the resulting compression, pressure and thermal resistance remain acceptable across the full tolerance range. A thicker pad can increase package loading and thermal resistance. Use the pad manufacturer's data alongside the board manufacturer's package-loading and mounting requirements.
Does a thermal pad electrically isolate the component from the enclosure?
Not automatically. Electrical properties, thickness after compression, edge spacing, puncture resistance and assembly conditions all matter. If the design requires an insulating barrier, select and qualify the interface for that function rather than relying on its appearance or a general thermal-material description.
What should I send with a custom enclosure cooling-interface request?
Provide the board revision, mounting datums, installed component height limits, approved contact surfaces and surrounding keep-out envelopes. Include the calculated gap range, interface material, mounting loads and thermal acceptance conditions. Confirm the final geometry through a controlled drawing before approving fabrication.





