---
id: po.wb.pp.pressure-gradients
title: Formation-Pressure Gradients and Fluid Contacts
summary: "What fluid fills each zone and where the gas-oil and oil-water contacts lie, from formation-tester pressures fitted one gradient per zone."
category: Petrophysics
requires: []
tags:
  - petrophysics
  - pressure-gradient
  - gradient
  - pressure
  - gradient-survey
---

## Description

What fluid is in the rock between the wells, and where are the contacts? You paste a formation-tester record of depths and pressures grouped into gas, oil and water zones, and enter the three fluid densities. You read off each zone's fitted gradient against its fluid's density, the gas-oil and oil-water contacts where those lines cross, and every point that sits off its own zone's line as a compartment candidate. Field units.

**How to use it:** Paste the tested depths and pressures over the gas, oil and water blocks on the Tester sheet; the zone column says which gradient each point belongs to. Correct the pressures to one datum and remove the failed points before pasting. Enter the gas, oil and formation-water densities on the Gradients sheet and check each fitted gradient against its fluid: a gradient that does not match its fluid's density means a zone is mislabelled or a depth is wrong. Read the contacts and the compartment candidates on the Contacts sheet, set the free-water level to compare with, and resolve the checks on the Summary.

**Method:** Each zone's gradient is a least-squares fit of pressure on depth over that zone's fixed block of the tester sheet: the slope and the intercept from `LINEST`, the R-squared from `RSQ`. The expected gradient of a fluid is its density over 144, the hydrostatic gradient of that fluid. The gas-oil contact is where the gas and oil lines cross, depth = (b oil - b gas) / (m gas - m oil), and the oil-water contact is where the oil and water lines cross. Each point's offset from its zone's line is the residual; a residual larger than the tolerance is a compartment candidate, a point that does not belong to the same fluid column as its neighbours, and the compartment count is the number of such points.

**Example:** With the default record, the fitted gas gradient is 0.0346 psi/ft (R-squared 0.9999), the oil gradient 0.3378 psi/ft (0.9952) and the water gradient 0.4490 psi/ft (0.9973), each within 0.0094 psi/ft of its fluid's density over 144. The gas-oil contact comes out at 5,021.2 ft and the oil-water contact at 5,048.5 ft, 1.5 ft from the petrophysics family's 5,050 ft free-water level, the level a saturation-height model needs. The largest offset in the record, 0.35 psi at the 5,030 ft oil point, is inside the 1.0 psi tolerance, so there is no compartment; at a 0.05 psi tolerance that point is flagged.

## Validity

A gradient per zone assumes one fluid column per zone, with no compartmentalisation, and that the tested points are at the same pressure datum. A formation tester's pressures (MDT, RFT or DST records) carry a datum, a temperature and a quality flag; correct them and remove the failed points before pasting. A single offset point inside a zone is evidence of a compartment, not proof of one: check the point's datum and its quality flag before believing it. The contacts are the intersections of straight lines, so they are only as good as the straightness of the fits. The record is synthetic, the petrophysics family's interval from 5,000 to 5,120 ft. Field units.

## References

- Dake, L.P. (1978). *Fundamentals of Reservoir Engineering*. Elsevier, chapter 1 (pressure regimes and fluid contacts).
- Archer, J.S. and Wall, C.G. (1986). *Petroleum Engineering: Principles and Practice*. Graham & Trotman.

## Inputs

| Input | Unit | Default | Name |
|---|---|---|---|
| Largest offset from a zone's line before a point is flagged | psi | 1.0 | `PGT_Tol` |
| Gas density, oil density, formation-water density | lb/ft3 | 5.0, 50.0, 65.5 | `PGD_RhoGas`, `PGD_RhoOil`, `PGD_RhoWater` |
| Largest gap between a fitted and an expected gradient | psi/ft | 0.015 | `PGD_GradTol` |
| Lowest R-squared of a zone's fit | — | 0.99 | `PGD_R2Min` |
| Free-water level to compare the oil-water contact with | ft | 5,050 | `PGC_Fwl` |
| Largest gap between the oil-water contact and the free-water level | ft | 5 | `PGC_FwlTol` |

## Sheets

- `Guide` — what the workbook answers, the order to work through its sheets and where the example record comes from.
- `Tester` — the tested points in gas, oil and water blocks, each with its depth, pressure and zone, the compartment tolerance, and the record plotted against depth.
- `Gradients` — the three fluid densities and fit limits, each zone's fitted gradient, intercept and R-squared against its expected gradient, and the record with the three fitted lines at the tested depths.
- `Contacts` — the gas-oil and oil-water contacts at the intersections of the fitted lines, the oil-water contact against the free-water level, and each point's residual from its zone's line with the compartment candidates.
- `Summary` — the gradients, contacts and compartment count and every check under one verdict.
- `Test Cases` — the worked example and other cases, with expected and computed results.

Two charts: the tested record against depth, and the record with the three fitted gradients.
