For a voltage regulator without a heatsink, the temperature change ΔT is calculated by using the electrical power P by the regulator which is basically roughly P=Iin*(Vin-Vout) and the total thermal resistance θ_total. For example a data-sheet for a linear regulator mentions:
Thermal resistance of the TO-220 package (T) is typically 4°C/W junction to case and 50°C/W case to ambient.
So one can write down the following:
θ_JC = 4
θ_CA = 50
θ_total_no_heatsink = 54
If I'm not wrong, as you see above the total thermal resistance θ_total_no_heatsink is easily found from the data-sheet.
But what happens to the total thermal resistance when the regulator is used with a heatsink with a thermal resistance θ_H°C/W? Would the total thermal resistance be θ_total = θ_JC+θ_H or only θ_H? And why? There are examples they take into account resistance from the case to the heatsink ect. So I'm not sure if in the case of heatsink what should be added to the thermal resistance of the heatsink itself.