Calculate pressure, volume, moles, or temperature using the Ideal Gas Law (PV = nRT). Includes combined gas law and density calculations.
R = 8.314 J/(mol\u00B7K) = 0.0821 L\u00B7atm/(mol\u00B7K)
Container volume
Number of moles
Gas temperature
Pressure
101.325
kPa
Pressure
1
atm
Volume
22.414
Liters
Molecules
6.02e+23
particles
Start with the Ideal Gas Law
PV = nRT
Rearrange to solve for P
P = nRT/V
Convert inputs to SI units
n = 1 mol, T = 273.15 K, V = 0.0224 m³
Substitute values
P = (1 × 8.314 × 273.15) / 0.0224
Calculate
P = 101324.8623 Pa = 101.3249 kPa
Final Answer: 101.3249 kPa
The Ideal Gas Law PV=nRT relates pressure (P), volume (V), moles (n), and temperature (T) of an ideal gas. R is the gas constant: 8.314 J/(mol·K) or 0.0821 L·atm/(mol·K). At STP (0°C, 1 atm), one mole of gas occupies 22.4 L. The law assumes gas particles have no volume and no intermolecular forces.
The Ideal Gas Law (PV = nRT) is a fundamental equation relating the pressure (P), volume (V), amount in moles (n), and absolute temperature (T) of an ideal gas. R is the universal gas constant. The law combines Boyle's Law (P∝V at constant T), Charles's Law (V∝T at constant P), and Avogadro's Law (V∝n at constant P,T) into one equation.
The gas constant R has different values depending on units: R = 8.314 J/(mol·K) = 8.314 kPa·L/(mol·K) for SI units, R = 0.08206 L·atm/(mol·K) for atmospheres and liters, R = 62.36 L·mmHg/(mol·K) for mmHg and liters. Always match R with your pressure and volume units.
STP (Standard Temperature and Pressure) is defined as 273.15 K (0°C) and exactly 1 atm (101.325 kPa). At STP, one mole of an ideal gas occupies 22.414 liters (the molar volume). Note: IUPAC now defines STP as 273.15 K and 1 bar (100 kPa), giving a molar volume of 22.711 L.
The Combined Gas Law (P₁V₁/T₁ = P₂V₂/T₂) relates initial and final states of a gas when the amount (n) stays constant. It combines Boyle's and Charles's laws. You can solve for any one variable if you know the other five. Temperature must be in Kelvin.
Rearranging PV = nRT and using n = mass/molar mass (M): density = PM/(RT). This shows gas density increases with pressure and molar mass, but decreases with temperature. For air (M ≈ 29 g/mol) at STP: density = (101325 × 0.029)/(8.314 × 273.15) ≈ 1.29 kg/m³.
The Ideal Gas Law assumes gas particles have no volume and no intermolecular forces. It fails for: (1) High pressures - particle volume becomes significant, (2) Low temperatures - intermolecular forces become important, (3) Polar or large molecules - stronger intermolecular forces. Real gas behavior is better described by the van der Waals equation.
To convert Celsius to Kelvin: K = °C + 273.15. To convert Fahrenheit to Kelvin: K = (°F - 32) × 5/9 + 273.15. Kelvin is the absolute temperature scale where 0 K is absolute zero. The Ideal Gas Law requires temperature in Kelvin because volume is directly proportional to absolute temperature.
Avogadro's Law states that equal volumes of gases at the same temperature and pressure contain equal numbers of molecules (V ∝ n at constant P, T). One mole of any gas contains Avogadro's number (6.022 × 10²³) of molecules. At STP, one mole occupies 22.4 L regardless of the gas type.

Full-stack software engineer specializing in embedded systems, web architecture, and AI/ML. Founder of Practical Web Tools. Built the gesture-controlled drone IP acquired by KD Interactive (Aura Drone, sold on Amazon).