Ideal Gas Law Calculator (PV=nRT)
Ideal Gas Law Calculator (PV=nRT)
The ideal gas law PV = nRT relates a gas's pressure, volume, amount (moles), and temperature. Choose which variable to solve for, enter the other three, and this calculator computes the answer along with a pressure-volume curve showing how pressure changes with volume at your gas's current temperature and amount.
- PV = nRT uses the gas constant R = 0.082057 L·atm/(mol·K) when pressure is in atmospheres and volume is in liters.
- At standard temperature and pressure (STP: 0°C, 1 atm), one mole of an ideal gas occupies almost exactly 22.4 liters - a widely used reference value in chemistry.
- Temperature must always be in Kelvin for this equation - convert from Celsius by adding 273.15.
How do I use the ideal gas law PV=nRT?
Rearrange the equation to solve for whichever variable is unknown, making sure temperature is in Kelvin, pressure in atmospheres, and volume in liters.
What is the pressure of 1 mole of gas at 273.15 K in a 22.4 L container?
P = nRT / V = (1 × 0.082057 × 273.15) / 22.4 ≈ 1.0 atm - this is the standard "molar volume of a gas" result.
Ideal Gas Law Calculator (PV=nRT)


The ideal gas law PV = nRT relates a gas's pressure, volume, amount (moles), and temperature. Choose which variable to solve for, enter the other three, and this calculator computes the answer along with a pressure-volume curve showing how pressure changes with volume at your gas's current temperature and amount.

- PV = nRT uses the gas constant R = 0.082057 L·atm/(mol·K) when pressure is in atmospheres and volume is in liters.
- At standard temperature and pressure (STP: 0°C, 1 atm), one mole of an ideal gas occupies almost exactly 22.4 liters - a widely used reference value in chemistry.
- Temperature must always be in Kelvin for this equation - convert from Celsius by adding 273.15.
How do I use the ideal gas law PV=nRT?
Rearrange the equation to solve for whichever variable is unknown, making sure temperature is in Kelvin, pressure in atmospheres, and volume in liters.
What is the pressure of 1 mole of gas at 273.15 K in a 22.4 L container?
P = nRT / V = (1 × 0.082057 × 273.15) / 22.4 ≈ 1.0 atm - this is the standard "molar volume of a gas" result.
