How to solve an ideal gas law problem

The ideal gas law relates the pressure, volume, temperature, and number of moles of a gas via the equation PV=nRTPV = nRT. This method applies to gases operating under conditions of relatively low pressure and high temperature, where intermolecular forces and molecular volume are negligible.

The setup

Identify the known and unknown variables from the problem statement. Select the universal gas constant, RR, whose units match your given pressure and volume. The most common value used in chemistry is R=0.08206R = 0.08206 L atm mol1^{-1} K1^{-1}.

The steps

Step 1: Convert all temperatures to Kelvin (K=extC+273.15K = ^\circ ext{C} + 273.15). Step 2: Convert pressure and volume to match the units of your chosen RR. Step 3: Rearrange PV=nRTPV = nRT to solve algebraically for the unknown variable. Step 4: Substitute the known values with units and calculate the result.

Checking the result

Verify that all units cancel correctly to leave the desired unit of the unknown variable. Ensure the magnitude of the answer is physically reasonable; for instance, absolute temperature and volume must be strictly positive.

Common errors

Failing to convert Celsius to Kelvin is the most frequent mistake. Another common error is using an RR value with units that do not match the pressure and volume units, resulting in an answer off by orders of magnitude.

Worked example

A 5.00 L cylinder contains 2.50 mol of nitrogen gas at 25.0 ^\circC. Calculate the pressure inside the cylinder in atmospheres.

Known: V=5.00V = 5.00 L, n=2.50n = 2.50 mol, T=25.0T = 25.0 ^\circC. Unknown: PP in atm. Choose R=0.08206R = 0.08206 L atm mol1^{-1} K1^{-1}. Step 1: Convert temperature to Kelvin: T=25.0+273.15=298.15T = 25.0 + 273.15 = 298.15 K. Step 2: Rearrange the ideal gas law for PP: P=(nRT)/VP = (nRT)/V. Step 3: Substitute values: P=(2.50extmol)(0.08206extLatmmol1extK1)(298.15extK)/(5.00extL)P = (2.50 ext{ mol})(0.08206 ext{ L atm mol}^{-1} ext{ K}^{-1})(298.15 ext{ K}) / (5.00 ext{ L}). Step 4: Calculate the final value: P=12.23P = 12.23 atm.

FAQ

Run your own problem

References: OpenStax Chemistry 2e, Chapter 9: Gases · Zumdahl Chemistry, Chapter 5: Gases

See also