Heat capacity calculator
This heat capacity calculator gives the temperature-dependent ideal-gas heat capacity Cp of nitrogen, oxygen, air, CO₂, water vapor, methane, CO, hydrogen and argon from the NIST Shomate equations, together with Cv, γ and a Cp–T chart, and integrates Cp between two temperatures to get ΔH, the mean Cp and ΔS.
Heat capacity calculator: Cp, Cv and γ at a temperature
Heat capacity calculator: ΔH, mean Cp and ΔS between two temperatures
How to use the heat capacity calculator
Pick a gas and a temperature in the first panel to get the molar heat capacity Cp, the specific heat cp per kilogram, Cv, the heat capacity ratio γ and a plot of Cp against temperature. The second panel integrates Cp between two temperatures: it returns the enthalpy change ΔH, the mean heat capacity, the entropy change and the internal energy change, and, if you enter an amount, the total heat needed at constant pressure. Optional pressures add the −R·ln(P₂/P₁) term to the entropy. To use coefficients from a textbook or another database, choose Custom and select the equation form. The heat capacity calculator shows the coefficients and every substitution under “Show the working”.
Why heat capacity depends on temperature
A gas stores energy in translation, rotation and vibration of its molecules. Translation and rotation are fully active at room temperature, but vibrational modes switch on gradually as the temperature rises. A monatomic gas such as argon has no rotation or vibration, so its Cp stays at 5R/2 = 20.79 J/(mol·K) at all temperatures. Nitrogen starts near 7R/2 = 29.1 J/(mol·K) and climbs toward 37 J/(mol·K) at 3000 K. CO₂, with four vibrational modes, rises from 37.1 J/(mol·K) at 298 K to 51.4 J/(mol·K) at 800 K and about 58 J/(mol·K) at 1500 K. Using a single room-temperature value for a combustion gas or a furnace calculation therefore underestimates the heat by 20–40%, which is why a temperature-dependent heat capacity calculator is needed for these problems; for liquids, solids and small temperature changes the Specific Heat Calculator with a constant c is usually enough.
The Shomate equation used by the heat capacity calculator
The NIST Chemistry WebBook publishes Shomate coefficients, fitted to the NIST-JANAF thermochemical tables, for hundreds of gases, usually in two or three temperature ranges. The heat capacity calculator stores the coefficients for nine gases and integrates each range separately, so a ΔH from 300 K to 1500 K for CO₂ correctly switches from the 298–1200 K fit to the 1200–6000 K fit. For an ideal gas, Cv = Cp − R and γ = Cp/Cv. Air is treated as an ideal mixture of 78.08% N₂, 20.95% O₂, 0.93% Ar and 0.04% CO₂ by mole, which reproduces the familiar cp = 1.005 kJ/(kg·K) at 25 °C.
Worked example: heating nitrogen from 298.15 K to 800 K
This is the default of the second panel of the heat capacity calculator. The interval crosses the 500 K boundary, so the heat capacity calculator integrates the 100–500 K fit from 298.15 to 500 K (5.911 kJ/mol) and the 500–2000 K fit from 500 to 800 K (9.135 kJ/mol), for a total ΔH = 15.046 kJ/mol. The NIST-JANAF table value of H(800 K) − H(298.15 K) for N₂ is 15.046 kJ/mol, so the integration matches the tables to the last digit. The mean heat capacity is 15,046 / 501.85 = 29.98 J/(mol·K), and the entropy change at constant pressure is 29.41 J/(mol·K). For 1 kg of nitrogen (35.70 mol) the heat required is 537.1 kJ, and Δh = 537.1 kJ/kg.
In the first panel of the heat capacity calculator, CO₂ at 800 K gives Cp = 24.99735 + 55.18696 × 0.8 − 33.69137 × 0.64 + 7.948387 × 0.512 − 0.136638 / 0.64 = 51.44 J/(mol·K), or 1.169 kJ/(kg·K), with Cv = 43.13 J/(mol·K) and γ = 1.193. At 298 K the same gas has γ = 1.29, which shows why compressor and nozzle calculations for hot gases must not use room-temperature γ.
Heat capacity of common gases at several temperatures
Ideal-gas Cp in J/(mol·K), calculated from the NIST Shomate coefficients used by the heat capacity calculator (identical to the JANAF tables within about 0.05 J/(mol·K)).
| Gas | 300 K | 500 K | 800 K | 1000 K | 1500 K | γ at 300 K |
|---|---|---|---|---|---|---|
| N₂ | 29.12 | 29.58 | 31.44 | 32.69 | 34.85 | 1.400 |
| O₂ | 29.39 | 31.08 | 33.74 | 34.86 | 36.55 | 1.394 |
| Air | 29.11 | 29.82 | 31.83 | 33.04 | 35.08 | 1.400 |
| CO₂ | 37.22 | 44.61 | 51.44 | 54.30 | 58.40 | 1.288 |
| H₂O (vapor) | 33.60 | 35.22 | 38.74 | 41.27 | 47.11 | 1.329 |
| CH₄ | 35.71 | 46.35 | 62.93 | 71.79 | 86.68 | 1.303 |
| CO | 29.15 | 29.82 | 31.88 | 33.18 | 35.22 | 1.399 |
| H₂ | 28.85 | 29.26 | 29.62 | 30.20 | 32.30 | 1.405 |
| Ar | 20.79 | 20.79 | 20.79 | 20.79 | 20.79 | 1.667 |
Mean heat capacity: which average the heat capacity calculator uses
Many energy balances use a mean Cp so that ΔH = Cp,mean·(T₂ − T₁). The correct mean for enthalpy is the integral divided by the temperature difference, which is what this heat capacity calculator reports; the arithmetic average of Cp(T₁) and Cp(T₂) is only an approximation and is noticeably off for strongly curved Cp, for example methane over a wide range. For entropy the right average is different: Cp,mean,S = ΔS/ln(T₂/T₁), a logarithmic mean, also shown in the results. Tables of “mean heat capacity from 25 °C” in combustion handbooks are the enthalpy mean with T₁ fixed at 25 °C.
Common mistakes when using a heat capacity calculator
Wrong temperature variable. Shomate coefficients use t = T/1000 in kelvin; Felder and Rousseau’s polynomials use T in °C and give kJ/(mol·°C); Smith, Van Ness and Abbott give Cp/R with T in K. Plugging one set into another’s formula gives nonsense, so convert coefficients before using the custom option of the heat capacity calculator. Mixing molar and mass units. Divide J/(mol·K) by M in g/mol to get kJ/(kg·K). Using ideal-gas Cp for a dense gas or vapor near saturation. Steam at 10 bar and 200 °C has cp ≈ 2.4 kJ/(kg·K), far above the ideal-gas value of 1.94; use the steam tables there. Extrapolating fits. Polynomials can bend sharply outside their range; the calculator refuses temperatures below the NIST range. Forgetting latent heat. Heating water from liquid to vapor needs the enthalpy of vaporization, which the Enthalpy Calculator adds.
Related calculators
For constant specific heat, mixing and calorimetry, use the Specific Heat Calculator. Combine sensible and latent heat with the Enthalpy Calculator, and put the result into a stream balance with the Energy Balance Calculator or the Heat Duty Calculator.
- Specific Heat Calculator
- Enthalpy Calculator
- Entropy Calculator
- Heat Duty Calculator
- Energy Balance Calculator
- All chemical engineering calculators
Frequently asked questions
What is the difference between Cp and Cv?
The heat capacity calculator reports both. Cp is the heat capacity at constant pressure, Cv at constant volume. At constant pressure the gas also does expansion work, so Cp is larger; for an ideal gas Cp − Cv = R = 8.314 J/(mol·K).
Why does Cp of a gas increase with temperature?
Molecular vibrations become excited at higher temperatures and store additional energy. Monatomic gases have no vibrations, so their Cp stays at 5R/2.
How do I calculate ΔH with a temperature-dependent Cp?
Integrate Cp(T) from T₁ to T₂. For the Shomate form, ΔH = 1000·[A·t + B·t²/2 + C·t³/3 + D·t⁴/4 − E/t] between t₁ and t₂, with t = T/1000. The second panel of the heat capacity calculator does this across all temperature ranges.
What is the heat capacity ratio of air?
γ = Cp/Cv ≈ 1.400 at room temperature, falling to about 1.34 at 1000 K as Cp increases.
Is this heat capacity calculator free?
Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.