Ideal gas law calculator

Enter gas volume in liters, amount in moles, and absolute temperature in kelvin to compute pressure in atmospheres using the ideal gas law. This is not a real-gas equation of state, does not handle unit conversions beyond L·atm·mol·K, and assumes ideal behavior.

Gas state

Formulas

P = nRT / V

Where P = absolute pressure in atmospheres; V = volume in liters; n = amount of substance in moles; R = universal gas constant, 0.082057366 L·atm/(mol·K); T = absolute temperature in kelvin.

R = 0.082057366 L·atm/(mol·K) exactly matches the L·atm unit set. For SI units (Pa, m³), use R = 8.314462618 J/(mol·K).

Temperature must be absolute (kelvin). Celsius and Fahrenheit are not accepted.

Pressure is absolute, not gauge. Add 1 atm to gauge pressure before using this tool.

Checked examples

0.5 mol in 10 L at 300 K gives 1.2309 atm.

2 mol in 22.4 L at 273.15 K (STP) gives 2.0012 atm (theoretical 1 mol at STP is 1 atm).

1 mol in 24.465 L at 298.15 K (room temperature) gives 1.0000 atm.

Limits

Volume, moles, and temperature must all be positive. This uses the ideal gas model; real gases deviate at high pressure or low temperature. The gas constant R is fixed for the L·atm unit set; do not change units without changing R. Not for: real-gas or van der Waals calculations; high-pressure or near-condensation conditions; unit systems other than L, atm, mol, K; partial pressure or gas mixture calculations.

OpenStax Chemistry 2e, §9.2 The Ideal Gas Law and AJAX Calculators - Ideal Gas Law Calculator.