basic

Compressibility Factor Z from Real-Gas P, V, n, T Calculator

Z = PV / (nRT) — Z = 1 for ideal gas; Z ≠ 1 for real gases.

Compute the compressibility factor Z = PV / (nRT) for a real gas given pressure (atm), volume (L), moles, and temperature (K). Z = 1 corresponds to ideal-gas behaviour. Z > 1 means the gas is more compressible than ideal (high T, repulsion); Z < 1 means less compressible (high P, attraction).

Published Last reviewed 1 min read

Inputs

atm
L
mol
K

Results

Enter values and click Calculate to see results.
Was this helpful?

How to use this calculator

  1. Fill in the inputs above using the units you already have.
  2. Values update automatically as you type — no submit button needed.
  3. Hover any result row for the underlying formula and intermediate values.

Formula

Z = PV / (nRT); R = 0.08206 L·atm·mol⁻¹·K⁻¹.

In depth

Compute the compressibility factor Z = PV / (nRT) for a real gas given pressure (atm), volume (L), moles, and temperature (K). Z = 1 corresponds to ideal-gas behaviour. Z > 1 means the gas is more compressible than ideal (high T, repulsion); Z < 1 means less compressible (high P, attraction).