The Ideal Gas Law
The Ideal Gas Equation
The ideal gas equation is given by.
Learning Objectives
Apply the ideal gas law to solve problems in chemistryKey Takeaways
Key Points
- An ideal gas exhibits no attractive forces between particles.
- In the ideal gas equation, both pressure and volume are directly proportional to temperature.
Key Terms
- ideal gas constant: R = 8.3145 J·mol-1·K-1
- ideal gas: a gas whose particles exhibit no attractive interactions whatsoever; at high temperatures and low pressures, gases behave close to ideally
- kinetic energy: the energy possessed by an object because of its motion; in Kinetic Gas Theory, the kinetic energy of gas particles is dependent upon temperature only
Kinetic Theory and Ideal Gases
All gases are modeled on the assumptions put forth by the Kinetic Theory of Matter, which assumes that all matter is made up of particles (i.e. atoms or molecules); there are spaces between these particles, and attractive forces become stronger as the particles converge. Particles are in constant, random motion, and they collide with one another and the walls of the container in which they are enclosed. Each particle has an inherent kinetic energy that is dependent upon temperature only.
Translational motion of helium: Real gases do not always behave according to the ideal model under certain conditions, such as high pressure. Here, the size of helium atoms relative to their spacing is shown to scale under 1,950 atmospheres of pressure.
Ideal Gas Law Equation
The Ideal Gas Equation is given by:The four variables represent four different properties of a gas:
- Pressure (P), often measured in atmospheres (atm), kilopascals (kPa), or millimeters mercury/torr (mm Hg, torr)
- Volume (V), given in liters
- Number of moles of gas (n)
- Temperature of the gas (T) measured in degrees Kelvin (K)
R is the ideal gas constant, which takes on different forms depending on which units are in use. The three most common formulations of R are given by:
Example 1
A 20 L box contains a fixed amount of gas at a temperature of 300 K and 101 kPa of pressure. How many moles of gas are contained in the box?Example 2
Calculate the number of moles of gas contained within a bouncy house with a volume of 20.63 cubic meters, a temperature of 300 Kelvin, and a pressure of 101 kPa.For the ideal gas equation, note that the product PV is directly proportional to T. This means that if the gas' temperature remains constant, pressure or volume can increase as long as the complementary variable decreases; this also means that if the gas' temperature changes, it may be due in part to a change in the variable of pressure or volume.
The ideal gas equation is a valuable tool that can give a very good approximation of gases at high temperatures and low pressures.
Density Calculations
A reformulation of the Ideal Gas Equation involving density allows us to evaluate the behaviors of ideal gases of unknown quantity.Learning Objectives
Apply the reformulated Ideal Gas Equation in your calculationsKey Takeaways
Key Points
- Density calculations allow us to evaluate the behaviors of gases of unknown volume.
- We can determine the density of an ideal gas using knowledge of three properties of the evaluated ideal gas.
- This reformulation of the Ideal Gas Equation relates pressure, density, and temperature of an ideal gas independent of the volume or quantity of gas.
Key Terms
- density: a measure of the amount of matter contained by a given volume
is an excellent tool for understanding the relationship between the pressure, volume, amount, and temperature of an ideal gas in a defined environment that can be controlled for constant volume. However, in its most common form, the Ideal Gas Equation is not useful for examining the behavior of gases of undetermined volume, such as the gases in the clouds that surround the stars in our solar system or the atmospheric gases that support life on our planet.

To derive a form of the ideal gas equation that has broader applications, we can use calculations that employ the physical property of density.

Atmosphere composition: Atmospheric science offers one plausible real-life application of the density form of the ideal gas equation. Earth's atmosphere is composed of gases that support life—as the image shows, oxygen involved in the water cycle, sulfur emissions from oceans, methane from agriculture, and more. The density form of the Ideal Gas Law enables us to study the behavior of these gases without enclosing them in a container of known volume.
Derivation of the Volume-Independent Ideal Gas Law
We know the Ideal Gas Equation in the form. We also know that:
n=# moles of gas=\frac{\text{mass of gas (m)}}{\text{molecular weight (M)}}=\frac{m}{M}
If we substitute
for n:
Rearranging the above equation, we get:
Now, recall that density is equal to mass divided by volume:
The term
appears on the right-hand side of the above rearranged Ideal Gas Law. We can substitute in density, D, and get the following:
Rearranging in terms of D, we have:
This derivation of the Ideal Gas Equation allows us to characterize the relationship between the pressure, density, and temperature of the gas sample independent of the volume the gas occupies; it also allows us to determine the density of a gas sample given its pressure and temperature, or determine the molar mass of a gas sample given its density.
Molar Mass of Gas
We can derive a form of the Ideal Gas Equation, PV=nRT, that incorporates the molar mass of the gas (M, ).
Learning Objectives
Apply knowledge of molar mass to the Ideal Gas LawKey Takeaways
Key Points
- The molecular weight ( molar mass ) of any gas is the mass of one particle of that gas multiplied by Avogadro's number (6.02 x 1023).
- Knowing the molar mass of an element or compound can help us stoichiometrically balance a reaction equation.
- The average molar mass of a mixture of gases is equal to the sum of the mole fractions of each gas (xi) multiplied by the molar mass (Mi) of that particular gas: .
Key Terms
- ideal gas: a hypothetical gas whose molecules exhibit no interaction and undergo elastic collision with each other and with the walls of the container
- molar mass: the mass of one mole of an element or compound
- stoichiometry: the study and calculation of quantitative (measurable) relationships of the reactants and products in chemical reactions (chemical equations)
Molar Mass of Gases and Gas Mixtures
Molar mass (M) is equal to the mass of one mole of a particular element or compound; as such, molar masses are expressed in units of grams per mole (g mol–1) and are often referred to as molecular weights. The molar mass of a particular gas is therefore equal to the mass of a single particle of that gas multiplied by Avogadro's number (6.02 x 1023 ). To find the molar mass of a mixture of gases, you need to take into account the molar mass of each gas in the mixture, as well as their relative proportion.The average molar mass of a mixture of gases is equal to the sum of the mole fractions of each gas, multiplied by their respective molar masses:
The molar volumes of all gases are the same when measured at the same temperature and pressure (22.4 L at STP), but the molar masses of different gases will almost always vary.
Calculating Molar Mass using the Ideal Gas Equation
The molar mass of an ideal gas can be determined using yet another derivation of the Ideal Gas Law:.
We can write n, number of moles, as follows:
where m is the mass of the gas, and M is the molar mass. We can plug this into the Ideal Gas Equation:
Rearranging, we get:
Finally, putting the equation in terms of molar mass, we have:
This derivation of the Ideal Gas Equation is useful in determining the molar mass of an unknown gas.
Example
- An unknown gas with a mass of 205 g occupies a volume of 20.0 L at standard temperature and pressure. What is the molar mass of the gas?