Ideal Gas Density Calculator

Ideal Gas Density

Calculate the density of an ideal gas based on pressure, temperature, and molar mass.

Last updated: March 2026 | By ForgeCalc Engineering

Gas Density (ρ)
1.204
kg/m³

Ideal Gas Density

Density is defined as mass per unit volume. For an ideal gas, the density can be derived from the Ideal Gas Law (PV = nRT) by substituting n = m/M.

The density of a gas is directly proportional to its pressure and molar mass, and inversely proportional to its absolute temperature.

The Formula

ρ = (P * M) / (R * T)
  • ρ (Rho) = Density (kg/m³)
  • P = Absolute pressure (Pa)
  • M = Molar mass (kg/mol)
  • R = Ideal gas constant (8.314 J/mol·K)
  • T = Absolute temperature (K)

Related Tools