| ProjectSample Project — Demonstration Only | Job No.SAMPLE-001 | Client— |
| CalculationB31G Corroded Pipe Remaining Strength Calculator (Level 1) | Calc byPiping Toolset (calc-core) | Checked byUNCHECKED — sample |
| Date2026-12-03 | Rev0 | BasisASME B31G-2023 Level 1 — original (2/3 dL parabolic; long-flaw (1 − d/t) for z > 20) and Modified (0.85 dL) with ERF = MAOP/Psafe |
NPS 8 Sch 40 pipeline (8.625 × 0.322), corrosion patch 2.886 in long, 0.100 in deep, operating basis 800 psi.
| OD × wall | 8.625 × 0.322 | in |
| Defect length L | 2.886 | in |
| Defect depth d | 0.100 | in |
| Pressure basis P | 800 | psi |
z = L² / (D·t)
M = √(1 + 0.8·z) (Folias factor)
z ≤ 20: P′ = 1.1·P · ( 1 − ⅔(d/t) ) / ( 1 − ⅔(d/t)/M )
z > 20: P′ = 1.1·P · ( 1 − d/t ) (long flaw, B31G-2023 para. 2.2(a))
Defects deeper than 80% of the wall fail Level 1 outright regardless of length. For z > 20 the parabolic area no longer applies and the flaw is treated as a full-depth rectangle; the card applies that form and says so.
| z — length parameter | 3.00 | — |
| M — Folias factor | 1.844 | — |
| d/t | 0.311 | — |
| Safe pressure P′ | 786.1 | psi |
| Verdict vs 800 psi | FAIL | — |
The result values above are locked as fixture b31g.json, case
“NPS8 sch40, L=2.88648, d=0.1, P=800”, tolerance 0.001, in the calc-core continuous
verification gate (see https://pipingtoolset.com/trust/validation.html). Allowable-stress and factor data are
user-supplied inputs; citations: ASME B31G — Manual for Determining the Remaining Strength of Corroded Pipelines, Level 1 original (parabolic) method.