Toolstia / Ideal gas law calculator

ideal gas law calculator

Pick the quantity you want to find, enter the other three and get the answer with the units you like. Pressure, volume and temperature units are converted for you.

Uses PV = nRT with R = 8.314462618 J/(mol·K). Real gases deviate from this at high pressure or low temperature. Temperature must be above absolute zero, and the other inputs above zero.

How it works

  1. Choose what to solve for.
  2. Enter the other three values and their units.
  3. Read the result.

The law

PV = nRT links the pressure, volume, amount of gas in moles and temperature of an ideal gas. R is the gas constant, 8.314 J/(mol·K).

Units

Pressure in atm, kPa, Pa, bar, mmHg or psi. Volume in litres, millilitres or cubic metres. Temperature in kelvin, Celsius or Fahrenheit.

Absolute zero

The temperature must be above absolute zero. The calculator converts Celsius and Fahrenheit to kelvin for you.

Limits

Real gases behave like ideal gases at moderate pressure and temperature. At very high pressure or very low temperature, results can be off.

Questions

What is molar volume?

One mole of an ideal gas at 0 °C and 1 atm takes about 22.414 litres.

Does it handle mixtures?

Use the total number of moles of all the gases together.

Is my data stored?

Everything happens in your browser, and nothing you enter is sent anywhere.