Ideal Gas Law Calculator: Solve PV = nRT
Use this ideal gas law calculator to solve PV = nRT. Pick the unknown, enter the other three values with your units, and get the answer from the ideal gas law with the right gas constant. It is great for chemistry homework.
Ideal Gas Law Calculator
Solve PV = nRT for any one value.
How to use the Ideal Gas Law Calculator
- Choose the value to solve for.
- Enter the other three.
- Use atm, liters, moles and °C.
- Read the result.
How it works
For an ideal gas, pressure times volume equals moles times the gas constant times absolute temperature.
Formula
R = 0.082057 L·atm/(mol·K)
T (K) = °C + 273.15
Example
1 mol at 1 atm and 0 °C: V = 1 × 0.082057 × 273.15 ÷ 1 = 22.41 L.
Frequently asked questions
What is R in PV = nRT?
0.082057 L·atm/(mol·K), or 8.314 J/(mol·K).
Why use Kelvin?
The law needs absolute temperature.
What is STP volume?
About 22.4 L per mole at 0 °C and 1 atm.
See also: Scientific Calculator, Unit Converter.
Solve the ideal gas law
How to use it
- Pick the unknown: P, V, n or T.
- Enter the other three values.
- Choose your units.
- Read the answer.
More questions
What is R?
The gas constant, 0.08206 L·atm/(mol·K) or 8.314 J/(mol·K).
What temperature unit is used?
The gas law uses Kelvin, but you can enter °F or °C and the tool converts for you.
Does it work for real gases?
It is an ideal model and close for many gases at normal conditions.
Related tools: Molar Mass Calculator, Percent Yield Calculator, Pressure Converter.