Purge Rig

Welding Purge Calculator

Pipe volume to purge time, gas cost, and the ASTM G-124 cycles for a target ppm — with the AWS D18.2 heat-tint you should expect on the root.

Confined-space hazard. Argon and nitrogen are odourless asphyxiants that displace oxygen. Any purged pipe or vessel is a permit-required confined space (OSHA 1910.146) — monitor O₂ continuously and never rely on this tool in place of a trace oxygen analyser.

Pipe / chamber
in
in
in
Purge gas & flow
CFH
×
Target purity
ppm O₂
psi
psi
How pressure cycling worksEach pressurise-and-vent cycle dilutes the trapped oxygen by the ratio of absolute vent to inlet pressure. Higher purge pressure removes more per cycle. This is the ASTM G-124 method used for vessels and ultra-high-purity systems where continuous flow is impractical.
Expected heat tint (AWS D18.2)
<10~50200–500500–1k1k+
Consumption per joint
Uses your pipe & gas from the Purge Time tabSet the pipe size, gas and flow on the Purge Time tab first; this tab adds the root-pass duration and pricing to estimate cost per joint.
min
CFH
Cylinder & price
ft³
$/ft³

How the welding purge calculator works

When you weld stainless steel, titanium or nickel alloys, the back of the weld root is just as vulnerable as the face. At welding temperatures the hot metal reacts with atmospheric oxygen and nitrogen, forming a granular, porous oxide the trade calls sugaring. That oxide destroys the passive chromium film that makes stainless corrosion-resistant, and in sanitary or ultra-high-purity systems it becomes a site for pitting and bacterial growth. Weld purging replaces the air inside the pipe with an inert gas so the root solidifies clean. This calculator works out how much gas that takes, how long, how many pressure cycles for a given purity, and what it costs.

It runs in three parts. Purge Time takes the internal volume and a flow rate and returns the gas and minutes to reach your chosen number of volume changes. Cycle Purge uses the ASTM G-124 pressure method to find the cycles needed for a parts-per-million oxygen target, and predicts the AWS D18.2 heat-tint colour you should see. Gas & Cost turns all that into cylinder depletion and a cost per joint for bidding.

Internal volume and the volume-change method

Everything starts with the internal volume of the space between your purge dams. From the outer diameter and wall thickness the calculator finds the inner diameter, then the volume of that cylinder over the dammed length:

V = π × (inner diameter ÷ 2)² × length

Then the standard approach is to flow enough gas to exchange that volume several times over. BS 4677 recommends the purge gas equal at least five to six times the volume of air displaced, so the time is simply the gas needed divided by your regulator's flow:

purge time = (volume × volume changes) ÷ flow rate

Because localised dams isolate a tiny fraction of a long pipe, this is fast: a small section behind inflatable dams reaches low oxygen in seconds to a couple of minutes, where flooding the whole pipe would take hours. Introduce the gas gently so it moves as a laminar column and pushes the air out ahead of it — too fast and it turbulently mixes with the air and takes far longer.

Worked example. A 4-inch Schedule 10 pipe dammed over 12 inches holds about 0.1 cubic feet. At 15 CFH of argon that volume is exchanged roughly two to three times a minute, so five volume changes take under two minutes of pre-weld purging.

Pressure cycles and the ASTM G-124 method

For vessels or ultra-high-purity systems, continuous flow can be wasteful or simply too slow. Instead you pressurise the space with inert gas and vent it, repeatedly — each cycle dilutes the trapped oxygen. The proportion left after n cycles follows the partial-pressure relationship:

Cₙ = C₀ × (P_vent ÷ P_inlet)ⁿ, so n = log(Cₙ ÷ C₀) ÷ log(P_vent ÷ P_inlet)

Here C₀ is the starting oxygen, about 209,000 ppm (20.9%), Cₙ is your target, and the pressures are absolute. The higher your purge pressure relative to the vent, the more oxygen each cycle removes, so fewer cycles are needed. The calculator solves for the exact whole number of pressurise-and-vent cycles to hit your ppm goal.

Heat tint: reading the weld under AWS D18.2

The colour on the back of a finished weld is a direct readout of how much oxygen was present. AWS D18.2 maps oxygen concentration to that discolouration, and this calculator predicts it from your target.

Oxygen at rootHeat tintTypical use
< 10 ppmBright silverUltra-high-purity, semiconductor, aerospace
~50 ppmLight strawPharmaceutical, food & beverage (ASME BPE)
200–500 ppmGold to light blueGeneral chemical processing
1,000 ppm+Dark blue / purple / grey (sugaring)Unacceptable for sanitary work
silver straw gold blue purple/grey <10 ppm ~50 200–500 500–1k 1k+ Cleaner root ← more purging
AWS D18.2 heat-tint scale: the colour on the root is a visual proxy for root-side oxygen. Silver and straw pass sanitary inspection; blue and purple signal too much oxygen and, at the extreme, sugaring.

Choosing the gas, and the code that governs it

Argon is the default for austenitic stainless and carbon steels. It is heavier than air, so introduce it at the lowest point and vent at the highest, letting it pool and lift the air out. Helium is much lighter, needs roughly two to three times the flow, and must be fed from the top to push air down. Nitrogen is a cost-effective option and is specifically preferred for duplex and super-duplex stainless, where it preserves the weld root's nitrogen balance and corrosion resistance. One code point matters on the shop floor: under ASME Section IX, adding, deleting or changing the backing gas is an essential variable for GTAW, so you cannot quietly switch gases on a qualified procedure without re-qualifying it.

Verify, don't just calculate. Volume-change and cycle maths give a strong baseline, but real joints have moisture, hose permeability and imperfect dam seals. For sanitary or ultra-high-purity work, confirm the result with a trace oxygen analyser reading to single-digit ppm — a monitor that only reads to 0.1% (1,000 ppm) is not enough.

Safety: purging is a confined-space operation

This is the part no calculator should let you skip. Argon and nitrogen are colourless, odourless, tasteless simple asphyxiants. Argon is denser than air and settles into pipes, trenches and vessels; nitrogen forms lethal pockets in enclosed areas. An oxygen-deficient atmosphere below 19.5% can cause loss of consciousness within a minute, with no warning symptoms. Any pipe, tank or vessel under purge must be treated as a permit-required confined space under OSHA 29 CFR 1910.146: continuous atmospheric monitoring, mechanical ventilation where needed, and an external attendant with a written rescue plan before anyone enters. Treat every purge as potentially life-threatening and control it accordingly.

Scope and disclaimer. This tool provides planning estimates from standard purge formulas (BS 4677 volume changes, ASTM G-124 cycles) and published gas data, for informational and educational use. It is not a substitute for a qualified welding procedure, a trace oxygen analyser, or your site's safety program, and nothing here is professional engineering or safety advice. Always follow the governing code and your employer's confined-space procedures.

FAQ

What is the formula for welding purge time?

Purge time = (internal volume × volume changes) ÷ flow rate. Find the volume from the inner diameter and length, pick 5–6 volume changes per BS 4677, and divide the total gas by your regulator flow. The Purge Time tab shows each step.

How many volume changes are needed to purge stainless?

BS 4677 suggests the purge gas equal at least 5–6 times the air being displaced. Localised inflatable dams reach low oxygen in seconds to a couple of minutes. For sanitary or UHP welds, verify with a trace oxygen analyser rather than relying on volume changes alone.

How do you calculate purge cycles for a target ppm?

ASTM G-124: after n cycles, Cₙ = C₀ × (P_vent ÷ P_inlet)ⁿ, so n = log(Cₙ ÷ C₀) ÷ log(P_vent ÷ P_inlet), with C₀ ≈ 209,000 ppm and absolute pressures. The Cycle Purge tab solves for the number of pressurise-and-vent cycles.

What oxygen level prevents sugaring?

Sugaring appears around 1,000 ppm and above. Under AWS D18.2, below ~10 ppm gives bright silver (UHP/aerospace), ~50 ppm light straw (pharma/food), 200–500 ppm gold to blue (general chemical). The calculator predicts the tint from your target.

Argon, helium or nitrogen — which purge gas?

Argon for most stainless and carbon steel (heavier — fill low). Helium needs 2–3× flow and fills from the top. Nitrogen suits duplex/super-duplex stainless. Changing backing gas is an ASME Section IX essential variable, so it can require re-qualifying the procedure.

Is weld purging dangerous in a confined space?

Yes. Argon and nitrogen are odourless asphyxiants that displace oxygen; below 19.5% O₂ you can lose consciousness within a minute. Any purged pipe or vessel is a permit-required confined space (OSHA 1910.146) needing continuous monitoring, ventilation and an attendant. This tool never replaces those controls.