What this calculator does
Select the unknown variable, enter the other three state variables, and the calculator solves PV = nRT. All calculations are performed internally in SI units. A molar-mass input provides corresponding gas mass and density estimates.
Inputs
Results
ρ = m / V = PM / (RT)
m = nM
Pressure must be absolute, not gauge pressure. Temperature is converted to kelvin before calculation. The universal gas constant used is 8.314462618 J/(mol·K).
When the ideal-gas model works
The model is generally most useful at low to moderate gas density, where intermolecular forces and molecular volume have limited influence. Engineering screening calculations for air, nitrogen, oxygen, and similar gases near ambient conditions are typical applications.
Common mistakes
- Using gauge pressure instead of absolute pressure.
- Using °C or °F directly in the equation.
- Applying the model near condensation or at very high pressure.
- Mixing litres, cubic metres, mol, and kmol without conversion.