Ideal Gas Law & STP Calculator
Solve PV = nRT, convert a gas between two states, compute partial pressure or compare molar volume and density at STP and NTP.
PV = nRT
Bench result
Calculated in this browser
- Gas law
- Ideal gas law
- Calculate
- Volume
- Absolute pressure unit
- atm
- Temperature unit
- °C
- Volume unit
- L
- Pressure (final for combined law)
- 1
- Temperature (final for combined law)
- 25
- Amount of gas (mol)
- 2
- Gas volume
- 48.9308L
- Absolute pressure
- 1atm
- Amount of gas
- 2mol
- Gas temperature
- 25°C
Calculation steps
Use absolute temperature and pressure
Convert to Kelvin, liters and kilopascals so R = 8.314462618 kPa·L/(mol·K).
Rearrange PV = nRT
V = 2 × R × 298.15 ÷ 101.325 = 48.9308 L.
- The ideal gas model assumes negligible molecular volume and intermolecular interactions. Use absolute pressure and state the reference conditions when comparing volumes.
How the model works
Use absolute pressure and Kelvin within the calculation. In combined-gas mode, the same amount of gas is assumed in both states.
Frequently asked questions
Which STP convention does this calculator use?
IUPAC STP is 273.15 K and 100 kPa. The 1-atm STP option uses 101.325 kPa, and the NTP option here uses 293.15 K and 1 atm.
Can I use gauge pressure in PV = nRT?
Convert it to absolute pressure first by adding the local atmospheric pressure in the same unit.