PrepGo

Ideal Gas Law - AP Chemistry Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 14 minutes to read.

Getting Started

Gases are a unique state of matter, composed of particles in constant, random motion that are far apart from one another. At the macroscopic scale, we can measure a gas's properties like its pressure, the volume it occupies, and its temperature. The core challenge is to understand and predict how these measurable properties are interconnected, allowing us to describe the state of a gas system and how it responds to change.

What You Should Be Able to Do

By the end of this section, you should be able to:

  • Calculate the pressure, volume, temperature, or number of moles of a gas sample when the other three variables are known.

  • Predict the effect of a change in one property (e.g., temperature) on another (e.g., pressure) when other conditions are held constant.

  • Determine the contribution of a single gas (its partial pressure) to the total pressure of a gas mixture.

  • Interpret graphical data representing the relationships between the macroscopic properties of a gas.

Key Concepts & Analysis

The behavior of gases can be described by a model that processes a set of known conditions to predict an unknown property. This model, known as the ideal gas law, provides a powerful tool for quantitative analysis.

Inputs & Preconditions

To describe the state of a gas, we need a set of measured properties that serve as the inputs for our calculations.

  • Inputs: Any three of the four macroscopic variables:

    • Pressure (P): The force the gas exerts on the walls of its container, often measured in atmospheres (atm), kilopascals (kPa), or millimeters of mercury (mmHg).

    • Volume (V): The space the gas occupies, which is equal to the volume of its container, typically measured in liters (L).

    • Moles (n): The amount of gas, representing the number of particles in the sample.

    • Temperature (T): A measure of the average kinetic energy of the gas particles. For all gas law calculations, temperature must be in Kelvin (K).

  • Preconditions: The model assumes the gas behaves as an ideal gas. This is a theoretical concept where gas particles are assumed to have negligible volume and no intermolecular forces of attraction or repulsion. This assumption holds true for most real gases under conditions of low pressure and high temperature.

Key Steps / Mechanism

The mechanism for relating the inputs is the ideal gas law equation. This equation provides the mathematical process for finding the unknown property.

The Equation:

Where R is the ideal gas constant, a proportionality constant that links the units. The value of R you use depends on the units of the other variables:

  • R = 0.08206 L·atm / mol·K (use when pressure is in atmospheres)

  • R = 8.314 L·kPa / mol·K (use when pressure is in kilopascals)

Calculation Steps:

  1. Identify Knowns and Unknowns: List the values given for P, V, n, and T, and identify which variable you need to find.

  2. Unit Conversion: Convert all input values to match the units of your chosen R. Most critically, temperature must always be converted from Celsius to Kelvin ().

  3. Rearrange the Equation: Algebraically manipulate the ideal gas law to solve for the unknown variable. For example, to find pressure, the equation becomes .

  4. Substitute and Solve: Plug the known values into the rearranged equation and calculate the result.

Mechanism for Gas Mixtures: Dalton's Law of Partial Pressures

When dealing with a mixture of gases, the same process applies, but we must distinguish between the properties of a single component and the properties of the entire mixture.

  • The total pressure () of a mixture is the sum of the individual pressures, called partial pressures (, etc.), that each gas would exert if it were alone in the container.

  • The partial pressure of a single gas (A) is related to its mole fraction (), which is the ratio of its moles to the total moles in the mixture ().

Outputs & Effects

The output of applying the ideal gas law is a quantitative value for the unknown macroscopic property. This allows for a complete description of the gas's state. The primary effect is the ability to predict the behavior of a gas system. For example, we can calculate the pressure that will build up in a rigid container if we heat it, or determine the volume a weather balloon will expand to as it rises to a higher altitude.

Controls & Limiting Factors

  • Controls: In many scenarios, one or more variables are held constant, which simplifies the relationships. For example, if temperature and moles are held constant, pressure and volume are inversely proportional (). If pressure and moles are held constant, volume and temperature are directly proportional ().

  • Limiting Factors: The primary limiting factor is the ideal gas model itself. Real gases deviate from this model at high pressures (when particle volume becomes significant compared to container volume) and low temperatures (when intermolecular forces become strong enough to cause attractions between particles).

Key Models & Representations

The relationships between P, V, T, and n can be visualized through graphs. These graphs are representations of the "controlled" experiments described above, where two variables are changed while the others are held constant.

Relationship NameVariables PlottedConstant VariablesMathematical FormGraphical Representation
Boyle's LawPressure vs. Volumen, TA hyperbola (P decreases as V increases)
Charles's LawVolume vs. Temperaturen, PA straight line with a positive slope passing through the origin (0 K, 0 L)
Gay-Lussac's LawPressure vs. Temperaturen, VA straight line with a positive slope passing through the origin (0 K, 0 atm)
Avogadro's LawVolume vs. MolesP, TA straight line with a positive slope passing through the origin (0 mol, 0 L)

Key Terms, Quantities, & Concepts

  • Ideal Gas: A theoretical gas composed of particles with no volume and no intermolecular forces. It is a model used to predict the behavior of real gases.

  • Pressure (P): The force exerted by gas particles colliding with a unit area of a surface. Standard unit: atmosphere (atm).

  • Temperature (T): A measure of the average kinetic energy of particles in a substance. It must be expressed in Kelvin (K) for gas law calculations.

  • Ideal Gas Law (PV=nRT): The equation that relates the pressure, volume, moles, and temperature of an ideal gas.

  • Ideal Gas Constant (R): A proportionality constant whose value depends on the units of pressure and volume used in the ideal gas law equation.

  • Dalton's Law of Partial Pressures: States that the total pressure of a mixture of non-reacting gases is the sum of the partial pressures of the individual gases.

  • Partial Pressure (P_A): The pressure that a single gas in a mixture would exert if it occupied the entire volume alone at the same temperature.

  • Mole Fraction (X_A): The ratio of the number of moles of a specific component in a mixture to the total number of moles in the mixture.

Skill Snapshots

  • Causation:

    • Cause: Compressing a gas into half its original volume at constant temperature. Effect: The pressure doubles because the particles collide with the container walls twice as frequently.

    • Cause: Heating a gas in a container with a flexible piston (constant pressure). Effect: The volume increases as the faster-moving particles push the piston outward to maintain constant pressure.

    • Cause: Injecting more gas into a rigid container at constant temperature. Effect: The pressure increases because there are more particles colliding with the container walls.

  • Comparison:

    • Partial pressure is the pressure exerted by a single component of a gas mixture, whereas total pressure is the sum of all the individual partial pressures.

    • The Kelvin scale is an absolute temperature scale with its zero point at absolute zero, making it directly proportional to kinetic energy and necessary for gas laws. The Celsius scale is a relative scale based on the freezing point of water.

    • An ideal gas is a theoretical model where particles have no volume or intermolecular forces, while a real gas is composed of actual atoms or molecules that do have finite volume and experience weak intermolecular forces.

  • Change and Continuity Over Time/Process:

    • Baseline: A rigid 2.0 L tank contains 4.0 moles of argon gas at 298 K, exerting a specific pressure.

    • Change 1: If 2.0 moles of neon gas are added to the same tank, the total moles of gas increase to 6.0 moles, causing the total pressure to increase by 50%.

    • Change 2: If the tank is then heated to 596 K, the absolute temperature doubles, causing the final total pressure to double again.

    • Continuity: Throughout these changes, the volume of the rigid tank remains constant at 2.0 L, and the ideal gas constant (R) remains the same value.

Common Misconceptions & Clarifications

  1. Misconception: You can use Celsius for temperature in gas law calculations.

    • Clarification: You must always convert temperature to Kelvin (K = °C + 273.15). The ideal gas law describes a proportional relationship with absolute temperature. Using Celsius can lead to mathematical errors, such as dividing by zero or calculating negative volumes.
  2. Misconception: The value of R is always 0.08206.

    • Clarification: The value of the ideal gas constant, R, depends on the units used for pressure and volume. If pressure is in atmospheres (atm) and volume is in liters (L), use R = 0.08206 L·atm/mol·K. If pressure is in kilopascals (kPa), use R = 8.314 L·kPa/mol·K. Always check your units.
  3. Misconception: In a gas mixture, the partial pressure of a gas depends on the total number of moles.

    • Clarification: The partial pressure of a specific gas depends only on the number of moles of that gas (). While it contributes to the total pressure, its individual pressure is independent of the other gases present.
  4. Misconception: All gases behave ideally all the time.

    • Clarification: The ideal gas law is a model, and its accuracy varies. Real gases deviate most from ideal behavior at high pressures and low temperatures, where the volume of the gas particles and the strength of intermolecular forces become significant and can no longer be ignored.

One-Paragraph Summary

The ideal gas law, expressed as , is a fundamental equation that mathematically connects the four macroscopic properties of a gas: pressure, volume, amount (moles), and absolute temperature. This law allows us to calculate any one of these properties if the other three are known and to predict how a gas will respond to changes in its environment. For mixtures, Dalton's Law of Partial Pressures extends this concept, explaining that the total pressure is the sum of the individual pressures exerted by each component gas. Each gas's partial pressure is directly proportional to its mole fraction, providing a way to analyze the composition of gas mixtures. While based on the model of an "ideal gas," this law provides an excellent approximation for the behavior of real gases under many common laboratory and atmospheric conditions.