Ideal Gas Law Calculator
Solve PV = nRT for any variable. Choose your units for pressure, volume, and temperature, and see the step-by-step calculation with all unit conversions.
Gas Container
Parameters
Results
Step-by-Step Calculation
1. Ideal Gas Law
2. Solve for Pressure
Open this tool with your own values
This tool reads its inputs from the page address, so a link can open it with the values from a problem already entered. Include every value the problem needs, because one left out keeps the tool's default. Use plain numbers in the stated units.
- solveFor
- the unknown, P, V, n or T
- P
- pressure in atm
- V
- volume in liters
- n
- amount in moles
- T
- temperature in kelvin
Example links
Reference Guide
The Ideal Gas Law
The ideal gas law relates pressure, volume, amount of gas, and temperature through a single equation.
where R = 0.08206 L atm/(mol K) is the ideal gas constant.
STP Conditions
Standard Temperature and Pressure (STP) is 0 degrees C (273.15 K) and 1 atm. At STP, one mole of an ideal gas occupies 22.414 liters.
Unit Conversions
Always convert to consistent units before plugging into the formula. Common conversions include 1 atm = 101.325 kPa = 760 mmHg and degrees C = K minus 273.15.
Limitations
The ideal gas law works best at low pressures and high temperatures. Real gases deviate at high pressures or low temperatures, where intermolecular forces and molecular volume matter.