Ideal Gas Law Calculator (PV = nRT) | GoToolstack
Core Architecture & Mathematical Formula
P x V = n x R x T | R = 0.082057 L·atm/(mol·K) = 8.3145 J/(mol·K)
Select the variable you want to solve for: Pressure (atm, kPa, bar, mmHg), Volume (L, mL, m3), Amount (moles), or Temperature (K, deg C, deg F). Load standard preset conditions if desired: STP (0 deg C, 1 atm) or NTP (20 deg C, 1 atm). Input the known thermodynamic variables with corresponding unit selections. Obtain the computed result along with molar volume and gas density calculations.
Best Practices & Essential Guidelines
- Always convert temperatures to absolute thermodynamic temperature in Kelvin (K = deg C + 273.15) before performing gas calculations.
- Ensure the units of pressure and volume match the selected universal gas constant R (e.g. atm and L with R = 0.08206; kPa and m3 with R = 8.314).
- Real gases diverge from ideal gas behavior at very high pressures and very low temperatures where intermolecular attractions and molecular volume cannot be neglected.