Diagram of calorimeter
Experimental setup to measure specific heat
Calorimetry is an experimental technique for the quantitative measurement of heat exchange. We know that heat flows from a hot body to a cold body. When the two bodies are isolated from their surroundings, the amount of heat lost by the hot body must be equal to the amount of heat gained by the cold body. The same principle is used in calorimetry.
As heat is energy in transit, this principle is really just conservation of energy. Calorimetry, dealing entirely with one conserved quantity, is in many ways the simplest of all physical theories. One of the important uses of calorimetry is the determination of specific heats of unknown materials. A calorimeter is a device used to measure the amount of heat exchange. A simple calorimeter is shown in figure.
It is important that the calorimeter be well insulated so that almost no heat is exchanged with the surroundings. The insulated lid, jacket and air space are central to preventing heat loss to the surroundings. In the technique known as the "method of mixtures", a sample of the substance is heated to a high temperature which is accurately measured. The substance is then placed quickly in the calorimeter containing known mass of water at known temperature. The contents are stirred constantly until the mixture attains the final common temperature. The heat lost by the substance will be gained by the water and the calorimeter.

Since the values of the other variables are known, the specific heat of the substance can be calculated.