The compressibility factor, conventionally denoted by , is a dimensionless quantity defined as the ratio . It expresses how the pressure–volume–temperature relationship of a real fluid differs from that of an ideal gas. Although most commonly used for gases and supercritical fluids, it can also be defined for liquids. In thermodynamics, it provides a convenient way to express real-fluid properties, compare different substances, and calculate gas volumes, densities, and related properties.
Definition and interpretation
For a homogeneous fluid,
where:
- is the absolute pressure;
- is the volume;
- is the amount of substance;
- is the molar gas constant;
- is the absolute temperature;
- is the molar volume.
The corresponding real-fluid equation is
This expression becomes a predictive equation of state only when is supplied as a function of temperature, pressure or density, and composition.
At the same pressure, temperature, and amount of substance,
Thus:
- : the fluid satisfies the ideal-gas pressure–volume relation at that state.
- : its volume is smaller than the ideal-gas prediction.
- : its volume is larger than the ideal-gas prediction.
A value of at a particular state does not establish that the fluid is ideal in every thermodynamic respect. Intermolecular effects may cancel in this ratio while other properties still differ from ideal-gas values.
Using mass density and molar mass ,
For a gas mixture, is the mixture’s mean molar mass.
Molecular origin of deviations
The ideal-gas model neglects intermolecular interactions and treats particles as having negligible volume. Real molecules have finite spatial extent and exert attractive and repulsive forces.
At moderate densities, attractive interactions can lower the pressure relative to an ideal gas at the same temperature and molar volume, producing . At sufficiently high densities, short-range repulsion and excluded-volume effects generally become dominant, producing . Van der Waals forces are an important source of attraction in many molecular gases.
This interpretation is qualitative rather than a strict decomposition. The measured value of reflects the combined effects of interactions and molecular organization. Polar interactions, molecular association, and molecular shape can make behavior more complex than a simple competition between attraction and repulsion.
For an ordinary gas at fixed temperature, in the dilute limit,
At higher pressures, the behavior depends on the substance and temperature. An isotherm may initially fall below unity, pass through a minimum, and then rise. At sufficiently high temperatures, it may instead rise from unity without an initial decrease.
Virial expansion and Boyle temperature
A systematic description of dilute-gas nonideality is provided by the virial equation of state. In powers of molar density ,
Here , , and subsequent terms are the second, third, and higher virial coefficients. The second coefficient has units of volume per mole; the third has units of volume squared per mole squared.
In statistical mechanics, these coefficients are related to intermolecular interactions. For pairwise-additive classical models, the second virial coefficient depends on the pair potential, while higher coefficients involve increasingly complex groups of particles.
An alternative expansion uses pressure:
The coefficients in the pressure and density expansions are not interchangeable. In particular,
The Boyle temperature, , is defined by
At this temperature, the leading density correction vanishes. The gas therefore follows the ideal-gas pressure–volume relation more closely over a low-density range, but higher-order terms still produce deviations at finite density. For the usual case of a second virial coefficient that changes sign once, the initial deviation is negative below the Boyle temperature and positive above it.
Virial expansions are especially useful for low-density gases and precision property calculations. A short truncated expansion is generally unsuitable near condensation or in dense-fluid regions.
Equations of state
Van der Waals model
The van der Waals equation illustrates the main contributions to nonideal behavior:
where represents attraction and represents an excluded-volume parameter. It gives
The first term raises above its ideal value, while the attractive term lowers it. Expanding at low density gives
and therefore the model predicts
These relationships explain qualitative trends, but the van der Waals equation is not sufficiently accurate for many engineering calculations.
Cubic and reference equations
More accurate cubic models, including the Peng–Robinson equation of state and the Soave–Redlich–Kwong equation, are widely used for gas processing and phase-equilibrium calculations. They can be rearranged into polynomial equations for .
Under some subcritical conditions, a cubic equation has three real roots. The largest root is generally associated with a vapor-like state and the smallest with a liquid-like state; the intermediate root usually represents mechanical instability. The largest or smallest root is not automatically the stable equilibrium state: stability must be assessed using thermodynamic criteria, including Gibbs free energy or phase-equilibrium conditions.
High-accuracy reference equations often express the Helmholtz free energy as a function of temperature and density. Pressure, and hence , can then be obtained from derivatives. Such formulations can represent broad regions of a fluid’s phase diagram more accurately than simple cubic models.
Corresponding states and generalized charts
The principle of corresponding states motivates correlations of compressibility factors using reduced properties,
where and are the critical temperature and pressure.
For fluids with sufficiently similar intermolecular interactions, can be approximated by a common function of and . Generalized compressibility charts use this approximate similarity to estimate real-gas volumes without a separate detailed equation for every substance.
Many correlations also include the acentric factor, a parameter based on vapor-pressure behavior that helps distinguish fluids whose behavior is not captured by two critical constants alone.
Generalized charts are approximate. Strongly polar, associating, and quantum fluids may require specialized treatment. Predictions are also particularly sensitive near the critical point, where density changes rapidly with pressure and temperature.
The critical compressibility factor is
It is not a universal constant. For example, the van der Waals model predicts , whereas real substances have differing values.
Gas mixtures
For a homogeneous mixture,
with equal to the total amount of all components. Its value depends on composition as well as pressure and temperature. In general,
where is the mole fraction of component .
Mixture models must account for interactions between unlike molecules. At low density, the mixture second virial coefficient is
where describes the contribution from interactions between species and . Cubic equations instead commonly use mixing rules, sometimes with fitted binary interaction parameters.
Approximate pseudocritical methods combine component properties to estimate mixture reduced variables. These can be useful for screening calculations, but detailed equations of state are generally required for accurate work with complex natural gases, refrigerant blends, or mixtures close to phase separation.
Relation to compressibility and fugacity
Despite its name, the compressibility factor is not the same quantity as isothermal compressibility,
The factor is dimensionless and describes a departure from the ideal-gas relation. By contrast, measures the fractional volume response to pressure and has units of inverse pressure.
For a single phase of fixed composition,
Consequently, knowing at one state does not determine the fluid’s compressibility; its pressure dependence is also required.
The factor is also related to fugacity, which expresses real-fluid effects on chemical potential. For a pure fluid along a suitable isothermal path from the dilute-gas limit,
where is the fugacity coefficient. Thus, chemical-equilibrium calculations depend on the variation of along a path, not simply on its value at the final pressure.
Applications, measurement, and limitations
Compressibility factors are used in:
- Gas metering and volume conversion: converting measured volumes between operating and reference conditions.
- Pipeline and reservoir calculations: determining gas density and stored gas quantities.
- Process design: calculating real-fluid volumes and supporting phase-equilibrium models.
- High-pressure experiments: interpreting pressure–volume–temperature measurements.
- Thermodynamic property calculations: obtaining nonideal contributions to other properties through equations of state and their derivatives.
For the same quantity of gas at two states,
Both pressures must be absolute and both temperatures must be on an absolute scale.
Experimentally, can be obtained from pressure, temperature, and molar-volume or density measurements. Accuracy depends on instrument calibration, sample purity, composition, and the measurement uncertainty of the measured quantities. Model-derived values also carry uncertainties associated with fitted data and extrapolation.
A single value does not provide a complete thermodynamic description. Properties such as enthalpy and heat capacity require additional information, including suitable derivatives and an ideal-gas reference contribution. In a two-phase region, a bulk value computed from total volume also depends on the phase amounts and should not be treated as the compressibility factor of either homogeneous phase.