Chemistry / CALCULATOR

Gas Molar Mass Calculator

Calculate gas molar mass with explicit inputs and a worked example.

Runs on your deviceUpdates as you typeFormula & example ↓
01

Your inputs

Adjust the values to explore a different result.

g
Enter gas mass in g.
K
Enter temperature in K.
kPa
Enter absolute pressure in kPa.
L
Enter volume in L.

Formula

M = mass × R × T / (P × V); R = 8.31446261815324 kPa·L/(mol·K)
  • Use the units shown beside each field.
  • Results update automatically whenever you change an input.
  • Displayed values use up to four decimal places, or scientific notation for very small or large numbers. Calculations use standard floating-point arithmetic; exact integer and fraction tools identify their own precision rules.
  • Educational calculation using the stated ideal model. Inputs must describe the same system; not a dosing or laboratory procedure. Ideal gas approximation.

Example Calculation

Example inputs
  • Gas mass: 2 g
  • Temperature: 300 K
  • Absolute pressure: 100 kPa
  • Volume: 1 L

2 g in 1 L at 100 kPa and 300 K gives molar mass about 49.8868 g/mol.

Frequently asked questions

How do I use this calculator?

Enter gas mass, temperature, absolute pressure, volume. The result updates automatically. Use Reset to restore the example values.

What method does it use?

M = mass × R × T / (P × V); R = 8.31446261815324 kPa·L/(mol·K). Educational calculation using the stated ideal model. Inputs must describe the same system; not a dosing or laboratory procedure. Ideal gas approximation.

Why might a rounded result differ?

The calculation keeps full numeric precision internally, then rounds the displayed result. Rounding intermediate steps by hand can produce a slightly different answer.

Are my inputs saved online?

No. This calculator processes your inputs in your browser. A recently used list stores only calculator names on this device, not your entered values.

Check the assumptions and units before using this result. Read about calculation methods.