Ideal Gas Law
Ideal gas law fundamentals
The ideal gas law connects four key properties of a gas: pressure, volume, temperature, and the amount of gas present. It assumes the gas behaves "ideally," meaning it follows the assumptions of the kinetic molecular theory.
An ideal gas is a hypothetical gas whose particles:
- Have negligible volume compared to the container they occupy
- Exert no attractive or repulsive forces on each other
- Undergo perfectly elastic collisions (no energy lost)
- Have average kinetic energy directly proportional to absolute temperature
The ideal gas law equation is:
where:
- = pressure (in pascals, Pa, or atmospheres, atm)
- = volume (in cubic meters, , or liters, L)
- = amount of gas (in moles)
- = ideal gas constant
- = absolute temperature (in Kelvin, K)
The value of depends on which units you're using. If pressure is in pascals and volume in cubic meters, use . If pressure is in atmospheres and volume in liters, use . Matching to your units is one of the most common places students make mistakes.

Problem-solving with the ideal gas law
You can rearrange to isolate whichever variable you need:
- Solving for pressure:
- Solving for volume:
- Solving for moles of gas:
- Solving for temperature:
Steps for solving any ideal gas law problem:
- Identify which variable you're solving for and which three are given.
- Convert temperature to Kelvin if it's given in Celsius: . The ideal gas law only works with absolute temperature.
- Check that your units for , , and are consistent with the value of you're using.
- Plug in values and solve.
Quick example: Find the volume of 2.0 mol of gas at 1.0 atm and 25ยฐC.
- Convert temperature:
- Use since pressure is in atm

Assumptions and limitations of the ideal gas law
The ideal gas law works well under many conditions, but it rests on simplifying assumptions that don't always hold.
The key assumptions are:
- Gas particles take up zero volume (they're treated as point masses)
- There are no intermolecular forces between particles
- All collisions are perfectly elastic
- Average kinetic energy scales linearly with absolute temperature
Where the law breaks down:
- High pressures: Gas particles get forced close together, so their actual volume matters and intermolecular forces become significant. For example, at pressures above ~100 atm, most gases show noticeable deviation.
- Low temperatures: As a gas cools toward its condensation point, attractive forces between molecules become stronger relative to their kinetic energy, pulling behavior away from the ideal model.
- Near phase transitions: Right before a gas condenses into a liquid, the ideal gas law becomes quite inaccurate because intermolecular attractions dominate.
A useful rule of thumb: gases behave most ideally at high temperatures and low pressures, where particles are far apart and moving fast.
Real-world applications of the ideal gas law
Calculating gas density under specific conditions is a direct application. Since density and (where is the molar mass), you can substitute into the ideal gas law to get:
This tells you that gas density increases with pressure and decreases with temperature, which makes physical sense.
Determining the molar mass of an unknown gas works in reverse. If you measure the mass, pressure, volume, and temperature of a gas sample, you can find from the ideal gas law and then calculate .
Engineering applications include analyzing gases in internal combustion engines. During the compression stroke, the volume of the gas in the cylinder decreases rapidly. The ideal gas law lets you estimate the resulting pressure increase, which is central to engine design.
Atmospheric science uses the ideal gas law to relate pressure and altitude. Atmospheric pressure drops with increasing altitude because there's less air above you. This relationship allows rough altitude estimates from pressure readings, which is how altimeters in aircraft work.