Calculate the density of an ideal gas based on pressure, temperature, and molar mass.
Parameters
Results
Enter parameters to calculate
Quick Reference
ρDensity (kg/m³)
PAbsolute Pressure (Pa)
MMolar Mass (kg/mol)
RGas Constant (8.314 J/mol·K)
TAbsolute Temperature (K)
Overview
Density (ρ) of an ideal gas can be derived from the Ideal Gas Law. It describes how much mass is contained in a unit of volume under specific conditions.
💡
Pro Tips
Standard air molar mass is approximately 28.97 g/mol.
Density increases as pressure increases or temperature decreases.
Ensure you are using absolute temperature (Kelvin) for the formula.
!
Fun Facts
"At sea level and 0°C, the density of air is about 1.29 kg/m³."
"Hydrogen is the least dense gas, which is why it was used in early airships."
"Sulfur hexafluoride is so dense that you can 'float' a light foil boat on it."