# 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/m^{2}), one mole (*n* = 1) of gas occupies 22.4 L volume. Using this experimental value, you can evaluate the **gas constant R, **

\(\begin{align}

R &= \dfrac{P V}{n T} = \mathrm{\dfrac{1\: atm\:\: 22.4\: L}{1\: mol\:\: 273\: K}}\\ \\

&= \mathrm{0.08205\: \dfrac{L\: atm}{mol\cdot K}}

\end{align}\)

When SI units are desirable, *P* = 101325 N/m^{2} (Pa for pascal) instead of 1 atm. The volume is 0.0224 m^{3}. The numerical value and units for *R* are

\(\begin{align}

R &= \mathrm{\dfrac{101325\: \dfrac{N}{m^2}\: 0.0224\: m^3}{1\: mol\: 273\: K}}\\

\\

&= \mathrm{8.314\: \dfrac{J}{mol\cdot K}}

\end{align}\)

Note that \(\mathrm{1\: L\: atm = 0.001\: m^3 \times 101325\: \dfrac{N}{m^2} = 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.

\(\begin{align}

R &= \mathrm{0.08205\: \dfrac{L\: atm}{mol \cdot K}}

&&\textrm{Notes:} \\

&= \mathrm{8.3145\: \dfrac{L\: kPa}{mol\cdot K}}

&&\mathrm{1\: atm = 101.32\: kPa} \\

&= \mathrm{8.3145\: \dfrac{J}{mol\cdot K}}

&&\mathrm{1\: J = 1\: L\: kPa} \\

&= \mathrm{1.987\: \dfrac{cal}{mol\cdot K}}

&&\mathrm{1\: cal = 4.182\: J} \\

&= \mathrm{62.364\: \dfrac{L\: torr}{mol\cdot K}}

&&\mathrm{1\: atm = 760\: torr}\\

\end{align}\)

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**, \(V_{\textrm{molar}} = \dfrac{V}{n}\). Using the molar volume notation, the ideal gas law is:

\(P V_{\textrm{molar}} = 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 = \dfrac{n R T}{V}\) (Boyle's law)

\(P = \left(\dfrac{n R}{V}\right) T\) (Charles's law)

These equations are Boyle's law and Charles's 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, \(\dfrac{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 = \dfrac{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.

Avogadro's law can be further applied to correlate gas density \(\rho\) (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:

\[P M =\dfrac{n M}{V}R T\]

Thus, we have

\(\begin{align}

P M &= \dfrac{d R T}{M}\\

\rho &= \dfrac{n M}{V} \leftarrow \textrm{definition, and}\\

\rho &= \dfrac{P M}{R T}\\

M &= \dfrac{d R T}{P}

\end{align}\)

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 \(\rho\), we can evaluate an average molecular weight (also called molar mass).

\(\begin{align}

P M &= d R T\\

M &= 22.4 \times d\\

&= \mathrm{22.4\: L/mol \times 1.3393\: g/L}\\

&= \mathrm{30.0\: g / mol}

\end{align}\)

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,

\(\mathrm{28.0\, x + 32.0 (1 - x) = 30.0}\)

\(\mathrm{- 4\, x = - 2}\)

\(\mathrm{x = 0.50\: mol\: of\: N_2,\: and\: 1.0 - 0.50 = 0.50\: mol\: O_2}\)

Now, to find the weight percentage, find the amounts of nitrogen and oxygen in 1.0 mol (30.0 g) of the mixture.

\(\mathrm{Mass\: of\: 0.5\: mol\: nitrogen = 0.5 \times 28.0 = 14.0\: g}\)

\(\mathrm{Mass\: of\: 0.5\: mol\: oxygen = 0.5 \times 32.0 = 16.0\: g}\)

\(\mathrm{Percentage\: of\: nitrogen = 100 \times \dfrac{14.0}{30.0} = 46.7 \% }\)

\(\mathrm{Percentage\: of\: oxygen = 100 \times \dfrac{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.

\(\rho \mathrm{\: of\: N_2 = \dfrac{28.0}{22.4} = 1.2500\: g/L}\)

\(\rho \mathrm{\: of\: O_2 = \dfrac{32.0}{22.4} = 1.4286\: g/L}\)

\(\mathrm{1.2500\, x + 1.4286 (1 - x) = 1.3393}\)

Solving for x gives

\(\mathrm{x = 0.50}\) (same result as above)

Exercise 1

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

Example 2

What is the density of acetone (\(\ce{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,

\(\begin{align}

\rho &= \dfrac{P M}{R T}\\

\\

&= \mathrm{\dfrac{1.0 \times 58.0\: atm\: \dfrac{g}{mol}} {0.08205\: \dfrac{L\: atm}{mol\: K} \times 400\: K}}\\

\\

&= \mathrm{1.767\: g / L}

\end{align}\)

Exercise 2

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

## Confidence Building Questions

**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**Note: an independent variable can be of any arbitrary values.*n, T, V*and*P*for a gas?Hint: one

## Contributors

Chung (Peter) Chieh (Chemistry, University of Waterloo)