Ideal Gas Law Calculator
Solve PV = nRT for any unknown.
Enter your values
ⓘ Live results
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
- 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
- 1Enter pressure in pascals and volume in cubic metres.
- 2Enter temperature in kelvin.
- 3Pick which variable to solve for.
Worked example
Using the values the calculator loads with:
Inputs
- Pressure101325 Pa
- Volume0.0224 m³
- Temperature273.15 K
- Solve forMoles
Results
- Moles0.999377 mol
- Pressure101325 Pa (1 atm)
- Volume0.0224 m³ (22.4 L)
- Temperature273.15 K (0 °C)
- Molar volume22.414 L/mol
- n = PV ÷ RT = (101325 × 0.0224) ÷ (8.314 × 273.15) = 0.99938 mol
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.
About this calculator
- Built and reviewed by James Whitfield · How we build and test calculators
- Report an error
Results are estimates for general information. For medical, legal, structural or financial decisions, confirm with a qualified professional.