Ideal Gas Law Calculator
Solve PV = nRT for pressure, volume, moles or temperature in any units. The gas constant and kelvin conversion are handled for you.
- Rearrange: V = nRT ÷ P
- Substitute: P = 1.00 atm, n = 1.00 mol, T = 0 °C (converted to SI units first).
- Result: V = 22.414 L, rounded to 1 significant figures because the least precise input has 1.
R = 8.314 J/(mol·K) = 0.08206 L·atm/(mol·K). Temperatures are converted to kelvin before solving.
Hold one thing constant: the three gas laws
Each named gas law is PV = nRT with two variables frozen. Pick which one to hold, then drag the slider.
Boyle's law. At constant temperature, squeezing the gas into half the volume doubles the pressure: P ∝ 1/V.
Stuck on the question behind this number?
Ask the StemCalc tutor. It explains the method step by step. Answers are AI-generated, so check them against your notes.
Worked example
What volume does 1.00 mol of gas occupy at 0 °C and 1.00 atm? V = nRT ÷ P = 1.00 × 0.08206 × 273.15 ÷ 1.00 = 22.4 L. That is the familiar molar volume at STP.
Combine with molar mass to get gas density: ρ = PM ÷ RT. Or with the stoichiometry calculator to find the volume of gas a reaction releases.