Compute compressibility factor Z, molar volume, density and fugacity using 4 equations of state. Automatically detects two-phase regions and returns all cubic roots.
Peng-Robinson is selected by default. Choose gas, set T & P, then click Calculate.
Plot all four EOS on the same chart. Compare pressure–volume isotherms or Z-factor vs pressure across ideal and non-ideal models.
Run all four equations simultaneously. See Z-factor, molar volume, density and fugacity side-by-side. Highlights how EOS accuracy diverges at high pressure or near the critical point.
Results from all four EOS will appear here side-by-side.
Full mathematical framework — parameters, cubic form, fugacity expressions and applicability range for all four equations of state.
In-depth educational content for undergraduate students, practising engineers, and research scholars. Covers the kinetic theory foundations, full mathematical derivations, thermodynamic consistency, phase equilibria, industrial applications, and known failure modes of real-gas equations of state.
The ideal gas law PV = nRT is not merely an empirical observation — it is a rigorous consequence of classical statistical mechanics applied to an idealised assembly of non-interacting point particles. Three foundational assumptions underpin it: (1) gas molecules occupy zero volume themselves, (2) there are no intermolecular forces between molecules except during perfectly elastic collisions, and (3) molecular kinetic energy is entirely translational and proportional to absolute temperature.
From these assumptions, the Maxwell-Boltzmann speed distribution follows directly, describing the probability that a molecule has a speed between v and v+dv. Integrating over this distribution gives measurable macroscopic quantities — the pressure, average kinetic energy, and heat capacity:
The idealised assumptions break down when molecules are close together — at high pressure and low temperature. Two physical effects cause real-gas deviations that the ideal law cannot capture:
Van der Waals showed in 1881 that if his EOS is written in reduced coordinates (Tr = T/Tc, Pr = P/Pc, Vr = V/Vc), the equation becomes the same for all substances — the law of corresponding states. This means that two gases with the same Tr and Pr will have the same compressibility factor Z, regardless of what the gases actually are. This universal chart was the primary engineering tool for gas property estimation until the 1970s.
Pitzer (1955) extended the principle by observing that simple spherical molecules (noble gases) obeyed van der Waals' law very accurately, but elongated and polar molecules deviated systematically. He introduced the acentric factor ω to quantify this non-sphericity — defined so that ω = 0 for perfectly spherical molecules:
The three parameters (Tc, Pc, ω) fully characterise a pure component in all cubic EOS. Tc and Pc locate the molecule on the universal reduced phase diagram; ω corrects the shape of the vapour-pressure curve. This is why every EOS input form asks for exactly these three parameters:
| Gas | Tc (K) | Pc (bar) | ω | Experimental Zc |
|---|---|---|---|---|
| Helium He | 5.20 | 2.27 | −0.390 | 0.301 |
| Hydrogen H₂ | 33.15 | 13.00 | −0.219 | 0.305 |
| Nitrogen N₂ | 126.2 | 33.98 | 0.037 | 0.290 |
| CO₂ | 304.2 | 73.83 | 0.225 | 0.274 |
| Water H₂O | 647.1 | 220.6 | 0.345 | 0.229 |
| Methane CH₄ | 190.6 | 46.10 | 0.011 | 0.286 |
| Propane C₃H₈ | 369.8 | 42.48 | 0.152 | 0.281 |
| Ammonia NH₃ | 405.6 | 113.5 | 0.253 | 0.242 |
| Year | EOS / Author | Key Innovation | Zc | Status today |
|---|---|---|---|---|
| 1662–1834 | Boyle, Charles, Gay-Lussac → Ideal Gas PV=nRT | First systematic gas laws; combined into ideal gas law by Clapeyron (1834) | — | Universal for dilute gases |
| 1873 | van der Waals | First cubic EOS. Introduced molecular volume (b) and attraction (a/V²). First to predict liquid-vapour phase transition and critical point from a single equation. | 0.375 | Teaching / historical |
| 1901 | Kammerlingh Onnes — Virial EOS | Rigorous statistical-mechanics expansion Z = 1 + B/V + C/V²… Second virial coefficient B has direct molecular interpretation. | — | Research / low density |
| 1949 | Redlich-Kwong (RK) | Replaced vdW T-independent attraction with T^(−0.5) dependence. Improved vapour phase accuracy significantly. | 0.333 | Superseded by SRK |
| 1955 | Pitzer — Acentric Factor | Introduced ω enabling 3-parameter corresponding states. Foundation of all modern cubic EOS. | — | Universal parameter |
| 1972 | Soave (SRK) | Replaced RK T^(−0.5) with α(Tr,ω) from vapour pressure data. Transformed accuracy of vapour-phase predictions. Industry standard for gas. | 0.333 | Industry standard |
| 1976 | Peng-Robinson (PR) ★ | Modified denominator to Vm(Vm+b)+b(Vm−b) → Zc=0.307, dramatically improved liquid density. Gold standard for oil and gas. | 0.307 | Default EOS worldwide |
| 1982 | Peneloux Volume Correction | Additive volume translation c to correct PR/SRK liquid density without affecting VLE. Standard in LNG calculations. | — | Widely used extension |
| 1996–2008 | GERG-2004 / GERG-2008 | Multifluid Helmholtz energy EOS for natural gas. ISO 20765 standard. Accuracy ±0.03–0.05%. | — | Custody transfer / metering |
| Ongoing | PC-SAFT, CPA, SAFT-VR | Molecular chain length and association terms. Required for polymers, water, HF, glycols, asphaltenes. | — | Specialised process simulation |
All cubic EOS follow an identical structural template: a repulsion term describing excluded volume pressure, and an attraction term. The Peng-Robinson form differs from SRK only in the denominator of the attraction term — a seemingly small change that improves critical compressibility from Zc = 0.333 (SRK) to Zc = 0.307 (PR), matching experimental values of 0.23–0.29 far better.
To convert the pressure-explicit EOS into a cubic polynomial solvable for molar volume, introduce the dimensionless compressibility factor Z = PVm/RT and dimensionless groups A and B:
The three different polynomials show why EOS choice matters: the coefficients of Z² and Z are different for each EOS. Even at the same A and B values, the roots will differ — PR gives a lower Zc because its Z² coefficient is (1−B), not 1 as in SRK.
The constants 0.45724 and 0.07780 in the PR EOS are not empirical — they are derived by imposing two thermodynamic constraints that define the critical point on any P-V isotherm: both the first and second partial derivatives of pressure with respect to volume vanish simultaneously:
A cubic polynomial has either one or three real roots. For an EOS, the number and physical meaning of the roots depends entirely on where (T,P) falls relative to the two-phase envelope:
To determine which physical root applies (vapour, liquid, or a two-phase mixture), compute the fugacity coefficient φ for both vapour and liquid roots. At vapour-liquid equilibrium, the fugacities must be equal — this is the Maxwell equal-area construction expressed algebraically:
The condition for equilibrium between any two phases is equal chemical potential μ in each phase. But chemical potential diverges logarithmically as pressure approaches zero, making it inconvenient for practical calculations. G.N. Lewis introduced fugacity f in 1901 as a "corrected pressure" with the same units as pressure that behaves identically to P for ideal gases but correctly captures non-ideal behaviour:
For cubic EOS, the fugacity integral ∫(Z−1)/P dP has a closed-form analytical result — different for each EOS based on the structure of the attractive-term denominator. The square-root factor √2 in the PR expression comes directly from the quadratic denominator Vm(Vm+b)+b(Vm−b), which requires completing the square during integration:
A flash calculation determines how a feed mixture of composition z_i splits into vapour (mole fraction y_i) and liquid (mole fraction x_i) at specified temperature and pressure. The K-ratio Ki = yi/xi is the key variable, computed directly from the EOS fugacity coefficients for each phase:
The real power of a cubic EOS is that it allows computation of all thermodynamic properties — not just Z and density — through the concept of departure functions. A departure function is the difference between the real-gas value of a property and its ideal-gas value at the same T and P. The departure is computed analytically from the EOS, then added to the ideal-gas contribution (from heat capacity data) to give the total property. This is how ASPEN, HYSYS, and REFPROP compute everything from one model:
The natural gas industry is the single largest user of EOS calculations in the world. Every custody transfer metering station continuously computes Z-factor to convert measured volumetric flow at operating conditions to standard conditions. Regulatory frameworks (ISO 20765 / AGA-8) mandate use of GERG-2008 for high-accuracy applications, but Peng-Robinson remains standard for wellsite, pipeline, and separator calculations.
Dew-point calculations are critical in gas gathering and processing — liquid dropout in pipelines causes slugging, corrosion, and metering errors. The hydrocarbon dew point is computed entirely from EOS-based VLE at operating P and T:
Process simulation platforms (Aspen Plus, HYSYS, PRO/II, gPROMS, UniSim) use EOS as the thermodynamic backbone for every unit operation. Every distillation tray equilibrium, every heat exchanger Q-T curve, every reactor energy balance depends on EOS-computed H, S, Cp, and fugacities. The single most consequential modelling decision in process simulation is the choice of thermodynamic model:
| Application | Recommended EOS | Key concern |
|---|---|---|
| Dry natural gas pipeline | PR or GERG-2008 | Z-factor accuracy |
| NGL fractionation | PR + Peneloux | Liquid density |
| LNG liquefaction | PR or GERG-2008 | Liquid enthalpy / MHX design |
| Ammonia synthesis loop | PR or SRK | H₂, N₂ at 150–300 bar |
| CO₂ capture & compression | PR + kij tuning | CO₂–water interaction |
| Acid gas injection | PR with CO₂-H₂S kij | Dense-phase miscibility |
| Glycol dehydration (TEG) | CPA or NRTL-RK | Water activity |
| Amine gas treating (MEA) | eNRTL or Kent-Eisenberg | Electrolyte chemistry |
| Refrigeration cycle | PR or NIST REFPROP | Refrigerant Cp, enthalpy |
| Supercritical CO₂ EOR | PR with kij regression | MMP prediction |
Pure-component EOS parameters must be combined for mixtures using mixing rules. The classical van der Waals one-fluid mixing rules are used by default, but the binary interaction parameter kij is an empirical correction for unlike-pair cross-attractions that differ from the geometric mean. Wrong kij values are the most common source of large EOS errors in industrial applications: