molecalculator

Moles & Molar Mass

Gas Formation Volume Factor Formula and Calculation

Calculator No. 01-5624 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

The gas formation volume factor, Bg, is the volume occupied by a specified amount of gas at reservoir pressure and temperature divided by its volume at standard conditions. For an ideal gas, calculate it as Bg = (Psc / Pres)(Tres / Tsc); with real-gas correction, multiply by the ratio of compressibility factors, Zres / Zsc. Enter pressures in the same units and temperatures in kelvins to calculate Bg, usually reported in reservoir volume per standard volume.

Formula

For a fixed amount of gas, the real-gas formation volume factor is:

Bg = (Psc / Pres) × (Tres / Tsc) × (Zres / Zsc)

  • Bg is gas volume at reservoir conditions divided by gas volume at standard conditions, in m³/Sm³ when both volumes use cubic metres.
  • Pres and Psc are absolute reservoir and standard pressures, respectively, in kPa in this calculator.
  • Tres and Tsc are absolute reservoir and standard temperatures in kelvins.
  • Zres and Zsc are dimensionless gas compressibility factors at the respective conditions.

The equation follows from the real-gas relation PV = ZnRT by applying it to the same quantity of gas at both states and taking the ratio of volumes. The amount of gas and the gas constant cancel. For an ideal gas, assume Zres = Zsc = 1, so their ratio is one and the Z terms disappear. This calculator keeps both Z values explicit, which is useful when non-ideal behavior matters.

Worked Example

Using the calculator’s default values—Pres = 20,000 kPa, Tres = 400 K, Psc = 101.325 kPa, Tsc = 288.15 K, Zres = 0.9, and Zsc = 1:

Bg = (101.325 / 20,000) × (400 / 288.15) × (0.9 / 1)

Bg = 0.00506625 × 1.3881666 × 0.9 ≈ 0.006332 m³/Sm³

The displayed value is approximately 0.006332 m³ of reservoir gas per standard cubic metre of gas. The intermediate ratios are rounded for display; evaluating the full expression gives the same result to six decimal places.

Assumptions

  • The entered Z values correctly represent the gas at each stated pressure and temperature.
  • The same amount and composition of gas are compared at both states; no gas is added, removed, or condensed between the states.
  • Pressures are absolute, not gauge pressures, and temperatures are absolute kelvins.
  • The standard conditions are the values entered in the calculator; there is no single standard pressure and temperature used by every source or jurisdiction.

What Bg Measures and When to Use It

Gas expands or contracts as pressure and temperature change. Bg expresses that change as a volume conversion: it lets a reader convert a gas volume measured at standard conditions to its corresponding volume at reservoir conditions, or vice versa. In petroleum engineering, it is used in reservoir-volume calculations and material-balance work. Its usefulness depends on clearly stating the reference conditions, since a standard cubic metre is only meaningful when its standard pressure and temperature are specified.

Because reservoir pressure is often much higher than standard pressure, Bg is commonly a small number when expressed as reservoir m³ per standard m³. If a standard gas volume is known, multiply it by Bg to estimate the reservoir-condition volume for the same gas amount. To convert in the other direction, divide reservoir volume by Bg. Do not reverse these operations: the factor is not a percent change or a gas compressibility factor by itself.

Choosing Standard Conditions and Z Values

“Standard conditions” are conventions, not universal constants. Different engineering references and reporting rules may use different reference temperatures or pressures. Use the conditions specified by the source of the gas-volume data or by the applicable calculation standard. If one dataset uses a different reference state, convert consistently rather than combining volumes with mismatched definitions.

Z accounts for deviation from ideal-gas behavior. It depends on gas composition, pressure, and temperature, so it is not a universal fixed value. Obtain Zres and Zsc from a suitable equation of state, validated property calculation, or reliable data for the gas and conditions. At sufficiently low pressure, gas behavior may approach ideal behavior, but assuming Z = 1 is an approximation that should be justified for the required accuracy. If the gas mixture or conditions are unknown, this equation cannot supply the missing Z values on its own.

Common Errors and Limits

  • Using gauge pressure: The gas law requires absolute pressure. Convert gauge pressure by adding the local atmospheric pressure, using consistent units, before entering it.
  • Using Celsius directly: Convert temperatures to kelvins with T(K) = T(°C) + 273.15. A temperature ratio made from Celsius values is invalid.
  • Mixing pressure units: Pres and Psc must use the same unit. This calculator uses kPa for both; any common pressure unit works if used consistently.
  • Ignoring the Z ratio: Setting both factors to one gives the ideal-gas estimate, not necessarily the real-gas result. If Zsc is near one but Zres is not, the correction can be significant.
  • Confusing Bg with Z: Z is dimensionless and describes non-ideal gas behavior; Bg is a volume ratio between two specified states.

The result represents a thermodynamic volume conversion, not a prediction of recoverable reserves or flow performance. It does not account for changing gas composition, water vapor, phase changes, or operational measurement corrections unless those effects are represented in the supplied properties and the chosen model. For high-accuracy work, confirm the equation of state, standard-state definition, and units required by the governing engineering method.

Frequently Asked Questions

What is the gas formation volume factor formula?
Bg = (Psc / Pres)(Tres / Tsc)(Zres / Zsc), with absolute pressures and temperatures. For an ideal gas, take both Z values as one.

What units does Bg use?
It is a volume-per-volume ratio, so it is dimensionless in a strict sense, but it is commonly written as reservoir m³ per standard m³ (m³/Sm³) to show the reference states.

Is gas formation volume factor the same as compressibility factor Z?
No. Z measures deviation from ideal-gas behavior at one state. Bg compares gas volumes at reservoir and standard states and includes pressure, temperature, and Z ratios.

Can I use gauge pressure in the formula?
No. Convert gauge pressure to absolute pressure first. Using gauge pressure directly makes the pressure ratio physically incorrect, especially when the gauge pressure is not large relative to atmospheric pressure.

Why do different sources report different Bg values?
They may use different standard temperatures or pressures, different gas compositions, or different Z-factor methods. Compare the reference conditions and property assumptions before comparing reported factors.

Related

Formula used
in pres | Reservoir pressure | kPa | 20000 | 0
in tres | Reservoir temperature | K | 400 | 0
in psc | Standard pressure | kPa | 101.325 | 0
in tsc | Standard temperature | K | 288.15 | 0
in zres | Reservoir gas compressibility factor Z | - | 0.9 | 0
in zsc | Standard gas compressibility factor Z | - | 1 | 0
out bg | Gas formation volume factor | m³/Sm³ | (psc / pres) * (tres / tsc) * (zres / zsc) | 6

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →