Let's start with couple of definitions:
From definition we have the following formula for specific heat:
where c — specific heat,
Q — heat added or removed to the body,
m — mass of the body,
ΔT — temperature change.
The heat capacity can be affected by many of the state variables that describe the thermodynamic system under study. These include the starting and ending temperature, as well as the pressure and the volume of the system before and after heat is added. So, formula below would be somewhat more correct.
However, in school problems we usually use constant specific heat given for standard pressure. Thus, the relationship between heat and temperature change is usually expressed in the form shown below:
Note that this relationship does not apply if a phase change is encountered, because the heat added or removed during a phase change does not change the temperature.
The calculator below can find missing value in the formula above, provided that all other values are given. It can find heat added or removed, specific heat, mass, initial temperature or final temperature: