Skip to main content

Ideal Gas Law Calculator

Solve one of pressure, volume, amount, or temperature from PV = nRT. R is 8.314462618 J/(mol K). Informational, not a pressure-vessel rating, wiring approval, or lab protocol.

Rated 4.7 out of 5 based on 317 reviews

Results

How to use the ideal gas calculator

  1. Pick which quantity to solve: P, V, n, or T.
  2. Fill the other three. Leave the unknown blank.
  3. Set pressure, volume, and temperature units. Amount is moles.
  4. Read PV = nRT with R = 8.314462618. Nothing is uploaded.

Ideal gas law

PV = nRT

PAbsolute pressure, converted to pascals
VVolume, converted to cubic meters
nAmount of substance in moles
TAbsolute temperature in kelvin
R8.314462618 J/(mol K)
ModelIdeal gas. No van der Waals terms.

What PV = nRT is

The ideal gas law ties pressure, volume, moles, and temperature. R is 8.314462618 J/(mol K). The default leaves P blank, with V = 1 m3, n = 1 mol, T = 273.15 K, so P is n R T / V.

Pressure, volume, mole, and kelvin

Pressure on this page is absolute, not gauge. Volume is the container size. n is moles, not grams. Temperature converts to kelvin before the product. Mass density without a gas model is density.

How this page converts units

Pa, kPa, bar, and atm convert to pascals. m3 and L convert to cubic meters (1 L = 0.001 m3). Celsius becomes kelvin by adding 273.15. The solve control names the unknown even if that field still has a leftover number.

Limits

Ideal gas only. High pressure and low temperature need a better equation of state. Informational, not a vessel rating, wiring approval, or lab protocol. CZNull does not receive the values. See the disclaimer.

Ideal gas questions

Does this page upload P, V, n, and T?
No. PV = nRT runs in this tab. CZNull does not receive the state.
What value of R do you use?
8.314462618 J/(mol K). Pressure is in pascals internally, volume in cubic meters, T in kelvin.
Is temperature allowed in Celsius?
Yes. The page adds 273.15 to reach kelvin. Do not enter a Celsius value that would make T at or below 0 K.
Is 1 atm on the list?
Yes. One atmosphere is 101325 Pa in the conversion table.
Does this include real-gas compressibility Z?
No. The model is ideal, so Z is 1.
Can I treat this as a cylinder stamp?
No. It is textbook arithmetic, not a pressure-vessel approval.