Integrity Field Guide Damage mechanisms, fitness-for-service, and the inspection methods that find them
Pigging calculator Equipment & vendors Pipe & fittings All articles Open the guide

Pig bypass: what it does and how much to use

Bypass is the one setting on a cleaning pig that changes both how fast it travels and how well it cleans, and the two pull in opposite directions.

Pipeline pigging6 min read
Acid corrosion through the wall of a flue gas duct. The wall is what the mechanism leaves behind.
Acid corrosion through the wall of a flue gas duct. The wall is what the mechanism leaves behind.Acid-corrosion-in-a-flue-gas-duct-01 — CEphoto, Uwe Aranas,
Guide › Articles › Pipeline pigging
A steel scraper pig with sealing cups and wire brushes, of the kind run through a crude oil pipeline to clean the wall.
A scraper pig. Cups to seal and drive it, brushes to take the wall back to metal.

What bypass actually does

A bypass pig has holes through it. Some of the flow that would push the pig instead passes through those ports and jets out in front, doing two useful things:

Bypass set to zero on this run. Changing it moves the pig speed without touching the pump rate.
Bypass set to zero on this run. Changing it moves the pig speed without touching the pump rate.

The flow split

Port flow is ordinary orifice flow driven by the differential across the pig:

Qbypass = Cd × Aport × √(2ΔP / ρ)  with Cd around 0.6 for a drilled port.

The pig then travels at (Qtotal − Qbypass) / A. Note the feedback: a pig that starts to slow builds more differential, which pushes more flow through the ports, which slows it further. Over-porting a pig is how a run stalls at kilometre three.

The table below is a 12-inch line pumping 263 m³/h of water with 1 bar across the pig:

BypassPort area (cm²)Bypass flow at 1 bar ΔP (m³/h)Pig speed at 263 m³/h total (m/s)
0 %001.00
1 %7230.91
2 %15460.83
3 %22690.74
5 %361150.56

Port area is quoted as a percentage of the pipe bore area. Small percentages move a lot of flow — which is exactly why bypass is quoted in single figures.

The plant the line runs to. Everything the pig brings out arrives somewhere like this.
The plant the line runs to. Everything the pig brings out arrives somewhere like this.Anacortes Refinery 31911 — Walter Siegmund (talk),

Typical values

PigBypassReason
Foam, light cleaning0–2 %Often none; the foam itself is permeable.
Cup or disc cleaning pig1–3 %The working range for wax and scale.
Heavy debris / first pass2–5 %Fluidising a known deposit, accepting a slower run.
Gauging plate run0 %The plate is the measurement; nothing should disturb it.
ILI tool0–5 %Vendor-set, fixed or actively controlled for speed.
Batching / sealing pig0 %The whole job is to separate two fluids.
Bypass is not free speed control

Fitting more ports to slow a pig also softens the seal and reduces the sweeping efficiency: the same jet that fluidises debris also reduces how much liquid the pig pushes ahead of it. If the run needs both a slow pig and a clean sweep, reduce the flow rate rather than open up the pig.

The other lever: jet direction

Where the ports point matters as much as their area. Ports aimed at the pipe wall lift deposit off the bottom of the line; ports aimed straight ahead simply push the pile along. A pig that comes back clean from a line that is known to be dirty usually means the flow went through it rather than past the wall.

Run the numbers

Pipeline pigging calc & planner

Set bypass as a percentage and it shows the split, what the pig speed becomes, and whether the run still lands in the window for the tool you picked.

Open the pigging calculator
Read next

Who writes this. A mechanical engineer with twelve years in oil and gas — in-line inspection, fired heater and furnace inspection, and pipeline integrity. What is here comes from the published standards and from what those years in the field actually looked like. It is not written by an API-certified inspector.

This is not an assessment. Nothing on this site may be used to justify a decision about real equipment. Assessing plant requires the current editions of the applicable codes, data from a licensed source, and a competent engineer who signs for the answer. · Integrity Field Guide · Pipeline pigging calculator · Pigging equipment & vendor directory · Pipe & fitting dimensions

Pictures: “Acid-corrosion-in-a-flue-gas-duct-01” by CEphoto, Uwe Aranas, CC BY-SA 3.0, via Wikimedia Commons; “Anacortes Refinery 31911” by Walter Siegmund (talk), CC BY 2.5, via Wikimedia Commons; “United States Strategic Petroleum Reserve 072” by ENERGY.GOV, public domain, via Wikimedia Commons; “Trans-Alaska Pipeline System Visitors Center Scraper Pig” by Leijurv, CC BY-SA 4.0, via Wikimedia Commons; “Gulf raffinaderij, Rozenburg, Bestanddeelnr 924-8259” by Hans Peters for Anefo, CC0, via Wikimedia Commons.