Compressibility Factor Calculator
Calculate the compressibility factor (Z) for real gases using Van der Waals, Pitzer, and Lee-Kesler correlations with 25+ gas presets.
About
The compressibility factor Z = PVnRT quantifies deviation of a real gas from ideal behavior. An ideal gas has Z = 1. Real gases deviate due to intermolecular forces and finite molecular volume. At high pressures or low temperatures, Z can drop below 0.3 or exceed 1.5. Ignoring this in pipeline sizing, compressor design, or reactor engineering introduces errors of 30 - 70% in volumetric flow calculations. This tool computes Z via three methods: Van der Waals cubic equation, Pitzerβs two-parameter correlation, and the Lee-Kesler generalized correlation used in API and GPSA standards.
All methods rely on reduced properties: reduced temperature Tr = TTc and reduced pressure Pr = PPc. The Pitzer method adds the acentric factor Ο as a third parameter to improve accuracy for polar and heavy molecules. Results are approximate: accuracy is typically Β±2 - 5% for nonpolar gases at Tr > 1.0 and degrades near the critical point or for highly polar species like water and ammonia.
Formulas
The compressibility factor is defined as the ratio of real molar volume to ideal molar volume at the same temperature and pressure:
Reduced properties map any gas onto a universal curve via the principle of corresponding states:
The Pitzer correlation extends the two-parameter corresponding states principle with the acentric factor Ο:
Where Z0 and Z1 are functions of Tr and Pr obtained from the Lee-Kesler modified Benedict-Webb-Rubin equation of state. The BWR equation in reduced form is:
The Van der Waals equation provides a simpler cubic approach:
Where the constants are derived from critical properties: a = 27 R2 Tc264 Pc and b = R Tc8 Pc.
Variable legend: P = absolute pressure, T = absolute temperature (K), Vm = molar volume, R = universal gas constant (8.314 J/(molβ K)), Tc = critical temperature, Pc = critical pressure, Ο = Pitzer acentric factor, Vr = reduced volume (VmPc / RTc).
Reference Data
| Gas | Formula | Tc (K) | Pc (MPa) | Ο | M (g/mol) |
|---|---|---|---|---|---|
| Methane | CH4 | 190.56 | 4.599 | 0.0115 | 16.04 |
| Ethane | C2H6 | 305.32 | 4.872 | 0.0995 | 30.07 |
| Propane | C3H8 | 369.83 | 4.248 | 0.1523 | 44.10 |
| n-Butane | C4H10 | 425.12 | 3.796 | 0.2002 | 58.12 |
| n-Pentane | C5H12 | 469.70 | 3.370 | 0.2515 | 72.15 |
| n-Hexane | C6H14 | 507.60 | 3.025 | 0.3013 | 86.18 |
| n-Heptane | C7H16 | 540.20 | 2.740 | 0.3495 | 100.20 |
| Nitrogen | N2 | 126.19 | 3.396 | 0.0372 | 28.01 |
| Oxygen | O2 | 154.58 | 5.043 | 0.0222 | 32.00 |
| Hydrogen | H2 | 33.19 | 1.313 | -0.2160 | 2.016 |
| Carbon Dioxide | CO2 | 304.13 | 7.375 | 0.2239 | 44.01 |
| Carbon Monoxide | CO | 132.86 | 3.494 | 0.0510 | 28.01 |
| Hydrogen Sulfide | H2S | 373.53 | 8.963 | 0.0942 | 34.08 |
| Ammonia | NH3 | 405.40 | 11.353 | 0.2526 | 17.03 |
| Water | H2O | 647.10 | 22.064 | 0.3449 | 18.02 |
| Helium | He | 5.19 | 0.227 | -0.3900 | 4.003 |
| Argon | Ar | 150.69 | 4.898 | 0.0000 | 39.95 |
| Neon | Ne | 44.49 | 2.679 | -0.0290 | 20.18 |
| Krypton | Kr | 209.41 | 5.510 | 0.0000 | 83.80 |
| Xenon | Xe | 289.73 | 5.841 | 0.0000 | 131.29 |
| Ethylene | C2H4 | 282.34 | 5.041 | 0.0862 | 28.05 |
| Acetylene | C2H2 | 308.30 | 6.139 | 0.1912 | 26.04 |
| Sulfur Dioxide | SO2 | 430.80 | 7.884 | 0.2451 | 64.07 |
| Chlorine | Cl2 | 416.90 | 7.977 | 0.0688 | 70.91 |
| Isobutane | C4H10 | 407.80 | 3.640 | 0.1835 | 58.12 |
| Air (pseudo) | N2/O2 | 132.52 | 3.786 | 0.0335 | 28.97 |