Home / Original B31G

Original ASME B31G calculator

Estimated failure pressure, safe pressure, ERF and the Level 0 maximum allowable length for a corrosion anomaly, using the original B31G parabolic-area criterion.

🔒 Runs in your browser. Nothing is uploaded.

⚠ Estimate only.DigSheet results are screening estimates. Verify every result with a qualified pipeline integrity engineer and your company's procedures before making repair, pressure or operating decisions.

Inputs

Pipe
Advanced: safety factor / flow stress override

Leave blank to use SF = 1/F and the method's standard flow stress.

Metal-loss anomaly

Example: 24 × 0.375 in X52, 0.150 in deep × 8 in long (a published worked example).

How the original B31G method works

ASME B31G started in the 1970s as a simple way to decide whether a corroded section of pipe could stay in service. It treats the corrosion as a parabola: the missing metal is assumed to be two-thirds of a rectangle that is as deep as the deepest pit and as long as the whole flaw. Combined with a bulging ("Folias") factor that captures how a thin spot bulges outward under pressure, that gives a predicted hoop stress at failure.

z = L² / (D·t) M = √(1 + 0.8·z) (z ≤ 20) S_flow = 1.1 × SMYS S_F = S_flow · [1 − ⅔(d/t)] / [1 − ⅔(d/t)/M] (z ≤ 20) S_F = S_flow · (1 − d/t) (z > 20, long flaw) P_F = 2·S_F·t / D P_safe = P_F / SF ERF = MAOP / P_safe

Level 0: maximum allowable length

The B31G Level 0 tables come from one equation. For a pit depth between 10% and 80% of the wall, the allowable axial length is L = 1.12·B·√(D·t) with B = √{[(d/t)/(1.1·d/t − 0.15)]² − 1}, capped at 4. Shallower than 10% has no length limit. DigSheet shows this value alongside the pressure result.

What the outputs mean

OutputMeaning
Failure pressureThe predicted burst pressure of the corroded pipe (no safety factor).
Safe pressureFailure pressure divided by the safety factor (1/F, e.g. 1.39 for F = 0.72). Compare it with MAOP.
ERFEstimated repair factor = MAOP / safe pressure. Above 1.0 means the anomaly does not meet the criterion at MAOP.
Pf / MAOPFailure pressure ratio, which 49 CFR 192.933 uses to set immediate and one-year conditions.

Original B31G is the most conservative of the common methods. If an anomaly fails here, try Modified B31G or, with a measured profile, RSTRENG before deciding on a repair.

When not to use it

FAQ

Why is the flow stress 1.1 × SMYS?

The original criterion was calibrated to burst tests using a flow stress of 1.1 × SMYS. Modified B31G later moved to SMYS + 10 ksi. You can override flow stress under Advanced if your procedure specifies otherwise.

What safety factor should I use?

Many operators use 1/F, the inverse of the class-location design factor (1.39 for Class 1). Your company procedures and the regulator decide; DigSheet lets you override it.

Do my inputs get uploaded?

No. The calculator is plain JavaScript that runs on your device. See privacy.

The DigSheet dispatch

Worked examples, ILI report-review tips and code changes for pipeline integrity engineers. Every other week, no spam.

Coming soon. This form is a placeholder and does not send or store anything yet.