Ideal Gas Law Calculator
The ideal gas law PV = nRT unifies all gas laws into one equation. R = 0.08206 L·atm/mol·K. Pressure in atm, volume in liters, temperature in Kelvin, and moles.
Formula & Reference
| Variable | Symbol | Formula | Units |
|---|---|---|---|
| Ideal Gas Law | — | PV = nRT | — |
| Pressure | P | nRT/V | atm |
| Volume | V | nRT/P | L |
| Moles | n | PV/RT | mol |
| Temperature | T | PV/nR | K |
| R (L·atm) | R | 0.08206 L·atm/mol·K | L·atm/mol·K |
Step-by-Step Examples
Find moles in 5.00 L gas at 2.00 atm and 300 K.
- n = PV/RT = (2.00×5.00)/(0.08206×300)
- n = 10.00/24.62 = 0.406 mol
1 mol of any ideal gas at STP (1 atm, 273 K).
- V = nRT/P = 1.00×0.08206×273/1.00
- V = 22.4 L
0.500 mol gas in 10.0 L container at 25°C (298 K).
- P = nRT/V = 0.500×0.08206×298/10.0
- P = 1.223 atm
Real-World Applications
Common Mistakes to Avoid
R = 0.08206 L·atm/mol·K. If pressure in Pa: R = 8.314 J/mol·K. If pressure in mmHg: R = 62.36 L·mmHg/mol·K.
T must be in Kelvin. 25°C = 298 K. Never use Celsius in PV=nRT.
Real gases deviate at high P and low T. At room conditions, ideal gas law gives <1% error for most gases.
Frequently Asked Questions
Related Chemistry Calculators
Formula Explorer connections
Interpretation: This relationship connects pressure, volume, temperature, amount or phase composition for gases and volatile mixtures. Assumption: Use absolute temperature and compatible pressure-volume units. Ideal behavior weakens at high pressure, low temperature, strong intermolecular attraction or near phase change.