Skip to main content
Chemistry LibreTexts

2.2.7: Ideal gas law

  • Page ID
    419260
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Combined relationships between pressure, volume, temperature, and amount of gases

    The gas laws described above give the following relationships between volume \(V\), pressure \(P\), the temperature in kelvin \(T\), and the amount of gas in moles \(n\):

    \(V \propto 1 / {P}\), at constant \(T\) and \(n\),

    \(V\propto T\), at constant \(P\) and \(n\), and

    \(V \propto n\), at constat \(T\) and \(P\).

    The three proportionalities combine to give the following ideal gas relationship:
    \[V \propto \frac{nT}{P}\nonumber\]
    The proportionality changes to an equation by introducing a constant of proportionality:
    \[V=\frac{n R T}{P}\nonumber\], that rearranges to \[P V=n R T \nonumber\]
    where \(R\) is the proportionality constant called the gas constant.

    Ideal gas law

    The equation: \(PV=n R T\) is called the ideal gas law.

    The value of \(R\) can be calculated by: \(R=\frac{P V}{n T}\), where \(n\) is the quantity of gas in a mole, \(T\) is the temperature in kelvin, \(P\) is the pressure that can be in various units, and \(V\) is the volume that can be in various units. The value of \(R\) in different units of \(P\), \(V\), and \(PV\) products are given in Table 1. If values of any three among the \(P, V, n\), and \(T\) are known, the value of the fourth one can be calculated by using the ideal gas law.

    Caution

    In these calculations, the units of \(R\) should be in agreement with the units of \(P, V, n\), and \(T\). If they are not in agreement, the given unit of \(P, V, n\), and \(T\) must be converted to agree with the units of \(R\).

    Table 1: The numerical values of gas constant R in various units
    Value Units
    0.08206 L-atm/mol-K
    8.314 J/mol-K
    1.987 cal/mol-K
    8.314 m3-Pa/mol-K
    62.36 L-torr/mol-K

    The ideal gas equation in a rearranged form is \(\frac{P V}{n T}=R\) is a constant, that implies that:
    \[\frac{P_{1} V_{1}}{n_{1} T_{1}}=\frac{P_{2} V_{2}}{n_{2} T_{2}}=R\nonumber\]
    If one or two parameters in the ideal gas equation \(\frac{P_{1} V_{1}}{n_{1} T_{1}}=\frac{P_{2} V_{2}}{n_{2} T_{2}}\) are constant; they cancel out, leaving the relationship between the remaining parameters, e.g.

    if \(n\) and \(T\) are constant: \(P_{1} V_{1}=P_{2} V_{2}\), that is Boyle's law,

    if \(P\) and \(n\) are constant: \(\frac{V_{1}}{T_{1}}=\frac{V_{2}}{T_{2}}\), that is Charles's law,

    if \(P\) and \(T\) are constant: \(\frac{V_{1}}{n_{1}}=\frac{V_{2}}{n_{2}}\), that is Avogadro's law,

    if \(V\) and \(n\) are constant: \(\frac{P_{1}}{T_{1}}=\frac{P_{2}}{T_{2}}\), that is Gay Lussac's law,

    if \(V\) and \(T\) are constant: \(\frac{P_{1}}{n_{1}}=\frac{P_{2}}{n_{2}}\), that is pressure-mole relationship,

    and if \(n\) is constant: \(\frac{P_{1} V_{1}}{T_{1}}=\frac{P_{2} V_{2}}{T_{2}}\), that is combined gas law.

    Example \(\PageIndex{1}\)

    Calculate the volume of 1.000 mole of a gas in liters (L) at 0.000 oC and 1.000 atm?
    Solution: Given \(n\)=1.000 mol, \(T\)= 0 oC+273.15=273.15 K, \(P\)=1.000 atm, and \(R\)=0.08206 L-atm/mol-K

    Solution

    Given \(n\)=1.000 mol, \(T\)= 0 oC+273.15=273.15 K, \(P\)=1.000 atm, and \(R\)=0.08206 L-atm/mol-K

    Formula: \(PV=nRT\), rearrange the formula to: \(V=\frac{n R T}{P}\).

    Plug in the values and calculate: \(V=\frac{1.000 \mathrm{~mol} \times 0.08206 \frac{\mathrm{L}-\mathrm{atm}}{\mathrm{mol}-\mathrm{K}} \times 273.15 \mathrm{~K}}{1.000 \mathrm{~atm}}=22.41 \mathrm{~L}\)

    Note

    The volume of 1 mol of an ideal gas is 22.41 L at 0 oC and 1 atm pressure, as calculated in the above example

    Example \(\PageIndex{2}\)

    Calculate the volume of a container that has 1.50 mol of He gas at 7.2 atm and 25 oC?

    Solution

    \(P\)=7.2 atm, \(V\)=? \(n\)=1.50 mol, \(T\)=25 oC}+273=298 K, R=0.08206 \(\mathrm{~L}-\mathrm{atm} / \mathrm{mol}-\mathrm{K}\)

    Formula: \(PV=nRT\), rearrange the formula to: \(V=\frac{n R T}{P}\)

    Plug in the values and calculate: \(V=\frac{1.50 \mathrm{~mol} \times 0.08206 \frac{\mathrm{L}-\mathrm{atm}}{\mathrm{mol}-K} \times 298 \mathrm{~K}}{7.2 \mathrm{~atm}}=5.1 \mathrm{~L}\)

    Example \(\PageIndex{3}\)

    Calculate the pressure in a 5.1 L container that has 0.60 mol of He at 25 oC?

    Solution

    \(P\) = ?, \(V\)=5.1 L, \(n\) = 0.60 mol, \(T\)=25 oC+273=298 K, \(R=0.08206 \frac{\mathrm{L}-\mathrm{atm}}{\mathrm{mol}-K}\)

    Formula: \(PV=nRT\), rearrange the formula, plug in the values and calculate: \(P=\frac{n R T}{V}=\frac{0.60 \mathrm{~mol} \times 0.08206 \frac{\mathrm{L-atm}}{\mathrm{mol}-K} \times 298 \mathrm{~K}}{5.1 \mathrm{~L}}=2.9 \mathrm{~atm}\)

    Example \(\PageIndex{4}\)

    Calculate the pressure of 0.60 mol of He in example 3 mixed with 1.50 mol of He in example 2 in a container of 5.1 L volume at 25 oC?Solution

    \(P_{total}\) = ?, \(n_{total}\) = 1.5 mol + 0.60 mol = 2.1 mol, \(V\) = 5.1 L, T = 25 oC + 273 = 298 K, and \(R=0.08206 \frac{\mathrm{L}-\mathrm{atm}}{\mathrm{mol}-K}\)

    Formula: \(P_{\text {total }} V=n_{\text {total }} R T\), rearrange, plug in the values and calculate: \(P_{\text {total }}=\frac{n_{\text {total }} R T}{V}=\frac{2.1 \mathrm{~mol} \times 0.08206 \frac{L-a t m}{m o l-K} \times 298 \mathrm{~K}}{5.1 \mathrm{~L}}=10.1 \mathrm{~atm}\)

    Note

    The \(P_{\text {total }}\) of 2.1 mol He in example 4 is equal to \(P\) of 1.50 mole He in example 2+\(P\) of 0.6 mol He in example 3, i.e., 7.2 atm +2.9 atm =10.1 atm. This calculation demonstrates that when gases are mixed, the total pressure is the sum of the pressures that each fraction will exert if it was alone in that space. It is demonstrated by mixing the same gas, i.e., He with He, but it remains true when different gases are mixed, as long as all the gases involved obey the ideal gas law.

    Molar volume of gases at standard temperature and pressure

    The temperature of 0oC and pressure of 1 atm is called standard temperature and pressure (STP) for gases.

    Standard temperature and pressure

    Currently accepted STP is 0oC and 1 bar. The molar volume of an ideal gas at 0oC and 1 bar is 22.71 L, but for most practical purposes, the older definition of STP of 0oC and 1 atm is used.

    The calculations in example 1 of the previous section show that the molar volume of an ideal gas is 22.41 L at STP. Fig. 7.7.1 illustrates the molar volume of an ideal gas at STP.

    Cube representing one mole of a gas at STP filling 22.4 L
    clipboard_ee708ae5b1b4503b688cab179cf0b6d21.png
    Figure \(\PageIndex{1}\): The molar volume of gases at STP is 22.4 L which is the volume of 11.1” x 11.1” x 11.1”, i.e., about the volume of three basketballs.

    Fig. 7.7.2 shows that the molar volume of real gases is very close to that of the ideal gas. The small differences between the molar volume of real gases and the ideal gas are because ideal gas molecules are assumed to have negligible volume and negligible intermolecular interactions. The real gas molecules do have some volume and some intermolecular interactions that cause deviations of real gases from the ideal behavior. However, for practical purposes, the calculations based on ideal gas law remain applicable for the majority of real gases under ambient conditions.

    clipboard_ec955652e90b45c4403d7aa1f8de0284e.png
    Figure \(\PageIndex{2}\): Comparison of molar volume of some real gases with an ideal gas at STP.

    The molar volume of gases at STP is an equality between the number of moles and the volume of gas at STP, i.e.:

    \[1 \text { mol gas }=22.4 \mathrm{~L} \text { gas at STP }\nonumber\]

    The equality gives two conversion factors, i.e.,

    \[\frac{1 \text { mol gas }}{22.4 \mathrm{~L} \text { gas }}\text {, and }\frac{22.4 \mathrm{~L} \text { gas }}{1 \text { mol gas }} \text {.}\nonumber\]

    The conversion factors are used to convert volume to moles and mol to volume of gas, respectively, at STP.

    Example \(\PageIndex{5}\)

    Calculate the volume of 64.0 g of oxygen at STP?

    Solution

    Given: mass of oxygen = 55.2 g. Required: volume of the oxygen =?

    Strategy: 1st convert the grams of oxygen to moles of oxygen by using reciprocal of molar mass as a conversion factor and then convert the moles of oxygen to volume of oxygen by using 2nd conversion factor described above:

    \[\text { volume of oxygen }=64.0 \cancel{\mathrm{~g} \text { oxygen }} \times \frac{1 \cancel{\text { mol oxygen }}}{32 \cancel{\mathrm{~g} \text { of oxygen }}} \times \frac{22.41 \mathrm{~L}}{1 \cancel{\text { mol oxygen }}}=44.82 \mathrm{~L} \text { oxygen }\nonumber\]


    This page titled 2.2.7: Ideal gas law is shared under a Public Domain license and was authored, remixed, and/or curated by Muhammad Arif Malik.

    • Was this article helpful?