The ideal gas law, , links the pressure, volume, amount and kelvin temperature of a gas, so any one of them follows from the other three. Use the temperature in kelvins and a value of whose units match your pressure and volume. Rearranged, the same law predicts how a fixed sample responds to change and gives a gas's molar mass and density.
Quick check
Convert 25 °C to kelvins.Show answerHide answer
298 K. Add 273 to the Celsius temperature: .
How many moles are in 8.0 g of oxygen gas, O₂ (molar mass 32.00 g/mol)?Show answerHide answer
0.25 mol, because .
A gas in a sealed, rigid container is heated from 200 K to 400 K. What happens to its pressure?Show answerHide answer
It doubles. With the amount and volume fixed, pressure is proportional to the kelvin temperature.
Know these already? Jump to the practice questions
What you'll be able to do
- Calculate P, V, n or T with , using the value of R that matches the units.
- Calculate the new pressure, volume or temperature when a fixed amount of gas changes conditions.
- Calculate the molar mass or density of a gas from measured data.
- Interpret graphs of pressure, volume and temperature for a fixed amount of gas.
Key terms
Ideal gas
A model gas whose particles take up no volume and do not attract each other, so it obeys exactly. Real gases come close at low pressure and high temperature.
- In plain English
- The perfectly behaved gas the equation describes.
- Don't write
- "An ideal gas is any gas at room temperature."
Absolute temperature
Temperature measured in kelvins from absolute zero, 0 K (about −273 °C), the lowest possible temperature.
- In plain English
- The temperature scale that starts at the true zero.
- Don't write
- "Doubling the Celsius temperature doubles the volume."
How do you use PV = nRT?
On the AP® Chemistry equations sheet. P is pressure, V volume, n moles, T temperature in kelvins and R the gas constant. Pick the value of R whose units match your data:
| Pressure unit | Volume unit | Value of R |
|---|---|---|
| atm | L | 0.08206 L·atm/(mol·K) |
| torr | L | 62.36 L·torr/(mol·K) |
| kPa | L | 8.314 L·kPa/(mol·K) |
All three values are on the sheet; 8.314 appears as J/(mol·K), and 1 J = 1 L·kPa. Convert temperatures with K = °C + 273 (on the sheet). If the units still don't match, convert: 1 atm = 760 torr = 101.3 kPa and 1 L = 1000 mL (learn this).
Key idea
Use kelvins, and an R that matches the pressure and volume units; most gas-law slips break one of these.
Check yourself
Show answerHide answer
0.250 L. R contains liters, so the volume must be in liters.
How do P, V and T change for a fixed sample?
For a fixed amount of gas, nR is constant, so stays the same:
Learn this: it follows from with n fixed. Hold one more quantity constant and you get the simple relationships:
| Held constant | Relationship | Example |
|---|---|---|
| n and T | halve the volume, double the pressure | |
| n and P | (kelvins) | double the kelvin temperature, double the volume |
| n and V | (kelvins) | double the kelvin temperature, double the pressure |
| P and T | double the moles, double the volume |
The note on Kinetic Molecular Theory explains each relationship at the particle level.
Check yourself
Show answerHide answer
No. The kelvin temperature rises only from 283 K to 293 K, a factor of about 1.04, so the volume grows by about 4 per cent.
How do you find a gas's molar mass and density?
Substitute (on the sheet) into and rearrange:
Learn these rearrangements; the second and third use density, (on the sheet).
The density form gives a chain you can reason with. At the same temperature and pressure, equal volumes hold equal numbers of moles, so a gas with a larger molar mass packs more grams into each liter, so it is denser. Heating a gas at constant pressure does the opposite: the same mass spreads into a larger volume, so its density falls.
Check yourself
Show answerHide answer
It decreases. The volume grows while the mass stays the same, so the mass per liter falls.
How do you read gas-law graphs?
| Graph, fixed amount of gas | Shape | What it shows |
|---|---|---|
| P against V, constant T | curve falling toward both axes | PV is constant |
| P against 1/V, constant T | straight line through the origin | |
| V against T in kelvins, constant P | straight line through the origin | |
| V against T in °C, constant P | straight line reaching V = 0 at −273 °C | absolute zero is −273 °C |
| P against T in kelvins, constant V | straight line through the origin |
To read a slope, compare the line with . For V against T at constant pressure, , so the slope is : more gas gives a steeper line, and a higher pressure a shallower one.
Examiner's eye
Marks are lost for calling V proportional to T from a straight line on a Celsius axis: proportional means a line through the origin, which needs kelvins.
Check yourself
Show answerHide answer
The 1 atm line. The slope is , so the smaller pressure gives the larger slope.
Worked example 1: Pressure from PV = nRT
Question: A rigid 2.50 L flask holds 0.150 mol of nitrogen gas, N₂, at 27 °C. Calculate the pressure in the flask, in atm, to 3 significant figures. Use R = 0.08206 L·atm/(mol·K).
What tells you the method
One state of a gas with three of P, V, n and T known: use directly.
Step 1: Convert the temperature.
K.
WhyThe gas law works only with absolute temperature.
Step 2: Rearrange for P.
.
WhyP is the unknown, so divide both sides by V.
Step 3: Substitute.
atm.
WhyR in L·atm/(mol·K) with V in liters gives P in atm.
Check it
Units: mol × L·atm/(mol·K) × K ÷ L leaves atm. Size: 0.150 mol in 2.50 L is 0.0600 mol/L, about 1.5 times the 0.0406 mol/L of a gas at 1 atm and 300 K, so about 1.5 atm fits.
Answer
atm.
Worked example 2: A balloon changes conditions
Question: A weather balloon holds 3.00 L of helium at 25 °C and 1.00 atm. It rises until the pressure is 0.500 atm and the temperature is −23 °C. No helium escapes and the balloon stretches freely. Calculate the new volume, in liters, to 3 significant figures.
What tells you the method
A fixed amount of gas moving between two states: use .
Step 1: Convert the temperatures.
K and K.
WhyThe ratios must use absolute temperatures.
Step 2: Rearrange for .
.
WhyEach ratio applies one change: the pressure change, then the temperature change.
Step 3: Substitute.
L.
WhyThe pressure units cancel in the ratio, and so do the kelvins.
Check it
Halving the pressure alone would double the volume to 6.00 L; cooling from 298 K to 250 K shrinks it by about 16 per cent, so a little over 5 L fits.
Answer
L.
Worked example 3: Molar mass from a class investigation
Question: In a class investigation, an evacuated 0.500 L flask was filled with an unknown noble gas at 22 °C and 745 torr.
| Measurement | Mass (g) |
|---|---|
| Evacuated flask | 112.450 |
| Flask filled with gas | 114.147 |
(a) Calculate the molar mass of the gas, in g/mol, to 3 significant figures. Use R = 62.36 L·torr/(mol·K). (b) Identify the gas, using these molar masses: neon 20.18, argon 39.95, krypton 83.80, xenon 131.29 g/mol.
What tells you the method
Mass, volume, temperature and pressure of one gas sample: find moles from , then .
Step 1: Find the mass of gas.
g.
WhyThe flask was evacuated, so the gain in mass is the gas alone.
Step 2: Find the moles.
K, so mol.
WhyR in L·torr/(mol·K) matches the pressure in torr, so no conversion is needed.
Step 3: Divide mass by moles.
g/mol.
WhyMolar mass is grams per mole.
Step 4: Match the value.
83.8 g/mol matches krypton, 83.80 g/mol.
WhyThe other noble gases are far from 83.8 g/mol, so the match is clear.
Check it
For krypton under these conditions, g/L, and the measured density is g/L.
Answer
(a) g/mol; (b) krypton.
Your turn
Question: Calculate the density of carbon dioxide gas, CO₂ (molar mass 44.01 g/mol), at 1.00 atm and 0 °C, in g/L, to 3 significant figures. Use R = 0.08206 L·atm/(mol·K).
Step 1: Choose the density form.
, from with .
Step 2: Convert the temperature.
K.
Step 3: Your go: substitute and calculate D.
Show the full solutionHide the solution
Step 3. g/L. The units are atm × g/mol ÷ (L·atm/(mol·K) × K), which leaves g/L.
Answer: g/L.
Traps
Trap
Celsius temperatures work in gas-law ratios as long as both are in Celsius.
It seems right because the units match. But pressure and volume are proportional to absolute temperature, so the ratio must use kelvins: from 10 °C to 20 °C the temperature rises from 283 K to 293 K, a 4 per cent increase, not a doubling.
A gas is heated at constant pressure from 50 °C to 100 °C. By what factor does its volume change?
By , not by 2. Convert both temperatures to kelvins before taking the ratio.
Trap
Any value of R gives the right answer if you calculate carefully.
It seems right because R is a constant. But its number depends on its units: with P in atm and V in liters you need 0.08206, and using 8.314 there makes the answer about 101 times too large.
With the pressure in kPa and the volume in liters, which value of R do you use?
8.314 L·kPa/(mol·K), the same number as 8.314 J/(mol·K).
What's examined
On the AP® Chemistry exam, the ideal gas law belongs to Unit 3 (Intermolecular Forces and Properties) and appears in both multiple-choice and free-response questions. Expect calculations with , changes to a fixed sample, molar mass or density from experimental data, and graphs of pressure, volume and temperature to interpret. Show the equation, the values substituted with units, and an answer with sensible significant figures.
Practice questions
- Recall A calculation gives pressure in torr and volume in liters. Which value of R should you use?
- A) 0.08206 L·atm/(mol·K)
- B) 62.36 L·torr/(mol·K)
- C) 8.314 J/(mol·K)
- D) 22.4 L/mol
Show answer
Answer: B. Its units contain torr and liters, matching the data.
Why the others are wrong:
- A needs the pressure in atm.
- C matches kPa with liters, or SI units, not torr.
- D is the molar volume of an ideal gas at 0 °C and 1 atm, not a gas constant.
- Apply At the same temperature and pressure, which gas has the greatest density?
- A) Helium, He (4.00 g/mol)
- B) Methane, CH₄ (16.04 g/mol)
- C) Carbon dioxide, CO₂ (44.01 g/mol)
- D) Nitrogen, N₂ (28.02 g/mol)
Show answer
Answer: C. At the same T and P, equal volumes hold equal moles, so density is proportional to molar mass, and CO₂ has the largest.
Why the others are wrong:
- A has the smallest molar mass, so it is the least dense; small particles do not pack more closely in a gas.
- B has the most atoms per molecule, but density depends on molar mass, not atom count.
- D has a molar mass of 28.02 g/mol, below that of CO₂.
- Apply For a fixed amount of gas, which graph is a straight line through the origin?
- A) Pressure against temperature in kelvins, at constant volume
- B) Pressure against volume, at constant temperature
- C) Volume against temperature in °C, at constant pressure
- D) Volume against pressure, at constant temperature
Show answer
Answer: A. With n and V fixed, , a direct proportion.
Why the others are wrong:
- B is a curve, because P is inversely proportional to V.
- C is a straight line, but it reaches V = 0 at −273 °C, not at the origin.
- D is a curve for the same reason as B.
- Apply A gas sample occupies 450 mL at 1.20 atm and 300 K. Calculate its volume, in mL, at 0.900 atm and 360 K, to 3 significant figures.
Show answer
Answer: mL.
Marking points:
- .
- mL: both the lower pressure and the higher temperature increase the volume.
- Exam-style In a class investigation, the volume of a trapped air sample was measured at constant pressure.
| Temperature (°C) | Volume (mL) |
|---|---|
| 20.0 | 29.3 |
| 60.0 | 33.3 |
| 100.0 | 37.3 |
The points lie on a straight line. Extend the line to find the temperature, in °C, at which the volume would be zero. Give your answer to the nearest whole degree.
Show answer
Answer: °C.
Marking points:
- Slope: mL per °C.
- From 20.0 °C, the volume falls to zero after °C more cooling, so °C.
- This is absolute zero, 0 K, which is why gas-law calculations use kelvins.
- Exam-style A rigid 1.00 L steel tank holds 4.40 g of carbon dioxide, CO₂ (molar mass 44.01 g/mol), at 27 °C. Use R = 0.08206 L·atm/(mol·K). (a) Calculate the pressure in the tank, in atm, to 3 significant figures. (b) The tank is heated to 127 °C. Calculate the new pressure, in atm, to 3 significant figures.
Show answer
Answer: (a) atm; (b) atm.
Marking points:
- mol and K.
- atm.
- The tank is rigid, so : atm.
- Apply A fixed amount of gas is kept at constant pressure. Which change doubles its volume?
- A) Heating it from 20 °C to 40 °C
- B) Heating it from 100 K to 400 K
- C) Cooling it from 400 K to 200 K
- D) Heating it from 200 K to 400 K
Show answer
Answer: D. Volume is proportional to kelvin temperature, and 400 K is twice 200 K.
Why the others are wrong:
- A doubles the Celsius number only; in kelvins, 293 K to 313 K raises the volume by about 7 per cent.
- B quadruples the kelvin temperature, so it quadruples the volume.
- C halves the kelvin temperature, so it halves the volume.
Key points
Recall, then reveal
Say the main points from memory first, then check them.
Show key pointsHide key points
- needs temperature in kelvins and an R whose units match the pressure and volume.
- For a fixed sample, is constant, so P, V and T changes can be found from ratios.
- Molar mass is ; gas density rises with molar mass and falls as temperature rises at constant pressure.
- Direct proportions with temperature show as straight lines through the origin only on a kelvin axis.