CAcT HomePage

# The Ideal Gas Law

### Skills to develop

• Explain all the quantities involved in the ideal gas law.
• Evaluate the gas constant R from experimental results.
• Calculate T, V, P, or n of the ideal gas law, P V = n R T.
• Describe the ideal gas law using graphics.

# The Ideal Gas Law

The volume (V) occupied by n moles of any gas has a pressure (P) at temperature (T) in Kelvin. The relationship for these variables, P V = n R T, where R is known as the gas constant, is called the ideal gas law or equation of state. Properties of the gaseous state predicted by the ideal gas law are within 5% for gases under ordinary conditions. In other words, given a set of conditions, we can predict or calculate the properties of a gas to be within 5% by applying the ideal gas law. How to apply such a law for a given set of conditions is the focus of general chemistry.

At a temperature much higher than the critical temperature and at low pressures, however, the ideal gas law is a very good model for gas behavior. When dealing with gases at low temperature and at high pressure, correction has to be made in order to calculate the properties of a gas in industrial and technological applications. One of the common corrections made to the ideal gas law is the van der Waal's equation, but there are also other methods dealing with the deviation of gas from ideality.

## The Gas Constant R

Repeated experiments show that at standard temperature (273 K) and pressure (1 atm or 101325 N/m2 ), one mole (n = 1) of gas occupies 22.4 L volume. Using this experimental value, you can evaluate the gas constant R,
```    P V   1 atm 22.4 L
R = --- = ------------
n T   1 mol 273 K

= 0.08205 L atm / (mol·K)
```

When SI units are desirable, P = 101325 N/m2 (Pa for pascal) instead of 1 atm. The volume is 0.0224 m3. The numberical value and units for R is

```     101325 N/m2 0.0224 m3
R = ----------------------
1 mol 273 K
= 8.314 J / (mol·K)
```
Note that 1 L atm = 0.001 m3 x 101325 N / m2 = 101.325 J (or N m). Since energy can be expressed in many units, other numerical values and units for R are frequently in use.

For your information, the gas constant can be expressed in the following values and units.

```R = 0.08205 L atm / mol·K        Notes:
= 8.3145 L kPa / mol·K        1 atm = 101.32 kPa
= 8.3145    J  / mol·K        1 J = 1 L kPa
= 1.987   cal  / mol·K        1 cal = 4.182 J
= 62.364 L torr/ mol·K        1 atm = 760 torr
```
The gas constant R is such a universal constant for all gases that its values are usually listed in the "Physical Constants" of textbooks and handbooks. It is also listed in
Constants of our HandbookMenu at the left bottom. Although we try to use SI units all the time, the use of atm for pressure is still common. Thus, we often use R = 8.314 J / (mol·K) or 8.3145 J / mol·K.

The volume occupied by one mole, n = 1, of substance is called the molar volume, Vmolar = V / n. Using the molar volume notation, the ideal gas law is:

P Vmolar = R T

## Applications of the Ideal Gas Law

The ideal gas law has four parameters and a constant, R,

P V = n R T, and it can be rearranged to give an expression for each of P, V, n or T. For example, P = n R T / V,   (Boyles law)
P = (n R / V) T   (Charles law)
These equations are Boyles law and Charles law respectively. Similar expressions can be derived for V, n and T in terms of other variables. Thus, there are many applications. However, you must make sure that you use the proper numerical value for the gas constant R according to the units you have for the parameters.

Furthermore, n / V is number of moles per unit volume, and this quantity has the same units as the concentration (C). Thus, the concentration is a function of pressure and temperature,

C = P / R T. At 1.0 atm pressure and room temperature of 298 K, the concentration of an ideal gas is 0.041 mol/L.

The Avogadros law can be further applied to correlate gas density d (weight per unit volume or n M / V) and molecular mass M of a gas. The following equation is easily derived from the ideal gas law:

```          n M
P M =  --- R T
V
```
Thus, we have P M = d R T / M
d = n M / V - definition, and
d = P M / R T
M = d R T / P

Example 1

An air sample containing only nitrogen and oxygen gases has a density of 1.3393 g / L at STP. Find the weight and mole percentages of nitrogen and oxygen in the sample.

Solution
From the density d, we can evaluate an average molecular weight (also called molar mass).

P M = d R T
M = 22.4 * d

= 22.4 L/mol * 1.3393 g/L
= 30.0 g / mol
Assume that we have 1.0 mol of gas, and x mol of which is nitrogen, then (1 - x) is the amount of oxygen. The average molar mass is the mole weighted average, and thus, 28.0 x + 32.0 (1 - x) = 30.0
- 4 x = - 2
x = 0.50 mol of N2, and 1.0 - 0.50 = 0.50 mol O2
Now, to find the weight percentage, find the amounts of nitrogen and oxygen in 1.0 mol (30.0 g) of the mixture. Mass of 0.5 mol nitrogen = 0.5 * 28.0 = 14.0 g
Mass of 0.5 mol oxygen = 0.5 * 32.0 = 16.0 g
Percentage of nitrogen = 100 * 14.0 / 30.0 = 46.7 % Percentage of oxygen = 100 * 16.0 / 30.0 = 100 - 46.7 = 53.3 %

Discussion
We can find the density of pure nitrogen and oxygen first and evaluate the fraction from the density.

d of N2 = 28.0 / 22.4 = 1.2500 g/L
d of O2 = 32.0 / 22.4 = 1.4286 g/L
1.2500 x + 1.4286 (1 - x) = 1.3393
Solving for x gives
x = 0.50 (same result as above)

Exercise
Now, repeat the calculations for a mixture whose density is 1.400 g/L.

Example 2

What is the density of acetone, C3H6O, vapor at 1.0 atm and 400 K?

Solution
The molar mass of acetone = 3*12.0 + 6*1.0 + 16.0 = 58.0. Thus,

d = P M / R T
= (1.0 * 58.0 atm g/mol) / (0.08205 L atm / (mol K) * 400 K)
= 1.767 g / L

Exercise
The density of acetone is 1.767 g/L, calculate its molar mass.

### Confidence Building Questions

• What is the variable n stand for in the ideal gas law, P V = n R T?

Skill:
Describe the ideal gas law.

• A closed system means no energy or mass flow into or out of a system. In a closed system, how many independent variables are there among n, T, V and P for a gas? Note: an independent variable can be of any arbitrary values.

Skill:
The ideal gas equation shows the interdependence of the variables. Only one of them can be varied independently.

• What is the molar volume of an ideal gas at 2 atm and 1000 K?

Skill:
Evaluate molar volume at any condition.

• A certain amount of a gas is enclosed in a container of fixed volume. If you let heat (energy) flow into it, what will increase?
(In a multiple choice, you may have volume, pressure, temperature, and any combination of these to choose from.)

Skill:
Explain a closed system and apply ideal gas law.

• For a certain amount (n = constant) of gas in a closed system, how does volume V vary with the temperature? In the following, k is a constant depending on n and P.
a. V = k T
b. V = k / T
c. T V = k
d. V = k T2
e. V = k

Skill:
Explain Charles law.

• Boyles law is P V = constant. A sketch of P vs V on graph paper is similar to a sketch of the equation x y = 5. What curve(s) does this equation represent? a. a parabola
b. an ellipse
c. a hyperbola
d. a pair of hyperbola
e. a straight line
f. a surface

Skill:
Apply the skills acquired in Math courses to chemical problem solving.

• For a certain amount of gas in a closed system, which one of the following equation is valid? Subscripts 1 and 2 refer to specific conditions 1 and 2 respectively. a. P1 V1 T1 = P2 V2 T2
b. P1 V1 T2 = P2 V2 T1
c. P1 V2 T1 = P2 V1 T2
d. P2 V1 T1 = P1 V2 T2
e. P1 V2 / T1 = P2 V1 / T2

Skill:
Rearrange a mathematical equation.

• The gas constant R is 8.314 J / mol·K. Convert the numerical value of R so that its units are cal / (mol·K). A unit conversion table will tell you that 1 cal = 4.184 J. Make sure you know where to find it. During the exam, the conversion factor is given, but you should know how to use it.

Skill:
Use conversion factors, for example:

```        1 cal
8.314 J ------- = ? cal
4.184 J
```

• At standard temperature and pressure, how many moles of H2 are contained in a 1.0 L container?

Discussion:
There are many methods for calculating this value.

• At standard temperature and pressure, how many grams of CO2 is contained in a 3.0 L container? Molar mass of CO2 = 44.

One method:
It contains n = 1 atm * 3 L / (0.08205 L atm / (mol·K) * 273 K)

• What is the pressure if 1 mole of N2 occupy 1 L of volume at 1000 K?

Discussion:
Depending on the numerical value and units of R you use, you will get the pressure in various units.
At 1000 K, some of the N2 molecules may dissociate. If that is true, the pressure will be higher!

• What is the temperature if 1 mole of N2 occupy 100 L of volume has a pressure of 20 Pa (1 Pa = 1 Nm-2 )?

Discussion:
At T = 240 K, ideal gas law may not apply to CO2, because this gas liquifies at rather high temperature. The ideal gas law is still good for N2, H2, O2 etc, because these gases liquify at much lower temperature.