Heat energy is the total kinetic energy of particles in a sample and is measured in Joules or calories. Temperature measures the average kinetic energy of particles and is measured in degrees Celsius or Kelvin. Heat capacity is the amount of heat needed to raise the temperature of a substance by one degree, while specific heat is the amount of heat required to raise the temperature of one gram of a substance by one degree. The formula for calculating heat energy transferred is heat equals mass times specific heat times change in temperature.