Compressibility Factor Z
Real-gas compressibility factor Z from pseudoreduced properties, via Dranchuk-Abou-Kassem, Hall-Yarborough or the ideal-gas limit.
Overview
What it calculates
It finds the real-gas compressibility factor Z from pseudoreduced temperature and pressure. The default is Dranchuk-Abou-Kassem (DAK), which solves an implicit equation for reduced density and reports how many iterations that took. Hall-Yarborough and the ideal-gas limit (Z = 1) are the alternatives. The page builds its own pseudocriticals from composition (Kay or Sutton) or from gas gravity (Sutton), with an optional Wichert-Aziz sour correction. It then reports density, specific volume and the formation volume factor Bg.
When to use it
Use it whenever actual volume at pressure matters, such as velocity checks, gas line pressure drop or compressor head. Gas Line Pressure Drop (General / Fundamental Flow Equation) and Adiabatic (Isentropic) Compression both take an average Z, and this is where to get it.
Inputs that matter most
Temperature near the pseudocritical. Z changes fastest when Tpr is close to 1, so a few degrees there moves the answer more than hundreds of psi at Tpr 2. Pressure matters next. At moderate Tpr, Z falls as pressure rises, bottoms out, then climbs back toward and past 1 at very high Ppr. The worked example, Tpr 1.5 and Ppr 3.0, gives Z = 0.776. For sour gas, turn on Wichert-Aziz.
Reading the results
Bg is actual volume per standard volume, so multiply a standard flow by Bg to get actual flow. DAK and Hall-Yarborough both fit the Standing-Katz chart, so a large gap between them means you are near the edge of the fitted region.
Limits and common mistakes
The page warns outside 1.0 ≤ Tpr ≤ 3.0 or above Ppr 30. Below Tpr 1 on the composition basis, it estimates a pseudo vapor pressure (Lee-Kesler, mole-average acentric factor) and refuses to report Z if your pressure is at or above it. On the gravity basis it cannot make that check and only warns. Tpr above 1 does not prove the gas is single phase. A rich gas can drop liquid well above its pseudocritical temperature, so check Dew Point (T or P) or Retrograde Condensation Check for such gases.
Equations
Source: Dranchuk & Abou-Kassem (1975)
| Symbol | Meaning | Units (US / SI) |
|---|---|---|
| Compressibility factor | - |
Source: Standard Gas Processing Engineering Practice
| Symbol | Meaning | Units (US / SI) |
|---|---|---|
| Density | lb/ft³ / kg/m³ |
Source: Standard Gas Processing Engineering Practice
| Symbol | Meaning | Units (US / SI) |
|---|---|---|
| Formation volume factor | - |
Inputs
| Input | Symbol | Default | Typical range or options |
|---|---|---|---|
| Basis | Composition | Composition Gas specific gravity | |
| Gas composition | Entered in the app | ||
| Gas specific gravity | 0.7 | ||
| Pseudocritical method | Kay's rule | Kay's rule Sutton correlation | |
| Z-factor method | App default (Methods page) | App default (Methods page) Dranchuk-Abou-Kassem Hall-Yarborough Ideal gas (Z=1) | |
| Apply Wichert-Aziz sour correction | No | ||
| CO2 mole fraction | 0 mol% | ||
| H2S mole fraction | 0 mol% | ||
| Temperature | 100 °F (37.78 °C) | ||
| Pressure | 1,000 psia (6,895 kPaa) |
Outputs
- Compressibility factor ()
- Pseudoreduced temperature ()
- Pseudoreduced pressure ()
- Gas density ()
- Specific volume
- Gas formation volume factor ()
- Iterations to converge (DAK)
Assumptions and limitations
Assumptions
- When basis is gas gravity, pseudocriticals are always from Sutton (Kay’s rule needs the actual composition).
Limitations
- DAK and Hall-Yarborough are validated for 0.2 ≤ Ppr ≤ 30 and 1.0 ≤ Tpr ≤ 3.0 — a warning fires outside that range.
Worked example
Tpr = 1.5, Ppr = 3.0 (direct Tpr/Ppr via a matching gas gravity/T/P set)
Inputs
| Basis | Gas specific gravity |
|---|---|
| Gas specific gravity | 0.7 |
| Z-factor method | Dranchuk-Abou-Kassem |
| Apply Wichert-Aziz sour correction | No |
| CO2 mole fraction | 0 mol% |
| H2S mole fraction | 0 mol% |
| Temperature | 106.7 °F (41.51 °C) |
| Pressure | 1,990 psia (13,720 kPaa) |
Expected results
| Compressibility factor | 0.7761 |
|---|---|
| Pseudoreduced temperature | 1.5 |
| Pseudoreduced pressure | 3 |
| Iterations to converge (DAK) | 12 |
The calculator's test suite checks that the solver reproduces these results.
References
- Standard Gas Processing Engineering Practice
- Dranchuk, P.M. and Abou-Kassem, J.H. (1975)
Guides that use this calculator
Pitfalls to watch for
- The Ideal-Fluid Illusion: Using the ideal gas law, constant viscosity or clean water properties for fluids that are none of those.
Related calculators
- Gas Line Pressure Drop (General / Fundamental Flow Equation): Isothermal compressible-flow pressure drop for a gas pipeline, solving for flow rate or outlet pressure.
- Adiabatic (Isentropic) Compression: Adiabatic head, gas/brake power, and discharge temperature for a single compression stage.
Page last updated 2026-10-28.