Compressibility Factor (Z = PV/nRT)

Also known as z factor · gas deviation factor · real gas correction · supercompressibility

Z=PVnRTZ = \frac{P V}{n R T}
sig figs

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. Change any unit and the answer follows.

Where Compressibility Factor (Z = PV/nRT) fits

Missing an input?
Your answer feeds

See also

Ideal Gas Law: the Z = 1 case this measures the deviation fromVan der Waals Equation of State: one way to predict Z instead of reading it off a chartGas Volume at STP: Both use gas volume and amount of gas.Charles's Law: Both use gas volume and temperature.Combined Gas Law: Both use gas volume and temperature.Gas Density from Molar Mass: Both use pressure and temperature.
6 more relatedEquivalent Potential Temperature (Bolton): Both use pressure and temperature.Weymouth Gas Pipeline Flow (Flow from the Pressure Drop): Both use compressibility factor.Boyle's Law: Both use gas volume.Partial Pressure from Mole Fraction: Both use pressure.Bernoulli's Equation (Two Points): Both use pressure.Pressure Head (h = P/ρg): Both use pressure.
Here the solver did the work. Could you?

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.

See your Report Card
Learning zone

Compressibility Factor (Z = PV/nRT) explained

PVn, TZ

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 Z=6000/6651.6=0.902Z = 6000/6651.6 = 0.902, 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 Pr=P/PcP_r = P/P_c at fixed reduced temperature Tr=T/TcT_r = T/T_c 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

Z=PVnRTZ = \frac{P V}{n R T}
Where
  • ZZ= Compressibility factor
  • PP= Pressure (kPa)
  • VV= Volume (L)
  • nn= Amount of gas (mol)
  • TT= Temperature (°C)
Revised 31 October 2026
Cite this page

formula.expert. (2026, October 31). Compressibility Factor (Z = PV/nRT) Formula & Calculator. https://formula.expert/solvers/compressibility-factor