← thecodex.expert
Thermodynamics & Statistical Mechanics Hub Physicist Biographies
Definition Curious Exploring Deep Dive Sources
Equations of State & Gases · Concept

Ideal Gas Law

Reading time: 9 minConfidence: HighLast verified: October 2026

The ideal gas law, pV = nRT (equivalently pV = NkBT), is the equation of state of an ideal gas, a model gas of point particles that interact only through elastic collisions. It relates pressure p, volume V, amount n (or number N) and absolute temperature T through the molar gas constant R = 8.314462618 J mol−1 K−1. Real gases approach it at low density and at temperatures well above their condensation point.

Curious

One sentence that captures itFor most gases under everyday conditions, squeezing them raises the pressure, heating them raises the pressure, and one simple formula, pV = nRT, ties it all together.

The law combines several older observations: Boyle's law (1662), that at fixed temperature pressure times volume stays constant; Charles's and Gay-Lussac's laws, that volume or pressure grows in proportion to absolute temperature; and Avogadro's hypothesis (1811), that equal volumes of gases at the same temperature and pressure contain the same number of molecules. Émile Clapeyron combined them in 1834.

The same equation works whether the gas is helium, nitrogen or carbon dioxide, as long as the molecules are far apart compared with their size. It explains why tyres lose pressure on cold mornings, why hot-air balloons rise, and how many molecules fill a room (see Temperature).

Exploring

Worked examples(1) Molar volume at 273.15 K: at 100 kPa (IUPAC standard), Vm = RT/p = 22.71 L/mol; at 101.325 kPa (1 atm), 22.41 L/mol. (2) Density of dry air at 20 °C and 101.325 kPa: ρ = pM/RT with M = 28.97 g/mol gives 1.204 kg/m³. (3) A 12-litre car tyre at 230 kPa (absolute) and 20 °C holds n = pV/RT ≈ 1.13 mol of air. (Computed in Python.)
SymbolQuantitySI unit
pPressurePa
VVolumem³
nAmount of substancemol
RMolar gas constant, 8.314462618J mol−1 K−1
TAbsolute temperatureK
Common mistake — Commonly ConfusedTemperature in pV = nRT must be absolute (kelvin), never Celsius: doubling from 10 °C to 20 °C does not double the pressure, because in kelvin that is 283 K to 293 K. Pressure must also be absolute, not the gauge pressure shown on a tyre gauge, which reads pressure above atmospheric.

Deep Dive

Primary sourceClapeyron, É. (1834). “Mémoire sur la puissance motrice de la chaleur.” Journal de l'École Polytechnique, 14, 153–190.

Kinetic derivation. Treating molecules as point particles that collide elastically with the walls, the pressure is p = (1/3)(N/V)m⟨v²⟩. Combining with ⟨Ek⟩ = (3/2)kBT gives pV = NkBT, and R = NAkB. Since the 2019 SI redefinition both NA and kB are exact, so R is exact too. Bernoulli sketched this argument in 1738; Clausius, Maxwell and Boltzmann developed it into kinetic theory.

Where it fails. Near condensation or at high density, molecular size and attractions matter. The van der Waals equation, (p + an²/V²)(V − nb) = nRT, adds an attraction parameter a and an excluded volume b and predicts a critical point. A practical measure of deviation is the compressibility factor Z = pV/nRT, equal to 1 for an ideal gas; for nitrogen at room temperature Z stays within a few tenths of a percent of 1 up to about 10 atm but departs strongly at hundreds of atmospheres. The virial expansion Z = 1 + B(T)/Vm + … systematises these corrections.

Quantum gases. At very low temperature or high density, the thermal de Broglie wavelength becomes comparable to the spacing between particles (see de Broglie Hypothesis) and quantum statistics take over: electrons in metals form a degenerate Fermi gas (see Fermi Energy) and bosons can undergo Bose-Einstein condensation. The ideal gas law is the high-temperature limit of both.

Sources

  • Clapeyron, É. (1834). Journal de l'École Polytechnique, 14, 153–190.
  • Tiesinga, E., et al. (2021). “CODATA recommended values of the fundamental physical constants: 2018.” Reviews of Modern Physics, 93, 025010.
  • Schroeder, D.V. (2000). An Introduction to Thermal Physics. Addison-Wesley.
Last verified: October 2026 · Source: Clapeyron (1834); CODATA 2018; Schroeder (2000) · Confidence: high