Heat & Thermodynamics
Gas Density from Molar Mass Calculator
Estimate ideal-gas density and specific gas constant at stated pressure and temperature.
How the calculation works
Ideal-gas density = pressure*molar_mass*.001/(8.31446261815324*temperature) kg/m³. Specific gas constant = 8.31446261815324/(molar_mass*.001) J/kg/K.
Worked example
Example inputs — Absolute pressure (Pa): 100000; Absolute temperature (K): 300; Gas molar mass (g/mol): 28.97. Expected results — Ideal-gas density: 1.161430042 kg/m³; Specific gas constant: 287.0025067 J/kg/K.
Assumptions and limits
Idealized thermal model using the supplied material properties. Values depend on actual temperatures and conditions; no equipment rating, burn protection or building compliance is established. Dry homogeneous ideal gas. Mixture molar mass must be known; moisture, compressibility factors and real-gas phase changes are excluded.
Reference and further reading
Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.
Related calculators
- Isotropic Solid Thermal Expansion Calculator
- Fully Restrained Thermal Stress Calculator
- Thermal Expansion Liquid Overflow Calculator
- Two-Body Mixing Equilibrium Temperature Calculator
- Latent Heat Phase Change Calculator
Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.