The standard heat of formation of a compound is defined as “The change in enthalpy that takes place when one mole of a compound is formed from its elements, all substances being in their standard states (298 K and 1 atm pressure).
Cm = q / (T2 - T1)
Where C specific heat capacity,
q = amount otheat absorbed. m = mass and T1 ,T2 temperatures.