Ideal gas law calculator

PV = nRT: solve for any one of pressure, volume, moles or temperature. Enter your values and see the formula, your numbers plugged in and every step of the working. Free, no sign-up, SI and imperial units.

Formula

P · V = n · R · T,   R = 8.314462618 J/(mol·K)

Inputs

  • Volume (V), in L or other units
  • Amount of gas (n), in mol or other units
  • Temperature (T), in °C or other units

Worked example: 1 mol at 0 °C in 22.414 L (should give 1 atm)

  • Volume V = 22.414 L
  • Amount of gas n = 1 mol
  • Temperature T = 0 °C
  1. Convert inputs to SI units: V = 22.414 L = 0.022414 m³; T = 0 °C = 273.15 K
  2. P = n·R·T / V = 1 mol × 8.314462618 J/(mol·K) × 273.15 K ÷ 0.022414 m³
  3. P = 2,271.1 ÷ 0.022414 = 101,325 Pa
  4. Temperature must be absolute (kelvin) in the gas law; Celsius and Fahrenheit are converted first.

Answer: Pressure P = 0.999999 atm

More chemical engineering calculators

Chemical Engineering formula sheet · All calculators · Practice problems