How this calculator works
ρ = PM/(RT).
Formula
ρ=PM/RTIdeal-gas density in g/L from pressure, molar mass and absolute temperature.
Worked example
Verified example is a verified test case used by the calculation engine.
Assumptions and limitations
- Temperature must be positive kelvin.
- Pressure and molar mass are non-negative.
- The gas is modeled as ideal.
Methodology & sources
This calculator uses deterministic, versioned calculation logic. The formula and verified examples above are part of the calculation definition used by CalcuMint.
- CalcuMint deterministic chemistry engine
Frequently asked questions
What is the result unit?
With the displayed inputs and gas constant, density is in g/L.
Is this for real gases?
It is an ideal-gas approximation.
