Calculate density, molar mass, pressure, or temperature using D = PM/RT
STP: 273.15 K | Room temp: ~298 K
From the ideal gas law PV = nRT, substituting n = m/M and rearranging for density (D = m/V):
D = PM/RT
D = density (g/L)
P = pressure (atm)
M = molar mass (g/mol)
R = 0.0821 L·atm/(mol·K)
T = temperature (K)
Applications: This formula is commonly used to determine the molar mass of an unknown gas from experimental density measurements, or to predict gas densities under different conditions. At STP (1 atm, 273.15 K), one mole of any ideal gas occupies 22.4 L.
Gas density is the mass of gas per unit volume, typically expressed in grams per liter (g/L). Unlike solids and liquids, gas density is highly dependent on temperature and pressure because gases are compressible and expand to fill their containers.
Key properties of gas density:
Standard Conditions:
STP (Standard Temperature and Pressure): 0°C (273.15 K) and 1 atm
SATP (Standard Ambient Temperature and Pressure): 25°C (298.15 K) and 1 bar (~1 atm)
Molar Volume at STP: 22.4 L/mol for any ideal gas
The gas density formula comes from the ideal gas law and the definition of density:
Step 1: Start with the Ideal Gas Law
PV = nRT
Where n = number of moles, R = gas constant
Step 2: Express Moles in Terms of Mass
n = m/M
Where m = mass (g), M = molar mass (g/mol)
Step 3: Substitute into Ideal Gas Law
PV = (m/M)RT
Step 4: Rearrange to Isolate m/V
m/V = PM/RT
Multiply both sides by M/R, divide both sides by T
Step 5: Recognize m/V as Density
D = PM/RT
Where D = density (g/L)
Key Insight:
This formula shows that gas density is directly proportional to pressure and molar mass, but inversely proportional to temperature. Doubling the pressure doubles the density; doubling the temperature halves the density (at constant P).
An unknown gas has a density of 1.25 g/L at 25°C and 1.00 atm. What is the molar mass of this gas? Can you identify it?
Step 1: Write the formula for molar mass
M = DRT/P
(Rearranged from D = PM/RT)
Step 2: Substitute known values
M = (1.25 g/L × 0.0821 L·atm/(mol·K) × 298.15 K) / 1.00 atm
Step 3: Calculate
M = (30.58) / 1.00
M = 30.58 g/mol
Step 4: Identify the gas
A molar mass of approximately 30.6 g/mol is close to NO (nitric oxide), which has M = 30.01 g/mol, or possibly a mixture of gases.
Answer:
The molar mass is 30.58 g/mol, suggesting the unknown gas is likely NO (nitric oxide) or a mixture containing NO.
Measuring the density of an unknown gas allows chemists to determine its molar mass and identify it. This is especially useful in industrial settings where gas mixtures need to be analyzed or when identifying products of chemical reactions.
Hot air balloons work because heated air has lower density than cool air. At higher temperatures, the same mass of air occupies more volume (D = PM/RT), creating buoyancy. Pilots control altitude by adjusting air temperature.
Environmental scientists use gas density measurements to determine concentrations of pollutants. Different gases have different densities, affecting how they disperse in the atmosphere. Heavier gases tend to settle, while lighter ones rise.
As divers descend, increased pressure compresses breathing gases, increasing their density. This affects breathing resistance and gas consumption rates. Understanding gas density helps calculate air supply requirements at depth.
In industrial processes, gas density calculations are crucial for designing storage tanks, pipelines, and reaction vessels. Knowing how density changes with temperature and pressure ensures safe and efficient operations.
Air density affects aircraft lift and engine performance. Pilots must account for temperature and pressure (altitude) when calculating takeoff distances and climb rates. Weather forecasting also relies on air density variations.
At STP (0°C and 1 atm), the density of any gas can be easily calculated from its molar mass:
DSTP = M / 22.4 L/mol
Since at STP, 1 mole of gas occupies 22.4 L
| Gas | Formula | Molar Mass (g/mol) | Density at STP (g/L) |
|---|---|---|---|
| Hydrogen | H₂ | 2.016 | 0.090 |
| Helium | He | 4.003 | 0.179 |
| Methane | CH₄ | 16.04 | 0.716 |
| Ammonia | NH₃ | 17.03 | 0.760 |
| Nitrogen | N₂ | 28.01 | 1.25 |
| Air (mixture) | - | 28.97 | 1.29 |
| Oxygen | O₂ | 32.00 | 1.43 |
| Argon | Ar | 39.95 | 1.78 |
| Carbon Dioxide | CO₂ | 44.01 | 1.96 |
| Chlorine | Cl₂ | 70.90 | 3.17 |
Temperature MUST be in Kelvin for the gas laws. Using °C will give completely wrong answers.
Correct: Always convert °C to K by adding 273.15
Using R = 0.0821 requires P in atm, V in L, and T in K. Don't mix with kPa or other units.
Correct: R = 0.0821 L·atm/(mol·K) or R = 8.314 J/(mol·K) with consistent units
M is molar mass (g/mol), not the total mass of gas. Molar mass is a property of the substance.
Correct: Molar mass is from the periodic table (e.g., O₂ = 32.00 g/mol)
H₂, N₂, O₂, F₂, Cl₂, Br₂, I₂ are diatomic. Don't use atomic mass; use molecular mass.
Correct: M(O₂) = 32.00 g/mol, not 16.00 g/mol
D = PM/RT
Rearrangements:
M = DRT/P
P = DRT/M
T = PM/(DR)
STP:
Room Conditions:
R = 0.0821 L·atm/(mol·K)
(Use with P in atm, V in L)
R = 8.314 J/(mol·K)
(Use with P in Pa, V in m³)
Temperature:
K = °C + 273.15
Pressure:
1 atm = 101.325 kPa
1 atm = 760 mmHg (torr)