basic

Gas Density Calculator

Ideal-gas density from molar mass, pressure, and temperature.

Compute the density of an ideal gas at given pressure and temperature from its molar mass, using ρ = PM/(RT).

Reviewed by Dr. Helena Ortiz
Published Last reviewed 1 min read

Inputs

Pa
g/mol
K

Results

Enter values and click Calculate to see results.
Was this helpful?

How to use this calculator

  1. Fill in the inputs above using the units you already have.
  2. Values update automatically as you type — no submit button needed.
  3. Hover any result row for the underlying formula and intermediate values.

Formula

ρ = P · M / (R · T), with R = 8.314 J/(mol·K).

In depth

Compute the density of an ideal gas at given pressure and temperature from its molar mass, using ρ = PM/(RT).