Thermal Energy Calculator (Q = mcΔT)
Enter any three of the four variables in the thermal energy equation Q = mcΔT to solve for the fourth. Choose a material from the preset list or enter a custom specific heat value. Switch freely between metric and imperial units for mass, temperature, and energy. The calculator shows a full step-by-step solution and a reference table of specific heat values for common substances.
Formula
Worked example
How much energy does it take to heat 2 kg of water from 20°C to 100°C? Q = 2 kg × 4182 J/(kg·K) × 80 K = 669,120 J (669.1 kJ, 159.9 kcal, 634.2 BTU).
What is thermal energy and how is it calculated?
Thermal energy (sometimes called heat energy) is the energy transferred to or from a substance because of a temperature difference. For a single-phase process where no melting or boiling occurs, the thermal energy exchanged is described by Q = mcΔT, where Q is the heat in joules, m is the mass in kilograms, c is the specific heat capacity of the material in J/(kg·K), and ΔT is the temperature change in kelvin or degrees Celsius (the delta is the same in both scales). A positive Q means energy is absorbed (heating), and a negative Q means energy is released (cooling). The formula is fundamental to engineering heat exchangers, sizing boilers and radiators, and understanding how long a kettle takes to boil.
What is specific heat capacity?
Specific heat capacity is the amount of energy needed to raise one kilogram of a substance by one kelvin. It is an intrinsic property of the material: water requires 4182 J per kilogram per kelvin, while lead needs only 128 J. This is why a metal pan heats up almost instantly while the water inside it takes much longer - the water stores far more energy per kilogram. In imperial units, specific heat is measured in BTU/(lb·°F). One BTU/(lb·°F) equals 4184 J/(kg·K), which is nearly exactly the specific heat of water, because the BTU was originally defined as the energy needed to raise one pound of water by one degree Fahrenheit.
How to use this calculator
Choose which variable you want to find from the "Solve for" dropdown. The other three become inputs. If you are calculating thermal energy (Q), enter the mass, the specific heat or pick a material from the preset list, and the temperature change. For mass, enter the energy, specific heat and temperature change. For specific heat, provide all three of mass, energy and temperature change, and the result tells you the material property. For temperature change, enter energy, mass and specific heat. Units switch independently: mass can be in kg, g, lb or oz; temperature change can be in degrees Celsius / kelvin or Fahrenheit; energy can be in joules, kilojoules, calories, kilocalories, BTU, or kilowatt-hours. The result appears in all common energy units at once, so you never have to convert separately.
Phase changes: when Q = mcΔT does not apply
Q = mcΔT only describes sensible heat - the energy that changes temperature without changing the state of the material. When a substance melts or boils, its temperature stays constant while it absorbs latent heat. At 0°C ice absorbs 334,000 J/kg (the latent heat of fusion) before any temperature rise begins; water at 100°C absorbs another 2,260,000 J/kg before turning fully to steam. If your calculation spans a phase change, split it into three stages: heat or cool to the transition point with Q = mcΔT, add the latent heat Q = mL, then continue with Q = mcΔT for the second phase. This calculator covers the single-phase portion only.
Specific heat capacities of common substances
| Substance | State | c (J/kg·K) | Relative to water |
|---|---|---|---|
| Ammonia | Gas / liquid | 4700 | 1.12x |
| Water | Liquid | 4182 | 1.00x |
| Seawater | Liquid | 3993 | 0.95x |
| Milk | Liquid | 3931 | 0.94x |
| Ethanol | Liquid | 2440 | 0.58x |
| Glycerol | Liquid | 2430 | 0.58x |
| Ice | Solid | 2093 | 0.50x |
| Wood (dry) | Solid | 1700 | 0.41x |
| Air | Gas | 1005 | 0.24x |
| Steam | Gas | 2010 | 0.48x |
| Aluminium | Metal | 897 | 0.21x |
| Concrete | Solid | 880 | 0.21x |
| Basalt | Rock | 840 | 0.20x |
| Brick | Solid | 840 | 0.20x |
| Glass | Solid | 837 | 0.20x |
| Granite | Rock | 790 | 0.19x |
| Titanium | Metal | 520 | 0.12x |
| Steel | Metal | 490 | 0.12x |
| Iron | Metal | 449 | 0.11x |
| Zinc | Metal | 388 | 0.09x |
| Brass | Metal | 377 | 0.09x |
| Copper | Metal | 385 | 0.09x |
| Silver | Metal | 235 | 0.06x |
| Mercury | Liquid | 140 | 0.03x |
| Tungsten | Metal | 134 | 0.03x |
| Lead | Metal | 128 | 0.03x |
| Gold | Metal | 129 | 0.03x |
Values at approximately 25°C and standard pressure. Source: Incropera, Fundamentals of Heat and Mass Transfer, 7th ed.
Frequently asked questions
What is the formula for thermal energy?
The standard formula is Q = mcΔT, where Q is the thermal energy in joules, m is the mass in kilograms, c is the specific heat capacity of the material in J/(kg·K), and ΔT is the change in temperature in kelvin or degrees Celsius. You can rearrange it to solve for any of the four variables.
How do I convert joules to BTU or kilocalories?
1 BTU = 1055.06 J, and 1 kcal = 4184 J. So to convert joules to BTU, divide by 1055.06; to convert to kcal, divide by 4184. This calculator displays the result in all common energy units automatically.
Why does water have such a high specific heat?
Water molecules form strong hydrogen bonds that require a large amount of energy to disrupt. This gives water a specific heat of 4182 J/(kg·K), about nine times higher than iron. This property is why water is used as a coolant in car radiators and industrial heat exchangers, why coastal climates are milder than inland ones, and why your body can regulate temperature through sweating.
What is the difference between heat and thermal energy?
Strictly speaking, heat is energy in transit due to a temperature difference, while thermal energy (internal energy) is the kinetic energy of molecules within a substance. In everyday engineering calculations and at the level this formula operates, the two terms are used interchangeably: Q = mcΔT gives the heat transferred, which equals the change in the thermal energy stored by the substance assuming no work is done.
Does this formula work for gases?
Yes, but you need to choose the right specific heat. Gases have two distinct values: specific heat at constant pressure (cp) and at constant volume (cv). For most engineering purposes such as air conditioning, cp is used because the gas is free to expand. At constant volume, cv applies instead. The preset for air in this calculator uses cp = 1005 J/(kg·K).
How do I calculate thermal energy for a temperature range spanning a phase change?
Divide the calculation into three stages. First, use Q = mcΔT to bring the material to the transition temperature (0°C for water). Then add the latent heat Q = mL (334,000 J/kg for ice melting). Finally apply Q = mcΔT again for the liquid phase. Sum all three values to get the total energy.