Home / All calculators / Molar Mass of Gas Calculator

Molar Mass of Gas Calculator

Estimate a gas's molar mass from its sample mass, pressure, volume and absolute temperature using the ideal gas equation.

Enter your values

Formula

M = mRT / (PV), using R = 8.314462618 kPa·L·mol⁻¹·K⁻¹.

How to use this calculator

  1. Enter each value in the unit shown beside its field.
  2. Select Calculate to view the result and intermediate values.
  3. Change the inputs to compare scenarios.

Worked example

The pre-filled values provide a sample calculation. Adjust one input at a time to understand how the result changes.

Assumptions and limitations

This calculation assumes ideal-gas behaviour and consistent units. Real gases can deviate from the ideal gas law, especially at high pressure or near condensation.

Updated: 17 November 2026. Educational estimate only; verify important laboratory or engineering work independently.

Frequently asked questions

How is the result calculated?

The calculator applies the formula shown above to the values entered. Keep the units consistent with the field labels.

Are my inputs uploaded?

No. The calculation runs in your browser; the entered values are not sent to Friendly Calculator by this page.