Free Engineering Tool · PipingPro Academy

Pipe Wall Thickness

Minimum wall thickness with mill tolerance, corrosion allowance & schedule selection per ASME B31.3 / B31.4 / B31.8

t = P · D / [ 2 · (S · E · W + P · Y) ]
t = required minimum wall thickness (mm)  |  P = design pressure (MPa)  |  D = outside diameter (mm)
S = allowable stress at design temp (MPa)  |  E = longitudinal joint factor  |  W = weld strength reduction factor  |  Y = temp coefficient
1 — Pipe Geometry
ASME B36.10 — auto-filled from NPS
Typically 1.5–6 mm for carbon steel
12.5% for ASME B36.10 / API 5L
2 — Design Conditions
3 — ASME B31.3 Material & Code Factors
ASME B31.3 Table A-1 — auto-filled, editable
Threading, grooving — 0 for welded pipe
ℹ️ B31.3 Eq. 304.1.2(a): t = P·D / [2·(S·E·W + P·Y)]
tm = t + CA + c₂  ·  tspec = tm / (1 − MT/100) — rounded up to next commercial schedule
3 — ASME B31.4 Material & Code Factors
Enter in bar — B31.4 Eq. 403.2.1 SI native unit
ℹ️ B31.4 Eq. 403.2.1 (SI): t = Pi·D / (20·S) where S = F × E × Sy
P in bar · D in mm · S (= F·E·Sy) in MPa → t in mm. The factor 20 arises because 1 bar = 0.1 MPa. No temperature derating factor in B31.4.
3 — ASME B31.8 Material & Code Factors
Enter in psig — used only for B31.8 calculation
Auto-filled from NPS — verify against B36.10
Auto-converted from MPa — editable
ℹ️ B31.8 Eq. 841.11: t = P·D / (2·S·F·E·T)
P in psig · D in inches · S (SMYS) in psi → t in inches. No seismic/location factor in the standard formula. Add corrosion allowance (CA converted to inches) and apply mill tolerance.
Calculated Min. Thickness tmin
—
mm  ·  ( ) = inches equivalent
Required tspec (inc. CA + tolerance)
—
Selected Schedule
— click row to select —
Selected tnom
—
Intermediate Calculation Values
Available Schedules — Click a Row to Select
ASME B36.10M — Carbon & Alloy Steel
Schedule Wall tnom (mm) Wall (inch) Hoop Stress (MPa) % SMYS / S Status
Step-by-Step Calculation
ASME B31.3
▼ Show Step-by-Step Workings ▼
References
ASME B31.3-2022, Process Piping — Table 304.1.1, Eq. 3a, Table A-1
ASME B31.4-2019, Pipeline Transportation Systems for Liquids and Slurries — Eq. 403.2.1
ASME B31.8-2003, Gas Transmission and Distribution Piping Systems — Eq. 841.11 (para. 841.11)
ASME B36.10M-2018, Welded and Seamless Wrought Steel Pipe — schedules STD, XS, XXS, 10–160 for CS/alloy steel
ASME B36.19M-2018, Stainless Steel Pipe — schedules 5S, 10S, 40S, 80S for SS and duplex (NPS ⅛"–12")
API Spec 5L, Specification for Line Pipe — mill tolerance 12.5% under
Schedule selection auto-switches: B36.19M for SS/Duplex materials (B31.3), B36.10M for CS/alloy and all pipeline codes (B31.4/B31.8)
Allowable stress values (B31.3) are approximate representations of ASME B31.3 Table A-1. Always verify against current code edition for final design.
📚 Theory, formulae and code references for this calculator — sourced directly from ASME B31.3-2020, B31.4-2019, and B31.8-2003. For full course content and worked examples, visit PipingPro Academy courses.
ASME B31.3-2020 · Process Piping — Clause 304.1.2 Straight Pipe Under Internal Pressure
tm = t + c     [Eq. (2)]
t = P·D / [ 2·(S·E·W + P·Y) ]     [Eq. (3a)]

c = sum of mechanical allowances (thread/groove depth) plus corrosion and erosion allowances (mm)
D = outside diameter of pipe, mm (as listed in standards or as measured)
E = quality factor from Table A-1A or A-1B — 1.00 for seamless
P = internal design gage pressure, MPa
S = stress value for material from Table A-1 or A-1M at design temperature, MPa
t = pressure design thickness (calculated), mm
tm = minimum required thickness including mechanical, corrosion and erosion allowances, mm
T = pipe wall thickness (measured or minimum per purchase specification), mm — must be ≥ tm
W = weld joint strength reduction factor per para. 302.3.5(e) — see table below
Y = coefficient from Table 304.1.1, valid for t < D/6 — see table below

Mill tolerance: tordered = (t + c) / (1 − mill_tol/100)   — round up to next commercial schedule
For t ≥ D/6 or P/SE > 0.385, special consideration of factors such as theory of failure, fatigue, and thermal stress is required per para. 304.1.2(b). This calculator covers only the t < D/6 case.
ASME B31.3-2020 · Table 304.1.1 — Values of Coefficient Y for t < D/6
Material≤482°C (900°F)510°C (950°F)538°C (1000°F)566°C (1050°F)593°C (1100°F)≥621°C (1150°F)
Ferritic steels0.40.50.70.70.70.7
Austenitic steels0.40.40.40.40.50.7
Nickel alloys (N06617, N08800, N08810, N08825)0.40.40.40.40.40.4–0.7
Gray iron0.0—————
Other ductile metals0.40.40.40.40.40.4
For t ≥ D/6, Y = (d + 2c) / (D + d + 2c) where d = inside diameter. The value of Y may be interpolated for intermediate temperatures.
ASME B31.3-2020 · Table 302.3.5 — Weld Joint Strength Reduction Factor W
W applies to longitudinal welds at elevated temperature to account for creep strength reduction of the weld joint relative to the base metal.

Carbon Steel: W = 1.0 for all temperatures up to 760°C (1,400°F)
CrMo steels (½Cr–½Mo through 9Cr–1Mo):
   W = 1.00 at ≤427°C (800°F)  ·  0.95 at 454°C  ·  0.91 at 482°C  ·  0.86 at 510°C  ·  0.82 at 538°C  ·  0.77 at 566°C  ·  0.73 at 593°C
CSEF steels (N+T) — grades 91, 92, 911, 122, 23:
   W = 1.00 at ≤510°C  ·  0.95 at 538°C  ·  0.91 at 566°C  ·  0.86 at 593°C  ·  0.82 at 621°C
Austenitic SS grade 3xx and N088xx nickel alloys:
   W = 1.00 at ≤510°C  ·  0.95 at 538°C  ·  0.91 at 566°C  ·  0.86 at 593°C  ·  0.82 at 621°C  ·  0.77 at 649°C
W = 1.0 for seamless pipe at all temperatures (no longitudinal weld). Linear interpolation is permitted for intermediate temperatures. See full Table 302.3.5 for CSEF subcritical PWHT and autogenous weld cases.
ASME B31.4-2019 · Liquid Pipelines — Clause 403.2.1 Criteria
tn ≥ t + A

US Customary:   t = Pi·D / (2·S)
SI Units:            t = Pi·D / (20·S)

A = sum of allowances for threading, grooving, corrosion and erosion (para. 403.2.2–403.2.4), mm (in.)
D = outside diameter of pipe, in. (mm)
Pi = internal design gage pressure, psi (bar)
S = applicable allowable stress value, psi (MPa), determined by: S = F × E × Sy
   E = weld joint factor per Table 403.2.1-1 — 1.00 for seamless and SAW
   F = design factor — shall not be greater than 0.72 per this Code
   Sy = specified minimum yield strength, psi (MPa)
t = pressure design wall thickness, in. (mm)
tn = nominal wall thickness satisfying requirements for pressure and allowances, in. (mm)

⚠️ No temperature derating factor in B31.4 Eq. 403.2.1. The SI factor of 20 (vs. 2 in US Customary) accounts for the unit conversion: 1 bar = 0.1 MPa, hence 2S × 10 = 20S.

Note: B31.4 para. 403.2.3 states corrosion allowance is not required if pipe is protected per Chapter VIII. Where required, it is included in A.
B31.4 design factors reflect the underthickness tolerances and maximum allowable imperfection depths in the applicable pipe specifications — no additional mill tolerance deduction is required beyond selecting a nominal schedule wall ≥ tn.
ASME B31.4-2019 · Table 403.2.1-1 — Weld Joint Factors E (selected values)
SpecificationPipe TypeWeld Joint Factor E
API 5L / ASTM A53 / A106 / A333Seamless1.00
API 5L / ASTM A53 / A135 / A333Electric Resistance Welded (ERW)1.00
API 5L / ASTM A381Submerged Arc Welded (SAW)1.00
ASTM A671 / A672 (Class X2, post-PWHT RT)Electric Fusion Welded1.00
ASTM A671 / A672 (Class X3 or pre-PWHT RT)Electric Fusion Welded0.70 / 0.80
ASTM A53 Type F / API 5L A25Furnace Butt Welded (continuous)0.60
ASME B31.8-2003 · Gas Transmission — Para. 841.11 Steel Pipe Design Formula
P = 2·S·t·F·E·T / D     (design pressure form)
t = P·D / (2·S·F·E·T)     (wall thickness form)

D = nominal outside diameter of pipe, in.
E = longitudinal joint factor from Table 841.115A
F = design factor from Table 841.114A (see table below)
P = design pressure, psig — see also para. 841.111 for limitations
S = specified minimum yield strength (SMYS), psi — per pipe purchase specification or paras. 817.13(h) and 841.112
T = temperature derating factor from Table 841.116A (see table below)
t = nominal wall thickness, in.

Add corrosion allowance separately after t is calculated. Apply mill tolerance (12.5% under per API 5L) to arrive at specified nominal wall.
B31.8 uses the hoop stress design formula in US Customary units natively. S is SMYS — not a temperature-derated allowable stress. The design factor F already incorporates underthickness tolerance allowances from the approved pipe specifications.
ASME B31.8-2003 · Table 841.114A — Basic Design Factor F
Location ClassDesign Factor F
Location Class 1, Division 1 (offshore / remote)0.80
Location Class 1, Division 2 (open country)0.72
Location Class 2 (semi-rural)0.60
Location Class 3 (suburban / residential)0.50
Location Class 4 (urban / dense)0.40
Aerial crossings in Location Class 1 require F = 0.60 per para. 841.122. See Table 841.114B for facility-specific design factors (fabricated assemblies, bridge crossings, compressor station piping etc.).
ASME B31.8-2003 · Table 841.115A — Longitudinal Joint Factor E (selected values)
SpecificationPipe ClassE Factor
API 5LSeamless1.00
API 5LElectric Resistance Welded / Electric Flash Welded1.00
API 5LSubmerged Arc Welded (SAW / DSAW)1.00
API 5LFurnace Butt Welded0.60
ASTM A 53Seamless / ERW1.00
ASTM A 53Furnace Butt Welded (Continuous Weld)0.60
ASTM A 106Seamless1.00
ASTM A 134 / A 139Electric Fusion Arc / Fusion Welded0.80
ASTM A 135Electric Resistance Welded1.00
ASTM A 381Double Submerged Arc Welded1.00
ASTM A 671 / A 672 (Classes 12, 22, 32, 42, 52)Electric Fusion Welded1.00
ASTM A 671 / A 672 (Classes 13, 23, 33, 43, 53)Electric Fusion Welded0.80
ASME B31.8-2003 · Table 841.116A — Temperature Derating Factor T for Steel Pipe
Temperature, °FTemperature, °C (approx.)Derating Factor T
250 or less121 or less1.000
3001490.967
3501770.933
4002040.900
4502320.867
For intermediate temperatures, interpolate the derating factor (para. 841.116). B31.8 is a gas transmission code; temperatures above 250°F are uncommon in normal gas pipeline service but may apply in specific process gas or geothermal applications.
Reference Standards
StandardEditionClauseApplication
ASME B31.32020304.1.1, 304.1.2Process piping — pressure design wall thickness (Eq. 3a)
ASME B31.32020302.3.5, Table 302.3.5Weld joint strength reduction factor W
ASME B31.32020Table 304.1.1Temperature coefficient Y for ferritic, austenitic, and other materials
ASME B31.42019403.2.1Liquid pipeline — t = PiD/(20S) SI, S = F·E·Sy — P in bar, D in mm. No T factor.
ASME B31.42019Table 403.2.1-1Weld joint factors E for liquid pipeline materials
ASME B31.82003841.11Gas transmission — t = PD/(2SFET) — P psig, D & t inches, S psi
ASME B31.82003Table 841.114ABasic design factor F by location class (0.40–0.80)
ASME B31.82003Table 841.115ALongitudinal joint factor E by pipe specification and class
ASME B31.82003Table 841.116ATemperature derating factor T — 250°F to 450°F
ASME B36.10M2018—Standard pipe schedules and OD — carbon & alloy steel
ASME B36.19M2018—Stainless steel pipe schedules 5S / 10S / 40S / 80S (NPS ⅛"–12")
API Spec 5L——Line pipe specification — mill tolerance 12.5% under nominal wall
Allowable stress values (S) for B31.3 materials in this calculator are approximate representations of ASME B31.3 Table A-1. Always verify against the current code edition for final design. SMYS values for B31.4/B31.8 materials are per API 5L.