Physics

Specific Heat Calculator (q = mcΔT)

Heat energy needed to change a material's temperature, with common specific-heat presets.

Real Larzscript running in your browser74 automated checksOpen source · MITNo sign-up · your inputs never leave your device

Heat transfer (q = mcΔT)

Heat energy q
—
Show the Larzscript program that just ran
Run a calculation to see the exact program.

This is the real program the page sent to the Larzscript interpreter (compiled to WebAssembly) in your browser. The library it imports is the same code the automated tests check.

The formula

q = m c ΔT

ΔT can be in kelvin or Celsius interchangeably here since a 1 K change equals a 1 °C change (only the zero points differ). Specific heats above are typical values in J/(kg·K); real materials vary slightly with temperature and purity.

Worked example, computed above

1 kg of water heated by 10 K needs 41 860 J.

What is verified

Mass, specific heat and ΔT each round-trip exactly back out of a computed q, in both directions — see tests/test_mechanics.lz.

Frequently asked questions

What is specific heat?

c is the energy needed to raise 1 kg of a substance by 1 K. Water's is unusually high (4186 J/(kg·K)), so it takes 41 860 J to warm 1 kg of water by 10 K — more than most metals need for the same mass and temperature change.

How much energy to boil a kettle?

1.5 kg of water heated 80 K (say, 20 °C to 100 °C) needs 502 320 J — this ignores the extra latent heat needed to actually turn water into steam once it reaches 100 °C.

Why do metals heat up faster than water?

Their specific heat is much lower — aluminum needs about 1/4.6 the energy per kilogram-kelvin that water does, iron about 1/9 — so the same heat input raises a metal's temperature much more.

Does this formula apply to phase changes?

No — q = mcΔT is for heating within one phase (solid, liquid or gas) only. Melting or boiling needs a separate latent-heat calculation at constant temperature.

Every number on this page is computed by the open-source larzscript-physics library (mechanics, physmath), written in Larzscript, and checked against independent references in its test suite. How it is verified →