SMPS Thermal Budget Guide: Size the Heatsink Before the MOSFET Cooks — a 24 V to 12 V, 6 A Buck Worked Out

Author: Abloom Spark Date: December 02, 2026

A MOSFET does not die the moment it gets hot — it dies when the heat makes it dissipate more, which makes it hotter, which makes it dissipate more. The LM317 guide sized one heatsink for one linear regulator; this guide does the full thermal budget for a switching supply, where the heat comes from several places at once: two MOSFETs, an inductor and a gate driver, all sharing one heatsink inside a warm case. The worked example is a 24 V to 12 V, 6 A synchronous buck at 200 kHz with two IRF540N MOSFETs — and it shows that a design with no heatsink can pass its first calculation and still fail, once the temperature feedback is counted.

Thermal resistance chain from the MOSFET junction through case and heatsink to ambient air, with the high-side FET at 77 degrees C on a 10 degree C per watt heatsink, beside a bar chart of the converter losses: high-side conduction 1.35 W, high-side switching 0.46 W, low-side conduction 1.35 W, body-diode loss 0.24 W, inductor 0.36 W and gate drive 0.20 W

Figure 1: (a) The thermal chain for the high-side FET: every watt climbs three steps — junction to case, case to heatsink, heatsink to air — and the heatsink step is by far the biggest. (b) Where the 4.3 W of loss goes, and what the junction temperature becomes with and without a heatsink. (Schematic, not to scale.)

Count the losses first

Nothing thermal can be sized until the losses are counted, so start there. The buck runs 24 V to 12 V at 6 A, so the duty cycle is D = 12 / 24 = 0.5, and each MOSFET carries the 6 A load for half the cycle: Irms = 6 × √0.5 = 4.24 A. The IRF540N datasheet quotes Rds(on) = 44 mΩ at 25 °C — but that number is a trap for the unwary, because on-resistance rises with temperature: about 1.7 times at 100 °C, so 74.8 mΩ. Conduction loss per FET at 100 °C is therefore I²R = 4.24² × 0.0748 = 1.35 W (only 0.79 W if you wrongly use the 25 °C value).

The high-side FET also switches. Its Miller plateau sits at Vpl = Vth + I / gfs = 3 + 6 / 30 = 3.2 V, and with a 10 Ω gate resistor the plateau lasts t = Qgd × Rg / (Vdrv − Vpl) = 14 nC × 10 Ω / (12 − 3.2) = 15.9 ns. With rise and fall together about 31.8 ns, the switching loss is Psw = ½ × 24 V × 6 A × 31.8 ns × 200 kHz = 0.46 W. The low-side FET does not switch the full voltage, but its body diode conducts during the dead time: with about 1.0 V of forward drop and 100 ns of dead time on each edge, that is 1.0 × 6 × 2 × 100 ns × 200 kHz = 0.24 W. So the high-side FET burns 1.35 + 0.46 = 1.81 W, the low-side 1.35 + 0.24 = 1.59 W, and the pair together 3.40 W. Add the inductor (10 mΩ of winding resistance: 6² × 0.01 = 0.36 W), the gate drive (Qg ≈ 85 nC at 12 V × 12 V × 200 kHz = 0.20 W, dissipated in the driver and gate resistor, not in the FETs) and about 0.3 W of capacitor, PCB and control losses, and the total is about 4.3 W — an efficiency of 72 / (72 + 4.3) = 94.4%. Now the thermal design has real numbers to work with.

No heatsink: it works — until it doesn't

The IRF540N in a TO-220 package has a junction-to-ambient thermal resistance of θja = 62 °C/W with no heatsink. At 40 °C ambient, the first pass looks survivable: the high-side junction reaches Tj = 40 + 1.81 × 62 = 152 °C, the low-side 40 + 1.59 × 62 = 139 °C — both under the 175 °C absolute maximum. A careless designer stops here and ships it.

But the first pass is wrong, because the loss was computed at 100 °C and the junction is at 152 °C. At 152 °C the on-resistance is about 2.26 times its 25 °C value, so the high-side conduction loss rises to 4.24² × 0.099 = 1.79 W and its total loss to 1.79 + 0.46 = 2.25 W — which pushes the junction to 40 + 2.25 × 62 = 180 °C, past the 175 °C maximum. The design fails its own feedback loop: hotter silicon has higher resistance, which makes more heat, which makes the silicon hotter still. That is thermal runaway, and it is the reason a thermal budget must always be checked at the temperature it predicts, not at the temperature you assumed. No heatsink is not an option here.

Size the heatsink from the junction backwards

Good practice is to design for a junction temperature at least 50 °C below the absolute maximum — so a target of 125 °C for a 175 °C part. Size the heatsink backwards from that target, through the chain in Figure 1 (a): junction to case θjc = 1.15 °C/W, case to heatsink θcs = 0.50 °C/W (with thermal grease), and the heatsink itself θsa, which is the number we choose. Both FETs share one heatsink, so the sink carries their combined 3.40 W.

Take a common 10 °C/W extruded heatsink. The sink temperature is Ts = Ta + P × θsa = 40 + 3.40 × 10 = 74.0 °C. The high-side junction is then Tj = 74.0 + 1.81 × (1.15 + 0.50) = 77.0 °C, and the low-side Tj = 74.0 + 1.59 × 1.65 = 76.6 °C — both far under the 125 °C target. Check the iteration, because the losses were computed at 100 °C and the junction is now at 77 °C: at 77 °C the on-resistance is only about 1.45 times its cold value, so conduction falls to 1.15 W per FET, the pair's total to 3.00 W, the sink to 70.0 °C and the high-side junction to about 73 °C. The iteration converges downward, which is exactly what a safe design does — the first pass was conservative, and the real temperature is lower still.

Notice where the temperature actually drops: junction to case is only 1.81 × 1.15 = 2.1 °C. The silicon is not the bottleneck — the heatsink is, at 34 °C for the two FETs together. That is why a bigger MOSFET does not fix a hot design and a bigger heatsink does: the package gets the heat out of the silicon almost for free, and the heatsink has to get it out of the box.

Check the hot enclosure

A supply that is fine on the bench can still cook inside a closed case, so check the worst ambient too. At Ta = 70 °C the same 10 °C/W heatsink sits at Ts = 70 + 3.40 × 10 = 104 °C, and the high-side junction reaches 104 + 1.81 × 1.65 = 107 °C — still 18 °C under the 125 °C target. The design passes its hot test as well. Working backwards, the largest heatsink that would still meet the target at 70 °C is θsa = (125 − 70) / 3.40 − 1.65 = 14.5 °C/W — so a 10 °C/W heatsink has real margin, and a 20 °C/W one would not. That is the whole thermal budget in one number: pick the heatsink from the worst ambient and the target junction temperature, not from the bench.

Key points to remember

  • Worked example: a 24 V to 12 V, 6 A synchronous buck at 200 kHz (IRF540N ×2, D = 0.5) loses 1.35 W of conduction per FET at 100 °C, 0.46 W of high-side switching and 0.24 W in the low-side body diode — 3.40 W in the FETs, about 4.3 W total, 94.4% efficient.
  • Rds(on) rises with temperature — about 1.7 times at 100 °C — so always compute conduction loss at the hot resistance, never at the 25 °C datasheet value (0.79 W cold vs 1.35 W hot per FET here).
  • With no heatsink (θja = 62 °C/W) the first pass gives a high-side junction of 152 °C at 40 °C ambient — but at 152 °C the resistance is 2.26 times cold, the loss rises to 2.25 W and the junction reaches about 180 °C, past the 175 °C maximum. That is thermal runaway.
  • A shared 10 °C/W heatsink puts the sink at 74.0 °C and both junctions near 77 °C at 40 °C ambient (about 73 °C after one iteration); at 70 °C ambient the junctions reach 107 °C — still under the 125 °C design target.
  • The junction-to-case drop is only 2.1 °C: the heatsink does the real work (34 °C for both FETs). The largest heatsink that still meets the target at 70 °C ambient is 14.5 °C/W — size from the worst ambient, not from the bench.
  • Design rule: target a junction temperature at least 50 °C below the absolute maximum, and always re-check the losses at the temperature the design predicts.