Ideal Gas Calculator
Solve pressure, volume, amount or absolute temperature using the ideal gas law.
Enter a finite value within the formula’s domain and supported numeric range.
PV = nRT, R = 8.31446261815324 J/(mol·K). Choose the unknown and enter the other three positive values, each from 10⁻⁹ to 10¹² in its labelled unit. 1 atm = 101325 Pa; 1 L = 0.001 m³. Temperature is absolute kelvin, not Celsius. The ideal gas model omits molecular size and interactions, and is less accurate near condensation or at high pressure. Results show up to ten significant digits.
NIST · CODATAHow the calculation works
PV = nRT, R = 8.31446261815324 J/(mol·K). Choose the unknown and enter the other three positive values, each from 10⁻⁹ to 10¹² in its labelled unit. 1 atm = 101325 Pa; 1 L = 0.001 m³. Temperature is absolute kelvin, not Celsius. The ideal gas model omits molecular size and interactions, and is less accurate near condensation or at high pressure. Results show up to ten significant digits.
Frequently asked questions
How is the result calculated?
P(Pa) × V(m³) = n(mol) × R × T(K); R = 8.31446261815324 J/(mol·K). P = nRT/V; V = nRT/P; n = PV/(RT); T = PV/(nR).
What assumptions apply?
Temperature is in kelvins, not Celsius. The ideal gas model ignores molecular size and interactions and is less accurate near condensation or at high pressure.
How precise are the displayed results?
Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.