Relation Between Cp and Cv

Heat a gas in a rigid sealed can, and every joule of heat raises its internal energy. Heat the same gas in a cylinder with a free piston, and some of that energy must first push the piston outward. This is why CpC_p always exceeds CvC_v for a real, expandable substance. Understanding the size of that gap connects the microscopic idea of stored kinetic and potential energy to the macroscopic, easily measured quantities CpC_p and CvC_v. The relation matters because CpC_p is what calorimeters at atmospheric pressure actually measure, while CvC_v is the quantity that connects directly to molecular energy storage. Chemists need a bridge between the two. For an ideal gas that bridge is stunningly simple: Cp−Cv=nRC_p - C_v = nR. For real substances the bridge involves how much a material expands on heating and how strongly it resists compression. This article derives both relations from the First Law. You will see the general thermodynamic identity first. Then you will see it specialize to the ideal gas result. Finally, two worked examples show the size of the correction for a real gas and a liquid, and connections to adiabatic and Joule–Thomson processes are previewed.

Key takeaways
  • CpC_p and CvC_v differ because constant-pressure heating does expansion work; constant-volume heating does not.
  • The general relation is Cp−Cv=TVα2/κTC_p - C_v = TV\alpha^2/\kappa_T, built from the expansion coefficient α\alpha and isothermal compressibility κT\kappa_T.
  • For an ideal gas this collapses exactly to Cp−Cv=nRC_p - C_v = nR, independent of temperature, pressure, or identity of the gas.
  • For real gases and especially liquids and solids, Cp−CvC_p - C_v is small but never exactly zero, and depends on α\alpha and κT\kappa_T.
  • The derivation rests entirely on the First Law and the definition of enthalpy, H=U+pVH = U + pV.
  • Key idea: the gap between CpC_p and CvC_v measures the energy diverted into expansion work rather than into raising temperature.
The core insight

Because enthalpy is internal energy plus a pVpV term, heating at constant pressure must supply extra energy to do expansion work in addition to raising UU; the general excess Cp−Cv=TVα2/κTC_p - C_v = TV\alpha^2/\kappa_T quantifies that extra energy for any substance, and it reduces exactly to nRnR for an ideal gas because (∂U/∂V)T=0(\partial U/\partial V)_T = 0 there.

The physical picture

Consider two identical samples of gas, same nn, same starting TT and pp. Sample A sits in a rigid, sealed container: its volume cannot change. Sample B sits in a cylinder capped by a frictionless, weighted piston held at constant external pressure. Supply the same small quantity of heat, dqdq, to both. In sample A, all of that heat raises the internal energy: dqV=CV dTdq_V = C_V\,dT, by definition. In sample B, the gas absorbs the same tendency to heat up, but as TT rises the gas also expands against the piston, doing work p dVp\,dV on the surroundings. Some of the incoming heat is spent lifting the piston rather than accelerating molecules. To achieve the same temperature rise dTdT, sample B needs more heat. Therefore Cp>CvC_p > C_v. There are two contributions to this extra heat. First, there is the mechanical work of pushing back the atmosphere, p dVp\,dV. Second, if the gas is not ideal, expanding the gas also changes its internal energy at constant temperature — intermolecular attractions must be overcome or relieved. This second contribution is captured by the "internal pressure" (∂U/∂V)T(\partial U/\partial V)_T. For an ideal gas this internal-pressure term vanishes identically, because ideal-gas internal energy depends on temperature alone. That is precisely why the ideal-gas result collapses to the strikingly clean nRnR.

Figure
Two identical heating experiments: rigid container versus piston-restrained expansion
Rigid container Constant V dq subscript V equals C subscript V dT heat q in, no volume change Piston at constant p dq subscript p equals C subscript p dT piston rises, gas does p dV of work same heat q, same starting T and p

The general relation shows how the size of that gap depends on two measurable material properties: the isobaric expansion coefficient,

α=1V(∂V∂T)p\alpha = \frac{1}{V}\left(\frac{\partial V}{\partial T}\right)_p

and the isothermal compressibility,

κT=−1V(∂V∂p)T\kappa_T = -\frac{1}{V}\left(\frac{\partial V}{\partial p}\right)_T

A substance that expands a lot on heating (α\alpha large) and is easy to compress (κT\kappa_T large) shows a bigger Cp−CvC_p - C_v gap. Liquids and solids have small α\alpha and small κT\kappa_T, so their gap is tiny, often just a few percent of CpC_p. Gases, especially near a critical point, can show a large gap.

Figure
Cp minus Cv for water across phases at 25 degrees Celsius, schematic bar comparison
Cp minus Cv per mole, order of magnitude 0 Liquid water about 0.4 J per mol K Ideal gas model 8.314 J per mol K Steam near critical point, much larger Vertical axis is qualitative, not to scale

The core relations

Cp−Cv=[p+(∂U∂V)T](∂V∂T)pC_p - C_v = \left[p + \left(\frac{\partial U}{\partial V}\right)_T\right]\left(\frac{\partial V}{\partial T}\right)_p

where: the bracket is the total pressure resisting expansion, mechanical plus internal, and the derivative is how volume grows with temperature at constant pp.

Cp−Cv=TVα2κTC_p - C_v = \frac{TV\alpha^2}{\kappa_T}

where: α\alpha is the isobaric expansion coefficient, κT\kappa_T is the isothermal compressibility, TT and VV are temperature and volume.

Cp−Cv=nRC_p - C_v = nR

where: valid exactly for an ideal gas, nn is moles and R=8.314 J K−1mol−1R = 8.314\ \text{J K}^{-1}\text{mol}^{-1}.

Derivation AFrom the First Law to Cp − Cv = nR

Goal. Starting from the First Law and the definition of enthalpy, derive the general expression for Cp−CvC_p - C_v, then specialize it to an ideal gas.

Step 1: Write internal energy as a function of TT and VV. Treat U=U(T,V)U = U(T,V). Its total differential is

dU=(∂U∂T)VdT+(∂U∂V)TdVdU = \left(\frac{\partial U}{\partial T}\right)_V dT + \left(\frac{\partial U}{\partial V}\right)_T dV

The first term defines CVC_V, since by definition CV=(∂U/∂T)VC_V = (\partial U/\partial T)_V.

Step 2: Insert the First Law. The First Law gives dq=dU+p dVdq = dU + p\,dV for a closed system doing only expansion work. Substituting Step 1,

dq=CV dT+(∂U∂V)TdV+p dVdq = C_V\,dT + \left(\frac{\partial U}{\partial V}\right)_T dV + p\,dV

Step 3: Impose constant pressure and divide by dTdT. At constant pp, divide through by dTdT and hold pp fixed throughout:

(dqdT)p=CV+[(∂U∂V)T+p](∂V∂T)p\left(\frac{dq}{dT}\right)_p = C_V + \left[\left(\frac{\partial U}{\partial V}\right)_T + p\right]\left(\frac{\partial V}{\partial T}\right)_p

The left side is CpC_p by definition, since heat supplied at constant pressure equals Cp dTC_p\,dT. Rearranging gives the boxed general relation quoted above:

Cp−Cv=[p+(∂U∂V)T](∂V∂T)pC_p - C_v = \left[p + \left(\frac{\partial U}{\partial V}\right)_T\right]\left(\frac{\partial V}{\partial T}\right)_p

Step 4: Rewrite the bracket using a thermodynamic identity. A standard result from combining the First and Second Laws (proved via a Maxwell relation from dU=TdS−pdVdU = TdS - pdV) gives

(∂U∂V)T=T(∂p∂T)V−p\left(\frac{\partial U}{\partial V}\right)_T = T\left(\frac{\partial p}{\partial T}\right)_V - p

Substituting this into the bracket, the mechanical pressure pp cancels exactly:

p+(∂U∂V)T=T(∂p∂T)Vp + \left(\frac{\partial U}{\partial V}\right)_T = T\left(\frac{\partial p}{\partial T}\right)_V

Step 5: Convert to expansion coefficient and compressibility. Using the cyclic rule for partial derivatives of pp, VV, TT,

(∂p∂T)V=−(∂V/∂T)p(∂V/∂p)T=ακT\left(\frac{\partial p}{\partial T}\right)_V = -\frac{(\partial V/\partial T)_p}{(\partial V/\partial p)_T} = \frac{\alpha}{\kappa_T}

Combining Steps 3 through 5,

Cp−Cv=T(ακT)(αV)=TVα2κTC_p - C_v = T\left(\frac{\alpha}{\kappa_T}\right)\left(\alpha V\right) = \frac{TV\alpha^2}{\kappa_T}

This is the fully general result, valid for gas, liquid, or solid.

Step 6: Specialize to the ideal gas. For nn moles of ideal gas, pV=nRTpV = nRT, so at constant pp,

(∂V∂T)p=nRp\left(\frac{\partial V}{\partial T}\right)_p = \frac{nR}{p}

Also, for an ideal gas the internal energy depends on TT alone (a direct consequence of no intermolecular forces), so

(∂U∂V)T=0\left(\frac{\partial U}{\partial V}\right)_T = 0

Substituting both into the Step 3 result:

Cp−Cv=[p+0]⋅nRp=nRC_p - C_v = \left[p + 0\right]\cdot\frac{nR}{p} = nR

Boxed result:

Cp−Cv=nR\boxed{C_p - C_v = nR}

for an ideal gas — exact, temperature-independent, and identical for every ideal gas regardless of atomicity.

Worked examples

Example 1 — Molar heat capacities of nitrogen gas (foundational). Nitrogen, N₂, behaves closely as an ideal diatomic gas at room temperature. Equipartition predicts translational plus rotational contributions to molar internal energy:

CV,m=52RC_{V,m} = \frac{5}{2}R

because a linear diatomic has 3 translational + 2 rotational quadratic degrees of freedom (vibration is frozen out at 298 K). Numerically,

CV,m=52(8.314 J K−1mol−1)=20.79 J K−1mol−1C_{V,m} = \frac{5}{2}(8.314\ \text{J K}^{-1}\text{mol}^{-1}) = 20.79\ \text{J K}^{-1}\text{mol}^{-1}

Apply the ideal-gas relation per mole (n=1n=1):

Cp,m=CV,m+R=20.79+8.314=29.10 J K−1mol−1C_{p,m} = C_{V,m} + R = 20.79 + 8.314 = 29.10\ \text{J K}^{-1}\text{mol}^{-1}

Check against experiment: the measured Cp,mC_{p,m} of N₂ near 298 K is about 29.1 J K⁻¹mol⁻¹ — excellent agreement, confirming both the equipartition estimate for CVC_V and the exactness of Cp−Cv=RC_p - C_v = R for a near-ideal diatomic gas. Sanity check: the ratio γ=Cp,m/CV,m=29.10/20.79=1.40\gamma = C_{p,m}/C_{V,m} = 29.10/20.79 = 1.40, the textbook value for a diatomic ideal gas, and a number you will meet again when computing adiabatic expansions.

Example 2 — Real-gas correction for carbon dioxide near room temperature (applied, harder). CO₂ is noticeably non-ideal near 300 K. Suppose at T=300 KT = 300\ \text{K} and molar volume Vm=5.00×10−4 m3 mol−1V_m = 5.00 \times 10^{-4}\ \text{m}^3\,\text{mol}^{-1} (roughly 20 times the ideal dilute-gas molar volume at 1 bar, i.e., a moderately compressed real gas), measurements give

α=3.66×10−3 K−1,κT=1.11×10−3 atm−1=1.096×10−8 Pa−1\alpha = 3.66\times 10^{-3}\ \text{K}^{-1}, \qquad \kappa_T = 1.11\times 10^{-3}\ \text{atm}^{-1} = 1.096\times 10^{-8}\ \text{Pa}^{-1}

(values chosen to be representative of CO₂ under these conditions; convert κT\kappa_T to SI: 1 atm−1=1/(1.013×105 Pa)=9.87×10−6 Pa−11\ \text{atm}^{-1} = 1/(1.013\times10^5\ \text{Pa}) = 9.87\times10^{-6}\ \text{Pa}^{-1}, so 1.11×10−3 atm−1×9.87×10−6 Pa−1atm=1.096×10−8 Pa−11.11\times10^{-3}\ \text{atm}^{-1} \times 9.87\times10^{-6}\ \text{Pa}^{-1}\text{atm} = 1.096\times10^{-8}\ \text{Pa}^{-1}). Apply the general formula per mole:

Cp,m−CV,m=TVmα2κTC_{p,m} - C_{V,m} = \frac{TV_m\alpha^2}{\kappa_T}

Compute the numerator:

TVmα2=(300 K)(5.00×10−4 m3)(3.66×10−3 K−1)2TV_m\alpha^2 = (300\ \text{K})(5.00\times10^{-4}\ \text{m}^3)(3.66\times10^{-3}\ \text{K}^{-1})^2
=300×5.00×10−4×1.340×10−5=2.010×10−6 m3 K= 300 \times 5.00\times10^{-4} \times 1.340\times10^{-5} = 2.010\times10^{-6}\ \text{m}^3\,\text{K}

Divide by κT\kappa_T:

Cp,m−CV,m=2.010×10−6 m3 K1.096×10−8 Pa−1C_{p,m}-C_{V,m} = \frac{2.010\times10^{-6}\ \text{m}^3\,\text{K}}{1.096\times10^{-8}\ \text{Pa}^{-1}}

Units: m3 K×Pa=J K−1\text{m}^3\,\text{K}\times\text{Pa} = \text{J K}^{-1} (since Pa⋅m3=J\text{Pa}\cdot\text{m}^3 = \text{J}), giving

Cp,m−CV,m=1.834×102 J K−1mol−1≈183 J K−1mol−1C_{p,m}-C_{V,m} = 1.834\times10^{2}\ \text{J K}^{-1}\text{mol}^{-1} \approx 183\ \text{J K}^{-1}\text{mol}^{-1}

This is roughly 22 times larger than the ideal-gas value of R=8.314 J K−1mol−1R = 8.314\ \text{J K}^{-1}\text{mol}^{-1}. That large factor is physically sensible: near-critical or moderately compressed CO₂ has a much larger α\alpha and κT\kappa_T than a dilute ideal gas, because the gas is close to conditions where small pressure or temperature changes cause large volume swings. As VmV_m increases toward the ideal-dilute limit, both α→1/T\alpha \to 1/T and κT→1/p\kappa_T \to 1/p, and the ratio smoothly reduces to nRnR, confirming internal consistency of the general formula with the ideal limit.

Limiting cases & common traps

SituationWhat happens to Cp−CvC_p - C_v
Ideal gas, any TT, ppExactly nRnR, always positive
Real gas, dilute limitApproaches nRnR as p→0p \to 0
Real gas near critical pointCan be far larger than nRnR, diverges at the critical point itself
Liquids and solidsSmall but nonzero; typically a few percent of CpC_p
Hypothetical incompressible, non-expanding solidα→0\alpha \to 0 forces Cp−Cv→0C_p - C_v \to 0

The chemist behind it

The relation traces back to the foundational work connecting heat, work, and internal energy in the 1840s. James Prescott Joule's experiments establishing the mechanical equivalent of heat gave the First Law its experimental footing, and the immediate application to gases — comparing heating at constant volume against heating at constant pressure — became one of the first quantitative triumphs of the new thermodynamics. The clean result Cp−Cv=nRC_p - C_v = nR for ideal gases was recognized quickly afterward as a direct consequence of the equation of state, and it became a standard cross-check: measuring CpC_p calorimetrically and predicting CvC_v (or vice versa) without a second independent experiment.

Origins · 1 minJames Prescott Joule and how this was discovered
JP
James Prescott Joule
1818–1889 · Established the mechanical equivalent of heat, the experimental foundation beneath the First Law used throughout this derivation

Ask the tutor: How does this same internal-pressure term reappear when deriving the Joule–Thomson coefficient for a real gas?

Why does Cp − Cv equal nR only for ideal gases, not real ones

The ideal-gas derivation relies on two facts: pV=nRTpV = nRT gives a simple (∂V/∂T)p=nR/p(\partial V/\partial T)_p = nR/p, and (∂U/∂V)T=0(\partial U/\partial V)_T = 0 because there are no intermolecular forces. Real gases have attractive and repulsive forces, so compressing or expanding them at constant temperature does change internal energy. That nonzero (∂U/∂V)T(\partial U/\partial V)_T adds an extra term, making Cp−CvC_p - C_v deviate from nRnR, usually larger, especially near the critical point where volume becomes extremely sensitive to pressure and temperature.

Is Cp − Cv always positive

Yes, for any stable thermodynamic system, Cp−Cv≥0C_p - C_v \geq 0. This follows from the general formula Cp−Cv=TVα2/κTC_p - C_v = TV\alpha^2/\kappa_T: temperature and volume are always positive, α2\alpha^2 is a square so never negative, and κT\kappa_T must be positive for mechanical stability, since a stable substance shrinks under increased pressure. The only way the gap vanishes is if α=0\alpha = 0, meaning the substance does not expand on heating at all.

How does this relation connect to adiabatic processes

Adiabatic expansions and compressions of ideal gases use the heat capacity ratio γ=Cp/Cv\gamma = C_p/C_v in relations like pVγ=constantpV^\gamma = \text{constant}. Since Cp−Cv=nRC_p - C_v = nR pins down the gap exactly, knowing CvC_v alone (from equipartition or spectroscopy) lets you compute both CpC_p and γ\gamma without a second experiment. This is exactly the bridge used when deriving adiabat equations and the reversible adiabatic work formula.

Why does this relation matter for the Joule-Thomson effect

The Joule–Thomson coefficient measures temperature change with pressure at constant enthalpy, and its derivation also depends on (∂U/∂V)T(\partial U/\partial V)_T and how CpC_p differs from CvC_v in a real gas. The same internal-pressure correction term that makes Cp−Cv≠nRC_p - C_v \neq nR for real gases is the microscopic origin of nonzero Joule–Thomson cooling or heating, linking these two topics through a shared thermodynamic derivative.

Can Cp − Cv be measured directly without knowing alpha or kappa T

Often chemists measure CpC_p calorimetrically (easy at constant atmospheric pressure) and infer CvC_v using either the ideal-gas shortcut nRnR or, for precise real-substance work, tabulated α\alpha and κT\kappa_T values combined with the general formula. Direct constant-volume calorimetry is experimentally awkward for gases, so the algebraic relation is frequently more practical than direct measurement of CvC_v itself.

Before this

Where this leads