These numbers are not your line yet
Every panel is filled in from a worked example so you can see what the tool does. Put your own line in and all of it — speed, pressures, volumes, the spread — recalculates.
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
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.
| Line | Bore (mm) | Area (cm²) | Flow for 1 m/s (m³/h) | US gal/min |
|---|---|---|---|---|
| 6" std wall | 154.1 | 186 | 67 | 296 |
| 8" std wall | 202.7 | 323 | 116 | 512 |
| 10" std wall | 254.6 | 509 | 183 | 807 |
| 12" std wall | 304.8 | 730 | 263 | 1,157 |
| 16" std wall | 387.3 | 1178 | 424 | 1,868 |
| 20" std wall | 488.9 | 1878 | 676 | 2,976 |
| 24" std wall | 590.5 | 2739 | 986 | 4,341 |
| 30" std wall | 742.9 | 4335 | 1,561 | 6,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.
Flow rate & pig velocity
How fast the pig will travel for the chosen pipe, flow and bypass, and what flow you need to keep it inside its speed window.
Pig speed vs bypass
Volume pumped & pig tracking
Convert pumped volume into pig position, or a chainage into the volume and time needed. Bypass losses and the wall-thickness sections on the Line features tab are included.
Volume pumped → pig position
Chainage → volume & arrival time
Checkpoint ETA sheet
Route layout from Google pins
Drop pins in Google Maps, copy each pin's coordinates (right-click the pin, then click the numbers), and paste them below, one per line. You can also import a KML exported from Google My Maps or Google Earth.
Pins
Types: launcher, receiver, AGM, valve, crossing, bend, point. Pin elevations can come from Google Earth (the elevation readout at the cursor). The live map itself can't be embedded in this page, so the route is drawn in plan view and each pin links out to Google Maps.
Route plan
Pin schedule
KML to paste into Google My Maps (Import)
Elevation profile, back pressure & drive pressure
Enter the route profile. The page checks the back pressure needed to stop the liquid column separating over high points, and the launcher pressure needed as the pig travels.
Profile points
| Chainage | Elevation |
|---|
Min. allowed pressure: keep the liquid above its vapour pressure (above bubble point for live crude) plus a margin. 1 bar g is a common planning value for water.
Profile & pressures along the run
Pig run simulation
Back-pressure planner
Line features & pig passability
Wall-thickness changes, reducers, bends, tees and valves. Checks whether the selected pig can navigate the line and what size the gauging plate should be.
Line sections (size & wall thickness)
| NPS | Wall thickness | Length | ID |
|---|
Fittings in the line
| Fitting | Count |
|---|
| Tees / branches | Branch NPS | Barred? | Count |
|---|
| Reducers / other bores | NPS | Wall | Count |
|---|
Fitting navigation matrix
Medium required
How much water, nitrogen or compressed air the job needs, how fast to supply it, and how much fluid arrives at the receiver.
Same job, different driving media
Equipment & logistics planner
Estimates the spread: compressors, boosters, N₂ units, pumps, frac tanks, hoses, flanges, bolting, gaskets and the tool kit. Unit capacities are editable, so match them to what your contractor actually has.
Equipment basis
Hoses & connections
Temporary spread layout
Hand tools & kit list
In-line inspection (ILI) tools
Pick a tool to see what it detects, its operating limits, and the checks for this line: speed window, flow, endurance, sampling, barrel length and passability.
ILI tools compared
Job report & lists
Builds a pre-planning report from everything entered on the other tabs, plus material, equipment, tracking and checklist lists you can download or print.
Report header
Sections & downloads
The .html report opens in any browser. Use the browser's Print → Save as PDF to make a PDF. CSV files open in Excel.
Material & equipment list
Report preview
Quick unit converter
Type a value, pick the unit it is in, and read it in every other unit — metric, imperial, oilfield or mixed.
Converter
Handy pigging conversions
| Conversion | Value | Where it comes up |
|---|---|---|
| 1 bbl | 0.1590 m³ = 42 US gal | Line volume, tank stock, pump rates |
| 1 m³ | 6.2898 bbl = 264.17 US gal | Line fill and frac tank capacity |
| 1 bar | 14.504 psi = 100 kPa | All pressures |
| 1 psi | 0.06895 bar | US gauges and hammer-union ratings |
| 1 MMSCFD | 1,180 Sm³/h = 694 scfm | Gas line throughput |
| 1 Sm³ N₂ | 1.185 kg = 1.466 litre of LN₂ | Nitrogen ordering |
| 1 m³ LN₂ | 682 Sm³ of gas ≈ 808 kg | Tanker planning |
| 1 m/s | 3.281 ft/s = 3.6 km/h | Pig speed |
| 1 m³/h | 4.403 US gpm = 150.9 bbl/day | Pump rates |
| 1 in | 25.4 mm | Pipe bore, wall thickness, spanner sizes |
| 1 mil | 25.4 µm | Inhibitor film thickness |
| 1 kW | 1.341 hp | Pump and compressor power |
| Water head | 10.2 m ≈ 1 bar (2.31 ft ≈ 1 psi) | Elevation vs back pressure |
| Absolute pressure | bar a = bar g + 1.013 | Gas volume calculations |
Abbreviations in full
Every short form used on this site and on most pigging job packs, written out with a plain explanation.
Search
Anywhere else on the site, abbreviations in the briefings and labels are underlined with dots — hover or tap them to see the full form without leaving the page.
Pig launching methods
How pigs and ILI tools get into the line, the parts of a launcher, and the checks behind each method.
Anatomy of a conventional launcher
Launching sequence (generic)
Receiving sequence (generic)
Launcher sizing check
Pig types, default bypass & driving pressure
ΔP is shown for the pipe size in setup (scaled from a 12-inch basis). Pick a pig to load it into the setup.
How bypass works
Bypass ports let some of the driving fluid flow through the pig. The pig moves slower than the fluid behind it, and the jet ahead keeps debris suspended so it doesn't build a solid plug. Flow through the ports follows the orifice equation, so it grows with the square root of the pig ΔP. The same port area therefore leaks far more gas than liquid, because gas density is much lower.
- 0% – batching, dewatering, displacement, gauging: full seal wanted.
- 1–3% – cleaning pigs and many ILI tools: debris flushing.
- 3–8% – heavy wax or sand lines, jetting pigs.
- 5–15% – speed control in high-velocity gas lines.
Choosing a pig: quick rules
- Unknown line condition? Start with a foam pig, then step up in aggressiveness (progressive pigging).
- Need to reverse direction (pre-commissioning, stuck-pig recovery)? Use a bi-directional disc pig.
- Short-radius (1D) bends or mitres? Only foam, spheres, gel and solid-cast pigs.
- Unbarred tees ≥ 50% of line size? Seal spacing must exceed the branch ID. Spheres need barred tees.
- Before any metal-loss ILI: clean, run magnetic cleaning, gauge, run geometry, then the ILI tool.
Pre-planning checklist
Work through before the job pack is issued. Ticks are saved in this browser only.
Formulas & assumptions
Everything the calculators use, so results can be checked by hand.