Pipe Schedule Calculator Formula

Understand the math behind the pipe schedule calculator. Each variable explained with a worked example.

Formulas Used

Minimum Wall Thickness

min_thickness = pressure * outside_dia / (2 * allowable * weld_eff + 2 * pressure) + corrosion

Barlow Thickness (no CA)

barlow_thickness = pressure * outside_dia / (2 * allowable * weld_eff)

Variables

VariableDescriptionDefault
pressureDesign Pressure (P)(MPa)10
outside_diaPipe Outside Diameter (OD)(mm)168.3
allowableAllowable Stress (S)(MPa)137.9
weld_effWeld Joint Efficiency (E)1
corrosionCorrosion Allowance (CA)(mm)1.5

How It Works

Pipe Wall Thickness Design

The required pipe wall thickness depends on the internal pressure, pipe diameter, material allowable stress, and safety factors. The Barlow formula provides the starting point.

Barlow Formula

t = P × D / (2 × S × E)

The ASME B31.3 modified version: t = P × D / (2 × (S × E + P)) + CA

where P is pressure, D is outside diameter, S is allowable stress, E is weld joint efficiency, and CA is corrosion allowance.

Worked Example

A 6" Sch pipe (OD=168.3 mm) at 10 MPa, S=137.9 MPa, E=1.0, CA=1.5 mm.

pressure = 10outside_dia = 168.3allowable = 137.9weld_eff = 1corrosion = 1.5
  1. 01Barlow: t = 10 × 168.3 / (2 × 137.9 × 1.0) = 1683 / 275.8 = 6.10 mm
  2. 02ASME modified: t = 10 × 168.3 / (2 × (137.9 + 10)) + 1.5
  3. 03t = 1683 / 295.8 + 1.5 = 5.69 + 1.5 = 7.19 mm

Frequently Asked Questions

What is weld joint efficiency?

It accounts for the quality of weld examination. Full radiographic exam: E = 1.0, spot radiography: E = 0.85, no radiography: E = 0.60. Higher examination quality allows higher efficiency and thinner pipe.

How do I select the actual pipe schedule?

After calculating minimum thickness, select the next heavier standard schedule (Sch 40, 80, 160, etc.) that exceeds the minimum. ASME B36.10 lists standard pipe schedules with their wall thicknesses.

What is corrosion allowance?

CA is extra thickness added to account for material loss over the design life. Typical values: 1.5-3 mm for carbon steel in mildly corrosive service, 0 for stainless steel in clean service.

Ready to run the numbers?

Open Pipe Schedule Calculator