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).
How to use this calculator
- Fill in the inputs above using the units you already have.
- Values update automatically as you type — no submit button needed.
- 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).
Spot an issue or have a suggestion?
Our editors read every message. If the math looks off, tell us the inputs you used and what you expected.