FieldEngineersKit LogoFieldEngineersKit
Clean zone

4" · ASME B31.3 Pipe Thickness Calculator

ASME B31.3 (2022 Edition)
Loading calculator…

Engineering Reference & ASME Code Basis

1. Core Formula & Variable Definitions

ASME B31.3 (2022 Edition) · Para. 304.1.2 · ASME B36.10M · ASTM A106 / A53 / API 5L · ASME B31.3 (2022 Edition) · Table A-1 & 302.3.4

t = PD2(SE + PY)  ·  tm = t + c

ASME B31.3 Para. 304.1.2(a) Eq. (3a) · Thin-wall pipe (t < D/6)

Y (Ferritic ≤ 482°C) 0.4E (Seamless) 1.00E (ERW) 0.85Mill Tolerance -12.5%

Minimum required wall thickness for straight process pipe under internal design pressure follows ASME B31.3 paragraph 304.1.2(a) Equation (3a). For ferritic steels at or below 482 °C (900 °F), coefficient Y = 0.4. Pressure P and allowable stress S must share identical stress units (MPa or psi); outside diameter D, thickness t, and corrosion allowance c share length units (mm or in).

  • t_m (Total minimum required thickness)Pressure design thickness t plus mechanical, corrosion, and erosion allowances c (mm or in).
  • t (Pressure design thickness)Net wall thickness required solely to resist internal design gauge pressure P (mm or in).
  • P (Internal design pressure)Internal gauge design pressure from piping material specification (MPa, bar, or psi).
  • D (Outside diameter)Outside diameter per ASME B36.10M / B36.19M (not nominal pipe size NPS) in mm or in.
  • S (Basic allowable stress)Allowable stress value from ASME B31.3 Table A-1 at metal design temperature (e.g. A106 Gr.B = 137.9 MPa / 20.0 ksi up to 204 °C).
  • E (Longitudinal weld joint quality factor)Quality factor per Table 302.3.4 (1.00 for Seamless, 0.85 for ERW, 0.60 for Furnace Butt-Welded).
  • Y (Wall thickness coefficient)Geometry/material factor per Table 304.1.1 (0.4 for Ferritic/Austenitic steels at T ≤ 482 °C when t < D/6).
  • c (Allowances sum)Sum of corrosion allowance (CA), erosion allowance, and thread/groove depth allowances (mm or in).

2. Allowances, Tolerances & Standards

Per ASME B31.3 and ASTM specifications, the pressure design thickness (t) must be augmented by corrosion and mechanical allowances (c) to calculate the minimum required thickness (tm). Before selecting a commercial schedule, the manufacturing under-tolerance must be incorporated so the finished pipe never falls below tm.

Mill Under-Tolerance (ASTM A106 / A53)-12.5%

Seamless and welded steel pipe manufacturing standards permit up to a 12.5% reduction below nominal wall thickness during fabrication. The ordered nominal schedule wall must satisfy: t_nom ≥ t_m / (1 - 0.125) = t_m / 0.875.

Corrosion Allowance (CA)1.5 ~ 3.0 mm

Specified in project Piping Material Specifications (PMS). Typical values: 1.5 mm for dry hydrocarbons/utilities, 3.0 mm for corrosive wet gas/produced water, and 0.0 mm for corrosion-resistant stainless alloys.

Mechanical / Threading AllowanceASME B1.20.1

For male threaded pipe connections, thread root depth must be included in allowance c (typically ~1.5 mm for NPS ≤ 2). Grooved couplings require allowance equal to cut groove depth.

Structural Minimum WallSpan / Rigidity Cap

Small calculated t_min values for low pressure lines may lack sufficient structural stiffness. Pipe must maintain adequate wall thickness to prevent deflection and vibration across support spans.

Quick Reference Lookup Table

B31.3 tmin at 20 bar (2.0 MPa), A106 Gr.B, S = 138 MPa, E = 1, Y = 0.4, c = 0 vs Sch 40 / Sch 80 mill wall
NPSOD (mm)tmin (mm)Sch 40 t (mm)Sch 80 t (mm)
2"60.330.4353.915.54
4"114.300.8236.028.56
6"168.281.2127.1110.97
8"219.101.5798.1812.70
10"273.051.9679.2715.09
12"323.852.33310.3117.48

OD from ASME B36.10M. NPS 12 Sch 40/80 walls are handbook values (10.31 / 17.48 mm). Confirm mill tolerance and CA on the isometric before cutting or rerate.

3. Material & Code Limitations

Allowable stress S is strongly temperature-dependent. As metal temperature increases, allowable stress derates significantly according to ASME B31.3 Table A-1.

Material GroupTemperature RangeAllowable Stress / LimitEngineering Notes
ASTM A106 Gr. B (Carbon Steel)-29 °C to 427 °C (-20 °F to 800 °F)137.9 MPa (20.0 ksi) @ ≤204 °C → 103.4 MPa @ 400 °CPrimary material for non-corrosive hydrocarbons and steam. Graphitization risk occurs above 427 °C under long-term exposure.
ASTM A333 Gr. 6 (Low-Temp Carbon Steel)-45 °C to 427 °C (-50 °F to 800 °F)137.9 MPa (20.0 ksi) @ ≤204 °CCharpy V-notch impact tested at -45 °C for cryogenic blowdown, flare headers, and cold ambient services.
ASTM A312 TP304L (Austenitic SS)-196 °C to 427 °C (-320 °F to 800 °F)115.1 MPa (16.7 ksi) @ ≤38 °C → 78.6 MPa @ 300 °CLow-carbon austenitic stainless steel for corrosive chemical media. Lower yield strength than carbon steel at ambient temperature.
ASTM A312 TP316L (Austenitic SS)-196 °C to 450 °C (-320 °F to 842 °F)115.1 MPa (16.7 ksi) @ ≤38 °C → 82.0 MPa @ 300 °CMolybdenum addition (2.0–3.0%) provides enhanced resistance to pitting and crevice corrosion in chloride-containing environments.

Code Applicability & Safety Boundaries

  • Thin-Wall Formula Boundary: Valid only when t < D/6 and P/SE ≤ 0.385. For thick-wall high-pressure piping (e.g. LDPE, HP injection), Lamé thick-wall equations per B31.3 Para. 304.1.2(b) are mandatory.
  • External Pressure / Vacuum: Internal pressure sizing does not protect against compressive elastic buckling. Piping under external pressure or vacuum must be analyzed per ASME BPVC Section VIII, Div 1, UG-28.
  • Sustained & Cyclic Load Analysis: This calculation verifies only circumferential hoop stress from internal pressure. Longitudinal bending stresses from deadweight spans, thermal expansion, and seismic/slug dynamics must be verified per B31.3 Chapter II stress intensification rules.

4. Step-by-Step Worked Example

Field Verification

Verify the minimum required wall thickness and select the required commercial pipe schedule for an NPS 6 hydrocarbon line operating at 3.50 MPa (35.0 bar) and 150 °C with 2.0 mm corrosion allowance using ASTM A106 Gr. B seamless pipe.

Nominal Size:NPS 6 (OD = 168.28 mm)Design Pressure (P):3.50 MPa (35.0 bar / 507.6 psi)Design Temperature (T):150 °C (302 °F)Pipe Material:ASTM A106 Gr. B SeamlessAllowable Stress (S):137.9 MPa (20.0 ksi)Joint Quality (E):1.00 (Seamless)Corrosion Allowance (c):2.00 mm
1

Determine Pipe Geometry and Material Factors

Outside Diameter D = 168.28 mm (ASME B36.10M), S = 137.9 MPa (B31.3 Table A-1 @ 150 °C), E = 1.00 (Seamless), Y = 0.40 (Ferritic steel ≤ 482 °C)
Result:D = 168.28 mm, S = 137.9 MPa, E = 1.00, Y = 0.40

Outside diameter is fixed by standard; coefficient Y = 0.4 applies to ductile ferritic steels under 482 °C.

2

Calculate Pressure Design Wall Thickness (t)

Formula: t = (P · D) / [2 · (S · E + P · Y)]
t = (3.50 × 168.28) / [2 × (137.9 × 1.00 + 3.50 × 0.40)] = 588.98 / [2 × (137.9 + 1.40)] = 588.98 / 278.60
Result:t = 2.114 mm

This represents the net wall thickness required strictly to contain internal hoop pressure.

3

Calculate Total Minimum Required Thickness (tm) with Corrosion Allowance

Formula: t_m = t + c
t_m = 2.114 mm + 2.000 mm
Result:t_m = 4.114 mm

Total minimum thickness threshold that the pipe wall must never fall below during operation.

4

Apply Mill Under-Tolerance (-12.5%) for Nominal Purchase Wall

Formula: t_req,nom = t_m / (1 - 0.125) = t_m / 0.875
t_req,nom = 4.114 mm / 0.875
Result:t_req,nom = 4.702 mm

Commercial pipe must have a nominal thickness of at least 4.702 mm so that after -12.5% mill thinning, wall ≥ 4.114 mm.

5

Select Commercial Schedule from ASME B36.10M & Verify Compliance

ASME B36.10M NPS 6 standard schedules: Sch 40 (STD) nominal wall = 7.11 mm, min mill wall (0.875 × 7.11) = 6.22 mm vs Sch 80 (XS) nominal wall = 10.97 mm.
Result:Select NPS 6 Schedule 40 (STD, 7.11 mm nominal)

Sch 40 nominal wall (7.11 mm) > 4.702 mm required nominal; minimum mill wall (6.22 mm) > 4.114 mm t_m. Safety margin = +51.2% over t_m.

Conclusion: NPS 6 Schedule 40 (STD, 7.11 mm nominal wall) is fully code-compliant for 3.50 MPa at 150 °C with 2.0 mm corrosion allowance, providing a substantial safety buffer against pressure and external bending.

5. Code Limitations & FAQ

No. ASME B31.3 uses t = PD / [2(SE + PY)] where Y = 0.4 for ferritic steels. ASME B31.1 power piping formulas use different stress basis factors and weld strength reduction factors (W). Applying B31.1 equations to chemical process piping or vice versa without code verification can lead to non-compliant wall sizing.

ADVERTISEMENT

320×50 In-feed Banner