By Saad Iqbal
A pumper calls in a well test: 420 STB/d at a flowing bottomhole pressure of 1,800 psi, average reservoir pressure 2,500 psi, bubble point 2,600 psi. Your artificial lift vendor wants to know what rate the well can deliver if a new ESP pulls flowing pressure down to 900 psi. A straight-line IPR will over-promise that rate once a well is producing below bubble point, because free gas coming out of solution chokes inflow faster than a straight line allows. Guess wrong and you size a pump for a rate the reservoir can never sustain — burning out a motor on startup, or leaving lift capacity stranded on the table.
Vogel’s equation (1968) fixes this: a single empirical curve, calibrated from one real test point, that predicts the full inflow performance relationship (IPR) for a solution-gas-drive well below bubble point. Here’s how to build the Vogel IPR curve step by step, with the exact numbers.
What Is the Vogel IPR Curve, and When Does It Apply?
Vogel’s equation relates flowing bottomhole pressure (Pwf) to oil rate (qo) as a fraction of the well’s maximum possible rate (qo,max, also called absolute open flow or AOF):
qo / qo,max = 1 — 0.2(Pwf / P̄ws) — 0.8(Pwf / P̄ws)²
where P̄ws is the average reservoir pressure. Vogel derived this curve from reservoir-simulation studies of solution-gas-drive wells, and it only applies below the bubble point — where free gas is present in the reservoir and relative permeability to oil is falling as pressure drops. Above bubble point, inflow is still linear (Darcy flow, single-phase liquid), so a straight-line productivity index (PI) is the correct model there. A well straddling the bubble point needs a composite curve: straight-line PI above Pb, Vogel below it. This post covers the all-below-Pb case, which is the one you’ll hit most often once a well has produced down past bubble point.
Prerequisites
- One stabilized well test: a flowing bottomhole pressure (Pwf,test) and the oil rate measured at it (qo,test)
- Current average reservoir pressure (P̄ws), from a pressure buildup or material balance
- Bubble point pressure (Pb) — confirm both Pwf,test and P̄ws sit at or below it (see our walkthrough of Standing’s Correlation for bubble point pressure if you need to calculate Pb from PVT data)
- Python with NumPy and Matplotlib, or a spreadsheet
Step 1: Confirm the Well Qualifies and Record the Test Data
Vogel only holds below bubble point, so check that first. For this well: P̄ws = 2,500 psi, Pb = 2,600 psi, Pwf,test = 1,800 psi, qo,test = 420 STB/d. Since 2,500 psi < 2,600 psi and 1,800 psi < 2,600 psi, the entire pressure range of interest sits below bubble point — this well qualifies for a straight Vogel IPR, no composite curve needed.

Step 2: Solve Vogel’s Equation for qo,max
Rearrange the Vogel equation to solve for qo,max using the single test point:
qo,max = qo,test / [1 — 0.2(Pwf,test/P̄ws) — 0.8(Pwf,test/P̄ws)²]
Plugging in the numbers: the pressure ratio is 1,800/2,500 = 0.72. The bracketed term is 1 — 0.2(0.72) — 0.8(0.72)² = 1 — 0.144 — 0.41472 = 0.44128. So:
qo,max = 420 / 0.44128 = 951.9 STB/d
That 951.9 STB/d is the well’s absolute open flow potential — the theoretical rate at Pwf = 0, and the anchor point for the rest of the curve.

Step 3: Build and Plot the Full IPR Curve
With qo,max known, step Pwf from P̄ws down to 0 and solve for qo at each point:
| Pwf (psi) | qo (STB/d) |
|---|---|
| 2,500 | 0 |
| 2,000 | 312 |
| 1,800 (test) | 420 |
| 1,500 | 564 |
| 1,200 | 685 |
| 900 | 785 |
| 600 | 862 |
| 300 | 918 |
| 0 (AOF) | 952 |
Plotting Pwf (y-axis) against qo (x-axis) gives the characteristic concave-down Vogel IPR curve, flattest near P̄ws and steepening as Pwf approaches zero — the signature of increasing gas interference at higher drawdown. The test point and AOF are marked on the chart below as sanity-check anchors.

Step 4: Automate It in Python
A reusable function beats a one-off spreadsheet the moment you need to re-run this for a dozen wells after a quarterly pressure survey:
import numpy as np
def vogel_ipr(pr, qo_test, pwf_test, n_points=11):
"""Vogel (1968) IPR curve for a solution-gas-drive well below bubble point.
pr : average reservoir pressure, psi
qo_test : tested oil rate, STB/d, at pwf_test
pwf_test : flowing bottomhole pressure at the test, psi
Returns qo_max (AOF, STB/d) and arrays of Pwf and qo from 0 to pr.
"""
ratio_test = pwf_test / pr
term_test = 1 - 0.2 * ratio_test - 0.8 * ratio_test ** 2
qo_max = qo_test / term_test
pwf = np.linspace(0, pr, n_points)
ratio = pwf / pr
qo = qo_max * (1 - 0.2 * ratio - 0.8 * ratio ** 2)
return qo_max, pwf, qo
qo_max, pwf, qo = vogel_ipr(pr=2500, qo_test=420, pwf_test=1800)
print(f"qo,max (AOF) = {qo_max:.1f} STB/d")
for p, q in zip(pwf, qo):
print(f"Pwf = {p:6.0f} psi qo = {q:6.1f} STB/d")
Running it reproduces the table above (qo,max = 951.9 STB/d) in one call, and the array it returns feeds straight into Matplotlib for the chart or into a nodal-analysis script. If you’re already pulling PVT and well data in Python, the open-source petropt library covers PVT, decline and volumetrics functions that pair well with a hand-rolled Vogel function like this one — it doesn’t ship an IPR function itself, so this is the piece to add.

Step 5: Sanity-Check with a Nodal Analysis Overlay
Before you hand this curve to an artificial lift vendor, overlay it against the well’s vertical lift performance (VLP) / tubing intake curve for the current completion. The intersection of IPR and VLP is the well’s actual operating point. If that intersection lands far from your test point, something in the test data, the tubing model, or the reservoir pressure is off — recheck before committing to a pump size. For this well, the IPR/VLP intersection should fall close to the 420 STB/d – 1,800 psi test point, confirming the curve is internally consistent.

What Should You Expect, and Where Does This Go Wrong?
Expected result: AOF of roughly 952 STB/d, and a predicted rate of about 785 STB/d if flowing pressure is pulled down to 900 psi — the number the ESP vendor in the opening example actually needed.
Verification: the real test is a second well test at a different Pwf. Plug the new Pwf into the calibrated curve and compare the predicted qo to what the well actually makes — a well-behaved Vogel curve should track within 5–10%. Large, systematic misses usually point to reservoir pressure depletion since the last P̄ws measurement, not a bad equation.
- Using Vogel above bubble point — invalid there; use a straight-line PI instead, or a composite curve if the well straddles Pb
- Applying Vogel to a gas well — wrong equation entirely; gas wells use Rawlins-Schellhardt or a similar back-pressure equation
- Calibrating from a test point taken before the well stabilized (still in transient flow) — inflates or deflates qo,max
- Skipping the bubble-point check and assuming “below Pb” without confirming it against PVT data
- Extrapolating far beyond the tested rate range on an aging well without a second calibration point as reservoir pressure declines
Once you have the IPR curve calibrated, the next step is matching it to a lift system. If gas lift is on the table instead of an ESP, see our method for gas lift valve spacing design for how this inflow curve feeds directly into the completion design.
