PV = nRT

Solve for

R = 8.314462618 J/(mol·K) = 0.082057 L·atm/(mol·K). Temperatures are converted to kelvin before calculating.

Frequently asked questions

What is the ideal gas law?

PV = nRT relates the pressure (P), volume (V), amount in moles (n) and absolute temperature (T) of a gas through the gas constant R = 8.314 J/(mol·K). It is exact for an ideal gas and a good approximation for real gases at low pressure and high temperature.

What value of R should I use?

It depends on your units: 8.314 J/(mol·K) with pascals and cubic metres, or 0.08206 L·atm/(mol·K) with atmospheres and litres. This calculator converts everything to SI units first, so you can mix any units.

Why must temperature be in kelvin?

The gas law uses absolute temperature, which starts at absolute zero. Using °C or °F directly would give wrong answers (and zero or negative temperatures), so they are converted to kelvin first.

What volume does one mole of gas occupy?

At 0 °C and 1 atm, one mole of an ideal gas occupies about 22.41 litres; at 0 °C and 100 kPa (IUPAC's STP) it is about 22.71 litres.

← → keys or swipe