Skip to content
Chemistry

Molar Mass of Gas Calculator

If you can weigh a gas and measure its pressure, volume and temperature, you can find its molar mass, and so work out what it is. This calculator uses the ideal gas law.

Formula

Molar mass = m R T ÷ (P V)

  • R = 8.314 J/(mol·K)
  • Use pressure in pascals and volume in cubic metres, or let the calculator convert

2.5 g of gas occupying 1.2 L at 1 atm and 25 °C: n = 0.0490 mol, so the molar mass is 2.5 ÷ 0.0490 = 51 g/mol

Molar Mass of Gas Calculator

Uses the ideal gas law, M = mRT / PV, so it is most accurate at low pressure and well above the boiling point.

Identifying a Gas

Once you have the molar mass, you can match it to a likely gas: 44 g/mol points to carbon dioxide, 32 to oxygen, 28 to nitrogen or carbon monoxide. It was the classic way to identify unknown gases before spectroscopy.

Accuracy

The ideal gas law is best at low pressure and well above the boiling point, where gas molecules behave independently. Near condensation the answer drifts, and real gases need a correction.

Frequently Asked Questions

How do I find the molar mass of a gas?
Use M = mRT ÷ PV, with mass m, temperature T in kelvin, pressure P and volume V.
Which gas has a molar mass of 44?
Carbon dioxide, or propane.
Is the ideal gas law accurate?
At low pressure and moderate temperature it is, but not near condensation.

Related Calculators