Q = m x C x ΔT. Where.... Q = Quantity of Heat (Released or Absorbed). Joules, calories or Btu. m = Mass (grams) of substance being heated, cooled or changing state. C = Specific Heat Capacity (J/g/°C; cal/g/°C; Btu/lb/°F). (Also, Molar C = Molar Heat Capacity J/mol.K (or °C). ΔT = Difference in Temperature.(ΔT°C; or ΔT°F).
(ΔTcan be in °C or K (Kelvin) or, in °F or R (Rankine)