AP CHEMISTRY • PROPERTIES OF SUBSTANCES AND MIXTURES

Ideal Gas Law

A single equation uniting pressure, volume, temperature, and moles to predict gas behavior under idealized conditions.

Historical Context & Motivation

The study of gases has been central to the development of modern chemistry and physics, stretching back to an era when the very concept of atoms remained speculative. Early natural philosophers sought quantitative relationships between observable macroscopic properties—pressure, volume, and temperature—because gases, unlike solids and liquids, exhibit dramatic and measurable responses to changes in external conditions. Over the course of roughly two centuries, a series of empirical laws were discovered independently, each isolating one pair of variables while holding others constant. The eventual synthesis of these individual laws into the ideal gas law represented a profound conceptual leap: a single, elegant equation capable of describing the state of any gas under conditions where intermolecular forces and molecular volumes are negligible.

1662
Boyle's Law
Robert Boyle demonstrated that at constant temperature, the volume of a gas is inversely proportional to its pressure (PV = k), establishing the first quantitative gas law through mercury-tube experiments.
1787
Charles's Law
Jacques Charles discovered that at constant pressure, the volume of a gas is directly proportional to its absolute temperature (V/T = k), hinting at the concept of absolute zero.
1811
Avogadro's Hypothesis
Amedeo Avogadro proposed that equal volumes of gases at identical temperature and pressure contain equal numbers of molecules, linking macroscopic volume to the amount of substance.
1834
Clapeyron's Synthesis
Émile Clapeyron combined Boyle's, Charles's, and Avogadro's relationships into the single equation PV = nRT, formulating what we now call the ideal gas law and introducing the universal gas constant R.
1873
Van der Waals Equation
Johannes van der Waals extended the ideal gas model by incorporating corrections for intermolecular attractions and finite molecular volume, delineating the boundary between ideal and real gas behavior.

The central question that drove these centuries of investigation was deceptively simple: can we predict the macroscopic state of a gaseous sample from a handful of measurable quantities? The ideal gas law answers this question under the assumption that gas particles are point masses experiencing no intermolecular forces. Understanding when and why this assumption breaks down is just as important as the equation itself—an essential distinction on the AP Chemistry exam.

Core Principles & Definitions

The ideal gas law rests on a set of simplifying assumptions collectively known as the kinetic molecular theory (KMT). These assumptions define an ideal gas—a hypothetical gas whose particles have negligible volume and exert no attractive or repulsive forces on one another. While no real gas satisfies these conditions perfectly, many gases approximate ideal behavior closely at high temperatures and low pressures, making the ideal gas law an indispensable first-order model in chemistry.

1

Negligible Particle Volume

The volume occupied by gas molecules themselves is assumed to be infinitesimally small compared with the total volume of the container, so particles are treated as dimensionless points.
2

No Intermolecular Forces

Ideal gas particles neither attract nor repel one another. Collisions between particles and with the container walls are perfectly elastic—kinetic energy is conserved.
3

Random, Continuous Motion

Gas particles move in straight-line paths at varying speeds described by the Maxwell–Boltzmann distribution. The average kinetic energy is directly proportional to absolute temperature.
4

Pressure from Collisions

Macroscopic pressure arises from the cumulative force of countless molecular collisions with the container walls per unit area, linking microscopic behavior to a measurable quantity.
KEY TAKEAWAY
Think of an ideal gas like billiard balls on a frictionless, infinitely large table: the balls (particles) are so far apart relative to their size that they almost never interact except when they collide elastically. The equation PV = nRT is the 'scoreboard' that connects the speed of the balls (temperature), how many there are (moles), and how hard they hit the cushions (pressure) into a single, self-consistent relationship.

Visual Explanation — Gas Particles in a Container

The left container shows a gas at low pressure and high temperature: particles are widely spaced, move rapidly, and rarely interact—conditions under which the ideal gas law is most accurate. The right container depicts high pressure and low temperature: particles are crowded, move more slowly, and intermolecular forces become significant, causing deviations from ideal behavior.

The diagram above illustrates the microscopic basis for the ideal gas assumptions. When particles are well-separated (left panel), the fraction of the container volume occupied by the molecules themselves is vanishingly small, and the average distance between particles is many times larger than the range of intermolecular forces. Under these conditions, the approximations of the kinetic molecular theory hold, and PV = nRT accurately predicts the gas's behavior. As the gas is compressed or cooled (right panel), particle–particle proximity increases, attractive forces begin to matter, and the equation's accuracy deteriorates—especially near the liquefaction point.

Mathematical Framework

The ideal gas law consolidates three empirical laws into a single equation of state. Understanding how those component laws combine clarifies not only the equation's form but also the units and dimensions of each variable.

IDEAL GAS LAW
PV = nRT
P = pressure (atm or Pa) • V = volume (L or m³) • n = amount of gas (mol) • R = universal gas constant • T = absolute temperature (K)
UNIVERSAL GAS CONSTANT (R)
R = 0.08206 L·atm·mol⁻¹·K⁻¹ = 8.314 J·mol⁻¹·K⁻¹
Use 0.08206 when pressure is in atm and volume in L. Use 8.314 when working in SI units (Pa and m³) or in thermodynamic energy calculations.

Derivation from Component Laws

Boyle's law states that V ∝ 1/P at constant n and T. Charles's law states that V ∝ T at constant n and P. Avogadro's law states that V ∝ n at constant P and T. Combining these three proportionalities yields V ∝ nT/P, or equivalently PV ∝ nT. Introducing a proportionality constant R gives PV = nRT. The value of R was determined experimentally by measuring P, V, T, and n for real gases under conditions approaching ideal behavior and extrapolating to zero pressure.

MOLAR VOLUME AT STP
V_m = RT/P = (0.08206)(273.15) / (1.000) = 22.41 L·mol⁻¹
At standard temperature and pressure (STP: 273.15 K, 1.000 atm), one mole of an ideal gas occupies 22.41 L. This benchmark value is frequently used for stoichiometric conversions involving gases.
DENSITY FORM
d = PM / RT
Because n = m/M and d = m/V, the ideal gas law can be rearranged to express density (d) in terms of pressure P, molar mass M, gas constant R, and temperature T. This form is especially useful for finding the molar mass of an unknown gas.

Component Gas Laws & Their Relationships

Each component gas law isolates one pair of variables while holding the remaining variables constant. Understanding these individual relationships deepens your intuition for how the ideal gas law responds to changes in state, and AP Chemistry free-response questions frequently require you to explain trends qualitatively using these component laws.

Each of the four component gas laws is a special case of PV = nRT obtained by holding two variables constant. The graphs show the functional form: Boyle's inverse relationship, Charles's direct proportionality, Avogadro's linear volume–mole relationship, and Gay-Lussac's pressure–temperature law.
Summary of the component gas laws and their relationship to PV = nRT
LawRelationshipHeld ConstantGraph Shape
Boyle'sP₁V₁ = P₂V₂n, THyperbola (P vs V)
Charles'sV₁/T₁ = V₂/T₂n, PLinear through origin (V vs T)
Gay-Lussac'sP₁/T₁ = P₂/T₂n, VLinear through origin (P vs T)
Avogadro'sV₁/n₁ = V₂/n₂P, TLinear through origin (V vs n)
Combined / IdealPV = nRTUnifies all four laws

Worked Example

The following problem demonstrates a complete ideal gas law calculation that you might encounter on the AP Chemistry exam. Pay attention to unit conversions and the selection of the appropriate value of R.

Calculating the Volume of a Gas at Non-Standard Conditions
1
Step 1 — Read and Identify KnownsA chemist collects 2.50 mol of CO₂ gas at a pressure of 0.980 atm and a temperature of 35.0 °C. What volume does the gas occupy, assuming ideal behavior?
2
Step 2 — Convert Temperature to KelvinThe ideal gas law requires absolute temperature in Kelvin. Convert: T = 35.0 + 273.15 = 308.15 K ≈ 308 K.
T = 308 K
3
Step 3 — Select Appropriate R ValueBecause pressure is given in atm and we want volume in liters, use R = 0.08206 L·atm·mol⁻¹·K⁻¹.
4
Step 4 — Solve for VRearrange PV = nRT to V = nRT/P. Substituting: V = (2.50 mol)(0.08206 L·atm·mol⁻¹·K⁻¹)(308 K) / (0.980 atm). Numerator: 2.50 × 0.08206 × 308 = 63.19 L·atm. Dividing: V = 63.19 / 0.980 = 64.5 L.
V = 64.5 L
5
Step 5 — Reasonableness CheckAt STP (1 atm, 273 K), 2.50 mol would occupy 2.50 × 22.4 = 56.0 L. Here the temperature is higher (308 K > 273 K) and the pressure slightly lower (0.980 atm < 1 atm), both of which increase volume. A value of 64.5 L is consistent with these expectations—our answer is reasonable.
✓ Answer is physically consistent.

Strengths & Limitations of the Ideal Gas Model

The ideal gas law is remarkably powerful for its simplicity, but its accuracy depends on the extent to which the gas in question satisfies the assumptions of the kinetic molecular theory. Recognizing when the model works well and when it fails is a critical skill tested on the AP Chemistry exam—particularly in free-response questions that ask you to explain deviations from predicted behavior.

Comparison of the ideal gas law's strengths and limitations
StrengthsLimitations
Simple, one-equation framework for P, V, n, and T.Fails at high pressures where molecular volume is significant relative to container volume.
Highly accurate for gases at low to moderate pressures and temperatures well above the boiling point.Fails near the condensation point where intermolecular attractive forces dominate.
Applies to any gas—identity-independent, making stoichiometric calculations straightforward.Cannot account for gas-specific properties such as polarity or hydrogen bonding.
Easily rearranged for density, molar mass, or stoichiometric volume calculations.Predicts zero volume at 0 K—a non-physical result, since real molecules have finite size.
WHEN DOES IDEALITY BREAK DOWN?
Two factors cause real gases to deviate from ideal behavior: (1) at high pressures, molecules are forced close together so their own volume becomes a non-negligible fraction of the container's volume; (2) at low temperatures, molecules move slowly enough that intermolecular attractive forces (London dispersion, dipole–dipole) can pull them off their straight-line paths. Gases with strong IMFs (e.g., H₂O, NH₃) and large molar masses (e.g., SF₆) deviate more than small, nonpolar gases like He or Ne.

Connection to Real Gases — The Van der Waals Equation

The ideal gas law serves as a gateway to more sophisticated models that account for intermolecular forces and finite molecular volume. The most common correction is the van der Waals equation, which modifies PV = nRT with two substance-specific constants. Understanding how and why these corrections are made is essential for AP Chemistry, particularly when interpreting experimental gas data that deviates from ideal predictions.

Ideal Gas Law vs. Van der Waals Equation
FeatureIdeal Gas Law (PV = nRT)Van der Waals Equation
Molecular volumeAssumed zeroCorrected by subtracting nb from V (b = excluded volume per mol)
Intermolecular forcesAssumed noneCorrected by adding an²/V² to P (a = attraction parameter)
Equation formPV = nRT(P + an²/V²)(V − nb) = nRT
Accuracy at high P / low TPoorSignificantly improved
Gas identityNot consideredEncoded via substance-specific a and b constants

On the AP Chemistry exam, you are not typically required to perform calculations with the van der Waals equation, but you must be able to explain conceptually why real gases deviate from ideal behavior. When PV/nRT (the compressibility factor, Z) differs from 1.00, the gas is behaving non-ideally. At moderate pressures, attractive forces cause Z < 1 (the gas is more compressible than predicted). At very high pressures, finite molecular volume causes Z > 1 (the gas is less compressible than predicted). Understanding this crossover is a powerful tool for qualitative reasoning on free-response questions.

💡 AP Exam Tip
When an FRQ asks you to explain deviations from ideal gas behavior, explicitly name the assumption being violated and connect it to the physical cause. For example: "At high pressure, the volume of the gas molecules themselves becomes a significant fraction of the container volume, violating the ideal gas assumption that particles have zero volume. This causes the measured volume to be larger than predicted by PV = nRT."

Practice Problems

1
A rigid, sealed container holds a sample of an ideal gas. If the absolute temperature of the gas is doubled while the volume remains constant, what happens to the pressure?
2
What is the volume, in liters, of 0.750 mol of an ideal gas at 1.20 atm and 27.0 °C?
3
A gas sample has a density of 1.96 g/L at 1.00 atm and 273 K. Which of the following is closest to the molar mass of the gas?
PROBLEM 4APPLIED
A student performs the following experiment: a 2.00 L flask is evacuated and then filled with butane (C₄H₁₀) gas. The flask is weighed before and after filling to determine the mass of butane. The experiment is conducted at 25.0 °C and 0.950 atm. (a) Calculate the number of moles of butane in the flask. (b) Calculate the expected mass of butane in the flask. (c) The student measures the mass of butane as 4.68 g. Calculate the percent error. (d) Propose one molecular-level reason why the measured mass might differ from the calculated mass. Explain how this reason is connected to a specific assumption of the ideal gas law.
PROBLEM 5CRITICAL THINKING
A research group measures the pressure of nitrogen gas (N₂) in a 1.000 L container at several temperatures, keeping the amount of gas constant at 0.04000 mol. Their data are shown in the table below. Temperature (K) | Measured Pressure (atm) 200 | 0.6540 300 | 0.9852 400 | 1.3130 500 | 1.6410 600 | 1.9700 (a) For each temperature, calculate the predicted ideal pressure using PV = nRT and record it alongside the measured value. (b) Calculate the compressibility factor Z = PV/(nRT) for each data point. (c) Based on your calculations, at which temperature does nitrogen behave most ideally? Justify your answer using the Z values. (d) At 200 K, is Z greater than or less than 1? Explain this result at the molecular level, referencing the dominant factor causing the deviation. (e) Describe how you would expect Z to change if the experiment were repeated with helium instead of nitrogen at the same temperatures. Justify your reasoning.

Lesson Summary

The ideal gas law, PV = nRT, is the cornerstone equation of state for gases in chemistry, unifying Boyle's law (P ∝ 1/V), Charles's law (V ∝ T), Avogadro's law (V ∝ n), and Gay-Lussac's law (P ∝ T) into a single expression. It rests on the assumptions of the kinetic molecular theory: gas particles have negligible volume, experience no intermolecular forces, and undergo perfectly elastic collisions.

The equation is most accurate at high temperatures and low pressures, where real gases closely approximate ideal behavior. Deviations become significant near condensation conditions and are quantified by the compressibility factor Z = PV/(nRT). The van der Waals equation corrects for intermolecular attractions (parameter a) and finite molecular volume (parameter b). For the AP Chemistry exam, be prepared to perform calculations with PV = nRT, interpret density and molar mass via d = PM/(RT), and explain molecular-level reasons for non-ideal behavior.

Varsity Tutors • AP Chemistry • Ideal Gas Law