Compressibility Factor (Z = PV/nRT)
Also known as z factor · gas deviation factor · real gas correction · supercompressibility
Worked example: An ideal mole at STP gives Z = 1.000 — press Try an example to run it live, then adjust anything.
Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!
Real gas corrections →
UniversityThermodynamics & Heat Transfer
Test your skills in the Exam Room: new numbers every attempt — free lessons for students, no sign-up, just pure learning.
share your results
Compressibility Factor (Z = PV/nRT) explained
Z is the honest answer to "how wrong is the ideal gas law here?" expressed as a single multiplier. A cylinder holding 2 mol at 400 K reading 1.20 MPa in 5.00 L gives , meaning the gas occupies about 10% less volume than an ideal gas would at the same pressure and temperature. Below 1, attraction is winning. Above 1, the molecules' own bulk is. At low pressure everything tends back to 1, which is why the ideal gas law survives at all.
The elegant part is the theorem of corresponding states: plot Z against reduced pressure at fixed reduced temperature and almost every non-polar gas falls on the same generalised chart. Nelson and Obert drew those charts in 1954 and process engineers still read them, because one chart covers nitrogen, methane, propane and argon alike. Natural gas metering leans on this heavily, where the correction is called supercompressibility and moves the invoice by percent-level amounts on a high-pressure line.
Two cautions. Z is not a property you can look up for a substance, only for a substance at a state, so quoting "the Z of methane" without a pressure and temperature says nothing. And when you use Z to correct a flow measurement, be certain which pressure and temperature the meter reports at, because applying a Z evaluated at line conditions to a volume already corrected to standard conditions double-counts the correction and is a classic custody-transfer dispute.
Compressibility Factor (Z = PV/nRT) formula
- = Compressibility factor
- = Pressure (kPa)
- = Volume (L)
- = Amount of gas (mol)
- = Temperature (°C)
Missing one of these? Work it out first, then come back
- Compressibility factor — Bend Allowance
- Pressure — Gas Density from Molar Mass, Partial Pressure from Mole Fraction
- Volume — Van der Waals Equation of State, Density
- Amount of gas — Gas Volume at STP, Moles from Mass (n = m/M)
- Temperature — Antoine Equation (Vapour Pressure), Clausius–Clapeyron Equation (Two-Point Form)