Key ideas
- is pressure, in atmospheres (atm) when you use R = 0.08206. 1 atm = 101.325 kPa = 760 mmHg.
- is volume, in liters (L).
- is the amount of gas, in moles (mol).
- is the gas constant. Pick the value whose units match your pressure and volume (table below).
- is the absolute temperature, in kelvins (K): .
| Pressure unit | Volume unit | R |
|---|---|---|
| atm | L | 0.08206 L·atm/(mol·K) |
| kPa | L | 8.314 L·kPa/(mol·K) |
| mmHg (torr) | L | 62.36 L·mmHg/(mol·K) |
| Pa | m³ | 8.314 J/(mol·K) |
When the same gas changes conditions and the amount stays fixed, cancels and you get the combined gas law. Boyle's law (constant T), Charles's law (constant P) and Gay-Lussac's law (constant V) are all special cases of it:
At STP (0 °C = 273.15 K and 1 atm), 1 mol of an ideal gas takes up about 22.4 L. Some newer textbooks define STP as 1 bar instead, which gives 22.7 L, so check which one your class uses.
Worked examples
Example 1: solve for volume
Problem What volume does 2.00 mol of gas take up at 25.0 °C and 1.00 atm?
- Convert the temperature to kelvins.
- Solve for .
- Plug in. Every unit except liters cancels.
Answer 48.9 L
Example 2: solve for pressure
Problem 0.500 mol of nitrogen is in a 10.0 L tank at 300. K. What is the pressure?
- Solve for .
- Plug in.
Answer 1.23 atm
Example 3: find the mass of a gas
Problem A 5.00 L tank holds carbon dioxide at 2.50 atm and 27.0 °C. How many grams of are inside?
- Temperature in kelvins.
- Solve for moles.
- Moles to grams with g/mol.
Answer 22.3 g of
Example 4: combined gas law
Problem A weather balloon holds 2.50 L of helium at 1.00 atm and 20.0 °C. It rises to where the pressure is 0.800 atm and the temperature is °C. What is its new volume?
- Convert both temperatures.
- Solve the combined gas law for .
- Plug in.
- Sense check: lower pressure makes it bigger, colder air makes it a little smaller. Bigger overall makes sense.
Answer 2.81 L
Common mistakes and how to fix them
- Using Celsius. At 0 °C the formula would give zero volume. Fix: always add 273.15 first.
- Mismatched R. Using 0.08206 with a pressure in kPa makes the answer off by a factor of about 100. Fix: match R to your pressure unit, or convert pressure to atm.
- Using mL. Fix: R = 0.08206 needs liters. Divide mL by 1000.
- Using the combined gas law when the amount changes. If gas is added or leaks out, n changes. Fix: use for each state instead.
Practice problems
Convert 37 °C (body temperature) to kelvins.
- 236 K
- 310 K
- 37 K
- 273 K
Show answer
Answer: 310 K
, which is 310 K to the ones place.
What volume does 1.00 mol of an ideal gas take up at 273.15 K and 1.00 atm?
- 1.00 L
- 8.31 L
- 22.4 L
- 24.5 L
Show answer
Answer: 22.4 L
L. 24.5 L is the volume at 25 °C.
3.00 mol of gas is in a 25.0 L container at 350. K. What is the pressure in atm?
Show answer
Answer: 3.45 atm
, so 3.45 atm.
A gas takes up 4.00 L at 1.00 atm. At the same temperature, the pressure is raised to 2.00 atm. What is the new volume?
- 8.00 L
- 2.00 L
- 4.00 L
- 0.500 L
Show answer
Answer: 2.00 L
With T fixed, : L. Double the pressure, half the volume.
How many moles of gas are in a 6.00 L container at 2.00 atm and 300. K?
Show answer
Answer: 0.487 mol
mol.
Frequently asked questions
Why does temperature have to be in kelvins?
The gas laws need a temperature scale that starts at zero energy. Kelvin does: 0 K is absolute zero. Celsius puts zero at water's freezing point, so doubling a Celsius number does not double the energy of the gas, and the math breaks.
What makes a gas ideal?
An ideal gas is a model: its particles take up no space and do not attract each other. Real gases act almost ideal at ordinary temperatures and pressures. They drift away from the model at very high pressures or very low temperatures, where particles are crowded or slow.
Which gas law should I use?
If the problem gives moles or grams, or asks for them, use . If one sample of gas changes from one set of conditions to another, use the combined gas law and cross out whatever stays constant.
How do I find molar mass with the ideal gas law?
Use to find moles from the measured pressure, volume and temperature. Then divide the mass of the gas sample by those moles. The result in g/mol tells you which gas it could be.
Sources
- OpenStax Chemistry 2e, 9.2 Relating Pressure, Volume, Amount, and Temperature: The Ideal Gas Law, accessed October 1, 2026
- NIST, molar gas constant R (CODATA), accessed October 1, 2026