🔩

Pipe Wall Thickness Calculator

ASME B31.3 / B31.4 / B31.8 / API 5L - Petroleum Pipeline Design

Standard
ASME B31.3
/// material selection
/// design parameters
bar
mm
MPa
mm
%
Calculate to see pipe cross-section
/// pressure rating from existing pipe dimensions
Given actual pipe dimensions and material, calculate the maximum allowable operating pressure (MAOP / MAWP) per ASME B31.3 and API 5L.
mm
mm
mm
MPa
%
bar
/// hoop stress and stress analysis
Calculates circumferential (hoop), longitudinal and radial stresses using Lamé equations for thick-walled cylinders or thin-wall approximation (Barlow formula). Includes von Mises equivalent stress and safety factor.
mm
mm
bar
MPa
kN
-
/// ASME B36.10 / B36.19 pipe schedule selector
Select nominal pipe size (NPS) and schedule. Displays all available schedules with wall thickness, weight and pressure rating.
MPa
/// material properties reference - click to load
MaterialGradeSMYS (MPa)SMTS (MPa)Allow. S (MPa)Max T (°C)Application
/// key formulas - ASME B31.3 and B31.8
ASME B31.3 - Required wall thickness:
t_min = (P x OD) / (2 x S x E x W + 2 x P x Y) + c + mill_allowance
where: P = design pressure (MPa) | OD = outside diameter (mm)
S = allowable stress (MPa) | E = quality factor | W = weld joint factor
Y = temperature derating factor | c = corrosion allowance (mm)

MAOP from existing pipe (B31.3):
P_max = (2 x S x E x (t_nom x (1 - mill/100) - c)) / (OD - 2 x Y x (t - c))

Hoop stress (Barlow - thin wall, D/t > 20):
sigma_h = P x D / (2 x t) [MPa, with P in MPa and D,t in same unit]

Hoop stress (Lame - thick wall, D/t ≤ 20):
sigma_h = P x (ri^2 + ro^2) / (ro^2 - ri^2) [at inner wall]
sigma_h_outer = 2 x P x ri^2 / (ro^2 - ri^2) [at outer wall]

Longitudinal stress: sigma_L = P x ri^2 / (ro^2 - ri^2) + F / A
Radial stress (inner): sigma_r = -P (compressive)
Von Mises: sigma_vm = sqrt(sigma_h^2 - sigma_h x sigma_L + sigma_L^2 + 3 x tau^2)
Design factor B31.8: t = P x D / (2 x SMYS x F x E x T)
F = 0.72 (Class 1 Div 2) | 0.60 (Class 2) | 0.50 (Class 3) | 0.40 (Class 4)
/// API 5L pipe grades quick reference
GradeSMYS min (MPa)SMTS min (MPa)C max (%)Typical application
A251723100.29Low pressure gas gathering
A2073310.22Low pressure distribution
B2414140.22Standard oil and gas pipelines
X422904140.26Cross-country pipelines
X463174340.26Cross-country pipelines
X523584550.26High pressure oil/gas pipelines
X563864900.26High pressure transmission
X604135170.12Long distance transmission
X654485310.12Offshore and deepwater
X704825650.12HPHT and subsea
X805516210.10Ultra-high pressure
petrosmartacademy.com · ASME B31.3 / B31.4 / B31.8 / API 5L calculations · For educational use - verify with qualified engineer