How much energy does a temperature change take
Warming a pot of water, cooling a metal part after machining and sizing a thermal storage block all start with the same question: how many joules move in or out when the temperature shifts by a given amount. This page answers it for a single material that stays in one phase. You enter the mass, the specific heat of the material and the temperature change, and it returns the heat transferred. A positive temperature change gives positive heat, meaning energy flows into the sample, and a negative change gives negative heat, meaning energy flows out. The calculation does not say how fast the energy moves, only how much of it is involved.
The relation Q = m c ΔT
The formula is Q = m × c × ΔT. Specific heat c is the energy needed to raise one kilogram of a substance by one kelvin, so multiplying by mass and by the temperature change scales that amount to your sample. OpenStax College Physics covers the idea in its section on temperature change and heat capacity. The relation is linear: doubling the mass, the specific heat or the temperature change doubles the heat. It is valid when c stays constant across the temperature interval and the material does not melt, freeze, boil or condense, because those transitions absorb or release energy without changing the temperature. Heating 1 kg of ice from -10 °C to 0 °C is a legitimate use, with c near 2,100 J/(kg·K), but melting that ice afterward takes a separate, much larger amount of energy.
Heating 2 kg of material by 5 kelvin
The page opens with 2 kg of material, a specific heat of 1,000 J/(kg·K) and a temperature rise of 5 K. The product is 2 × 1,000 × 5 = 10,000 J, or 10 kJ. A specific heat near 1,000 J/(kg·K) is typical of many gases and some solids, such as dry air at constant pressure, which is about 1,005 J/(kg·K). The example is a clean teaching case. To use the page for a real sample, replace the specific heat with a value for your material from a data table, since values vary by more than a factor of four among common solids and liquids.
Water, aluminum and copper
Water has an unusually high specific heat of about 4,186 J/(kg·K), which is why it stores and carries heat so well. Warming 1 kg of water by 20 K takes 1 × 4,186 × 20 = 83,720 J, about 0.0233 kWh. A cup of 0.25 kg heated from 20 °C to 95 °C, a rise of 75 K, takes about 78,487.5 J. Aluminum, with roughly 900 J/(kg·K), needs only 36,000 J to warm 0.5 kg by 80 K, and copper at about 385 J/(kg·K) needs 3,850 J to warm 0.2 kg by 50 K. The figures for c are rounded values at room temperature and vary slightly with source and temperature.
Kelvin and Celsius differences
The temperature change is a difference, and a difference of 1 K equals a difference of 1 °C exactly, so you can enter a Celsius change directly. Warming from 20 °C to 95 °C is a change of 75, whether you call it 75 K or 75 °C. The offset between the scales matters only for absolute temperatures, not for changes. Fahrenheit is different: a change of 1 °F equals 5/9 K, so convert a Fahrenheit difference by multiplying by 5/9 before using it. Entering a Fahrenheit change directly as if it were kelvins would overstate the heat by a factor of 1.8.
Cooling and negative results
If the sample cools, the temperature change is negative and so is the heat. Cooling 1 kg of water by 20 K gives -83,720 J, meaning the water gives up that much energy to its surroundings. The sign convention follows the direction of the energy flow with respect to the sample. In a calorimetry problem the heat lost by a hot object equals the heat gained by a cold one, as long as no energy escapes. You can apply the page twice, once to each object, and compare the magnitudes to find the final temperature by trial, or solve algebraically for the equilibrium temperature.
Choosing a specific heat value
Specific heat depends on the material, its temperature, and for gases whether pressure or volume is held constant. Reference tables give values at about 25 °C. For metals, the values change by a few percent over a range of a hundred degrees, and for water the specific heat changes by less than one percent between 0 °C and 100 °C. Alloys, composites, soils and food products need a measured value or one from the manufacturer. Use the same mass basis as the table: some references list molar heat capacity in J/(mol·K), which must be converted using molar mass before you enter it.
Connecting joules to power and cost
Heat in joules turns into time and cost with a power rating. A 1,500 W kettle element delivering all its power to the water would need 83,720 / 1,500, about 55.8 s, to supply the energy for the 1 kg example. Real kettles lose some heat to the body and air, so the time is longer. To convert joules to kilowatt-hours divide by 3,600,000. This lets you compare the energy involved in heating with the price per kWh on your utility bill. Keep in mind that the page gives the ideal energy and says nothing about losses or heater efficiency.
Constant specific heat and no phase change
The calculator assumes a constant specific heat over the interval and no phase change. Melting ice, boiling water, or any transition requires latent heat, which this page does not include. It also assumes the entire mass changes temperature uniformly, so it does not handle gradients inside a large object. The result is a scalar educational estimate and requires finite values. It offers no thermal safety assessment, so any work involving hot surfaces, pressure vessels or heating equipment should follow the relevant safety rules and standards. Gases add one more wrinkle: heating at constant volume and at constant pressure need different specific heats, and the constant-pressure value is larger because some energy goes into expansion work. A sample that exchanges heat with a container, as in a calorimeter, also warms the container, so include its heat capacity when precision matters.