# Compressibility factor (gases)

The **compressibility factor** (**Z**) is a useful thermodynamic property for modifying the ideal gas law to account for behavior of real gases.^{[1]}^{[2]}^{[3]}^{[4]}^{[5]} It is a measure of how much the thermodynamic properties of a real gas deviate from those expected of an ideal gas. It may be thought of as the ratio of the actual volume of a real gas to the volume predicted by the ideal gas at the same temperature and pressure as the actual volume.

For an ideal gas, Z always has a value of 1. For real gases, the value may deviate positively or negatively, depending on the effect of the intermolecular forces of the gas. The closer a real gas is to its critical point or to its saturation point, the larger are the deviations of the gas from ideal behavior.

The upper graph in Figure 1 illustrates how the compressibility factor varies for different gases at the same temperature and pressure. The lower graph illustrates how the compressibility factor of a gas (for example, methane) at a given pressure varies with temperature.^{[1]}

This article deals only with the compressibility factor of gases and does not delve into the compressibility of liquids or vapor-liquid mixtures.

## Contents

- 1 Determination of gas compressibility values
- 2 References

## Determination of gas compressibility values

The ideal gas law is defined as:

- <math>P\,V_\mathrm{m} = R\,T</math>

and the ideal gas law corrected for non-ideality is defined is:

- <math>P\,V_\mathrm{m} = ZR\,T</math>

where: | |

<math>P</math> | = pressure |
---|---|

<math>V_\mathrm{m}</math> | = molar volume of the gas |

<math>Z</math> | = compressibility factor |

<math>R</math> | = Universal gas constant |

<math>T</math> | = temperature |

and thus:

- <math>Z = \frac{\;P\,V_\mathrm{m}}{R\,T}</math>

which is the simplest and most widely used real gas equation of state (EOS). The major limitation of this equation of state is that the gas compressibility factor, Z, is not a constant but varies from one gas to another as well as with the temperature and pressure of the gas under consideration. It must be determined experimentally.

Where experimental data is available for specific gases, that data may be used to produce graphs (such as in Figure 1) of Z versus pressure at a constant temperature or of Z versus pressure for various temperatures for those specific gases. Such graphs are useful for readily obtaining interpolated values of Z between the experimentally determined values.

The compressibility factor, as mentioned earlier, may also be expressed as:

- <math>Z = \frac{V_\mathrm{actual}}{V_\mathrm{ideal}}</math>

There are three regimes that affect the compressibility factor:

- the value of Z tends toward 1 as the gas pressure approaches 0, where all gases tend toward ideal behavior
- the value of Z is less than 1 at intermediate pressures because the intermolecular forces of attraction cause the actual volumes to be less than the ideal values
- the value of Z is greater than 1 and ultimately tends toward infinity at high pressures because the intermolecular repulsive forces cause the actual volumes to be greater than the ideal values

### Generalized compressibility factor graphs for pure gases

The unique relationship between the compressibility factor and the reduced temperature, <math>T_r</math>, and the reduced pressure, <math>P_r</math>, was first recognized by van der Waals in 1873 and is known as the two-parameter principle of corresponding states. The principle of corresponding states expresses the generalization that the properties of a gas which are dependent on intermolecular forces are related to the critical properties of the gas in a universal way. That provides a most important basis for developing correlations of molecular properties.^{[6]}

As for the compressibility of gases, the principle of corresponding states indicates that any pure gas at the same reduced temperature, <math>T_r</math>, and reduced pressure, <math>P_r</math>, should have the same compressibility factor. ^{[3]}

The reduced temperature and pressure are defined as:

- <math>T_r = \frac{T}{T_c}</math> and <math>P_r = \frac{P}{P_c}</math>

<math>T_c</math> and <math>P_c</math> are known as the *critical temperature* and *critical pressure* of a gas. They are characteristics of each specific gas with <math>T_c</math> being the temperature above which it is not possible to liquify a given gas and <math>P_c</math> is the minimum pressure required to liquify a given gas at its critical temperature.^{[7]} Together they define the critical point of a fluid above which distinct liquid and gas phases of a given fluid do not exist.

The pressure-volume-temperature (PVT) data for real gases varies from one pure gas to another. However, when the compressibility factors of various single-component gases are graphed versus pressure along with temperature isotherms (as shown for methane in the lower graph of Figure 1), many of the graphs exhibit similar isotherm shapes.

In order to obtain a *generalized* graph that can be used for many different gases, the reduced pressure and temperature, <math>P_r</math> and <math>T_r</math>, are used to *normalize* the compressibility factor data. Figure 2 is an example of a *generalized compressibility factor* graph derived from hundreds of experimental P-V-T data points of 10 pure gases, namely methane, ethane, ethylene, propane, n-butane, i-pentane, n-hexane, nitrogen, carbon dioxide and steam.^{[2]}^{[4]}^{[9]}^{[10]}

There are more detailed generalized compressibility factor graphs based on as many as 25 or more different pure gases, such as the Nelson-Obert graphs.^{[11]}^{[12]}^{[13]} Such graphs are said to have an accuracy within 1-2 percent for Z values greater than 0.6 and within 4-6 percent for Z values of 0.3-0.6.

The generalized compressibility factor graphs may be considerably in error for strongly polar gases which are gases for which the centers of positive and negative charge do not coincide. In such cases the estimate for Z may be in error by as much as 15-20 percent.

The quantum gases hydrogen, helium, and neon do not conform to the corresponding-states behavior and the reduced pressure and temperature for those three gases should be redefined in the following manner to improve the accuracy of predicting their compressibility factors when using the generalized graphs:^{[4]}^{[10]}

- <math>T_r = \frac{T}{T_c + 8}</math> and <math>P_r = \frac{P}{P_c + 8}</math>

where the temperatures are in degrees Kelvin and the pressures are in atmospheres.

### Generalized compressibility factor graphs for gas mixtures

The generalized compressibility factor graphs for pure gases (such as exemplified in Figure 2 or the Nelson-Obert graphs may also be used for gas mixtures by using Kay's Rule proposed by W. B. Kay in 1936.^{[14]} That rule predicts the P-V-T behavior of a gas mixture by determining the compressibility factor for a gas mixture at the reduced temperature and reduced pressure defined in terms of the *pseudocritical temperature*, <math>T_{pc}</math> and the *pseudocritical pressure*, <math>P_{pc}</math> which are defined as:^{[15]}^{[16]}

- <math>T_{pc} = y_1\,T_{c_1} + y_2\,T_{c_2} + y_3\,T_{c_3}\,\dots</math>

- <math>P_{pc} = y_1\,P_{c_1} + y_2\,P_{c_2} + y_3\,P_{c_3}\,\dots</math>

where: | |

<math>T_{pc}</math> | = the pseudocritical temperature of the gas mixture |
---|---|

<math>T_{c_i}</math> | = the critical temperature of a component of the gas mixture |

<math>P_{pc}</math> | = the pseudocritical pressure of the gas mixture |

<math>P_{c_i}</math> | = the critical temperature of a component of the gas |

<math>y_i</math> | = the mole (or volume) fraction of a component of the gas |

The pseudoreduced temperature, <math>T_{pr}</math>, and pseudoreduced pressure, <math>P_{pr}</math>, to use with the generalized compressibility factor graphs for pure gases are then:

- <math>T_{pr} = \frac{T}{T_{pc}}</math> and <math>P_{pr} = \frac{P}{P_{pc}}</math>

A compressibility factor graph for natural gas (which is a mixture of hydrocarbon and other gases) using pseudoreduced temperatures and pressures is available on the Internet.^{[17]}

### The van der Waals equation

The van der Waals equation was developed in 1873 and may be expressed as:^{[1]}^{[2]}^{[3]}^{[4]}^{[5]}

- <math>\left(P + \frac{a}{V_\mathrm{m}^2}\right)\left(V_\mathrm{m} - b\right) = R\,T</math>

where:

- <math>a</math> is a measure of the strength of attraction between the gas molecules
- <math>b</math> accounts for the volume occupied by gas molecules, which decreases the available open volume

The van der Waals equation may be re-arranged as:

- <math>P = \frac{R\,T}{V_\mathrm{m} - b} - \frac {a}{V_\mathrm{m}^2}</math>

and the compressibility factor can be written as:

- <math>Z = \frac{\;P\,V_\mathrm{m}}{R\,T} = \frac{V_\mathrm{m}}{R\,T}\left(\frac{R\,T}{V_\mathrm{m} - b} - \frac{a}{V_\mathrm{m}^2}\right)</math>

and we now have an equation for determining <math>Z</math> by using the van der Waals parameters <math>a</math> and <math>b</math>:

- <math>Z = \frac{V_\mathrm{m}}{V_\mathrm{m} - b} - \frac{a}{R\,T\,V_\mathrm{m}}</math>

Although <math>a</math> and <math>b</math> are referred to as "the Van der Waals constants", they are not truly constants because they vary from one gas to another; they are, however, independent of *P*, *V* and *T*. In other words, they are constant for the specific gas being considered. Given the critical temperature and pressure for a specific gas, <math>a</math> and <math>b</math> can be obtained for that specific gas from these equations:^{[2]}^{[3]}^{[4]}^{[9]}

- <math>a = \frac{27\, R^2\, T_c^2}{64\, P_c}</math> and <math>b = \frac{R\, T_c}{8\, P_c}</math>

For example, the critical pressure of ethane is 4.884 MPa and the critical temperature is 305.43 K (32.3˚C).^{[4]} Using the universal gas constant, <math>R</math>, of 8.3145 Pa m^{3} K^{-1} mol^{-1}, the above equations yield <math>a</math> = 0.557 m^{6} Pa mol^{-2} and <math>b</math> = 6.500×10^{-5} m^{3} mol^{-1}.

Tabulated values of <math>a</math> and <math>b</math> for various gases are available in these references^{[1]}^{[4]}^{[18]} as well as many other sources in the technical literature.

#### Modified versions of the van der Waals equation

Determining compressibility factors by using the van der Waals equation of state is an improvement over using the generalized compressibility charts. However, there are modified versions of the van der Waals equation of state which provide even more improvement. Perhaps the most commonly used equations of state by engineers working in petroleum refining, petrochemical production, natural gas processing, cryogenic distillation and related industries are: the Redlich-Kwong equation developed in 1949,^{[19]}^{[20]} the Soave-Redlich-Kwong equation developed in 1972^{[19]}^{[20]}^{[21]} and the Peng-Robinson equation developed in 1976.^{[19]}^{[20]} Those three equations are essentially modified versions of the van der Waals equation. The comparative equations are:

##### Redlich-Kwong

- <math>P = \frac{R\,T}{V_\mathrm{m} - b} - \frac{a}{V_\mathrm{m}\left(V_\mathrm {m} + b\right)T^{\,1/2}}</math>

- <math>a = \frac{R^2\, T_c^{\,5/2}}{2.3393\, P_c}</math> and <math>b = \frac{R\, T_c}{11.5420\, P_c}</math>

- <math>Z = \frac{V_\mathrm{m}}{V_\mathrm{m} - b} - \frac{a}{R\, T\left(V_\mathrm {m} + b\right)T^{\,1/2}}</math>

##### Soave-Redlich-Kwong

- <math>P = \frac{R\,T}{V_\mathrm{m} - b} - \frac{a}{V_\mathrm{m}\left(V_\mathrm {m} + b\right)}</math>

- <math>a = \frac{R^2\,T_c^2}{2.3393\,P_c}\, \Big(1 + m\, \Big\{1 - T_r^{\,1/2} \Big\} \Big)^2</math> and <math>b = \frac{R\, T_c}{11.5420\, P_c}</math>

- <math>Z = \frac{V_\mathrm{m}}{V_\mathrm{m} - b} - \frac{a}{R\, T\left(V_\mathrm {m} + b\right)}</math>

- <math>m = 0.480 + 1.574\, \omega - 0.176\, \omega^2</math>

The acentric factor, <math>\omega</math>, used as a parameter in the Soave-Redlich-Kwong and the Peng-Robinson equations was first introduced by Pitzer et al in 1955.^{[22]} It can be expressed as:^{[23]}^{[24]}

- <math>\omega = \log_{10} \left(\frac{P_c}{P_\mathrm{vp}}\right) - 1</math>

where <math>P_\mathrm{vp}</math> is the saturated vapor pressure of the gas at a temperature of <math>T = 0.7\, T_c</math>.

##### Peng-Robinson

- <math>P = \frac{R\,T}{V_\mathrm{m} - b} - \frac{a}{V_\mathrm{m}^2 - 2\,V_\mathrm{m}\, b - b^2}</math>

- <math>a = \frac{R^2\,T_c^2}{2.1870\,P_c}\, \Big(1 + k\, \Big\{1 - T_r^{1/2} \Big\} \Big)^2</math> and <math>b = \frac{R\, T_c}{12.8535\, P_c}</math>

- <math>Z = \frac{V_\mathrm{m}}{V_\mathrm{m} - b} - \frac{a}{R\,T\,V_\mathrm{m} + 2\,R\,T\,b - \left(R\,T\, b^2/V_\mathrm{m}\right)}</math>

- <math>k = 0.37464 + 1.54226\, \omega - 0.26922\, \omega^2</math>

### Virial equation of state

The most fundamental equation of state , in that it has the most sound theoretical foundation, is the virial equation of state:^{[1]}^{[2]}^{[3]}

- <math>\frac{P\,V_\mathrm{m}}{R\,T} = Z = 1 + \frac{B}{V_\mathrm{m}} + \frac{C}{V_\mathrm{m}^2} + \frac{D}{V_\mathrm{m}^3} + \dots</math>

It was first proposed on an empirical basis by Thiesen in 1885^{[25]} and further developed in 1901 by Kamerlingh-Onnes.^{[26]} A statistical-mechanical expression for *B* was first derived by Ornstein in his Ph.D Thesis.^{[27]} The equation was subsequently re-developed by H.D. Ursell in 1927 on a theoretical basis derived from a statistical-mechanical (cluster) analysis of intermolecular forces.^{[28]}

The parameters <math>B</math>, <math>C</math> and <math>D</math> are referred to as the second, third and fourth virial coefficients, respectively. The coefficients are not constants since they vary from one gas to another as well as the temperature of the gas under consideration. They are sometimes written as <math>B(T)</math>, <math>C(T)</math> and <math>D(T)</math> to denote that they are functions of temperature. The numerical value of the coefficients must be determined experimentally.

The second virial coefficient provides the largest part of the correction for the non-ideal behavior of a gas. For that reason, the virial equation is sometimes truncated after the term containing the second coefficient. However, when the third coefficient is available, the equation is usually truncated after the term containing the third coefficient. The fourth coefficient is rarely available.

An extensive compilation of virial coefficients for pure gases and gas mixtures was prepared from the virial coefficient database at the Thermodynamics Research Center, formerly at Texas A&M University, College Station, Texas and now located at the National Institute of Standards and Technology (NIST), Boulder, Colorado. The latest version of that compilation was published in 2003.^{[29]} NIST also offers for purchase a software program, *NIST Reference Fluid Thermodynamic and Transport Properties Database (REFPROP)*, that includes second and third virial coefficients as well as a host of other thermodynamic properties.^{[30]}

### Other equations of state

There are a number of other equations of state for predicting the behavior of real gases. Perhaps, the best known are the Beattie-Bridgeman equation developed in 1929^{[31]} and the Benedict-Rubin-Webb equation developed in 1940.^{[32]} In general, they are more complex than the equations discussed above.

### Notation for the gas constant

The gas constant used in this article is the universal gas constant, <math>R</math>, that applies to any gas. There is also a specific gas constant, which can be denoted as <math>R_s</math>, and is defined as <math>R_s = R/M</math> where <math>M</math> is the molecular weight.

Unfortunately, many authors in the technical literature sometimes use <math>R</math> as the specific gas constant without denoting it as such or stating that it is the specific gas constant. This can and does lead to confusion.

## References

- ↑
^{1.0}^{1.1}^{1.2}^{1.3}^{1.4}McQuarrie, Donald A. and Simon, John D. (1999).*Molecular Thermodynamics*. University Science Books. ISBN 1-891389-05-X. - ↑
^{2.0}^{2.1}^{2.2}^{2.3}^{2.4}Yunus A. Çengal and Robert H. Turner (2004).*Fundamentals of Thermal-Fluid Sciences*, 2nd Edition. McGraw-Hill Professional. ISBN 0-07-245426-1. - ↑
^{3.0}^{3.1}^{3.2}^{3.3}^{3.4}Smith, J.M. et al. (2005).*Introduction to Chemical Engineering Thermodynamics*, Seventh Edition. McGraw Hill. ISBN 0-07-310445-0. - ↑
^{4.0}^{4.1}^{4.2}^{4.3}^{4.4}^{4.5}^{4.6}Y.V.C. Rao (1997).*Chemical Engineering Thermodynamics*. Universities Press (India). ISBN 81-7371-048-1. - ↑
^{5.0}^{5.1}Gas Laws (Lecture by Professor M.J. Mombourquette at Queens University, Canada) - ↑ Hong Wei Xiang (2005).
*The Corresponding States Principle and Its Practice: Thermodynamic, Transport and Surface Properties of Fluids*. Elsevier. ISBN 0-444-52062-7. - ↑ IUPAC Goldbook
- ↑ Gouq-Jen Su (1946). "Modified Law of Corresponding States".
*Industrial & Engineering Chemistry***38**(8): 803-806. ISSN 0096-4484. - ↑
^{9.0}^{9.1}Equations of State (Professor Lyes Kadem, Concordia University, Canada) - ↑
^{10.0}^{10.1}Equations of State (Lecture material used by Professor Sanford Klein at the University of Wisconsin-Madison, U.S.) - ↑ Richard W. Miller (1996).
*Flow Measurement Engineering Handbook*, 3rd Edition. McGraw-Hill. ISBN 0-07-042366-0. (See Figure G-1 on page G.145) - ↑ Kai-Fui Vincent Wong (2000).
*Thermodynamics for Engineers*, 1st Edition. CRC Press. ISBN 0-8493-0232-3. (See Figure A-2, Page 278} - ↑ Nelson-Obert Generalized Compressibility Charts (Charts available on the Internet, from the website of San Diego State University, U.S.)
- ↑ W.B.Kay (1936). "Gases and Vapors At High Temperature and Pressure - Density of Hydrocarbon".
*Industrial Engineering & Chemistry***28**:1014. ISSN 0096-4484. - ↑ Yunus A. Çengal and Michael A. Bowes (2005).
*Thermodynamics: An Engineering Approach*, 5th Edition. McGraw-Hill. ISBN 0-07-2884959. - ↑ Real Gases (Lecture material used by Professor R.M. Price at Christian Brothers University, U.S.A.)
- ↑ Properties of Natural Gases (Professor Jon Steiner Gudmandsson, Norwegian University of Science and Technology)
- ↑ Robert C. Weast (Editor) (1975).
*Handbook of Chemistry and Physics*, 56th Edition. CRC Press. ISBN 0-87819-455-X. - ↑
^{19.0}^{19.1}^{19.2}Chapter 3: Equations of State (pages 6-8 of 65 pdf pages) (Part of PhD thesis by Ji Lin Wang, 2002, Swinbourne University of Technology, Australia) - ↑
^{20.0}^{20.1}^{20.2}Jean Vidal (2003).*Thermodynamics: Applications in Chemical Engineering and the Petroleum Industry*. Editions Technip. ISBN 2-7108-0800-5. - ↑ Zakia Nasri and Housam Binous (2007). "Applications of the Soave-Redlich-Kwong Equation of State Using Mathematica".
*Journal of Chemical Engineering of Japan***40**(6): 534-538. Retrieved from here. - ↑ K.S. Pitzer et al (1955). "The Volumetric and Thermodynamic Properties of Fluids".
*Journal of the American Chemical Society***77**: 3427-3440. - ↑ Francis S. Manning and Richard E. Thompson (1991).
*Oilfield Processing of Petroleum*. Pennwell Books. ISBN 0-87814-343-2. - ↑ Acentric Factor Definition (Physical Property Sources Index, PPSI, of the Swiss Federal Institute of Technology Zurich)
- ↑ Max F. Thiesen (1885). "Investigations of the Equation of State".
*Annalen der Physik und Chemie*(24): 467-492. - ↑ Heike Kamerlingh-Onnes (1901). "Expression of the Equation of State of Gases and Liquids by Means of Series".
*Commun. Phys. Lab. Leiden*(71). - ↑ S. L. Ornstein (1908)
*Toepassing der statistische mechanica van Gibbs op molekulair-theoretische vraagstukken*(*Application of the statistical mechanics of Gibbs on molecular-theoretical problems*), Leiden - ↑ H. D. Ursell (1927). "The Evaluation of Gibbs' Phase Integral for Imperfect Gases" (23): 685.
- ↑ J.D. Dymond and R.C. Wilhoit (Authors), K.N. Marsch and M. Fenkel (Editors) (2003).
*Virial Coefficients of Pure gases and Mixtures*, 1st Edition. Springer. ISBN 3-540-44340-1. - ↑ NIST Standard Reference Database 23
- ↑ J.A. Beattie and O.C. Bridgeman (1929). "A New Equation of State for Fluids".
*Proc. Amer. Acad. Arts Sci.*(63): 229-305. - ↑ M. Benedict, G.B. Webb and L.C. Rubin (1940). "An Empirical Equation for Thermodynamic Properties of Light Hydrocarbons and Their Mixtures".
*J. Chem. Phys.***8**: 334-335.

- Editable Main Articles with Citable Versions
- CZ Live
- Engineering Workgroup
- Physics Workgroup
- Chemistry Workgroup
- Chemical Engineering Subgroup
- Articles written in American English
- Advanced Articles written in American English
- All Content
- Engineering Content
- Physics Content
- Chemistry Content
- Chemical Engineering tag