Ideal Gas Calculator

Solve pressure, volume, amount or absolute temperature using the ideal gas law.

Absolute pressure (kPa)
—
Absolute pressure (bar)
—
Absolute pressure (atm)
—
Volume (L)
—
Amount (mol)
—
Temperature (K)
—

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 · CODATA

How 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.

Also try:

Back to category →