Ideal Gas Law Calculator
Solve PV = nRT for pressure, volume, moles, or temperature. Supports atm, kPa, mmHg, psi, bar, L, mL, m^3, gal, and degC, K, degF inputs.
Ideal Gas Law Examples
| Pressure | Volume | Temperature | Amount |
|---|---|---|---|
| 1 atm | 22.414 L | 273.15 K | 1 mol |
| 1 atm | 24.465 L | 298.15 K | 1 mol |
| 2 atm | 12.233 L | 298.15 K | 1 mol |
| 1 atm | 11.207 L | 273.15 K | 0.5 mol |
| 1 atm | 49.751 L | 303.15 K | 2 mol |
Frequently Asked Questions about the Ideal Gas Law Calculator
What is the ideal gas law?
The ideal gas law is PV = nRT. Pressure (P) times volume (V) equals moles (n) times the gas constant (R) times absolute temperature (T). Real gases follow it closely at low pressure and moderate temperature.
Why does temperature have to be in Kelvin?
PV = nRT is built on absolute temperature, so T = 0 means no thermal energy. Celsius and Fahrenheit have arbitrary zero points and can be negative, which would make pressure or volume come out negative. This calculator accepts Celsius and Fahrenheit and converts to Kelvin internally.
Which value of R should I use?
R is the same constant, just in different units. In SI units, R = 8.314 J/(mol K). When pressure is in atm and volume in liters, R = 0.08206 L atm / (mol K). This calculator uses the SI value internally and converts every input to Pa, m^3, mol, and K.
What is STP and how does it differ from NTP?
This calculator labels 273.15 K and 1 atm as STP, the older convention that gives an ideal-gas molar volume of about 22.414 L. IUPAC's current standard pressure is 100 kPa, which gives about 22.71 L at 273.15 K. State the convention whenever you report an STP result.
How do I calculate gas density with the ideal gas law?
Gas density is mass per volume. From PV = nRT, density = PM/(RT), where M is molar mass. Enter molar mass in the optional field and the calculator reports density in g/L.
Related Calculators
More calculators in "Math"
Moles to Grams CalculatorHorsepower CalculatorVariance CalculatorPoisson Distribution CalculatorTriangular Prism CalculatorTriangular Pyramid Volume Calculator
See all 202 calculators in "Math"