One unknown, three measurements

Ideal Gas Calculator

The ideal-gas law here is PV = nRT with pressure in atmospheres, volume in liters, and R fixed at 0.08205746. Temperature is typed in Celsius and shifted by 273.15 before it enters the equation. One mole at 0 °C and 1 atm comes out near 22.414 liters. Pick the variable you do not know. The other three stay as inputs.

Ignored when you solve for temperature. Converted to kelvin as °C + 273.15.

Ignored when you solve for volume.

Volume

22.414 L

PV = nRT in liter-atmospheres

The solved volume
Cylinder for the solved gas volume Solved volume 22.414 L Piston sketch. Temperature is entered in °C and converted to kelvin.

The liter figure is the engine result for the numbers currently in the form, not a second formula.

  1. Kelvin = Celsius + 273.15.
  2. Volume = nRT / P, pressure = nRT / V, moles = PV / RT, kelvin = PV / nR.
  3. R is 0.08205746 L·atm·K⁻¹·mol⁻¹.

Worked examples

Standard molar volume

1 mol, 0 °C, 1 atm.

22.414 L

Pressure in that volume

Same gas forced to 22.414 L.

1.0000 atm

Good for practice

  • Checking a stoichiometry problem that ends in liters of gas
  • Solving for pressure when the flask volume is already known
  • Seeing why a Celsius reading cannot be used raw

Do not treat as an official score

  • Leaving temperature in Celsius inside PV = nRT
  • Mixing psi with the liter-atmosphere value of R
  • Using this for steam or a gas near its boiling point

Frequently asked questions

Why is R not 8.314?

8.314 is joules per mole-kelvin. This page uses the liter-atmosphere form so the answer is already in liters and atm.

Can I enter Fahrenheit?

No. Convert to Celsius first. The 273.15 shift assumes Celsius.

Does this include van der Waals corrections?

No. It is the ideal-gas equation only.

What if the pressure is in bar?

Divide bar by 1.01325 to get atmospheres, then type that number.

Sources and updates

Last reviewed .

  • Ideal-gas law, R = 0.08205746 L·atm·K⁻¹·mol⁻¹ – Chosen so 1 mol at 273.15 K and 1 atm is about 22.414 L.

Related calculators