Voltage Regulator Heatsink Calculator

Power dissipation and junction temperature of a linear regulator (7805, LM317, LDO) and the heatsink it needs – with package presets.

Runs locally in your browser
V
V
A
A
Power dissipation
3.5 W
HeatsinkθSA ≤ 25 K/W
Junction temp. without heatsink242 °C
Efficiency41.7 %
Switching regulator (90 %)278 mW

Package values are typical; θJA depends strongly on the copper area of the board. Use the datasheet values of your part.

About this tool

A linear regulator such as the 7805, LM317 or an LDO burns the difference between input and output voltage: P = (Vin − Vout) · I + Vin · Iq. From 12 V to 5 V at 0.5 A that is 3.5 W – too much for a TO-220 without a heatsink. The calculator shows the dissipation, efficiency and junction temperature Tj = Ta + P · θJA.

If Tj gets too high, it calculates the largest permitted heatsink thermal resistance: θSA = (Tj,max − Ta) / P − θJC − θCS. For comparison it shows the loss of a switching regulator with 90 % efficiency.

How it works

  1. Enter the input and output voltage, the load current and optionally the regulator’s quiescent current.
  2. Choose the package or enter θJA and θJC from the datasheet; adjust the ambient and maximum junction temperature.
  3. Read the dissipation and junction temperature and pick a heatsink with at most the θSA shown.

Frequently asked questions

Do I need a heatsink?

Yes, if the junction would get hotter than Tj,max (usually 125 °C) without one. As a rule of thumb a free-standing TO-220 handles about 1–1.5 W, SOT-223 and DPAK 0.5–1.5 W depending on the copper area on the board.

What do θJA, θJC, θCS and θSA mean?

They are thermal resistances in K/W: junction–ambient without heatsink, junction–case, case–heatsink (thermal pad or paste, often 0.2–1 K/W) and heatsink–ambient. In series they add up like resistors.

What if even a heatsink is not enough?

Reduce the voltage difference (e.g. with a series resistor that takes part of the power, or a lower input voltage), lower the current or use a switching regulator. A switching regulator with 90 % efficiency loses only a fraction from 12 V to 5 V.

How accurate are the package values?

They are typical guide values. θJA of SMD packages in particular depends strongly on the copper area the part is soldered to. Use the datasheet values for your design; for the width of the traces there is the PCB Trace Width Calculator calculator.

How is the efficiency calculated?

Output power divided by input power: Vout · I / (Vin · (I + Iq)). For a linear regulator it is never better than Vout / Vin. How long a battery lasts with it is worked out by the Battery Life Calculator calculator.