Piping Toolset
HomeCalculators › ASME B31.3 Allowable Working Pressure Calculator

ASME B31.3 Allowable Working Pressure Calculator

Gives the thickness available for pressure tp and the allowable internal design pressure P for a pipe of known wall, from ASME B31.3 ¶304.1.2 Eq. (3a) solved for P after deducting mill under-tolerance and corrosion allowance. Sound, uncorroded straight pipe only.

Answers the inverse question of wall-thickness design: given a pipe with known nominal wall, what internal pressure does B31.3 allow? The calculator deducts mill tolerance and corrosion allowance to get the thickness available for pressure, then solves Eq. (3a) for P.

Open this calculator → Download sample report

Method

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.

Inputs
DPipe outside diameterin
tNominal wall thicknessin
mill tolMill under-tolerance fraction
ACorrosion/erosion + mechanical allowancesin
SAllowable stress at design temperature (user-supplied)psi
EQuality factor (user-supplied)
yWall-thickness coefficient (user-supplied)
MfMaterial performance factor (1.0 except B31.12 hydrogen)
Outputs
tpThickness available for pressurein
PAllowable internal design pressurepsi

Limitations — what this calculator is not

Worked example — fixture-verified

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.

Given
Outside diameter D8.625in
Nominal wall t0.322in
Mill tolerance12.5%
Allowance A0.065in
Allowable stress S17,500psi
Quality factor E1.0
Coefficient y0.4

Step by step

  1. Thickness available for pressure: tp = 0.322·0.875 − 0.065 = 0.28175 − 0.065 = 0.21675 in.
  2. Allowable pressure: P = 2·17,500·0.21675 / (8.625 − 2·0.4·0.21675) = 7,586.25 / (8.625 − 0.17340) = 7,586.25 / 8.45160 = 897.6 psi.
Result COMPUTED
tp — thickness available0.21675in
Allowable pressure897.6psi

A common sanity check: fully corroded NPS 8 Sch 40 at moderate temperature rates just under 900 psi — flange class, not pipe wall, usually governs such systems.

Why you can trust these numbers: this exact case is 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 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

Why deduct mill tolerance before rating the pipe?

The wall the mill actually delivers may be up to 12.5% under nominal for seamless pipe. Rating on nominal wall would overstate the pressure capacity of the thinnest permissible pipe, so the deduction is made first, then the corrosion allowance.

Can I use this for pipe that is already corroded?

Use it with A set to the remaining future allowance if wall readings confirm the current thickness. For locally thinned areas (pitting, corrosion patches) use the B31G assessment, which accounts for defect length.

Related calculators

Open this calculator → All calculators