# The Ideal Gas Law: AP Chemistry Crash Course Review

Course: AP® Chemistry › Unit 3: Properties of Substances and Mixtures › 3.4 Ideal Gas Law ([course hub](https://www.albert.io/blog/category/test-prep/advanced-placement/ap-chemistry.md))
Source: https://www.albert.io/blog/ideal-gas-law-ap-chemistry-crash-course-review/ · Updated November 16, 2026

## Introduction to The Ideal Gas Law

The Ideal Gas Law is one of the most frequently tested equations on the AP Chemistry exam (CED Unit 3: Intermolecular Forces and Properties). It connects pressure, volume, temperature, and the amount of gas in a single equation — and nearly every gas-related question on the exam traces back to it.

The law rests on three simplifying assumptions about gas behavior:

- **Gas molecules have negligible volume.** The particles themselves take up essentially no space compared to the container. This holds well at low pressures where molecules are far apart.
- **Collisions are perfectly elastic.** When gas molecules collide with each other or with container walls, no kinetic energy is lost. This is a reasonable approximation near room temperature.
- **No intermolecular forces.** Gas molecules neither attract nor repel each other. This assumption breaks down for polar molecules at high pressures or low temperatures.

When these assumptions hold, the gas behaves "ideally." When they don't — at high pressures, low temperatures, or with strongly polar molecules — you need the van der Waals equation to correct for molecular volume and intermolecular attractions. The AP exam will sometimes ask you to identify *when* a gas deviates from ideal behavior, so keep these assumptions in mind.

## Gas Laws – Essential Knowledge 2.A.2

**Pressure** ($P$) is the force per unit area exerted by gas molecules colliding with container walls. **Temperature** ($T$) must always be in Kelvin for gas law calculations: $T(\text{K}) = T(^{\circ}\text{C}) + 273$.

![Real gases deviate from PV = nRT at high pressure: attractions pull the ratio down, particle volume pushes it up.](https://www.albert.io/blog/wp-content/uploads/2026/11/real-vs-ideal-gas-pv-nrt.png) Real gases deviate from PV = nRT at high pressure: attractions pull the ratio down, particle volume pushes it up.

![Boyle's, Charles's and Gay-Lussac's laws all combine into the ideal gas law.](https://www.albert.io/blog/wp-content/uploads/2026/11/gas-law-relationships.png) Boyle's, Charles's and Gay-Lussac's laws all combine into the ideal gas law.

All the classic gas laws — Boyle's, Charles's, Gay-Lussac's, Avogadro's — are special cases of one master equation:

$PV = nRT$

where:

| Variable | Meaning | Common Units |
| --- | --- | --- |
| $P$ | Pressure | atm, torr, kPa |
| $V$ | Volume | L |
| $n$ | Moles of gas | mol |
| $R$ | Gas constant | $0.08206 \frac{\text{L atm}}{\text{mol K}}$ or $62.36 \frac{\text{L torr}}{\text{mol K}}$ |
| $T$ | Temperature | K (always!) |

**The #1 mistake students make:** using the wrong units. If your pressure is in atm, use $R = 0.08206$. If your pressure is in torr, use $R = 62.36$. If your temperature is in °C, convert to Kelvin first. Every year, students lose points on straightforward gas law problems because of unit mismatches.

**Key fact:** One mole of an ideal gas occupies $22.4 \text{ L}$ at STP ($273 \text{ K}$, $1 \text{ atm}$). This is a useful benchmark for checking whether your answers are reasonable.

**Example 1: Solving for Volume**

*What is the volume of $1 \text{ mol}$ of oxygen gas at $25^{\circ}\text{C}$ and $1 \text{ atm}$?*

Step 1: Convert temperature to Kelvin.

$T = 273 + 25 = 298 \text{ K}$

Step 2: Rearrange $PV = nRT$ to solve for $V$.

$V = \frac{nRT}{P} = \frac{(1 \text{ mol})(0.08206 \frac{\text{L atm}}{\text{mol K}})(298 \text{ K})}{1 \text{ atm}}$

$V = 24.5 \text{ L}$

**Reasonableness check:** At STP (273 K), 1 mol occupies 22.4 L. Since 298 K is warmer than 273 K, the gas should expand slightly — and 24.5 L > 22.4 L. The answer makes sense.

## Gas Pressure – Essential Knowledge 2.A.2, 4.A.1

The total pressure of a gas mixture equals the sum of the **partial pressures** of each individual gas. This is **Dalton's Law of Partial Pressures**:

![Maxwell-Boltzmann distributions: at a higher temperature, more molecules have at least the activation energy.](https://www.albert.io/blog/wp-content/uploads/2026/11/maxwell-boltzmann-distribution-temperature.png) Maxwell-Boltzmann distributions: at a higher temperature, more molecules have at least the activation energy.

$P_{\text{total}} = P_A + P_B + P_C + \ldots$

The partial pressure of any gas $A$ is proportional to its **mole fraction** ($X_A$):

$P_A = P_{\text{total}} \times X_A, \quad \text{where } X_A = \frac{\text{moles of } A}{\text{total moles}}$

Mole fractions always add up to 1. This relationship comes directly from the ideal gas law: since all gases in a mixture share the same $T$ and $V$, the ratio of partial pressure to total pressure equals the ratio of moles.

**Example 2: Partial Pressure Calculation**

*A sealed $0.5 \text{ L}$ container at $25^{\circ}\text{C}$ contains $16.5 \text{ g}$ of $CO_2$ and $27.0 \text{ g}$ of $H_2O$ vapor. Find the partial pressure of $CO_2$.*

Step 1: Convert grams to moles.

- $n_{CO_2} = \frac{16.5 \text{ g}}{44.01 \text{ g/mol}} = 0.375 \text{ mol}$
- $n_{H_2O} = \frac{27.0 \text{ g}}{18.02 \text{ g/mol}} = 1.50 \text{ mol}$
- $n_{\text{total}} = 0.375 + 1.50 = 1.875 \text{ mol}$

Step 2: Find total pressure using the ideal gas law.

$P_{\text{total}} = \frac{n_{\text{total}} \cdot R \cdot T}{V} = \frac{(1.875)(0.08206)(298)}{0.5} = 91.7 \text{ atm}$

Step 3: Calculate the mole fraction and partial pressure of $CO_2$.

$X_{CO_2} = \frac{0.375}{1.875} = 0.200$

$P_{CO_2} = 91.7 \times 0.200 = 18.3 \text{ atm}$

**Shortcut:** You can also find the partial pressure directly using only the moles of $CO_2$: $P_{CO_2} = \frac{n_{CO_2} \cdot R \cdot T}{V} = \frac{(0.375)(0.08206)(298)}{0.5} = 18.3 \text{ atm}$. This works because each gas in a mixture independently obeys the ideal gas law.

**Example 3: Converting Units and Solving for Moles**

*A $1 \text{ L}$ container holds a gas at a pressure of $500 \text{ torr}$ and $25^{\circ}\text{C}$. How many moles of gas are present?*

Since pressure is in torr, use $R = 62.36 \frac{\text{L torr}}{\text{mol K}}$.

$n = \frac{PV}{RT} = \frac{(500 \text{ torr})(1 \text{ L})}{(62.36 \frac{\text{L torr}}{\text{mol K}})(298 \text{ K})} = \frac{500}{18583} = 0.0269 \text{ mol}$

**Reasonableness check:** At STP (760 torr, 273 K), 1 L holds about $\frac{1}{22.4} \approx 0.045 \text{ mol}$. Our gas is at lower pressure (500 vs. 760 torr) and higher temperature (298 vs. 273 K), so we'd expect fewer moles. 0.027 mol is in the right ballpark.

## Test-Taking Strategies

The ideal gas law appears on virtually every AP Chemistry exam, either as a standalone calculation or embedded within stoichiometry, equilibrium, or electrochemistry problems.

**Mnemonic: "Pervnert"**

Students remember $PV = nRT$ using the mnemonic "Pervnert" (P-V-equals-n-R-T). It's silly, but it sticks. For the gas constant value, remember "0-8-2-0-6" as a phone number pattern for $R = 0.08206$.

**The Unit-Matching Checklist**

Before plugging into any gas law equation, run this 3-second check:

- **Temperature in Kelvin?** If you see °C, add 273. This is the most common error on the exam.
- **Pressure units match $R$?** atm → use 0.08206. torr → use 62.36. kPa → use 8.314.
- **Volume in liters?** Convert mL to L by dividing by 1000.

**Cross-topic connections:**

- **Stoichiometry + gases:** The AP exam frequently combines mole ratios from balanced equations with the ideal gas law. Solve the stoichiometry first to find moles of gas, then use $PV = nRT$ to find volume, pressure, or temperature.
- **Kinetic molecular theory (KMT):** Questions may ask you to explain *why* gases deviate from ideal behavior. Connect the KMT assumptions to real-gas conditions: high pressure compresses molecules so their volume matters; low temperature slows molecules so intermolecular forces matter.
- **Le Châtelier's principle:** Pressure changes in gaseous equilibria tie directly to the ideal gas law — changing volume changes pressure, which shifts equilibrium if the two sides have unequal moles of gas.

**Common mistakes to avoid:**

- **Forgetting the Celsius-to-Kelvin conversion.** This is by far the most common gas law error. If your answer comes out negative or absurdly large, check your temperature units first.
- **Using the wrong $R$ value.** Match $R$ to your pressure units. If you're given pressure in mmHg (same as torr), don't use the atm version of $R$.
- **Confusing moles with grams.** The $n$ in $PV = nRT$ is always in moles. If you're given grams, divide by molar mass first.
- **Applying gas laws to solids and liquids.** The ideal gas law only applies to gases. In heterogeneous systems, only gaseous species contribute to total pressure.

**Common question formats:**

- MCQ: "A gas at [conditions] is changed to [new conditions]. What is the new [variable]?" → Use combined gas law $\frac{P_1 V_1}{n_1 T_1} = \frac{P_2 V_2}{n_2 T_2}$
- FRQ: "Calculate the molar mass of an unknown gas given mass, volume, temperature, and pressure." → Find $n$ with $PV = nRT$, then divide mass by $n$.
- FRQ: "Explain why gas X deviates from ideal behavior at high pressure." → Reference specific KMT assumptions that break down.

**Time management tip:** Gas law calculations are usually quick — budget 1–2 minutes max for a straightforward $PV = nRT$ problem. If you're spending more time, you likely have a unit conversion issue. Stop, check units, and restart the calculation.

Previous topic: [3.3 Solids, Liquids, and Gases](https://www.albert.io/blog/solids-liquids-and-gases-ap-chemistry-review.md)
Next topic: [3.5 Kinetic Molecular Theory](https://www.albert.io/blog/kinetic-molecular-theory-ap-chemistry-review.md)
