COLLEGE CHEMISTRY • STATES OF MATTER, SOLUTIONS, INTERMOLECULAR FORCES

Ideal Gas Law

A unifying equation relating pressure, volume, temperature, and amount for gases under ideal conditions.

Historical Context & Motivation

The behavior of gases captivated natural philosophers and chemists for centuries, driven by practical needs ranging from the design of steam engines to understanding atmospheric phenomena. Before a single unifying equation existed, experimentalists painstakingly discovered individual relationships among the macroscopic variables of gas systems—pressure, volume, temperature, and amount of substance. Each empirical law held one or two variables constant, revealing a partial picture of gas behavior. The quest to merge these fragments into a coherent whole ultimately gave rise to the ideal gas law, one of the most widely applied equations in all of physical science.

1662
Boyle's Law
Robert Boyle demonstrated that at constant temperature, the pressure of a gas is inversely proportional to its volume (P ∝ 1/V). Edme Mariotte independently confirmed this on the continent, so the relationship is sometimes called the Boyle–Mariotte law.
1787
Charles's Law
Jacques Charles showed that the volume of a gas at constant pressure increases linearly with absolute temperature (V ∝ T). Joseph-Louis Gay-Lussac later published the supporting data.
1811
Avogadro's Hypothesis
Amedeo Avogadro proposed that equal volumes of gases at the same temperature and pressure contain equal numbers of molecules (V ∝ n), linking macroscopic volume to microscopic particle count.
1834
Clapeyron's Combined Equation
Benoît Paul Émile Clapeyron synthesized the earlier proportionalities into a single equation of state, PV = nRT, introducing the universal gas constant R and establishing the ideal gas law in its modern algebraic form.
1873
Van der Waals Corrections
Johannes van der Waals refined the ideal model by adding terms for intermolecular attractions and finite molecular volumes, earning the 1910 Nobel Prize and revealing precisely when and why the ideal approximation breaks down.

The central question these investigators sought to answer was deceptively simple: can the macroscopic properties of any gas be predicted from a single, elegant relationship? The ideal gas law provides an affirmative answer—under the assumption that gas particles occupy negligible volume and experience no intermolecular forces. Understanding when these assumptions hold, and when they fail, is essential for every practicing chemist and engineer.

Core Principles & Definitions

The ideal gas law rests on a set of simplifying assumptions collectively known as the kinetic molecular theory of gases. These assumptions define an ideal gas—a hypothetical substance whose particles behave in perfectly predictable ways. Real gases approximate this model well under conditions of low pressure and high temperature, where intermolecular forces and molecular volumes become negligible relative to the bulk properties of the system.

1

Negligible Particle Volume

The volume occupied by the gas molecules themselves is assumed to be infinitesimally small compared to the volume of the container. The gas is essentially point masses moving through empty space.
2

No Intermolecular Forces

Ideal gas particles experience no attractive or repulsive interactions with one another. The only interactions are perfectly elastic collisions with the container walls and other particles.
3

Random, Continuous Motion

Particles move in straight-line paths at random velocities described by the Maxwell–Boltzmann distribution. The average kinetic energy is directly proportional to absolute temperature.
4

Elastic Collisions

All collisions—particle–particle and particle–wall—are perfectly elastic, meaning total kinetic energy is conserved. No energy is lost to deformation, rotation, or heat.
5

Large Number of Particles

Statistical averaging is valid because the system contains an enormous number of molecules (on the order of Avogadro's number), ensuring that macroscopic properties are well-defined averages.
KEY TAKEAWAY
Think of ideal gas particles like perfectly hard billiard balls on a frictionless pool table that extends in three dimensions. The balls are so tiny relative to the table that they almost never encounter each other; when they do collide, they bounce off without losing any speed. The ideal gas law describes the statistical behavior of trillions of such balls—each one oblivious to the others' existence, collectively generating a measurable pressure when they strike the walls of the container.

Visual Explanation — Microscopic to Macroscopic

The diagram below illustrates the microscopic picture underlying the ideal gas law. On the left, a container holds a fixed number of ideal gas particles whose random motions generate collisions with the walls, producing a measurable pressure. The three scenarios on the right show how changing one macroscopic variable—while holding the others constant—shifts the equilibrium described by PV = nRT.

Top left: a reference state of n moles at pressure P₁, volume V₁, and temperature T₁. Top right: three scenarios illustrating how increasing temperature, decreasing volume, or adding moles each raises pressure. Bottom: the three component gas laws that combine into PV = nRT.

Notice how each component law isolates one proportionality: Boyle's law captures the inverse relationship between P and V, Charles's law the direct proportionality between V and T, and Avogadro's law the direct proportionality between V and n. When all three are combined algebraically—recognizing that V ∝ nT/P—the proportionality constant that emerges is precisely the universal gas constant R. This synthesis is elegant because a single equation, PV = nRT, encodes the complete macroscopic behavior of any ideal gas, regardless of its chemical identity.

Mathematical Framework

The ideal gas law can be derived by combining the three empirical proportionalities. Starting from V ∝ 1/P (Boyle), V ∝ T (Charles), and V ∝ n (Avogadro), we write the joint proportionality V ∝ nT/P. Introducing a proportionality constant R yields V = nRT/P, which rearranges to the standard form.

IDEAL GAS LAW
PV = nRT
P = pressure (atm, Pa, or other units) • V = volume (L or m³) • n = amount of substance (mol) • R = universal gas constant • T = absolute temperature (K)

Values of the Gas Constant R

Common values of R and their unit systems
Value of RUnitsCommon Context
0.08206L·atm·mol⁻¹·K⁻¹General chemistry (P in atm, V in L)
8.314J·mol⁻¹·K⁻¹ (= Pa·m³·mol⁻¹·K⁻¹)SI system, thermodynamics, physical chemistry
62.36L·torr·mol⁻¹·K⁻¹Low-pressure / vacuum systems
1.987cal·mol⁻¹·K⁻¹Older thermochemistry literature
MOLAR VOLUME AT STP
V = nRT / P = (1 mol)(0.08206 L·atm·mol⁻¹·K⁻¹)(273.15 K) / (1 atm) ≈ 22.41 L
At standard temperature and pressure (STP: 0 °C and 1 atm), one mole of an ideal gas occupies approximately 22.41 L—a benchmark frequently used in stoichiometric calculations.
DENSITY FORM
ρ = PM / RT
Substituting n = m/M into PV = nRT and rearranging gives density ρ = PM / RT, where M is the molar mass (g·mol⁻¹). This form is useful for determining molar mass from measured gas densities.
⚠️ Unit Consistency Warning
The most common source of error in ideal gas law problems is mismatched units. Always verify that the value of R you choose is consistent with the units of P, V, n, and T in your problem. Temperature must be in Kelvin; convert from Celsius via T(K) = T(°C) + 273.15.

P–V–T Behavior & Graphical Relationships

A powerful way to internalize the ideal gas law is through its graphical representations. Plotting pressure versus volume at constant temperature yields a family of isotherms—hyperbolic curves that shift upward and to the right as temperature increases. Similarly, plotting volume versus temperature at constant pressure produces straight lines (isobars) that, when extrapolated, converge at absolute zero (0 K). The diagram below presents both representations side by side.

Left: Boyle's law isotherms showing the hyperbolic P–V relationship. Higher temperatures shift the curve outward, meaning greater pressure at any given volume. Right: Charles's law isobars demonstrating that V is directly proportional to T. All lines extrapolate to the origin at 0 K (absolute zero), where an ideal gas would theoretically occupy zero volume.

Several important features deserve attention. On the P–V plot, each isotherm is a rectangular hyperbola, meaning that the product PV remains constant along any single curve—a direct restatement of Boyle's law. As the temperature increases from T₁ to T₃, the value of this constant increases proportionally (since PV = nRT). On the V–T plot, the slope of each isobar equals nR/P; lower pressures yield steeper slopes because the same temperature increment produces a larger volume change. The convergence at 0 K underscores why the Kelvin scale is indispensable: using Celsius would shift these lines away from the origin, obscuring the direct proportionality between V and T.

Worked Example

A rigid steel cylinder with a volume of 12.0 L contains nitrogen gas (N₂) at 25.0 °C and a gauge pressure of 150 atm. Determine the number of moles of N₂ in the cylinder and the mass of the gas.

Finding Moles and Mass of N₂ in a Cylinder
1
Step 1 — Identify Given Values and Convert UnitsWe are given V = 12.0 L, T = 25.0 °C, and P = 150 atm (gauge). Since gauge pressure measures pressure above atmospheric pressure, the absolute pressure is Pabs = 150 + 1.00 = 151 atm. Convert temperature to Kelvin: T = 25.0 + 273.15 = 298.15 K ≈ 298 K.
P = 151 atm, V = 12.0 L, T = 298 K
2
Step 2 — Select the Appropriate Value of RSince pressure is in atm and volume is in liters, we use R = 0.08206 L·atm·mol⁻¹·K⁻¹. This ensures dimensional consistency across all terms in the ideal gas law.
R = 0.08206 L·atm·mol⁻¹·K⁻¹
3
Step 3 — Solve for nRearrange PV = nRT to isolate n: n = PV / (RT). Substituting: n = (151 atm)(12.0 L) / [(0.08206 L·atm·mol⁻¹·K⁻¹)(298 K)] = 1812 / 24.45 ≈ 74.1 mol.
n ≈ 74.1 mol N₂
4
Step 4 — Calculate MassThe molar mass of N₂ is M = 2 × 14.01 = 28.02 g·mol⁻¹. Therefore: m = nM = (74.1 mol)(28.02 g·mol⁻¹) ≈ 2080 g ≈ 2.08 kg.
m ≈ 2.08 kg N₂
5
Step 5 — Reasonableness CheckAt STP one mole of gas occupies 22.4 L, so 12.0 L at STP would hold about 0.54 mol. Multiplying by the pressure ratio 151/1 gives roughly 81 mol—close to our calculated 74.1 mol (the difference arises because our temperature is above 273 K, expanding each mole's effective contribution). The answer is physically reasonable for a high-pressure industrial cylinder.

Strengths & Limitations of the Ideal Gas Model

The ideal gas law is remarkably powerful, yet it is an approximation. Its accuracy depends on how closely real gases meet the kinetic molecular theory assumptions. Understanding where the model excels and where it fails is crucial for selecting the correct equation of state in both laboratory and industrial contexts.

Strengths and limitations of the ideal gas law
AspectStrengthLimitation
SimplicitySingle equation with four variables and one constant; easy to rearrange for any unknown.Oversimplifies behavior near phase transitions and at extreme conditions.
UniversalityApplies to any gas regardless of chemical identity; R is truly universal.Ignores gas-specific properties such as molecular size, polarity, and shape.
Low-P / High-T AccuracyExcellent predictions for gases well above their boiling points and at moderate pressures (≤ 5 atm).Significant deviations at high pressures (> 100 atm) or near the condensation temperature.
Stoichiometric CalculationsMolar volume at STP (22.41 L) provides a convenient bridge between moles and volume in gas-phase reactions.Real molar volumes deviate from 22.41 L for gases with strong intermolecular forces (e.g., SO₂, NH₃).
MixturesDalton's law of partial pressures follows directly: P_total = Σ nᵢRT/V.Cross-interactions between dissimilar molecules (e.g., polar + nonpolar) are ignored.
WHEN DOES THE MODEL BREAK DOWN?
Picture a packed concert venue versus an empty stadium. In the stadium (low pressure), people move freely without interacting—ideal behavior. In the packed venue (high pressure), people push against one another and physically occupy significant space—real gas behavior. The compressibility factor Z = PV/(nRT) quantifies this deviation: Z = 1 for an ideal gas, and deviations from unity signal that molecular volume and intermolecular attractions are significant.

Connection to Real Gas Equations of State

When the ideal gas law proves insufficient, chemists and engineers turn to more sophisticated equations of state that incorporate corrections for intermolecular forces and finite molecular volume. The most historically significant of these is the van der Waals equation, which modifies PV = nRT by adding two substance-specific parameters, a and b. More advanced treatments—such as the Redlich–Kwong, Peng–Robinson, and virial equations—offer progressively higher accuracy at the cost of added mathematical complexity.

Ideal gas law vs. van der Waals equation
FeatureIdeal Gas LawVan der Waals Equation
EquationPV = nRT(P + an²/V²)(V − nb) = nRT
Molecular VolumeAssumed zeroCorrected by the parameter b (excluded volume per mole)
Intermolecular ForcesAssumed absentCorrected by the parameter a (attractive force strength)
Accuracy at High PPoor; overestimates V significantlyGood for moderate deviations; qualitatively captures condensation
Mathematical ComplexityLinear in all variables; trivial algebraCubic in V; may require numerical or iterative solution
Substance SpecificityUniversal (only R)Requires tabulated a, b values for each gas

In physical chemistry and chemical engineering courses, you will encounter the virial equation of state, which expands PV/(nRT) as a power series in 1/V (or in P): Z = 1 + B/V + C/V² + …, where B, C, … are temperature-dependent virial coefficients derived from statistical mechanics. The ideal gas law is simply the zeroth-order truncation of this series—Z = 1—making it clear that 'ideal' behavior is the limiting case when all higher-order interactions vanish. Understanding this hierarchy prepares you to choose the right level of theory for any engineering or research scenario.

Practice Problems

PROBLEM 1CONCEPTUAL
A sealed, rigid container holds a fixed amount of an ideal gas. If the absolute temperature of the gas is doubled, explain qualitatively what happens to the pressure and why, referencing both the macroscopic equation and the molecular-level picture.
PROBLEM 2BASIC CALCULATION
What volume does 0.500 mol of an ideal gas occupy at 37.0 °C and 0.980 atm?
PROBLEM 3INTERMEDIATE
A 5.00 L flask contains a mixture of 0.200 mol He and 0.300 mol Ar at 300 K. Calculate the total pressure and the partial pressure of each gas.
PROBLEM 4APPLIED
A chemist collects 245 mL of an unknown gas over water at 25.0 °C and a barometric pressure of 758 torr. The vapor pressure of water at 25.0 °C is 23.8 torr. If the dry gas has a mass of 0.384 g, determine the molar mass of the gas.
PROBLEM 5CRITICAL THINKING
Consider 1.00 mol of CO₂ at 500 K. Using the ideal gas law, calculate the molar volume at P = 200 atm. Then, using the van der Waals equation with a = 3.59 L²·atm·mol⁻² and b = 0.0427 L·mol⁻¹, estimate the molar volume by iterating from the ideal value. Compare the two results and discuss which intermolecular effect—attraction or excluded volume—dominates at this pressure.

Summary

The ideal gas law, PV = nRT, unifies Boyle's law (P ∝ 1/V at constant T and n), Charles's law (V ∝ T at constant P and n), and Avogadro's law (V ∝ n at constant T and P) into a single equation of state governed by the universal gas constant R. The equation rests on the assumptions of the kinetic molecular theory: negligible molecular volume, no intermolecular forces, random elastic collisions, and a statistically large particle count.

The model is most accurate at low pressures and high temperatures where real gases approximate ideal behavior. Useful rearrangements include the density form ρ = PM / RT for molar mass determination and Dalton's law of partial pressures for gas mixtures. When deviations become significant, the van der Waals equation and higher-order virial expansions provide the necessary corrections, with the ideal gas law serving as the limiting zeroth-order case.

Varsity Tutors • College Chemistry • Ideal Gas Law