chemistry2u
Depth
CU-104 / L05 · lecture

Gas Density and Molar Mass Determination

~8 min read · Tier toggle changes depth (T1 plain · T2 standard · T3 rigour)

BEFORE YOU START

You should be comfortable rearranging the ideal gas law \(PV = nRT\) to solve for different variables and understand the definition of molar mass as mass per mole of substance.

Why this matters

We can determine the identity of an unknown gas simply by measuring its density under known conditions.

In analytical chemistry, identifying an unknown gas is a common task. By linking the macroscopic properties of pressure, volume, and temperature to the microscopic count of particles via the ideal gas law, we can derive a direct relationship between a gas's density and its molar mass. This allows us to calculate the molar mass of an unknown gas from a simple density measurement, providing a powerful tool for chemical identification without needing complex spectroscopic equipment.

Imagine you have a sealed balloon filled with an unknown gas. You know the volume of the balloon, the temperature of the room, and the pressure inside. You also know the total mass of the gas inside by weighing the balloon before and after filling it. From these, you can calculate the density, which is simply the mass divided by the volume. The key insight is that the ideal gas law relates the number of moles of gas to these macroscopic conditions. Since the number of moles is the total mass divided by the molar mass, we can substitute this into the ideal gas equation. This substitution reveals that the density of a gas is directly proportional to its molar mass. Therefore, if we measure the density of a gas at a specific temperature and pressure, we can reverse-engineer the molar mass. This is particularly useful because different gases have distinct molar masses, acting like a fingerprint. For instance, oxygen gas has a molar mass of approximately 32 g/mol, while nitrogen is about 28 g/mol. At the same temperature and pressure, oxygen will be denser than nitrogen. By measuring the density precisely, we can distinguish between them. This principle extends to heavier gases like carbon dioxide or even noble gases like argon. It is a direct application of the kinetic molecular theory, where the mass of individual particles affects how much mass is packed into a given volume at a specific kinetic energy level (temperature).

Deriving the Density-Molar Mass Relationship

To find the mathematical relationship, we start with the ideal gas law, which states that pressure times volume equals the number of moles times the gas constant times temperature. We can express the number of moles \(n\) as the mass of the gas \(m\) divided by its molar mass \(M\). Substituting this into the ideal gas law gives us an equation involving mass. If we then divide both sides by the volume \(V\), the left-hand side becomes pressure, and the right-hand side contains the term mass over volume, which is the definition of density \(\rho\). Rearranging this equation to solve for molar mass \(M\) yields a simple formula: molar mass equals density times the gas constant times temperature, all divided by pressure. For a given gas \(M\) is fixed, so the equation really says that \(\rho T/P\) is constant: if you increase the temperature, the gas expands, density decreases, but the product of density and temperature remains constant for a given molar mass at fixed pressure. Conversely, increasing the pressure compresses the gas, increasing its density, which must be accounted for in the calculation. This relationship holds true for any ideal gas, regardless of its chemical identity, provided it behaves ideally.

\[ M = \frac{\rho R T}{P} \]

It is crucial to use consistent units. If density is in grams per litre, pressure in atmospheres, and temperature in Kelvin, we must use the gas constant \(R\) in litres-atmospheres per mole-Kelvin. The value of \(R\) in these units is approximately 0.08206 L·atm·mol-1·K-1. Using the wrong value for \(R\) is a common source of error. For example, using the SI value of 8.314 J·mol-1·K-1 with pressure in atmospheres will yield an incorrect result because the units do not cancel properly. Always check that the units of \(R\) match the units of \(P\), \(V\), and \(\rho\) in your specific problem.

Comparing Gas Densities

One of the most practical applications of this relationship is comparing the densities of different gases under identical conditions. Since \(M\) is proportional to \(\rho\) when \(T\) and \(P\) are constant, the ratio of the densities of two gases is equal to the ratio of their molar masses. This allows us to predict which gas will be heavier without performing any measurements. For example, consider carbon dioxide and methane. Carbon dioxide has a molar mass of 44.01 g/mol, while methane has a molar mass of 16.04 g/mol. Since 44.01 is greater than 16.04, carbon dioxide is denser than methane. Specifically, the density of carbon dioxide is approximately 2.74 times that of methane at the same temperature and pressure. This principle explains why carbon dioxide, being denser than air (average molar mass ~29 g/mol), tends to settle in low-lying areas, while helium, with a molar mass of 4.00 g/mol, is much less dense than air and rises. This difference in density is the fundamental reason behind the buoyancy of balloons filled with helium or hydrogen. Understanding these relative densities is essential for safety in industrial settings where heavy gases might accumulate in basements or pits, posing a suffocation hazard.

\[ \frac{\rho_1}{\rho_2} = \frac{M_1}{M_2} \]

This ratio is independent of temperature and pressure, as long as both gases are measured under the same conditions. This makes it a robust tool for qualitative analysis. If you have two unknown gases and know one is twice as dense as the other, you immediately know its molar mass is twice as large. This simple proportionality allows chemists to make quick estimates and predictions about gas behaviour in mixtures and reactions. It also highlights the importance of molar mass in determining physical properties that are not immediately obvious from chemical formulas alone.

Experimental Determination of Molar Mass

In a laboratory setting, determining the molar mass of an unknown gas involves measuring its density accurately. A common method is to use a gas syringe or a calibrated flask. You weigh the empty flask, fill it with the gas at a known pressure and temperature, and weigh it again. The difference in mass gives the mass of the gas. The volume of the flask is known from calibration. From these, you calculate the density. Then, using the derived formula, you calculate the molar mass. It is important to ensure that the gas is dry, as water vapour can contribute to the mass and affect the density measurement. Also, the temperature must be measured accurately, as small changes in temperature can lead to significant errors in the calculated molar mass due to the direct proportionality. The pressure should be measured with a manometer or barometer, correcting for any atmospheric pressure variations. This experimental procedure is a standard part of introductory chemistry labs and provides hands-on experience with gas laws and data analysis. It reinforces the connection between theoretical equations and practical measurements.

\[ \rho = \frac{m_{\text{gas}}}{V_{\text{flask}}} \]

When performing this experiment, sources of error include leaks in the apparatus, inaccurate temperature readings, and failure to account for the buoyancy of air when weighing the flask. To minimise these errors, use a well-sealed system, calibrate the thermometer, and perform the weighing in a draft-free environment. The precision of the balance is also critical; a high-precision analytical balance is recommended for accurate mass measurements. By carefully controlling these variables, students can obtain reliable values for the molar mass of various gases, confirming the validity of the ideal gas law under standard conditions.

The result

◆ RESULT · T-018 · full treatment on its own page

The ideal gas law

Three separately discovered empirical proportionalities — Boyle's law (\(V\propto1/P\) at fixed \(n,T\)), Charles's law (\(V\propto T\) at fixed \(n,P\)), and Avogadro's law (\(V\propto n\) at fixed \(T,P\), gas-stoichiometry-avogadro) — combine into a single joint proportionality \(V\propto nT/P\), which becomes an equation once a proportionality constant \(R\) (the universal gas constant, empirically found to be the same for every gas in the ideal limit) is introduced: \(PV=nRT\).

\[ PV = nRT, \qquad R \approx 8.314\,\text{J/(mol}\cdot\text{K)} = 0.08206\,\text{L}\cdot\text{atm/(mol}\cdot\text{K)} \]
Open the full result →
Tier 3 · watch out

A common misconception is that the density of a gas is independent of temperature. In reality, density is inversely proportional to temperature at constant pressure. If you heat a gas in a flexible container, it expands, and its density decreases. If you heat it in a rigid container, the pressure increases, but the density remains constant because the volume and mass are fixed. Confusing these two scenarios can lead to incorrect calculations. Always specify whether the process is isobaric (constant pressure) or isochoric (constant volume) when discussing density changes. C

Worked example

Problem. An unknown gas has a density of 2.90 g L-1 at 25.0 °C and 1.00 atm. Calculate its molar mass and identify it, given that it is a common diatomic gas.

  1. Convert the temperature: \(T = 25.0 + 273.15 = 298.15\ \mathrm{K}\).
  2. Known values: \(\rho = 2.90\ \mathrm{g\,L^{-1}}\), \(P = 1.00\ \mathrm{atm}\), \(R = 0.08206\ \mathrm{L\,atm\,mol^{-1}\,K^{-1}}\).
  3. Use \(M = \rho RT/P\).
  4. Substitute: \(M = \dfrac{2.90 \times 0.08206 \times 298.15}{1.00} = 70.95\ \mathrm{g\,mol^{-1}}\).
  5. Compare with diatomic gases: \(\mathrm{H_2}\) 2.02, \(\mathrm{N_2}\) 28.02, \(\mathrm{O_2}\) 32.00, \(\mathrm{F_2}\) 38.00, \(\mathrm{Cl_2}\) 70.90 \(\mathrm{g\,mol^{-1}}\). The match is chlorine, within 0.1%.
\[ M = \frac{\rho RT}{P} \approx 70.9\ \mathrm{g\,mol^{-1}} \;\Rightarrow\; \mathrm{Cl_2} \]

Units check. \(\mathrm{g\,L^{-1}} \times \mathrm{L\,atm\,mol^{-1}\,K^{-1}} \times \mathrm{K} / \mathrm{atm} = \mathrm{g\,mol^{-1}}\).

CHECK YOURSELF

Three quick tests

  1. What is the relationship between gas density and molar mass at constant temperature and pressure?
    AnswerThey are directly proportional.
  2. If Gas A has a molar mass of 40 g/mol and Gas B has a molar mass of 20 g/mol, which gas is denser at the same T and P?
    AnswerGas A is denser because it has the higher molar mass.
  3. How does increasing the temperature affect the density of a gas at constant pressure?
    AnswerThe density decreases because the gas expands.
UNIT

Back to CU-104 →

Every lecture and every result in this unit, with prerequisites and threads.

NOTES

Lecture notes checked line by line by the editor; every number in the worked example was recomputed.

Results cited: T-018 · Threads: energy, structure