Integrity Field Guide
PIPELINE PIGGINGCALC & PLANNERCalculations · pre-planning · training

Pipeline pigging calculator & run planner

Live mimic of the run with the key readings — pig speed, back pressure, volumes pumped and arrival time. Change anything in the line parameters and every panel updates.

Pipeline mimic

What this pipeline pigging calculator does

Free, no sign-up, works on a phone in the field

This is a working calculator and pre-planning aid for pipeline pigging: cleaning runs, gauging runs, dewatering and drying, batching with a liquid slug, and in-line inspection (ILI) runs. Put in the line and the medium and it returns the numbers a crew actually needs before a pig is loaded.

  • Pig speed and flow rate — the flow needed for a target pig speed, or the speed you get from a known flow, with the bypass split and the speed window for the tool you picked.
  • Back pressure — the pressure to hold at the receiver over an elevation profile, staged kilometre by kilometre, with the choke valve Cv and the launch pressure that goes with it.
  • Volumes and pig tracking — total line volume, volume pumped against pig position, the reverse look-up from a chainage, and the arrival time, on single or multi-diameter lines.
  • Nitrogen, air and water quantities — line volume converted to standard volume at run pressure, peak inventory and consumption, and the purity and dew point notes that go with them.
  • Equipment spread — compressors or membrane units to mobilise for the duty, frac tanks, hose sizes and runs, flange ratings, nuts, gaskets and the hand tools to take.
  • Piggability and ILI checks — bends, valves, tees and bore changes against the pig selected, plus the tool windows for MFL, UT, EMAT, caliper and gauging runs.

Everything is calculated from the standard relations — v = Q/A for pig speed, Darcy–Weisbach with the Swamee–Jain friction factor for pressure loss, the real-gas law with a Papay compressibility factor for gas quantities, orifice flow for bypass ports, and ASME B36.10M pipe dimensions and ASME B16.5 flange data for the mechanical side. Every result carries a plain-language briefing explaining where the number came from, and the whole page works in SI or US units.

Flow rate for 1 m/s, by line size

A quick reference for the question the calculator is asked most often — the flow rate that drives a pig at one metre per second, by line size.

LineBore (mm)Area (cm²)Flow for 1 m/s (m³/h)US gal/min
6" std wall154.118667296
8" std wall202.7323116512
10" std wall254.6509183807
12" std wall304.87302631,157
16" std wall387.311784241,868
20" std wall488.918786762,976
24" std wall590.527399864,341
30" std wall742.943351,5616,871

Common questions

How do you calculate pig speed?
Pig speed is the bulk velocity of the fluid driving it: v = Q / A, where Q is the flow rate at line conditions and A is the internal cross-sectional area of the pipe. Flow through a bypass pig does not push it, so subtract the bypass flow first. On a gas line, convert standard flow to line conditions before dividing.
What is a normal pig speed?
Cleaning runs are typically 1–3 m/s in liquid and 2–5 m/s in gas; MFL inspection tools are usually 1–4 m/s and ultrasonic wall-loss tools 0.5–2 m/s. The vendor's stated window for the specific tool always governs.
How much back pressure does a pigging run need?
Enough to keep the liquid column above its minimum pressure over every high point (about 0.098 bar per metre of rise for water), to stop the gas behind the pig expanding into a surge, and to supply the differential the pig itself needs to move — typically 0.3 to 1.5 bar depending on pig type.
How much nitrogen does a pipeline need?
Take the line volume (area × length) and multiply by the absolute run pressure divided by standard pressure. A 12-inch line 10 km long holds about 730 m³, which is roughly 6,500 Sm³ of nitrogen at 8 bar g for a single fill.
How do you work out where the pig is?
Divide the volume pumped by the pipe's cross-sectional area to get the distance travelled, section by section if the bore changes, and subtract any bypass flow from the pumped total first.
Is it free?
Yes. There is no sign-up, nothing is uploaded, and every calculation runs in your own browser. It is a planning and training aid, not a substitute for the approved procedure or the pig and ILI vendor data.
Education and pre-planning aid only. Results are estimates from simplified models and typical library data. The approved procedure, the pig/ILI vendor data, the pipeline design basis and your permit-to-work system always govern.