Chemistry

Ideal Gas Law Calculator

Solve PV = nRT for any unknown.

Enter your values

Results update instantly as you type — no submit needed.

Results
Moles
0.999377 mol
Pressure
101325 Pa (1 atm)
Volume
0.0224 m³ (22.4 L)
Temperature
273.15 K (0 °C)
Molar volume
22.414 L/mol

Working

  1. 1n = PV ÷ RT = (101325 × 0.0224) ÷ (8.314 × 273.15) = 0.99938 mol

Quick answer

PV = nRT, with R = 8.314 J/(mol·K) when pressure is in pascals and volume in cubic metres.

PV = nRT

How to use the Ideal Gas Law Calculator

  1. 1Enter pressure in pascals and volume in cubic metres.
  2. 2Enter temperature in kelvin.
  3. 3Pick which variable to solve for.

Frequently asked questions

What is molar volume at STP?

22.4 L/mol at 0°C and 1 atm — one of the most-used numbers in chemistry.

When does the ideal gas law fail?

At high pressure or low temperature, where molecular volume and attraction matter — use van der Waals then.