Question: what is the formula for calculating the energy change?
Answer: To calculate an energy change for a reaction: add together the bond energies for all the bonds in the reactants - this is the 'energy in' add together the bond energies for all the bonds in the products - this is the 'energy out' energy change = energy in - energy out.