The ideal gas law packs four quantities into one equation:
where is pressure, is volume, is the amount of gas in moles, is the gas constant, and is absolute temperature in Kelvin. Know any three and you can solve for the fourth. A common chemistry value of the constant is
which is convenient when pressure is in atm and volume in liters; other units call for a matching value of . Reading each symbol once: is pressure, is volume, is moles, is the gas constant tying the units together, and is temperature in Kelvin. The fast intuition behind the equation is direct: more gas means a larger , hotter gas means a larger , and either tends to raise pressure or volume unless one of them is held fixed.
Why the equation holds, and what it assumes
is the model for an ideal gas, one whose particles have negligible volume and no intermolecular forces except during collisions. Those assumptions are why it combines the separate gas laws into one statement: Boyle's law lives in the - trade-off at fixed and , Charles's law in the - link at fixed and , and Avogadro's law in the - link at fixed and . Picture a sealed container: heat it at fixed volume and amount and pressure rises; let it expand at roughly fixed pressure and volume rises instead. The equation keeps all of those relationships in one place.
The assumptions also set the limits. The model works best at lower pressure and higher temperature, where particles are far apart, and real gases deviate more at high pressure or near condensation. And temperature must always be in Kelvin, or the answer comes out wrong.
Worked example: solving for volume
A gas sample has , , and . Find the volume with . Rearrange once:
Substitute and simplify:
So the volume is about . The workflow is the lesson: pick a matching , keep in Kelvin, rearrange once, then sanity-check. A half mole at room temperature near taking up several liters is plausible, so it passes. The same four steps handle any of the four unknowns. To solve for pressure you would rearrange to ; for moles, ; for temperature, . Only the algebra of the first rearrangement changes, while the unit discipline and the closing sanity check stay identical.
Try your own numbers
Change one value in the example and predict the effect before computing. Double the moles to , keeping and fixed, and volume should double:
which is indeed about twice . To run a different set of numbers or units, try a similar case in GPAI Solver.
Calculation pitfalls
- Using Celsius instead of Kelvin. Convert to before substituting.
- Mixing units without changing . Pa and need a different constant than atm and liters.
- Treating the law as exact for every gas. It is an approximation, often very good but not equally accurate for every gas in every condition.
- Forgetting what is held fixed. "Higher temperature means higher pressure" is only directly true at constant volume and amount.
The ideal gas law shows up in introductory chemistry, thermodynamics, gas-collection problems, lab calculations, and engineering approximations, and it is the bridge to molar volume and real-gas deviations once the four-variable relationship feels natural.
Frequently Asked Questions
- What does the ideal gas law PV = nRT mean?
- The ideal gas law connects four quantities in one model: pressure, volume, amount of gas in moles, and absolute temperature. If you know three of them, you can solve for the fourth. It combines the ideas behind Boyle's law, Charles's law, and Avogadro's law into a single expression, so you do not have to switch between separate gas laws.
- When does the ideal gas law work well?
- It works best at lower pressure and higher temperature, where gas particles are far apart and intermolecular forces matter less. The model treats particles as having negligible volume and negligible forces except during collisions. Real gases deviate more at high pressure or near condensation conditions, so the equation is an approximation, not a perfect description.
- Why must temperature be in Kelvin in the ideal gas law?
- The equation requires absolute temperature. If you plug in Celsius values directly, the ratios and the final answer will be wrong. Converting to Kelvin is a condition that applies to every ideal gas law calculation, so it should be the first thing you check before substituting numbers.
- What value of R should you use in gas law problems?
- The value of the gas constant depends on your units. A common chemistry version is 0.08206 liter-atmospheres per mole per Kelvin, which is convenient when pressure is in atmospheres and volume is in liters. If your problem uses different units, you must choose a matching value of R so the units cancel correctly.
- How do you solve for volume using the ideal gas law?
- Rearrange the equation to V equals nRT divided by P, then substitute. For 0.50 moles of gas at 300 Kelvin and 1.20 atmospheres, using R equal to 0.08206, the volume is 0.50 times 0.08206 times 300 divided by 1.20, which is about 10.3 liters. The workflow is rearrange first, then substitute, then simplify.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →