Every gas law so far has compared a gas sample in one state to the SAME sample in a different state — the amount of gas never changed. But often you just want to know: given some amount of gas at certain conditions right now, what is its pressure, volume, or temperature? For that, you need an equation that includes the amount of gas (, in moles) directly. That equation is the ideal gas law.
The equation
| Symbol | Quantity | Unit (in this course) |
|---|---|---|
| Pressure | kPa | |
| Volume | L | |
| Amount of gas | mol | |
| Ideal gas constant | ||
| Absolute temperature | K |
Where does come from? The combined gas law says that for a sealed sample is a constant. Avogadro's law says that at the same temperature and pressure, doubling the number of moles doubles the volume, so that constant must be proportional to . Writing the constant as gives , which is the ideal gas law. So is simply the value of for any ideal gas, measured once and used everywhere: for exactly 1 mol at 273.15 K and 101.325 kPa, the volume is 22.4 L, and The same number works for hydrogen, oxygen or carbon dioxide, because under the KMT assumptions the identity of the particles does not matter; only how many there are.
Rearranging for any variable
Because relates four quantities (with fixed), you can algebraically solve for whichever one is unknown, as long as you know the other three. The units of are a built-in checklist: means pressure MUST be in kPa, volume in L (so divide mL by 1000), amount in mol (so divide grams by molar mass), and temperature in K. How do you choose between this law and the combined gas law? If the problem describes ONE gas sample at ONE set of conditions, or involves moles or grams, use . If it describes the same sealed sample moving from a before-state to an after-state, use the combined gas law, where and cancel.
- Solve for pressure:
- Solve for volume:
- Solve for moles:
- Solve for temperature:
Molar mass and density from PV = nRT
The ideal gas law can identify an unknown gas. Weigh a sample (mass ), measure its , and , and calculate . Then the molar mass is simply , which you can compare with the molar masses of likely candidates. Combining the two steps gives . The same idea predicts gas density (): substituting into and rearranging gives . At the same temperature and pressure, a gas's density is proportional to its molar mass. Air averages about 29 g/mol, so helium (4.00 g/mol) floats up, while carbon dioxide (44.01 g/mol) sinks and collects in low spots, which is why fire extinguishers using smother flames and why can build up dangerously in basements and cellars. The formula also shows that heating a gas at constant pressure lowers its density, the principle behind hot-air balloons.
When does a gas stop behaving "ideally"?
Recall that the ideal gas law assumes the KMT postulates hold exactly — negligible particle volume and no intermolecular attractions. Real gases follow this closely under everyday conditions, but deviate in these circumstances:
- High pressure: particles are forced close together, so their own (non-negligible) volume starts to matter, and the gas doesn't compress quite as much as the ideal law predicts.
- Low temperature: particles move slower, giving intermolecular attractive forces enough time to actually affect motion (this is also, not coincidentally, how gases eventually condense into liquids as they cool).
- Strongly attracting particles: polar molecules such as and attract each other more than small nonpolar ones such as He or , so they deviate more under the same conditions. Helium is the most nearly ideal real gas.