Piping Toolset
HomeCalculators › B31G Corroded Pipe Remaining Strength Calculator (Level 1)

B31G Corroded Pipe Remaining Strength Calculator (Level 1)

Returns the length parameter z = L²/(Dt), Folias factor M = √(1 + 0.8z), depth ratio d/t, and the safe operating pressure P′ of a blunt metal-loss defect, per ASME B31G Level 1 in its original parabolic form. Valid to z ≤ 20 and d/t ≤ 0.8.

Evaluates metal-loss corrosion on a pipeline by the original B31G Level-1 method: the defect's axial length and maximum depth reduce the pressure-carrying capacity through the parabolic (2/3 d/t) area idealization and the Folias bulging factor. PASS means the computed safe pressure still covers the entered design/MAOP basis.

Open this calculator → Download sample report

Method

z = L² / (D·t)   (valid for z ≤ 20)

M = √(1 + 0.8·z)   (Folias factor)

P′ = 1.1·P · ( 1 − ⅔(d/t) ) / ( 1 − ⅔(d/t)/M )

Defects deeper than 80% of the wall fail Level 1 outright regardless of length; z > 20 leaves the parabolic form (long-defect rule applies) and the card warns.

Inputs
DPipe outside diameterin
tNominal wall thicknessin
LAxial length of corroded areain
dMaximum defect depthin
PDesign pressure / MAOP basispsi
Outputs
zLength parameter
MFolias factor
d/tDepth ratio
P′Safe operating pressurepsi

Limitations — what this calculator is not

Worked example — fixture-verified

NPS 8 Sch 40 pipeline (8.625 × 0.322), corrosion patch 2.886 in long, 0.100 in deep, operating basis 800 psi.

Given
OD × wall8.625 × 0.322in
Defect length L2.886in
Defect depth d0.100in
Pressure basis P800psi

Step by step

  1. Length parameter: z = 2.886² / (8.625·0.322) = 8.332 / 2.777 = 3.00 (≤ 20 ✓).
  2. Folias: M = √(1 + 0.8·3.00) = √3.4 = 1.844.
  3. Depth ratio: d/t = 0.100/0.322 = 0.311 (≤ 0.8 ✓).
  4. Safe pressure: P′ = 1.1·800·(1−0.2070)/(1−0.2070/1.844) = 880·0.79296/0.88772 = 786.1 psi.
  5. 786.1 < 800 → FAIL — de-rate below 786 psi, repair, or refine with Modified B31G/RSTRENG.
Result FAIL
z — length parameter3.00
M — Folias factor1.844
d/t0.311
Safe pressure P′786.1psi
Verdict vs 800 psiFAIL

A deliberately failing fixture: the verdict logic, not just the arithmetic, is what the release gate locks.

Why you can trust these numbers: this exact case is fixture b31g.json — case “NPS8 sch40, L=2.88648, d=0.1, P=800” (tolerance 0.001) — in the calc-core release gate. It re-runs on every commit; a red fixture blocks deployment. See the validation methodology.

Sources & citations

Per the source & citation policy, allowable-stress and factor table values are user-supplied — this page and the app cite paragraph numbers and never reproduce ASME table data.

FAQ

Should I use original B31G or Modified B31G?

Original B31G (this card) is the most conservative screen — if it passes, you are done with Level 1. Modified B31G (0.85·d·L area term and revised Folias factor) typically recovers 5–15% margin; RSTRENG with a measured depth profile recovers more. Failing here means 'assess further', not necessarily 'repair'.

What does the 1.1 factor on P represent?

B31G frames the acceptance around a flow-stress basis that works out to comparing the defect's failure-pressure estimate against 1.1× the design pressure basis — giving the safe operating pressure P′ directly comparable to MAOP.

Related calculators

Open this calculator → All calculators