Following the energy
A gas flame under a pan of water, a slice of bread being digested, a cement kiln turning limestone into lime, a fertiliser plant making ammonia: each is a chemical reaction, and each one moves energy around. The flame and the bread release energy that warms the water or keeps you alive. The kiln has to be supplied with energy, about 178 kJ for every mole of limestone, which is one reason cement making is so energy-hungry. The ammonia plant releases heat, and its engineers must remove that heat steadily, or the reactor would overheat.
Thermochemistry is the bookkeeping of energy in chemical reactions. It answers practical questions with numbers. How much heat does burning a kilogram of propane give? Which stores more energy per gram, hydrogen or petrol? How many kilojoules are in a snack? How hot will a reactor get if its cooling fails? And it lets us calculate the energy of reactions nobody has measured directly, from a short table of numbers, because energy is conserved and some quantities depend only on where a system is, not on how it got there.
This lesson builds that bookkeeping from the first law of thermodynamics. The next lesson asks the deeper question of which way a reaction goes, and finds that energy alone does not decide it.
System, surroundings, heat and work
To keep accounts you must first say whose accounts they are. The system is the part of the world we study (the reacting chemicals), and the surroundings are everything else (the flask, the water bath, the air). Energy can cross the boundary between them in only two ways.
- Heat () is energy transferred because of a temperature difference. A hot reaction mixture loses heat to a cooler beaker.
- Work () is energy transferred in any other organised way. In chemistry the commonest is a gas pushing back the atmosphere as it forms, but electrical work (a battery driving a current) counts too, as you will see in Electrochemistry.
Neither heat nor work is something a system has. They are energy in transit, like a payment rather than a balance. What the system has is its internal energy : the total kinetic and potential energy of its molecules, including the energy stored in chemical bonds. When methane burns, the arrangement of atoms in CO₂ and H₂O has a lower internal energy than the arrangement in CH₄ and O₂, and the difference leaves as heat and work.
Analogy, not a formal construction
Think of internal energy as the balance of a bank account, and heat and work as two kinds of transaction, cash and bank transfer. The balance is a definite number at any moment. You cannot say how much of today's balance "is cash" and how much "is transfers"; that question has no answer. You can only say what flowed in and out, and by which route.
The IUPAC sign convention, used in this course, takes the system's point of view: and are positive when energy flows into the system. A reaction that warms its surroundings has and is called exothermic; one that cools them (dissolving some salts in water, or the cold packs used in first-aid kits) has and is endothermic. Some older engineering texts count work done by the system as positive, so always check the convention before comparing formulas.
The first law and enthalpy
Theorem— The first law of thermodynamics
For a closed system (no matter crosses the boundary), the change in internal energy equals the heat supplied to the system plus the work done on it:
For an isolated system, which exchanges neither heat nor work, : energy is conserved.
The first law is not derived from anything simpler. It is a summary of experience, sharpened in the 1840s by James Joule's measurements showing that a given amount of mechanical work always produces the same warming of water, however it is delivered.
Definition— state function
A state function is a property that depends only on the present state of the system (its composition, temperature, pressure, amount), not on the path by which it got there. , , and are state functions; and are not.
When a reaction happens in an open beaker, the pressure stays fixed at atmospheric pressure, and any gas produced has to push the atmosphere back. If the volume changes by against a constant external pressure , the system does work on the surroundings, so . If that is the only kind of work, the first law gives . This combination is useful enough to deserve a name.
Definition— enthalpy
The enthalpy of a system is . It is a state function, because , and are. At constant pressure, with no work other than expansion work, the heat absorbed equals the change in enthalpy: . At constant volume, no expansion work is done and .
So a reaction in an open flask measures , while a reaction in a sealed rigid container measures . The two differ only through . Solids and liquids barely change volume, so for a reaction at temperature in which the amount of gas changes by (treating the gases as ideal),
At 298 K, is only 2.48 kJ/mol, so the correction is small compared with typical reaction enthalpies of hundreds of kilojoules, but it is not zero.
Definition— standard state and standard enthalpy of formation
The standard state of a substance is its pure form at the standard pressure bar ( Pa); for a gas, the hypothetical ideal gas at 1 bar. A superscript marks standard quantities. The standard enthalpy of formation of a compound is the enthalpy change when one mole of it is formed from its elements, each in its reference state (the most stable form at that temperature and 1 bar: O₂(g), N₂(g), carbon as graphite, mercury as a liquid). By definition, for an element in its reference state.
Definition— heat capacity
The heat capacity at constant pressure is , the heat needed per kelvin of temperature rise. Per mole it is the molar heat capacity ; per gram, the specific heat capacity. Liquid water's is 4.18 J/(g K), or 75.3 J/(mol K), unusually large for so light a molecule because of its hydrogen bonds.
Calorimetry: measuring reaction energies
A calorimeter measures heat by measuring a temperature change of something whose heat capacity is known. The simplest kind, an insulated cup of water, works at constant pressure and measures directly for reactions in solution. For combustion, chemists use a bomb calorimeter: a sealed steel vessel (the "bomb") filled with oxygen at about 30 bar, holding a weighed sample, immersed in a carefully stirred, insulated bath of water.
Nobody knows the heat capacity of the steel, water, wires and stirrer from first principles, so the calorimeter is calibrated by burning a substance whose energy of combustion is certified. The usual choice is very pure benzoic acid, which releases about 26.43 kJ per gram under bomb conditions; national metrology institutes such as NIST sell certified samples.
Example— Measuring the energy in glucose
Yuki calibrates a bomb calorimeter by burning 0.9850 g of benzoic acid; the water warms by 2.614 K. The heat released is kJ, so the calorimeter's heat capacity is kJ/K.
She then burns 1.0230 g of glucose, C₆H₁₂O₆ (molar mass 180.16 g/mol), and the water warms by 1.598 K. The heat released is kJ, from mol, so kJ/mol (negative: the system lost energy).
To convert to , count gas moles in C₆H₁₂O₆(s) + 6 O₂(g) → 6 CO₂(g) + 6 H₂O(l): six on each side, so and kJ/mol. For methane, CH₄(g) + 2 O₂(g) → CO₂(g) + 2 H₂O(l), three moles of gas become one, , and is about 5 kJ/mol more negative than .
R = 8.314462618e-3 # gas constant, kJ/(mol K)
# 1. Calibrate: burning benzoic acid releases 26.434 kJ per gram in the bomb.
m_benzoic, dT_cal = 0.9850, 2.614 # g, K (an example run)
C_cal = m_benzoic * 26.434 / dT_cal # heat capacity of bomb + water, kJ/K
print(f"calorimeter constant C = {C_cal:.3f} kJ/K")
# 2. Measure: burn glucose in the same calorimeter.
m_glucose, dT = 1.0230, 1.598 # g, K
M_glucose = 180.156 # g/mol
q = C_cal * dT # heat released, kJ
dcU = -q / (m_glucose / M_glucose) # constant volume, so q_V = ΔU
print(f"heat released {q:.2f} kJ -> ΔcU = {dcU:.0f} kJ/mol")
# 3. From ΔU to ΔH: ΔH = ΔU + Δn_gas·RT.
# C6H12O6(s) + 6 O2(g) -> 6 CO2(g) + 6 H2O(l): Δn_gas = 6 - 6 = 0
print(f"glucose: Δn_gas = 0, so ΔcH = ΔcU = {dcU:.0f} kJ/mol")
# CH4(g) + 2 O2(g) -> CO2(g) + 2 H2O(l): Δn_gas = 1 - 3 = -2
dcH_methane = -890.3
dcU_methane = dcH_methane - (-2) * R * 298.15
print(f"methane: ΔcH = {dcH_methane} kJ/mol, ΔcU = {dcU_methane:.1f} kJ/mol "
f"(difference {dcH_methane - dcU_methane:.2f} kJ/mol, {100*abs(dcH_methane - dcU_methane)/890.3:.2f} %)")The correction for methane is about 5 kJ/mol, 0.56 % of the total: small, but larger than the uncertainty of a good bomb calorimeter, which is why careful work never skips it. Real measurements also correct for the heat from the ignition wire, for the small amounts of nitric acid formed from traces of nitrogen, and for heat leaking through the jacket; the procedures for these corrections were standardised in the twentieth century and are part of why combustion data are trustworthy to a few parts in ten thousand.
Bomb calorimetry is laboratory work: it uses oxygen under high pressure and is done only with trained supervision and certified equipment. The idea, though, is something you can explore safely in the kitchen with an adult: warm a measured mass of water on the hob and notice how much longer a full pan takes than a half-full one. The water's heat capacity is what a calorimeter uses as its measuring stick.
Hess's law and enthalpies of formation
In 1840 Germain Henri Hess, a Geneva-born chemist working in Saint Petersburg, reported that the heat of a reaction is the same whether it happens in one step or several. With the first law and the idea of a state function, we can see why.
Theorem— Hess's law
If a reaction can be written as the sum of other reactions, its enthalpy change is the sum of their enthalpy changes. In particular, for any reaction with stoichiometric numbers (negative for reactants, positive for products),
Proof
Enthalpy is a state function, so for going from the reactants' state to the products' state does not depend on the route. Take the route that first decomposes the reactants into their elements in their reference states, then builds the products from those elements. (The same atoms appear on both sides, so the same set of elements serves both steps.) Decomposing one mole of reactant is the reverse of forming it, with enthalpy change ; forming product contributes . Weighting each by the number of moles in the balanced equation gives .
∎
So a table of a few thousand enthalpies of formation gives the enthalpy of millions of possible reactions, including reactions too slow, too fast or too messy to measure directly. Nobody can burn carbon to exactly carbon monoxide without some carbon dioxide forming too, but the enthalpy of C + ½ O₂ → CO follows from the two clean combustions of carbon and of CO. The block below holds a small table (rounded values at 298.15 K and 1 bar, as tabulated in the NIST Chemistry WebBook and the NIST-JANAF tables; compilations differ in the last digit) and applies Hess's law to seven reactions.
# Standard enthalpies of formation at 298.15 K and 1 bar, kJ/mol (rounded;
# from the NIST Chemistry WebBook and the NIST-JANAF tables).
dHf = {
"H2(g)": 0.0, "O2(g)": 0.0, "N2(g)": 0.0, "C(graphite)": 0.0,
"CO(g)": -110.5, "CO2(g)": -393.5, "H2O(l)": -285.8, "H2O(g)": -241.8,
"CH4(g)": -74.8, "C3H8(g)": -104.7, "C2H5OH(l)": -277.7,
"C6H12O6(s)": -1273.3, "NH3(g)": -45.9, "CaCO3(s)": -1206.9, "CaO(s)": -635.1,
}
def reaction_enthalpy(reaction):
"""reaction: {species: stoichiometric number}, negative for reactants."""
return sum(nu * dHf[s] for s, nu in reaction.items())
reactions = {
"methane burns": {"CH4(g)": -1, "O2(g)": -2, "CO2(g)": 1, "H2O(l)": 2},
"propane burns": {"C3H8(g)": -1, "O2(g)": -5, "CO2(g)": 3, "H2O(l)": 4},
"ethanol burns": {"C2H5OH(l)": -1, "O2(g)": -3, "CO2(g)": 2, "H2O(l)": 3},
"glucose burns": {"C6H12O6(s)": -1, "O2(g)": -6, "CO2(g)": 6, "H2O(l)": 6},
"ammonia synthesis": {"N2(g)": -1, "H2(g)": -3, "NH3(g)": 2},
"limestone calcined": {"CaCO3(s)": -1, "CaO(s)": 1, "CO2(g)": 1},
"water-gas shift": {"CO(g)": -1, "H2O(g)": -1, "CO2(g)": 1, "H2(g)": 1},
}
for name, r in reactions.items():
print(f"{name:20s} ΔrH° = {reaction_enthalpy(r):8.1f} kJ/mol")
# Energy per gram of fuel (the higher heating value: water ends up liquid)
molar_mass = {"H2(g)": 2.016, "CH4(g)": 16.04, "C3H8(g)": 44.10,
"C2H5OH(l)": 46.07, "C6H12O6(s)": 180.16}
hydrogen = {"H2(g)": -1, "O2(g)": -0.5, "H2O(l)": 1}
fuels = {"hydrogen": ("H2(g)", hydrogen), "methane": ("CH4(g)", reactions["methane burns"]),
"propane": ("C3H8(g)", reactions["propane burns"]),
"ethanol": ("C2H5OH(l)", reactions["ethanol burns"]),
"glucose": ("C6H12O6(s)", reactions["glucose burns"])}
print()
for name, (fuel, r) in fuels.items():
per_mol = -reaction_enthalpy(r)
print(f"{name:9s} {per_mol:7.1f} kJ/mol {per_mol / molar_mass[fuel]:6.1f} kJ/g")The computed −2802.5 kJ/mol for glucose agrees with Yuki's calorimeter (−2803) to within the rounding of the table, and the ammonia synthesis value, −91.8 kJ/mol, is the heat an ammonia plant must carry away for every two moles of ammonia it makes. The water-gas shift, −41.2 kJ/mol, is the step that turns carbon monoxide and steam into extra hydrogen in industrial hydrogen production.
Note
Water appears twice in the table, as H₂O(l) and H₂O(g), 44.0 kJ/mol apart: the enthalpy of vaporisation at 25 °C. Always write the state. A fuel's higher heating value assumes the water produced condenses to liquid; the lower heating value leaves it as vapour and is smaller. Boilers that condense their exhaust steam recover part of the difference.
Kirchhoff's law: reaction enthalpies at other temperatures
Tables are printed at 298.15 K, but furnaces, engines and reactors run hot. How does change with temperature? Gustav Kirchhoff answered in 1858.
Theorem— Kirchhoff's law
At constant pressure, if no substance changes phase between and ,
If is roughly constant over the range, .
Proof
Differentiate with respect to at constant pressure. Each is , so . Integrating from to (the fundamental theorem of calculus, calculus of one variable) gives the result. Equivalently: heat the reactants from to , react at , and compare with reacting at and then heating the products; both routes connect the same two states, so their enthalpy changes are equal.
∎
A good test is the enthalpy of vaporisation of water, which we know at 25 °C from the table (44.0 kJ/mol) and can look up at the boiling point.
# Kirchhoff's law with a constant ΔCp: ΔH(T2) = ΔH(T1) + ΔCp (T2 - T1)
Cp = {"H2O(l)": 75.3, "H2O(g)": 33.6, # J/(mol K) at 298 K
"N2(g)": 29.1, "H2(g)": 28.8, "NH3(g)": 35.1}
def kirchhoff(dH1, reaction, T1, T2):
dCp = sum(nu * Cp[s] for s, nu in reaction.items()) / 1000 # kJ/(mol K)
return dH1 + dCp * (T2 - T1), dCp * 1000
vap = {"H2O(l)": -1, "H2O(g)": 1}
dH298 = -241.8 - (-285.8)
dH373, dCp = kirchhoff(dH298, vap, 298.15, 373.15)
print(f"vaporising water: ΔCp = {dCp:.1f} J/(mol K)")
print(f" ΔvapH(298 K) = {dH298:.2f} kJ/mol, ΔvapH(373 K) ≈ {dH373:.2f} kJ/mol (measured: 40.66)")
nh3 = {"N2(g)": -1, "H2(g)": -3, "NH3(g)": 2}
for T in (298.15, 500.0, 700.0):
dH, dCp = kirchhoff(-91.8, nh3, 298.15, T)
print(f"ammonia synthesis at {T:6.2f} K: ΔrH ≈ {dH:6.1f} kJ/mol (ΔCp = {dCp:.1f} J/(mol K))")The estimate for water, 40.87 kJ/mol at 100 °C, is within 0.6 % of the measured 40.66 kJ/mol (from the familiar 2257 kJ/kg). Vaporisation gets easier as water warms because the liquid, with its large heat capacity, has already stored more of the energy needed to pull the molecules apart. The ammonia estimate says the reaction becomes more exothermic as the temperature rises, by about 18 kJ/mol between room temperature and 700 K.
Fuels and food energy
The per-gram column of the Hess's law block is the one engineers care about when weight matters. Hydrogen releases 141.8 kJ/g, nearly three times as much as methane (55.5 kJ/g), which is why it fuels rockets. Per litre, though, hydrogen is poor: it is the least dense gas, and storing it compactly takes either about 700 bar of pressure or cooling to 20 K. Ethanol, with an oxygen atom already in each molecule, is "partly burnt" and gives only 29.7 kJ/g. Glucose, with six oxygens, gives 15.6 kJ/g.
The same numbers describe food. Your body "burns" glucose to CO₂ and water, not in a flame but through dozens of enzyme-controlled steps (Biochemistry), and because enthalpy is a state function the total energy released is the same 2803 kJ/mol. That is Hess's law at work in every cell.
Food labels use the Atwater factors, worked out at the end of the nineteenth century by Wilbur Atwater, who measured the heat produced by people living for days inside a room-sized calorimeter: about 17 kJ per gram of carbohydrate or protein, and 37 kJ per gram of fat (in older units 4, 4 and 9 kcal/g, where 1 kcal = 4.184 kJ). Protein's figure is lower than a bomb calorimeter would give, because the body excretes its nitrogen as urea, which still holds some energy.
Example— The energy in a snack bar
A label lists 6 g of protein, 8 g of fat and 25 g of carbohydrate. The energy is kJ, about 197 kcal. Fat supplies 36 % of the energy from 21 % of the mass.
A safe thing to try at home is to read the labels on a few foods in your kitchen and check their energy figures with the Atwater factors. Labels round each nutrient, and some foods (fibre, sugar alcohols) have their own factors, so expect agreement to within a few per cent rather than exactly.
How it is done today
Evaluated data. Professional thermochemistry rests on critically evaluated tables: the NIST-JANAF tables for gases and simple solids over wide temperature ranges, the CODATA key values, and the NIST Chemistry WebBook, which records the source of every number. Since the early 2000s, Branko Ruscic's group at Argonne has built the Active Thermochemical Tables, which treat all known measured and high-level computed reaction energies as one large network and solve for the most consistent set of enthalpies of formation, with uncertainties. When a new measurement arrives, the whole network updates: Hess's law used as a statistical tool.
Computed data. For molecules nobody has made, enthalpies of formation are computed. Group-additivity schemes, pioneered by Sidney Benson, add up contributions from fragments such as CH₃ or C=O and are accurate to a few kJ/mol for ordinary organic molecules. Quantum-chemical methods (composite schemes built on coupled-cluster theory) reach about 1 kJ/mol for small molecules; you will meet them in Computational chemistry.
Process safety. Before a reaction is scaled up from a flask to a tonne-scale reactor, chemical engineers measure its heat release in reaction calorimeters and adiabatic calorimeters, to be sure the plant's cooling can always remove heat faster than the reaction makes it. A flask has a large surface area for its volume and cools easily; a big vessel does not. Investigations published by bodies such as the U.S. Chemical Safety Board show how often industrial accidents begin with exactly this mismatch, which is why thermal hazard testing is a routine, regulated part of chemical manufacturing. The engineering side of energy balances is developed in the first law of thermodynamics in Lumenary ME.
Common misconceptions
Misconception
"Breaking chemical bonds releases energy." Breaking a bond always costs energy; forming one releases it. A reaction is exothermic when the bonds formed (in CO₂ and H₂O, for methane) are, in total, stronger than the bonds broken. The phrase "energy stored in bonds" is shorthand for "energy that would be released if these atoms formed stronger bonds".
Misconception
"Exothermic reactions happen by themselves, and endothermic ones cannot." Ice melts on a warm day, and an instant cold pack cools as its salt dissolves: both are endothermic and spontaneous. Whether a process goes depends on entropy as well as enthalpy, the subject of the next lesson. Conversely, methane and oxygen can sit together for years without reacting, because the speed of a reaction is a separate question (Chemical kinetics).
Misconception
"Heat and temperature are the same thing." Temperature is a property of a state; heat is energy in transit. A bath of warm water holds far more internal energy than a red-hot pin, though the pin is at the higher temperature. A calorimeter turns a temperature change into heat only through a known heat capacity.
Misconception
"Every element has an enthalpy of formation of zero." Only an element in its reference state does. Diamond's enthalpy of formation is +1.9 kJ/mol, ozone's +142.7 kJ/mol, and gaseous iodine's +62.4 kJ/mol, because graphite, O₂ and solid iodine are the reference forms.
Exercises
Use these values where needed (kJ/mol, 298.15 K): of CO(g) −110.5, CO₂(g) −393.5, H₂O(l) −285.8, CH₄(g) −74.8, NH₃(g) −45.9. Two exercises ask for Python functions; run them in the editor before submitting.
1. Thermochemistry
Warm-upHumanA gas in a cylinder is heated with 500 J of heat, and at the same time it expands, pushing a piston and doing 200 J of work on the surroundings. Using the IUPAC convention (, with energy into the system positive), what is of the gas, in joules?
2. Thermochemistry
Warm-upHumanMethane burning in oxygen is strongly exothermic. Which statement best explains why?
3. Thermochemistry
CoreHumanCarbon monoxide burns in air: . Using of CO(g) kJ/mol and of CO₂(g) kJ/mol, what is for the reaction as written, in kJ/mol? (Give an integer, with its sign.)
4. Thermochemistry
CoreHumanFor which of these reactions, at 298 K, is the difference between and largest in size?
5. Thermochemistry
CoreHumanHow many grams of methane (16.04 g/mol, kJ/mol) must burn to heat 1.00 kg of water from 20 °C to 100 °C, if every bit of the heat went into the water? Take the specific heat capacity of water as 4.18 J/(g K). Give the answer to the nearest gram.
6. Thermochemistry
Warm-upHumanA snack contains 5 g of protein, 10 g of fat and 20 g of carbohydrate. Using the Atwater factors (17 kJ/g for protein and carbohydrate, 37 kJ/g for fat), how many kilojoules does it provide?
7. Thermochemistry
CoreComputationalWrite reaction_enthalpy(reaction, table, elements), which returns the standard reaction enthalpy in kJ/mol by Hess's law.
reactionmaps each species to its stoichiometric number (negative for reactants), e.g.{"CH4(g)": -1, "O2(g)": -2, "CO2(g)": 1, "H2O(l)": 2}.tablemaps species to standard enthalpies of formation in kJ/mol.elementsis a set of elements in their reference states. They may be missing fromtable, and their enthalpy of formation is zero.- Any other species missing from the table must raise
KeyError(silently treating an unknown compound as zero would give a wrong answer without warning).
8. Thermochemistry
StretchComputationalOver wide temperature ranges is not constant. Suppose it varies linearly, , with in J/(mol K) and in J/(mol K²).
Write kirchhoff(dH1, T1, T2, a, b=0.0), which takes at in kJ/mol and returns at in kJ/mol, by integrating Kirchhoff's law exactly. Mind the units.
Further reading and resources
- NIST Chemistry WebBook · National Institute of Standards and TechnologyEnthalpies of formation, heat capacities and combustion data for thousands of compounds, each with its source.
- NIST-JANAF Thermochemical Tables · National Institute of Standards and TechnologyCritically evaluated thermochemical tables for gases and simple solids, over wide temperature ranges.
- Active Thermochemical Tables · Argonne National LaboratoryEnthalpies of formation obtained by solving a large network of measured and computed reaction energies together.
- IUPAC Green Book: Quantities, Units and Symbols in Physical Chemistry · IUPACThe conventions for symbols, signs and standard states used in this lesson.
- MIT OpenCourseWare 5.60: Thermodynamics and Kinetics · Massachusetts Institute of TechnologyA complete open university course covering this level of Lumenary Chemistry.
- FoodData Central · United States Department of AgricultureMeasured compositions and energy values of foods.
- U.S. Chemical Safety and Hazard Investigation BoardInvestigation reports on industrial incidents, many of which involve heat released faster than it could be removed.