| ProjectSample Project — Demonstration Only | Job No.SAMPLE-001 | Client— |
| CalculationASME B31.3 Pipe Wall Thickness Calculator | Calc byPiping Toolset (calc-core) | Checked byUNCHECKED — sample |
| Date2026-09-03 | Rev0 | BasisASME B31.3 ¶304.1.2 Eq. (3a) |
NPS 6 (6.625 in OD) carbon-steel line at 2,000 psi design pressure. Allowable stress 20,000 psi, seamless (E = 1.0, W = 1.0), Y = 0.4, corrosion allowance 1/16 in, mill tolerance 12.5%.
| Design pressure P | 2,000 | psi |
| Outside diameter D | 6.625 | in |
| Allowable stress S | 20,000 | psi |
| Quality factor E | 1.0 | — |
| Weld factor W | 1.0 | — |
| Coefficient Y | 0.4 | — |
| Allowance c | 0.0625 | in |
| Mill tolerance | 12.5 | % |
B31.3 Eq. (3a) for straight pipe under internal pressure, thin-wall form:
t = P·D / ( 2 (S·E·W + P·Y) )
tm = t + c
torder = tm / (1 − mill tolerance)
where P is the internal design gauge pressure, D the outside diameter, S the allowable stress at design temperature from Table A-1, E the quality factor from Tables A-1A/A-1B, W the weld joint strength reduction factor of ¶302.3.5(e), Y the wall-thickness coefficient from Table 304.1.1, and c the sum of the corrosion/erosion allowance and any mechanical allowances (threading, grooving). The calculator evaluates the three quantities in sequence. Eq. (3a) returns the metal required to resist pressure alone; adding c gives the minimum wall that must remain at the end of the corrosion life; dividing by (1 − mill tolerance) grosses that up to the nominal wall to purchase, because seamless pipe may be delivered up to 12.5% under nominal and the delivered minimum still has to cover tm. It then checks the thin-wall validity condition t < D/6 and warns when a result leaves the range where Eq. (3a) applies.
| t — pressure design thickness | 0.31851 | in |
| tm — minimum required | 0.38101 | in |
| Ordering thickness | 0.43544 | in |
The result values above are locked as fixture b313-wall-thickness.json, case
“NPS 6 @ 2000 psi, S=20000, Y=0.4, c=1/16, 12.5% mill tol”, tolerance 0.00001, 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), pressure design of straight pipe. · ASME B31.3 — Table 304.1.1 (coefficient Y), Table A-1 (allowable stress), Tables A-1A/A-1B (quality factors) — values user-supplied, not embedded.