| ProjectSample Project — Demonstration Only | Job No.SAMPLE-001 | Client— |
| CalculationASME B31.3 Allowable Working Pressure Calculator | Calc byPiping Toolset (calc-core) | Checked byUNCHECKED — sample |
| Date2026-07-21 | Rev0 | BasisASME B31.3 ¶304.1.2 Eq. (3a), solved for P (B31.12 Mf supported) |
NPS 8 Sch 40 (8.625 in OD × 0.322 in wall), S = 17,500 psi, E = 1.0, y = 0.4, corrosion allowance 0.065 in, 12.5% mill tolerance.
| Outside diameter D | 8.625 | in |
| Nominal wall t | 0.322 | in |
| Mill tolerance | 12.5 | % |
| Allowance A | 0.065 | in |
| Allowable stress S | 17,500 | psi |
| Quality factor E | 1.0 | — |
| Coefficient y | 0.4 | — |
Thickness available for pressure, then Eq. (3a) inverted:
tp = t·(1 − mill tol) − A
P = 2·S·E·tp / ( D − 2·y·tp )
The hydrogen line applies the same form with the B31.12 material performance factor Mf multiplying S·E.
| tp — thickness available | 0.21675 | in |
| Allowable pressure | 897.6 | psi |
The result values above are locked as fixture b31-allowable-pressure.json, case
“NPS 8 sch 40, S=17500, E=1, y=0.4, Mf=1”, 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 B31.3, Process Piping — ¶304.1.2 Eq. (3a), solved for internal pressure. · ASME B31.12, Hydrogen Piping — Part IP material performance factor Mf (applied multiplicatively when used from the Hydrogen line).