Ideal Gas Law
AP Chemistry· AP Chemistry CED — Intermolecular Forces and Properties· 14 min read
1. Core Ideal Gas Law ($PV = nRT$)★★☆☆☆⏱ 4 min
The ideal gas law is a combined equation of state that relates the four measurable properties of an ideal gas: pressure (), volume (), temperature (), and amount of gas in moles (). An ideal gas is defined as a gas where intermolecular forces are negligible and gas molecules have no volume relative to their container, an approximation that holds for most AP exam problems.
Unlike individual empirical gas laws that only relate two variables while holding others constant, the ideal gas law relates all four variables at once, making it applicable to nearly all introductory gas problems. It accounts for 5-10% of your total AP Chemistry exam score directly.
Ideal Gas
A hypothetical gas that follows two core assumptions: 1) gas molecules have negligible volume compared to the container volume, and 2) there are no intermolecular attractive or repulsive forces between molecules. This approximation holds for most gases at low pressure and high temperature.
Where is the universal gas constant. For almost all AP Chemistry problems, you will use , which matches the most common units of pressure (atmospheres) and volume (liters) on the exam. The non-negotiable requirement of the ideal gas law is that temperature must be in Kelvin, the absolute temperature scale. All other units must match the units of .
A 2.50 L sample of nitrogen gas is held at 32.0 °C and 1.15 atm. How many moles of nitrogen gas are in the sample?
- 1
Convert temperature from Celsius to Kelvin:
- 2
List all known values with units matching : , , ,
- 3
Rearrange the ideal gas law to solve for :
- 4
Plug in values and calculate:
- 5
Verify units: All units cancel except moles, which matches the question request.
Exam tip:
Always write down units for every variable and cancel units as you go. If your final units do not match what the question asks for, you know you rearranged the formula incorrectly before you calculate a wrong numerical answer.
2. Derived Relationships: Molar Mass and Gas Density★★★☆☆⏱ 4 min
The ideal gas law can be rearranged to solve for two extremely useful properties for unknown gases: molar mass () and density (). Recall that moles are defined as , where is mass of the gas in grams, and is molar mass in g/mol. Substituting into the core ideal gas law gives:
Since density , we can substitute this into the equation to get a direct relationship between density, molar mass, pressure, and temperature:
These derivations are very common on AP FRQs, where you may be asked to derive the relationship yourself or use it to find the molar mass of an unknown gas from experimental data.
A 0.512 g sample of an unknown volatile liquid is vaporized at 98.0 °C and 0.980 atm. The volume of the vapor is measured as 273 mL. What is the molar mass of the unknown liquid?
- 1
Convert units to match : , , ,
- 2
Use the rearranged formula for molar mass:
- 3
Plug in values:
- 4
Cancel units: atm, L, and K cancel, leaving g/mol (the correct unit for molar mass).
- 5
Calculate the final result:
3. Dalton's Law of Partial Pressures★★☆☆☆⏱ 3 min
For mixtures of non-reacting ideal gases, the ideal gas law applies to the mixture as a whole and to each individual gas in the mixture. Dalton’s law of partial pressures states that the total pressure of a mixture is equal to the sum of the partial pressures of each individual gas, where the partial pressure of a gas is the pressure it would exert if it occupied the entire container alone.
Since all gases in the same mixture share the same volume and temperature, partial pressure is proportional to the mole fraction of the gas , giving the useful relationship:
One of the most common AP exam applications of Dalton’s law is for gases collected over water: the total pressure in the collection vessel is the sum of the pressure of the collected gas and the vapor pressure of water at the experimental temperature:
Oxygen gas is collected over water at 25 °C. The total pressure in the collection vessel is 1.02 atm, and the vapor pressure of water at 25 °C is 0.0313 atm. If the volume of the vessel is 1.50 L, how many moles of oxygen gas were collected?
- 1
Calculate the partial pressure of oxygen using Dalton’s law:
- 2
Convert temperature to Kelvin:
- 3
Rearrange the ideal gas law to solve for :
- 4
Plug in values and calculate:
4. AP-Style Practice Problems★★★☆☆⏱ 3 min
A rigid 5.0 L cylinder contains 0.10 mol of helium gas and 0.20 mol of neon gas at 25 °C. What is the partial pressure of helium in the cylinder? Options: A) 0.49 atm, B) 0.12 atm, C) 0.98 atm, D) 1.47 atm
- 1
Convert temperature to Kelvin:
- 2
Use the ideal gas law directly for helium to find partial pressure:
- 3
The correct answer is A, which can be verified by multiplying total pressure (1.47 atm) by helium's mole fraction (1/3) to get the same result.
A student performs an experiment to determine the molar mass of an unknown gas. The student measures 0.250 g of the gas in a 250 mL flask at 22 °C and 1.00 atm of pressure. (a) Calculate the molar mass of the unknown gas from the data. (b) If the actual molar mass of the gas is 62 g/mol, calculate the percent error in the student's experiment. (c) State one condition where the gas would deviate significantly from ideal behavior, and explain why.
- 1
Part (a): Convert units to match : ,
- 2
Calculate molar mass:
- 3
Part (b): Calculate percent error:
- 4
Part (c): The gas deviates significantly at high pressure or low temperature. At high pressure, molecules are packed closely, so their own volume is no longer negligible, violating an ideal gas assumption. At low temperature, intermolecular forces become significant, also violating ideal assumptions.
5. Common Pitfalls
Wrong move:
Using temperature in Celsius instead of Kelvin in .
Why:
Most problems give experimental temperatures in Celsius for realism, and students forget the ideal gas law requires absolute temperature.
Correct move:
Always convert temperature to Kelvin as your first step after writing down known values.
Wrong move:
Mismatching units of pressure/volume to the gas constant R.
Why:
Students memorize but forget it requires liters and atmospheres; they leave volume in mL or pressure in kPa and get the wrong order of magnitude.
Correct move:
After writing down R, explicitly check that your P and V units match R’s units, and convert if necessary before plugging in.
Wrong move:
Forgetting to subtract water vapor pressure when calculating moles of gas collected over water.
Why:
Students only use the total pressure given in the problem, ignoring that water contributes to the total pressure.
Correct move:
If the problem states the gas is collected over water, always subtract the given water vapor pressure from total pressure first.
Wrong move:
Using the old STP molar volume of 22.4 L/mol for problems using the current AP STP definition.
Why:
Many older textbooks teach the pre-1982 IUPAC STP definition; the AP CED uses the current IUPAC definition.
Correct move:
Remember current AP STP is 1 bar (0.9869 atm) and 273.15 K, with a molar volume of 22.7 L/mol; confirm which STP the problem specifies.
Wrong move:
Calculating mole fraction from mass percentages directly without converting to moles first.
Why:
Students confuse mass percent with mole percent and use mass fractions to calculate partial pressure.
Correct move:
Always convert masses of each gas to moles first, then calculate mole fraction from total moles.
Wrong move:
Assuming density is proportional to molar mass regardless of conditions.
Why:
Students memorize but forget density depends on P and T, so two gases with different molar masses can have the same density at different conditions.
Correct move:
Always use the full relationship for calculations, don’t rely on proportionality unless P and T are explicitly held constant.
6. Quick Reference Cheatsheet
Category | Formula | Notes |
|---|---|---|
Core Ideal Gas Law | T must be in Kelvin; for most AP problems | |
Molar Mass from Ideal Gas Law | m = mass of gas in grams; use when you know mass, P, V, T | |
Gas Density Relationship | d = density in g/L; P units must match R | |
Dalton's Law of Partial Pressures | Sum of partial pressures equals total pressure | |
Partial Pressure from Mole Fraction | ; mole fraction is unitless | |
AP Current STP | 1 bar (0.9869 atm), 273.15 K | Molar volume = 22.7 L/mol at STP |
Gas collected over water | Water vapor pressure is always given in the problem | |
Mole Fraction Definition | Sum of all mole fractions in a mixture equals 1 |
When this came up on past exams
AI-estimated based on syllabus patterns — cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2023 · MCQ
Calculate partial pressure of gas mixture
- 2022 · FRQ
Find molar mass of unknown gas
What's Next
Mastering the ideal gas law is a critical prerequisite for the next topics in Unit 3: deviation from ideal gas behavior and kinetic molecular theory (KMT). Without a solid understanding of how to manipulate and solve for unknown gas properties, you will struggle to explain why real gases deviate from ideal behavior and connect KMT molecular predictions to measurable gas properties. The ideal gas law also connects to later topics across the AP Chemistry curriculum: it is used to calculate pressure changes in equilibrium problems, find molar masses of gaseous products in reaction stoichiometry, and relate gas properties to thermodynamics problems involving vaporization. Next, you will build on this foundation to explain gas behavior at the molecular level.
