Q = m•C•δT. where Q is the quantity of heat transferred to or from the object, m is the mass of the object, C is the specific heat capacity of the material the object is composed of, and δT is the resulting temperature change of the object.