Molar Mass Of Gas Calculator

Use this Molar Mass Of Gas Calculator to work through the same calculation as the main calculator page with clear steps, examples, and result context.

--

Run the calculator.

Quick Answer: Molar Mass Of Gas Calculator uses the same formula and workflow as the canonical calculator page.

What This Molar Mass Of Gas Calculator Helps You Do

This page ties the ideal gas law directly to molar mass so you can move from measured lab data to a usable g/mol estimate without doing the algebra manually. It is the common workflow when you know mass, pressure, volume, and temperature but not the gas identity.

It also reports the intermediate mole count, which helps you catch unit mistakes before you trust the molar-mass result.

How to Calculate Molar Mass Of Gas Calculator

  1. Enter mass, pressure, volume, and temperature: The calculator works from a weighed gas sample and its measured gas-law conditions.
  2. Choose consistent units: Use the pressure selector so the page can apply the correct gas constant.
  3. Find the number of moles: The ideal gas law gives n = PV / RT from the entered state variables.
  4. Calculate molar mass: Divide sample mass by moles, or use the combined formula M = mRT / PV.

Molar Mass Of Gas Calculator Formula

n = PV / RT; M = m / n = mRT / PV
Variable Meaning Unit
M Molar mass of the gas g/mol
m Mass of the gas sample g
P Gas pressure atm or kPa
V Gas volume L
T Absolute temperature K
R Gas constant matching the pressure unit L·atm/(mol·K) or kPa·L/(mol·K)

Use the worked examples below to check how the formula behaves with real values. If the result looks unexpected, verify the unit assumptions and the meaning of each variable before interpreting the answer.

Worked Examples

Ideal gas law - 0.800 g sample at 1 atm, 0.700 L, 298 K
  • Mass: 0.800 g
  • Pressure: 1 atm
  • Volume: 0.700 L
  • Temperature: 298 K

Result: Molar mass ≈ 28.0 g/mol.

That is close to the molar mass of nitrogen gas.

Ideal gas law - 1.50 g sample at 101.325 kPa, 1.20 L, 310 K
  • Mass: 1.50 g
  • Pressure: 101.325 kPa
  • Volume: 1.20 L
  • Temperature: 310 K

Result: Molar mass ≈ 31.7 g/mol.

The gas is heavier per mole than dry air components like N2.

Sensitivity - Higher pressure at same mass
  • Mass: fixed
  • Volume: fixed
  • Temperature: fixed
  • Pressure: higher

Result: Calculated molar mass decreases.

Higher pressure raises the calculated moles and reduces mass per mole.

Sensitivity - Higher temperature at same mass
  • Mass: fixed
  • Pressure: fixed
  • Volume: fixed
  • Temperature: higher

Result: Calculated molar mass increases.

Higher temperature lowers the calculated moles for the same PV and raises mass per mole.

How to Interpret Your Results

Range Meaning Action
Low g/mol result The gas is relatively light on a molar basis. Compare against common gases such as H2, He, N2, or CH4.
Moderate g/mol result The gas is in the mid-range of common molecular gases. Use the result as an identification clue alongside other measurements.
High g/mol result The gas is relatively heavy per mole. Check whether the sample may contain heavier molecules or a gas mixture.

Frequently Asked Questions

First calculate moles with the ideal gas law n = PV / RT, then divide sample mass by the number of moles.

The ideal gas law requires absolute temperature in kelvin, so Celsius values must be converted first.

Yes, as long as the gas constant matches the pressure unit. This page handles both atm and kPa options.

Not by itself. A molar-mass estimate narrows the possibilities, but mixtures and non-ideal behavior can shift the result.
Note: This calculator assumes ideal-gas behavior and a single gas sample. Real-gas effects, gas mixtures, and measurement error can change the inferred molar mass.

References

Last reviewed: March 2026