Heat a pan of water on a steady flame and watch a thermometer. It climbs, climbs, and then at 100 °C it sits there, even though the flame is as strong as ever. Where is the energy going? This is the question latent heat answers, and it is one of the cleanest examples of energy being used for something other than making things hotter.
What is happening to the molecules
Temperature tells you about the average kinetic energy of molecules. During a change of state the heat does not speed the molecules up. It does work against the forces holding them together. In melting it loosens the solid structure. In boiling it pulls molecules completely apart from each other against the attraction of the liquid. So the energy goes into potential energy, the temperature stays the same, and the word latent (hidden) fits well.
The formula
L is the specific latent heat, the heat needed to change 1 kg of a substance from one state to another at constant temperature. For water, L for fusion (ice to water at 0 °C) is about 3.34×10⁵ J/kg, and L for vaporisation (water to steam at 100 °C) is about 2.26×10⁶ J/kg. In older books you will see 80 cal/g and 540 cal/g. Same thing, different unit.
Boiling costs far more than melting
The ratio is about 6.8. Turning water into steam needs nearly seven times the energy of melting the same mass of ice, because freeing molecules entirely is a bigger step than loosening them. It is also why a steam burn is worse than a scald from boiling water at the same temperature: 10 g of steam at 100 °C turning to water at 100 °C hands your skin 0.01 × 2.26×10⁶ = 22,560 J, while 10 g of water cooling from 100 °C to 30 °C hands over only about 2,930 J. That is almost eight times as much.
Follow the whole heating curve
Take 1 kg of ice at −10 °C and heat it all the way to steam at 100 °C. Count each stage: warming ice (specific heat 2100 J/kg·K) takes 21,000 J; melting takes 334,000 J; warming the water 0 → 100 °C (4186 J/kg·K) takes 418,600 J; boiling takes 2,256,000 J. The total is about 3.03×10⁶ J, and the last stage alone is 74 percent of it. If you draw this as temperature against heat supplied, you get slopes and flat plateaus. The plateaus are the latent heat.
Mistakes to avoid
Do not put a temperature change in a latent heat step, and do not put latent heat in a warming step. Write the stages one by one, check which ones apply, and add them. Also remember that the SI kelvin has been defined through the Boltzmann constant since 2019, but the size of a degree did not change, so all the numbers here still hold.
