Home · Science · Chemistry · Molar Mass of Gas Calculator
Molar Mass of Gas Calculator
Finds a gas's molar mass from its density, temperature and pressure via the ideal gas law.
What this calculator does
Finds a gas's molar mass from its density, temperature and pressure via the ideal gas law. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Density is in grams per litre, temperature in kelvin and pressure in atmospheres — the units matching this form of the gas constant.
This is the classic method for identifying an unknown gas or vapour from a measured density.
Worked example
With the example inputs this page opens with (density (g/l) 1.25, temperature (k) 300, pressure (atm) 1), the result is 30.77 — molar mass. Change any figure and the result updates with the same formula.
Quick reference
| Density (g/L) | Molar mass |
|---|---|
| 0.625 | 15.39 |
| 1 | 24.62 |
| 1.25 | 30.77 |
| 1.5625 | 38.47 |
| 1.875 | 46.16 |
| 2.5 | 61.55 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Molar Mass of Gas Calculator work?
Finds a gas's molar mass from its density, temperature and pressure via the ideal gas law. Density · Temperature · Pressure → Molar mass. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Molar Mass of Gas Calculator need?
Density · Temperature · Pressure → Molar mass. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Molar Mass of Gas Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.