Calculate required thermal resistance for cooling.
Remix "Heat Sink Thermal Resistance" into your own editable copy. Tweak it, share it, make it yours.