Molar Mass of Gas

Calculate the molar mass of any gas using PV = nRT. Enter pressure, temperature, volume, and mass to get moles and molar mass in g/mol. Free online tool.

Calculate molar mass of a gas using the ideal gas law

About This Calculator

The Molar Mass of Gas Calculator helps you determine the molar mass of any unknown gas using the ideal gas law (PV = nRT). This tool is essential for chemistry students, lab technicians, and researchers who need to identify unknown gases or verify gas properties in laboratory and educational settings.

The calculation uses two steps. First, the number of moles is computed from the ideal gas law: n = PV / RT, where the gas constant R = 0.082057 L·atm/(mol·K). Then, the molar mass is calculated by dividing the mass of the gas sample by the number of moles: M = m / n. The result is expressed in grams per mole (g/mol), which is numerically equal to the molecular weight in atomic mass units (Da).

Regional Notes

India (IN): Indian students and lab professionals use the same ideal gas law with R = 0.082057 L·atm/(mol·K) for standard chemistry calculations. Pressure in atm is preferred, but bar and kPa are also common in Indian textbooks (1 atm = 1.01325 bar = 101.325 kPa).

United States (US): US chemistry courses use the ideal gas law extensively with atm and L units. The molar volume of 22.4 L at STP is a standard reference taught in high school and college chemistry. Gas constant R = 0.08206 L·atm/(mol·K) is commonly used in US textbooks.

United Kingdom (UK): UK A-level and university chemistry also rely on the ideal gas law. While SI units (Pa and m³) are sometimes preferred, the atm-L form of R remains common. UK students should convert temperatures to Kelvin by adding 273.15 to Celsius values.

Frequently Asked Questions

How do I calculate the molar mass of a gas?

To calculate the molar mass of a gas, use the ideal gas law PV = nRT to find the number of moles: n = PV / RT. Then divide the mass of the gas by the number of moles: molar mass = mass / n. Make sure to use consistent units — pressure in atm, volume in liters, temperature in Kelvin, and the gas constant R = 0.082057 L·atm/(mol·K).

What is the ideal gas law formula?

The ideal gas law formula is PV = nRT, where P is pressure in atm, V is volume in liters, n is the number of moles, R is the ideal gas constant (0.082057 L·atm/(mol·K)), and T is temperature in Kelvin. This equation relates the four properties of an ideal gas and is fundamental in chemistry and physics.

What units should I use in this molar mass of gas calculator?

This calculator uses pressure in atmospheres (atm), volume in liters (L), temperature in Kelvin (K), and mass in grams (g). The result is given in moles (mol) and molar mass in grams per mole (g/mol). To convert Celsius to Kelvin, add 273.15 to your Celsius temperature. To convert from other pressure units: 1 atm = 101.325 kPa = 760 mmHg = 760 torr = 14.696 psi.

Why is the gas constant R = 0.082057 used?

The value R = 0.082057 L·atm/(mol·K) is used when pressure is measured in atmospheres and volume in liters. This is the most common form of the gas constant for chemistry calculations. In SI units, R = 8.314 J/(mol·K). The constant is the same physical quantity, just expressed in different units.

What is the difference between molar mass and molecular weight?

Molar mass is the mass of one mole of a substance, expressed in grams per mole (g/mol). Molecular weight is the mass of one molecule of a substance, expressed in atomic mass units (amu or Da). While their numerical values are identical, molar mass describes a bulk quantity (one mole = 6.022 × 10²³ particles), whereas molecular weight describes a single molecule.

Can I calculate molar mass without knowing the mass of the gas?

No, you need the mass of the gas to calculate its molar mass. The molar mass formula is M = m/n, where m is the mass. However, you can still calculate the number of moles (n = PV/RT) without the mass. To find the molar mass of an unknown gas, you must measure or know its mass.

What is the molar volume of a gas at STP?

At standard temperature and pressure (STP: 0°C or 273.15 K and 1 atm), one mole of any ideal gas occupies approximately 22.4 liters. This is known as the molar volume and follows from the ideal gas law: V = nRT/P = (1 mol × 0.082057 × 273.15 K) / 1 atm ≈ 22.4 L.

How accurate is the ideal gas law for real gases?

The ideal gas law is most accurate at low pressures and high temperatures, where gas molecules are far apart and intermolecular forces are negligible. At high pressures or low temperatures, real gases deviate from ideal behavior. For more accurate results with real gases, use the Van der Waals equation or other real gas equations of state.