Ideal Gas Law Calculator
Calculate pressure, volume, moles, or temperature using PV = nRT.
Ideal Gas Law Calculator
Calculate pressure, volume, moles, or temperature using PV = nRT.
Formula
PV = nRT (R = 8.314 J/(mol K))What is This Tool?
The Ideal Gas Law (PV = nRT) relates the four state variables of an ideal gas: pressure, volume, amount in moles, and temperature. It combines Boyle's law, Charles's law, and Avogadro's law into a single equation. R is the universal gas constant.
Formula
PV = nRT
Where:
P = pressure (Pa)
V = volume (m3)
n = amount of gas (mol)
R = 8.314 J/(mol*K)
T = temperature (K)Worked Examples
1. Volume of 1 mol gas at STP
Given: P = 101325 Pa, n = 1 mol, T = 273.15 K
V = nRT / P
V = (1)(8.314)(273.15) / 101325
V = 0.02241 m3
Result: 22.41 L (the molar volume at STP)
2. Pressure of compressed gas
Given: n = 2 mol, V = 0.01 m3, T = 300 K
P = nRT / V
P = (2)(8.314)(300) / 0.01
P = 498,840 Pa
Result: 498,840 Pa (about 4.9 atm)
Frequently Asked Questions