Ultimate Calculator
Science

Ideal Gas Law Calculator

Solve PV = nRT for pressure, volume, moles or temperature.

Leave the one you want to find empty.

kPa
L
mol
K

Volume

22.414 L

Pressure in atm
1
Temperature in °C
0
  1. V = nRT ÷ P
  2. R = 8.314 L·kPa/(mol·K)
  3. = 22.414

The formula

P × V = n × R × T, R = 8.314 L·kPa/(mol·K)

The ideal gas law relates the pressure, volume, amount and temperature of a gas. Temperature must be in kelvin (add 273.15 to Celsius). At standard conditions of 0 °C and 1 atm, one mole of an ideal gas fills about 22.4 liters.

How to use this calculator

  1. Enter pressure in kPa.
  2. Enter volume in L.
  3. Enter amount in mol.
  4. Enter temperature in K.
  5. Read the answer on the right. It updates as you type, and the numbered steps underneath show how it was worked out.

Worked example

Using Pressure: 101.325 kPa; Amount: 1 mol; Temperature: 273.15 K.

  1. V = nRT ÷ P
  2. R = 8.314 L·kPa/(mol·K)
  3. = 22.414

Volume: 22.414 L

Common questions

Why must temperature be in kelvin?

The law assumes volume and pressure fall to zero at absolute zero. Celsius and Fahrenheit have arbitrary zero points, so they give wrong answers.

When does the ideal gas law fail?

At very high pressures or very low temperatures, where gas molecules are close enough for their size and attractions to matter.