Worked example
Example: Methane 300 K, 50 bar. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Temperature | 26.850 °C |
| Pressure (absolute) | 50.000 bar |
| Critical temperature | -82.590 °C |
| Critical pressure | 45.990 bar |
| Acentric factor | 0.011000 - |
| Molar mass | 16.043 kg/kmol |
Applying the formula below gives:
| Result | Value |
|---|---|
| Largest root (vapour-like) | 0.90177 |
| Smallest root (liquid-like) | 0.90177 |
| Density at the largest root | 35.662 kg/m³ |
| Density at the smallest root | 35.662 kg/m³ |
Open this example in the calculator and change any input.
Formula
\(p = \frac{RT}{v - b} - \frac{a\alpha}{v^2 + 2bv - b^2}, \quad Z^3 + (B - 1)Z^2 + (A - 3B^2 - 2B)Z + (B^3 + B^2 - AB) = 0\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(T\) | Temperature | K |
| \(p\) | Pressure (absolute) | Pa |
| \(T_c\) | Critical temperature | K |
| \(p_c\) | Critical pressure | Pa |
| \(\omega\) | Acentric factor | - |
| \(M\) | Molar mass | kg/kmol |
| \(Z_v\) | Largest root (vapour-like) | - |
| \(Z_l\) | Smallest root (liquid-like) | - |
| \(\rho_v\) | Density at the largest root | kg/m³ |
| \(\rho_l\) | Density at the smallest root | kg/m³ |
Method and standards
Peng–Robinson cubic.
Where it is used
- Gas and LPG densities.
- Compressor and pipeline calculations.
Common mistakes
- Gauge pressure.
- Choosing the wrong root.
Assumptions and limits
- Pure component.
- With three roots the page compares the Peng–Robinson fugacity coefficients of the largest and smallest roots, ln φ = Z − 1 − ln(Z − B) − A/(2√2 B) ln[(Z + (1 + √2)B)/(Z + (1 − √2)B)], and names the stable phase.
References
- Peng and Robinson (1976)
- A new two-constant equation of state
- Ind. Eng. Chem. Fundam. 15(1); a = 0.45724 R²T_c²/p_c α
- b = 0.07780 RT_c/p_c
- κ = 0.37464 + 1.54226ω − 0.26992ω²
Questions and answers
Methane at 300 K and 50 bar?
Z about 0.90: about 36 kg/m³.
Which root to use?
Largest for vapour, smallest for liquid; with three roots the phase of lower fugacity is stable.
Liquid density accuracy?
Peng–Robinson often errs by 5–10 % for liquids; a volume translation improves it.
Method and article reviewed by FireCAD engineering on 12 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.