Molar Mass of Gas Calculator
ChemistryCalculate molar mass of a gas from its density using M = dRT/P, or from PVT measurements using PV=nRT. Enter gas density at known temperature and pressure.
Molar Mass (g/mol)
What is a Gas Molar Mass?
The Molar Mass of Gas Calculator determines the molar mass of a gas or vapour from its measured density at known temperature and pressure, using M = dRT/P derived from the ideal gas law. Enter gas density (g/L), temperature (°C), and pressure (atm) to get the molar mass (g/mol), density at STP, and molar volume.
The relationship M = dRT/P is the most direct experimental method for determining molar mass of gases and volatile liquids. By measuring the mass of a known volume of gas at known temperature and pressure, the molar mass follows immediately. This connects to the broader toolset of gas law calculations: the STP Calculator converts between volumes and moles at STP; the Rate of Effusion Calculator provides Graham's law approach to molar mass from effusion rates; and the Molar Mass Calculator computes molar mass from atomic composition for known compounds.
The calculator also outputs density at STP (0°C, 1 atm), allowing comparison of all gases on a common basis. Gases lighter than air (density at STP < 1.293 g/L, molar mass < 28.97 g/mol) are listed in the worked example — a safety-relevant distinction for industrial gas handling.
How to use this Gas Molar Mass calculator
- Measure the gas density by weighing a known volume of gas at known temperature and pressure, or look up the density from a databook. Enter in Gas Density (g/L).
- Enter the Temperature in °C at which the density measurement was made.
- Enter the Pressure in atm at which the density was measured. Standard atmospheric pressure = 1 atm.
- Read Molar Mass (g/mol) — identify the gas by comparing to known molar masses.
- Check Density at STP for comparison to tabulated standard gas densities (O₂ at STP = 1.429 g/L, N₂ = 1.250 g/L, etc.).
Formula & Methodology
Molar mass from ideal gas density:M = dRT/P R = 0.082057 L·atm/(mol·K) T = temperature in Kelvin = T(°C) + 273.15STP density:d_STP = M / 22.414 (in g/L)Worked example — identifying an unknown gas: An unknown gas has density 1.965 g/L at 0°C and 1 atm (i.e., at STP). Identify the gas.M = d × RT/P = 1.965 × 0.082057 × 273.15 / 1 = 1.965 × 22.414 = 44.04 g/molMolar mass = 44 g/mol → likely CO₂ (44.01 g/mol) or N₂O (44.01 g/mol). In practice, additional properties (IR spectrum, chemical reactivity, odour) distinguish between isobaric gases. At STP, CO₂ has density 1.965 g/L — matching the default input in this calculator.
Frequently Asked Questions