Automation Glossary • Gas Compressibility (Z-Factor)

What Is Gas Compressibility (Z-Factor)?

Merobix Engineering • • 6 min read

The ideal gas law is clean and simple, but real gas at reservoir pressure does not obey it exactly, and the gap between the two is not small. The z-factor is the single number that corrects the ideal gas law into the real gas law, and it threads through everything from reservoir volume calculations to the supercompressibility correction inside a field flow computer. This guide explains what the z-factor is, how it is found from pseudo-reduced pressure and temperature, and how reservoir theory connects to the meters running in the field.

Back to Blog

Gas Compressibility (Z-Factor) in one line: The gas compressibility factor, or z-factor, is a dimensionless number that corrects the ideal gas law for the fact that real gas does not behave ideally, particularly at high pressure. It is defined so that pressure times volume equals z times the number of moles times the gas constant times temperature, so a z-factor of one would mean ideal behavior. Real natural gas typically has a z-factor different from one, and the value is found from the gas's pseudo-reduced pressure and temperature.

The Real-Gas Correction to PV = nRT

The ideal gas law assumes gas molecules take up no volume and do not attract one another, which is a reasonable approximation at low pressure but breaks down as gas is compressed. At the high pressures found in a reservoir, molecules are close enough that both their finite size and their mutual attraction matter, so the real volume of gas differs from what the ideal law predicts. The z-factor is the correction slotted into the equation to account for this: it multiplies the ideal-gas prediction so that the real gas law reproduces the true pressure-volume-temperature behavior.

Because the z-factor is a ratio of real behavior to ideal behavior, it is dimensionless and centers around one. A z-factor of exactly one means the gas is behaving ideally; a value below one means the gas is more compressible than ideal, which is common at moderate reservoir pressures where attractive forces dominate; a value above one means the gas resists compression more than ideal, which can occur at very high pressures where molecular volume dominates. The sign and size of the deviation depend on where the gas sits relative to its own critical conditions.

The z-factor is sometimes called the deviation factor or supercompressibility factor precisely because it measures deviation from ideal behavior. It is not a fixed property of a gas but changes with pressure and temperature, so a single gas has a z-factor that varies across the range of conditions it experiences from reservoir to surface. This variability is exactly why it cannot be assumed and must be evaluated at the specific conditions of interest.

Finding Z From Pseudo-Reduced Conditions

The classic way to find the z-factor uses the principle of corresponding states, which says that gases behave similarly when compared relative to their own critical pressure and temperature rather than in absolute terms. For a natural gas mixture, engineers compute pseudo-critical pressure and temperature from the composition, then form the pseudo-reduced pressure and pseudo-reduced temperature by dividing the actual conditions by those pseudo-critical values. These two reduced numbers locate the gas on a generalized chart from which the z-factor is read.

The most widely used generalized correlation for this is the Standing-Katz chart, which plots z as a function of pseudo-reduced pressure and temperature for natural gases. In practice the chart has been fitted with equations so that software and flow computers can evaluate z directly rather than reading a graph, but the underlying logic is the same: reduce the actual conditions relative to critical properties, then look up the deviation. Corrections are applied when the gas contains significant amounts of non-hydrocarbon components such as carbon dioxide, hydrogen sulfide, or nitrogen, which shift the pseudo-critical properties.

Once the z-factor is known, it unlocks the other gas properties that depend on it. Gas density follows directly, because the real gas law with z gives the true number of moles in a given volume. The gas formation volume factor carries the reservoir z-factor in its definition, so downhole-to-surface expansion cannot be computed without it. Gas compressibility as a property, viscosity correlations, and material balance all inherit the z-factor, which is why getting it right at reservoir conditions is foundational to gas engineering.

From Reservoir Theory to Flow-Computer Measurement

The z-factor is not only a reservoir concept - it lives inside the field measurement chain as well, because a gas meter measures flow at line conditions that must be corrected to standard conditions to report salable volume. That correction includes a supercompressibility factor, which is built on the same real-gas deviation the z-factor describes. Custody-quality gas measurement uses the AGA-8 method to compute compressibility from the gas composition, pressure, and temperature, and that computed compressibility is what allows a flow computer to convert measured flow into accurate standard cubic feet.

This is where reservoir theory and daily field measurement meet the same number. A cloud SCADA platform such as Merobix reads the flowing pressures, temperatures, and computed volumes from gas flow computers over protocols such as Modbus and DNP3, and those computed volumes already incorporate the supercompressibility correction the flow computer applied. By keeping the raw flowing conditions alongside the corrected standard volumes in one history, Merobix makes it possible to see whether the correction is behaving sensibly as conditions change across a field.

That visibility matters because the z-factor and its supercompressibility correction depend on gas composition, and composition can drift as a reservoir depletes or as different wells are commingled. When the corrected standard volumes trended in Merobix diverge from what the flowing pressures and temperatures would suggest, it can flag a stale composition in a flow computer, a measurement fault, or a genuine change in the gas. Understanding the z-factor as the common thread from Standing-Katz through AGA-8 to the flow computer is what lets an engineer read those trends with the physics in mind rather than treating the meter as a black box.

Frequently Asked Questions

What does a z-factor of one mean?

A z-factor of one means the gas is behaving as an ideal gas, obeying the simple ideal gas law exactly. Real natural gas usually has a z-factor different from one, especially at high reservoir pressure, because molecular size and attractive forces make its pressure-volume-temperature behavior deviate from ideal. The z-factor is the correction that captures that deviation.

How is the z-factor calculated?

The gas's pseudo-critical pressure and temperature are computed from its composition, then the actual pressure and temperature are divided by those to get pseudo-reduced pressure and temperature. Those two reduced values locate the gas on a generalized correlation such as the Standing-Katz chart, from which the z-factor is read. Corrections are applied when the gas contains significant carbon dioxide, hydrogen sulfide, or nitrogen.

How does the z-factor relate to AGA-8 in flow computers?

The z-factor is the real-gas deviation that underlies the supercompressibility correction used in gas measurement. Custody-quality flow computers use the AGA-8 method to compute gas compressibility from composition, pressure, and temperature, and apply it when converting measured flow to standard volume. So the same deviation from ideal behavior that reservoir engineers call the z-factor is what makes flow-computer volumes accurate.

Sources and verification

This page references the protocol specifications published by the organizations below. Editions, product capabilities, and documentation change over time - confirm current requirements and specifications directly with the source.

Last reviewed: July 27, 2026. Merobix is not affiliated with, endorsed by, or sponsored by these organizations; their names are used only to identify the standards and products discussed.

From Definitions to a Live Dashboard

Merobix reads your field devices into a cloud SCADA - the real thing behind these terms, live in days from any browser.

Request a Free Demo +1 (903) 307-7300
More in Automation Glossary
Decline Curve Analysis  •  Arps Decline Curve Equations  •  Estimated Ultimate Recovery (EUR)  •  Productivity Index (PI)  •  Vogel IPR Curve  •  Absolute Open Flow Potential (AOF)  •  All Automation Glossary →
Free SCADA operator training
Merobix University - 70 video lessons & 261 quiz questions, from first login to compliance reporting. No demo call required.
Start free →