Tripping · well control · field units

Swab and surge pressure, and the trip margin formula

Surge and swab are the pressure changes in the well caused by moving pipe. Running pipe in pushes mud up the annulus and raises bottomhole pressure (surge), which can break down a weak formation and cause losses. Pulling pipe out drags mud with it and leaves a space below that mud must fill, which lowers bottomhole pressure (swab), which can let formation fluid in and start a kick. Both grow with pipe speed, mud viscosity and yield point, and with a tighter clearance between pipe and hole. A quick field estimate treats the moving mud as laminar Bingham plastic flow; the trip margin, the extra mud weight carried to cover swab when pulling out, is commonly taken as trip margin (ppg) = YP ÷ (11.7 × (Dh − Dp)). This page gives the formulas, a worked example and how to read the trip sheet for signs of swabbing.

Reference material only. Tripping speeds, trip margin and flow checks must follow your company's well control policy and the drilling programme. Worked examples are illustrative arithmetic, not a design.

1. What surge and swab do to the well

Surge: running in

The pipe displaces mud that has to flow up the annulus, and drags mud next to the pipe downward. The friction of that flow adds to the hydrostatic pressure below the moving pipe. Too much surge can exceed the fracture or loss gradient at the shoe or in a weak zone.

Swab: pulling out

Mud must flow down past the rising pipe to fill the space it leaves. The friction reduces bottomhole pressure. If it falls below pore pressure, formation fluid is swabbed in. Balled bits and stabilisers make it worse because they act like a piston.

What makes it worse

Higher pipe speed, higher plastic viscosity and yield point, gelled mud after a long static period, small annular clearance (liners, casing, slim hole) and closed-end pipe, for example a string with a float valve.

What the sign tells you

Surge is added to the static mud weight to get the equivalent mud weight (EMW) while running in. Swab is subtracted from it while pulling out. Both are expressed in ppg the same way as ECD.

A 2022 review in Applied Sciences puts it simply: lowering the string creates a positive pressure change and pulling it out a negative one, and the size depends on the tripping speed, so tripping too fast risks fracturing the formation while tripping too slowly adds rig time.

2. The quick estimate: Bingham plastic, steady state

The field method treats the mud moving past the pipe as steady laminar flow and uses the same Bingham plastic equation as the annular pressure loss formula. What changes is the velocity: it is the mud velocity created by the moving pipe, not by the pumps.

Mud velocity, closed-end pipe

Va = Vp × Dp² ÷ (Dh² − Dp²)

Effective velocity (Burkhardt)

V = Va + Kc × Vp, Kc ≈ 0.45

Pressure change, laminar

psi/ft = PV × V ÷ (1000 × (Dh − Dp)²) + YP ÷ (200 × (Dh − Dp))

As mud weight

ΔEMW (ppg) = ΔP (psi) ÷ (0.052 × TVD)

Vp is the pipe speed in ft/s, Dh the hole or casing ID and Dp the pipe OD in inches, PV in cP and YP in lbf/100 ft². Kc is the clinging constant: the share of the pipe speed carried by mud that clings to the pipe wall. Burkhardt's value of 0.45 is the usual default; charts give lower values for wide annuli. For open-ended pipe part of the mud goes up the inside of the string, so use the steel area (OD² − ID²) in place of Dp² and add the pipe bore area (ID²) to the annulus area (Dh² − Dp² + ID²).

Use the maximum pipe speed, not the average. A common rule (Lapeyrouse) is maximum speed ≈ 1.5 × average stand speed, because the pipe accelerates and decelerates on every stand. For a full estimate, work out the change over each section, drill pipe and BHA, and add them, exactly as for annular pressure loss; the BHA section is short but the clearance is small, so it adds a lot.

3. Worked example: surge and swab on a trip

5 in drill pipe, closed end (float in the string), in 8.5 in hole at 10,000 ft TVD. Mud 12.0 ppg, PV 25 cP, YP 15 lbf/100 ft². A 93 ft stand is run in about 60 seconds. For simplicity the whole length is treated as drill pipe; including the BHA would make the answer larger.

StepWorkingAnswer
Average pipe speed93 ft ÷ 60 s1.55 ft/s
Maximum pipe speed1.5 × 1.55≈ 2.33 ft/s
Displaced mud velocity2.33 × 25 ÷ (72.25 − 25)1.23 ft/s
Effective velocity1.23 + 0.45 × 2.332.28 ft/s
Viscous term25 × 2.28 ÷ (1000 × 3.5²)0.0047 psi/ft
Yield term15 ÷ (200 × 3.5)0.0214 psi/ft
Pressure change0.0261 × 10,000≈ 261 psi
As mud weight261 ÷ (0.052 × 10,000)≈ 0.50 ppg
EMW running in (surge)12.0 + 0.5012.5 ppg
EMW pulling out (swab)12.0 − 0.5011.5 ppg

If the pore pressure at the bottom is 11.4 ppg equivalent, the static overbalance is 0.6 ppg but only 0.1 ppg remains while pulling at that speed. Add the BHA section, or a balled bit, and the well can be swabbed in. On the surge side, compare 12.5 ppg with the leak-off or FIT equivalent at the shoe and with any known loss zone.

Notice how much of the answer is the yield term, which in this model does not depend on speed at all. That is the main weakness of the steady Bingham estimate: it overstates surge and swab for slow trips. Power-law and Herschel-Bulkley models (API RP 13D) and dynamic surge-swab software, which also include mud compressibility, inertia and gel strength, are used when the margins are tight.

4. Maximum tripping speed

Turning the equation around gives the fastest the pipe can move for an allowed pressure change:

Allowed gradient

G (psi/ft) = allowed ΔEMW × 0.052

Allowed effective velocity

V = (G − YP ÷ (200 × (Dh − Dp))) × 1000 × (Dh − Dp)² ÷ PV

Maximum pipe speed

Vp = V ÷ (Dp² ÷ (Dh² − Dp²) + Kc)

Minimum stand time

t (s) = stand length ÷ (Vp ÷ 1.5)

Same well, allowing 0.6 ppg of surge: G = 0.6 × 0.052 = 0.0312 psi/ft; V = (0.0312 − 0.0214) × 1000 × 12.25 ÷ 25 ≈ 4.79 ft/s; Vp = 4.79 ÷ (0.529 + 0.45) ≈ 4.89 ft/s maximum, or about 3.26 ft/s average. A 93 ft stand should therefore take at least about 29 seconds. If the allowed change is smaller than the yield term alone (0.41 ppg here), the quick formula gives no safe speed at all, which is a sign to use a better model, condition the mud or both.

5. Trip margin

Trip margin

TM (ppg) = YP ÷ (11.7 × (Dh − Dp))

Where 11.7 comes from

225 × 0.052 = 11.7

Trip margin is an extra increment of mud weight above the weight that just balances the formation, carried so that the well stays overbalanced when the pumps are off and the pipe is being pulled. The formula is the yield-point part of the laminar annular pressure loss written as a mud weight, using the older 225 constant in place of 200. Example: YP 15 in 8.5 in hole with 5 in pipe gives 15 ÷ (11.7 × 3.5) ≈ 0.37 ppg; YP 14 in 12¼ in hole with 5 in pipe gives about 0.16 ppg. Wider holes need less margin, high-yield muds more.

Trip margin is often added to the kill mud weight after a kick so that the well can be tripped safely once it is dead, and some operators set it as a fixed figure in the well programme instead. Too much margin costs rate of penetration and raises ECD and the risk of losses and differential sticking, so it is a balance, not a free safety factor.

6. Reading the trip sheet for swabbing

7. Reducing surge and swab

8. In DrillX

DrillX daily drilling reports log trips with IADC-style time codes, so tripping time, flow checks and any well control time show up in the NPT view. The engineering calculators include hydrostatic pressure, ECD, annular pressure loss, annular velocity and the kill sheet. This page explains the arithmetic; it is not a surge-swab simulator.

Questions

What is the difference between swab and surge pressure?

Surge is the increase in bottomhole pressure caused by running pipe into the hole, because the pipe pushes mud up the annulus. Swab is the decrease in bottomhole pressure caused by pulling pipe out, because mud has to flow down past the pipe to fill the space it leaves. Surge risks breaking down the formation and losses; swab risks a kick.

How do you calculate surge and swab pressure?

A quick field estimate treats the moving mud as laminar Bingham plastic flow. For closed-end pipe the mud velocity is Va = Vp × Dp² ÷ (Dh² − Dp²); add the clinging term 0.45 × Vp to get the effective velocity V; the pressure change in psi/ft is PV × V ÷ (1000 × (Dh − Dp)²) + YP ÷ (200 × (Dh − Dp)). Multiply by the length of each section, add the sections, and divide by 0.052 × TVD to express it in ppg.

What is the clinging constant?

The clinging constant is the fraction of the pipe speed carried by mud that clings to the moving pipe wall. Burkhardt's default value is 0.45; charts give lower values for wider annuli. It is added to the displaced mud velocity to get the effective velocity used in the surge and swab equation.

What is the trip margin formula?

A common field formula is trip margin (ppg) = yield point ÷ (11.7 × (hole diameter − pipe OD)), with yield point in lbf/100 ft² and diameters in inches. With a yield point of 15 in 8.5 in hole and 5 in pipe the trip margin is about 0.37 ppg. The 11.7 is 225 × 0.052, so the formula is the yield-point part of the annular pressure loss expressed as mud weight.

How fast can you trip pipe without swabbing the well?

Set the allowed change in equivalent mud weight, convert it to psi/ft by multiplying by 0.052, subtract the yield term YP ÷ (200 × (Dh − Dp)), and solve the Bingham equation for the effective velocity; divide by Dp² ÷ (Dh² − Dp²) + 0.45 to get the maximum pipe speed. In the worked example with 5 in pipe in 8.5 in hole and a 0.6 ppg limit, a 93 ft stand should take at least about 29 seconds.

How do you know if the well has been swabbed?

The trip sheet shows it: when pulling out, the hole takes less mud than the calculated displacement of the pipe removed. Other signs are the well flowing on a flow check, mud level dropping in the annulus with overpull, or mud coming up with the pipe. A swabbed influx is handled as a kick: the well is shut in and the influx circulated out.

Sources and further reading

Reference summary only. Worked examples are illustrative arithmetic. Tripping speeds, trip margin and flow checks are set by your operator's drilling programme and well control policy.