Chemistry
Ideal gas law calculator
A gas spreads out to fill its container, and it pushes on the walls harder when you squeeze it or heat it.

What do you want to find?
Volume
Try it yourself
Slide the values and watch the answer change.
How it works
P × V = n × R × T
- V Volume
- how much space the gas fills (a balloon holds about 2 L)
- P Pressure
- how hard the gas pushes on the walls (the air around you is about 101 kPa, or 1 atm)
- n Amount of gas
- how many moles of gas there are (a mole is a huge, fixed number of particles, the way a dozen is 12)
- T Temperature
- how hot the gas is, in kelvin (room temperature is about 293 K; 0 °C is 273 K, add 273 to °C)
Questions
What does PV = nRT mean?
P is pressure, V is volume, n is the amount of gas in moles, T is the temperature in kelvin, and R is a fixed number, 8.314. Squeeze a gas into less space (V down) and the pressure goes up. Heat it and the pressure goes up too.
Why must the temperature be in kelvin?
Kelvin starts at the coldest possible temperature, where particles hardly move. 0 K is -273 °C, so 20 °C is 20 + 273 = 293 K. With °C the formula would give nonsense: at 0 °C a gas would seem to have no pressure at all.
How much space does one mole of gas take?
About 24 liters at room temperature (293 K) and normal air pressure (101 kPa): V = 1 × 8.314 × 293 ÷ 101,325 = 0.024 m³, which is 24 L. Every gas takes the same space, from helium to carbon dioxide.