Ideal Gas Law (PV = nRT)
Solve for any of P, V, n, T given the other three. R = 8.314 J/(mol·K).
Result
Loading calculator…
—
How to use this calculator
- Pick what to solve for.
- Enter the three known values.
- Note: T in Kelvin, V in liters, P in kPa.
About this calculator
Ideal gas law: PV = nRT. Holds well for most gases at moderate pressures and temperatures (away from condensation). R = 8.314 J/(mol·K). Note: 22.4 L of any gas at STP (273.15 K, 101.325 kPa) = 1 mole — useful identity. Real gases deviate at high pressure (>10 atm) or low temp (near boiling). For more accuracy, van der Waals or Redlich-Kwong equations.
Frequently asked
STP?+
Standard Temp + Pressure: 273.15 K (0°C) and 101.325 kPa (1 atm). 1 mol gas = 22.414 L.
When does ideal fail?+
High pressure (molecules close, intermolecular forces matter), low temp (approaching condensation). Air at 1 atm, 25°C: nearly ideal.
R values?+
8.314 J/(mol·K), or 0.08206 L·atm/(mol·K). Same constant, different units.
Mole vs. mass?+
PV = nRT uses moles. For mass: PV = (m/M)RT, where M = molar mass.
Convert °C to K?+
K = °C + 273.15. Always use absolute (Kelvin) in gas laws.
Related calculators
Boyle's Law (P₁V₁ = P₂V₂)
Constant T, constant n: pressure × volume = constant.
Charles's Law (V₁/T₁ = V₂/T₂)
Constant P: volume scales linearly with absolute temperature.
Avogadro's Law (V₁/n₁ = V₂/n₂)
At constant T, P: volume scales with number of moles.
Combined Gas Law (P₁V₁/T₁ = P₂V₂/T₂)
When n is constant, all of P, V, T can change. Solve for any one.
Atomic Mass from Isotopes Calculator
Σ (isotope mass × abundance fraction). Periodic-table atomic mass from isotope mix.
Henderson-Hasselbalch (Buffer pH)
pH = pKa + log([A⁻]/[HA]). Predict buffer pH from acid + conjugate base concentrations.