The Ideal Gas Law Explained

The ideal gas law ties together the four things you can measure about a gas — pressure, volume, amount and temperature — in one equation.

PV = nRT

P is pressure, V is volume, n is moles, T is absolute temperature, and R is the gas constant. Rearrange it to solve for whichever quantity you are missing.

Choosing the right R

R has different numerical values depending on the units, so match it to your pressure and volume:

The simplest habit: convert pressure to atm and volume to litres, then use 0.08206.

Temperature must be in kelvin

The law uses absolute temperature, so always convert: T(K) = T(°C) + 273.15. Forgetting this is the single most common mistake.

Worked example

How many moles of gas occupy 18.5 L at 11.2 atm and 28.2 °C?

T = 28.2 + 273.15 = 301.35 K
n = PV ÷ RT = (11.2 × 18.5) ÷ (0.08206 × 301.35) = 8.38 mol

When the gas changes conditions

If a fixed amount of gas moves between two states, the combined gas law P₁V₁ ÷ T₁ = P₂V₂ ÷ T₂ is quicker, because R and n cancel.

Solve any of P, V, n or T on the Ideal Gas Law Calculator — it converts your units automatically.

Practice gas problems

The General Chemistry Workbook's gases chapter covers the combined gas law, Dalton's law and gas stoichiometry with full solutions.

View on Amazon →