Gas Molar Mass Calculator

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

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

Formula

M = mass × R × T / (P × V); R = 8.31446261815324 kPa·L/(mol·K)

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.