SAMPLE
Piping Toolset — Calculation Report
generated by calc-core · 2026-07-21
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-07-21 Rev0 BasisASME B31G Level 1 (original, parabolic)

1 · Design inputs

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

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

2 · 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.

3 · Calculation

  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.

4 · Results FAIL

z — length parameter3.00
M — Folias factor1.844
d/t0.311
Safe pressure P′786.1psi
Verdict vs 800 psiFAIL

5 · Verification statement

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.

SAMPLE REPORT — auto-generated from a verification fixture to show the report format. Not a project calculation. ⚠ Engineering-aid tool. Public code equations; allowable-stress and factor data are user-supplied. Results MUST be independently verified and reviewed by a qualified/licensed engineer before any design, fabrication, or operation decision.