Starting from PV = nRT and using n = m/M, the equation becomes PV = (m/M)RT. Rearranging and using density ρ = m/V gives ρ = PM/(RT). The equation can also be rearranged to estimate molar mass when density, pressure, and temperature are known. Pressure must be absolute, temperature must be in kelvins, and molar mass must be expressed in kg/mol when using SI units with R in J/(mol·K). The result is an ideal-gas approximation; real-gas compressibility effects may need to be included at high pressure or near phase transitions. For gas mixtures, the equation can be applied using suitable mixture properties and the appropriate average molar mass.
Molar Mass, Density and Ideal-Gas Relationships
The ideal-gas equation can be rearranged to relate molar mass, gas density, pressure, and absolute temperature. These relationships are useful for estimating gas density, identifying unknown gases under suitable conditions, and converting between mass-based and mole-based descriptions.
ρ = m/V = PM/(RT); M = ρRT/P.
Explanation
Variables
| Symbol | Meaning | Unit |
|---|---|---|
ρ | Gas density | kg/m³ |
m | Gas mass | kg |
V | Gas volume | m³ |
P | Absolute pressure | Pa |
M | Molar mass | kg/mol |
R | Universal gas constant | J/(mol·K) |
T | Absolute temperature | K |
Example or application
An ideal gas has a molar mass of 0.028 kg/mol at 100,000 Pa and 300 K. Its density is ρ = PM/(RT) = (100,000)(0.028)/[(8.314)(300)] ≈ 1.12 kg/m³.
Sources and verification
Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.
- OpenStax, University Physics Volume 2, The Ideal Gas Law; Çengel and Boles, Thermodynamics: An Engineering Approach.