Calculating Heat Absorbed/Released: q = mCΔT
q = heat absorbed or released by the substance (J)
m = mass of the substance (g)
C = specific heat capacity of the substance (J•g-1•°C-1)
ΔT = change in temperature of the substance (°C)
this formula can only be used for calculating the heat for a substance that is not undergoing a phase change.