Ideal Gas Equation: PV = nRT | R = 0.082057 L·atm/(mol·K)
Gas Pressure (P)
—
—
Gas Density (g/L)
—
Gas Mass (g)
—
v_rms Speed
—
Molar Volume (V/n)
—
Step-by-Step Derivation
How It Works & Quick Guide
Gas problems rarely hand you neat atmospheres, liters, and Kelvin—usually you have psi, milliliters, and degrees Celsius. Plug in whatever units you measured for P, V, n, or T and get the missing variable along with gas density and molecular RMS speed.
How to Use the Ideal Gas Law Calculator
- Select the unknown variable tab (P, V, n, or T).
- Enter known gas parameters using any pressure, volume, or temperature units.
- Optionally enter a gas formula (e.g., CO2, N2) to compute gas density and RMS speed.
The Formula Behind It
P V = n R T and gas density ρ = (P × MM) / (R × T).
Worked Example
1.0 mol of N₂ (MM = 28.014 g/mol) in 22.414 L at 273.15 K exerts 1.000 atm with density 1.250 g/L and v_rms = 493.2 m/s.
Good to Keep in Mind
Ideal gas assumptions hold best at low pressures and high temperatures where intermolecular forces and molecular volume are negligible.
Ideal Gas Law Calculator - Frequently Asked Questions
Why must temperature be converted to Kelvin?
Zero °C is an arbitrary reference; gas kinetic energy and pressure extrapolate to zero only at 0 K (−273.15 °C).
Which gas constant R is used?
Our engine converts everything cleanly using exact CODATA R = 0.082057366 L·atm/(mol·K) and 8.3144626 J/(mol·K).
How is gas density computed from PV = nRT?
Substituting n = m/MM yields ρ = m/V = (P·MM)/(RT).
When does the Ideal Gas Law break down?
At very high pressures (>10–20 atm) or near a gas's liquefaction temperature, real-gas van der Waals interactions become significant.