Skip to content
Calculator Tools
Gas Law Calculators

Gas Density Calculator

Density of a gas at any pressure and temperature from its molar mass, using PV = nRT.

Enter values

Results update as you type.

Result

Gas density

1.96346 kg/m³

In g/L
1.96346
Molar mass
44.009 g/mol
Molar volume
22.414 L/mol
Relative to air
1.5195 ×
air at STP is 1.292 kg/m³

About the Gas Density Calculator

Density of a gas at any pressure and temperature from its molar mass, using PV = nRT.

Also known as: density of gas, gas density formula, air density calculator, vapor density.

How to use this calculator

  1. Enter gas formula, pressure, temperature.
  2. The result updates instantly as you type — press Calculate (or Enter) at any time.
  3. Review the breakdown shown under the main result.
  4. Use Copy result or Share to save the answer or send a link with your inputs.

Formula

ρ = PM / RT

Worked example

Using the values pre-filled in the calculator above:

  • Gas formula: CO2
  • Pressure = 101,325 Pa
  • Temperature = 273.15 K

the calculator returns:

  • Gas density: 1.96346 kg/m³
  • In g/L: 1.96346
  • Molar mass: 44.009 g/mol
  • Molar volume: 22.414 L/mol