Guide

THE TOOLBOX / CHEMISTRY & PHYSICS

Ideal Gas Law Calculator (PV = nRT) —
Solve P, V, n, or T & Combined Gas Law with Multi-Unit Conversion.

Solve the Ideal Gas Law (PV = nRT) for pressure, volume, moles, or temperature across atm, kPa, bar, mmHg, psi, L, mL, K, °C, and °F—or switch tabs for the Combined Gas Law.

Presets:
Solve For Unknown Variable
mol
Solved Value (V) · R = 0.08206 L·atm/(mol·K)
22.4140 L
V = nRT / P = (1 × 0.08206 × 273.15) / 1.0000 = 22.4140 L
Pressure
1.000 atm · 101.3 kPa
Volume
22.414 L · 22414 mL
Temperature
273.15 K · 0.0 °C
Moles / Particles
1.0000 mol

GAS CONSTANT R REFERENCE

Universal Gas Constant (R) Values by Unit System.

Value of RUnitsCommon Context
0.082057L·atm / (mol·K)General chemistry homework & lab flasks
8.31446J / (mol·K) or L·kPa / (mol·K)SI physics, thermodynamics & engineering
62.3636L·mmHg / (mol·K)Barometer & vacuum-line measurements

Frequently Asked Questions

What is the Ideal Gas Law formula (PV = nRT)?

PV = nRT relates a gas’s pressure (P), volume (V), amount in moles (n), absolute temperature in Kelvin (T), and the universal gas constant R (0.082057 L·atm/(mol·K) or 8.3145 J/(mol·K)).

What is the molar volume of an ideal gas at STP?

At traditional STP (0 °C = 273.15 K and 1 atm), 1.000 mole of an ideal gas occupies 22.414 liters. Under the newer IUPAC STP (0 °C and 1 bar = 100 kPa), 1 mole occupies 22.711 liters.

Why must temperature be converted to Kelvin in gas law calculations?

Celsius and Fahrenheit have arbitrary zero points and negative values. Kelvin starts at absolute zero (0 K = −273.15 °C), where gas kinetic energy reaches zero, keeping pressure and volume strictly proportional to temperature.

When should I use the Combined Gas Law instead of PV = nRT?

Use the Combined Gas Law (P₁V₁ / T₁ = P₂V₂ / T₂) when a fixed amount of gas (constant moles n) changes between an initial state and a final state.

Which value of the gas constant R should I use?

Use R = 0.08206 L·atm/(mol·K) when pressure is in atm and volume is in liters, or R = 8.3145 L·kPa/(mol·K) (equivalent to J/(mol·K)) when using SI kilopascals or pascals.

When does a real gas deviate from the Ideal Gas Law?

Real gases deviate noticeably at very high pressures (where molecular volume matters) or very low temperatures near condensation (where intermolecular attractions slow collisions).