Heatsink calculator

Heat source (transistor) Thermal pad/paste Heatsink