Pipe Wall Thickness Calculation: ASME B31.3 Guide

Pipe wall thickness calculation finds the thinnest wall that safely contains the design pressure at the design temperature. Under ASME B31.3 the pressure design thickness is t = PD / [2(SEW + PY)]. You then add the corrosion allowance, allow for the 12.5% mill under-tolerance on seamless pipe, and select the next standard schedule. This guide walks through each step with a worked example, lists the mistakes that cause under-sized pipe, and shows how an Excel sheet speeds up the work.

Stack of steel pipes showing wall thickness, illustrating pipe wall thickness calculation
Photo by engin akyurt on Unsplash

What Pipe Wall Thickness Calculation Is and Why It Matters

Every pressure pipe has to resist the hoop stress created by the fluid inside it. If the wall is too thin, the pipe can leak or burst. If it is too thick, you pay for extra steel, heavier supports and more welding. The calculation sets the minimum wall that is safe, so you can choose a standard schedule without guessing.

For process piping, the governing code is ASME B31.3 Process Piping, and internal pressure design is covered in paragraph 304.1.2. Power piping follows ASME B31.1 with a similar equation but different stress values, and pipelines follow B31.4 or B31.8. The method below uses B31.3 and applies to straight pipe under internal pressure.

Wall thickness is one input among several in a piping class. It works alongside line sizing, hydrostatic test pressure and support spacing, so see our guide on pipeline pressure drop calculation for the hydraulic side and our notes on the hydrostatic test procedure for pipelines for the testing side.

Inputs You Need Before You Start

  • Design pressure, P: the internal design gauge pressure at the most severe coincident condition.
  • Outside diameter, D: taken from ASME B36.10M (carbon steel) or B36.19M (stainless steel). For NPS 6 the outside diameter is 168.3 mm.
  • Allowable stress, S: from the B31.3 Appendix A tables, at the design temperature. It falls as temperature rises.
  • Quality factor, E: 1.0 for seamless pipe. Welded pipe can have a lower value depending on the product form and examination.
  • Weld joint strength reduction factor, W: normally 1.0 below the creep range.
  • Coefficient, Y: from Table 304.1.1. For ferritic steels at or below 482 °C it is 0.4.
  • Allowances, c: corrosion, erosion and any mechanical allowance such as thread or groove depth.
  • Mill tolerance: 12.5% under-tolerance on wall thickness for common seamless carbon steel pipe, as in the ASTM A106 pipe specification. Always confirm the figure in the material standard you are ordering to.

Pipe Wall Thickness Calculation Formula (ASME B31.3)

Step 1: Pressure design thickness

t = P × D / [2 (S × E × W + P × Y)]

This is Equation 3a in paragraph 304.1.2 and it applies when t is less than D/6. For thicker walls, or when P/(SE) is high, the code requires special consideration, so do not use the simple equation blindly. It is the standard hoop stress relationship (Barlow) with the Y term correcting for wall thickness.

Step 2: Add allowances

tm = t + c

The result tm is the minimum required thickness including corrosion, erosion and mechanical allowances. This is the thickness that must remain available in the pipe wall at the thinnest point.

Step 3: Account for mill tolerance

tnominal ≥ tm / (1 − 0.125) = tm / 0.875

Because the supplier may deliver pipe with a wall up to 12.5% below nominal, the nominal wall you order must be larger than tm. Dividing by 0.875 guarantees the delivered minimum still meets the requirement.

Step 4: Select the schedule and check the result

Choose the next standard wall from ASME B36.10M or B36.19M that equals or exceeds the required nominal thickness. Then check the pressure rating of the selected pipe in its worst case, with the mill under-tolerance and corrosion both taken off: Pallow = 2 × t × S × E × W / (D − 2 × t × Y), where t is the remaining thickness.

Worked Example (Illustrative Numbers)

The values below are for illustration only. Always read allowable stress from the code edition and material you are using.

  • NPS 6 (DN 150) seamless carbon steel pipe, D = 168.3 mm
  • Design pressure P = 4.0 MPa (40 bar)
  • Assumed allowable stress S = 120 MPa at design temperature
  • E = 1.0, W = 1.0, Y = 0.4
  • Corrosion allowance c = 3.0 mm, mill tolerance 12.5%

Pressure design thickness: t = (4.0 × 168.3) / [2 × (120 × 1.0 × 1.0 + 4.0 × 0.4)] = 673.2 / 243.2 = 2.77 mm. Since D/6 is about 28 mm, the thin-wall equation applies.

Add allowance: tm = 2.77 + 3.0 = 5.77 mm.

Mill tolerance: tnominal ≥ 5.77 / 0.875 = 6.59 mm.

Schedule selection: NPS 6 Schedule 40 has a nominal wall of 7.11 mm, which exceeds 6.59 mm, so it is adequate. Schedule 10 at 3.40 mm is clearly too thin.

Check: the minimum delivered wall is 7.11 × 0.875 = 6.22 mm. Less the 3.0 mm corrosion allowance, 3.22 mm remains. The allowable pressure is 2 × 3.22 × 120 / (168.3 − 2 × 3.22 × 0.4) ≈ 4.66 MPa, which is above the 4.0 MPa design pressure.

Sensitivity: if the pipe were welded with a quality factor E = 0.85, the same inputs give t = 3.25 mm, tm = 6.25 mm and a required nominal wall of 7.14 mm. That is just above the 7.11 mm of Schedule 40, so you would move to the next schedule. A small change in one factor can change the schedule, which is why the inputs deserve care.

Common Mistakes and Design Checks

  • Using stress at the wrong temperature. Allowable stress drops as temperature rises, so read S at the design temperature, not at ambient.
  • Forgetting mill tolerance. Selecting a schedule that just meets tm ignores the 12.5% under-tolerance and can leave the pipe short in service.
  • Confusing corrosion allowance with mill tolerance. They are separate items. The corrosion allowance comes from the service, and the tolerance comes from the material standard.
  • Applying the thin-wall equation outside its range. Check that t is less than D/6 before using Equation 3a.
  • Using the wrong E or W. Welded pipe, high temperature and creep range all change these factors, so confirm them for your material and product form.
  • Mixing units. Keep pressure and stress in the same unit (MPa with MPa, psi with psi) and diameter and thickness in the same length unit.
  • Stopping at pressure design. Thickness for sustained loads, flexibility, vibration and handling is a separate check, and small-bore branches often need extra wall for robustness.

For material grades and their pipe specifications, our notes on ASTM A106 standard and specification help you confirm which tolerance and grade rules apply. For vessel shells the equations differ, as shown in the ASME Section VIII Division 1 worked example.

How the GrowMechanical Excel Sheet Helps

Doing this by hand for every line in a line list is slow, and one wrong factor can change the schedule. The Pipe Wall Thickness Calculator Excel Spreadsheet lets you enter the design pressure, temperature and outside diameter, then set the allowable stress, joint factor and corrosion allowance. It returns the minimum required thickness and lets you compare it with a standard schedule.

The values are inputs that you set, and the formulas are open, so you can see how each result is produced. Confirm the results against your piping code and project specification. The sheet suits piping and process engineers who need quick, repeatable checks. It pairs well with the corrosion allowance calculator, the welding joint efficiency calculator and the hydrostatic test pressure calculator. You can browse more tools in the piping engineering category. Want to see the layout first? Open the free sample PDFs.

Frequently Asked Questions

What is the formula for pipe wall thickness?

For internal pressure under ASME B31.3, the pressure design thickness is t = PD / [2(SEW + PY)]. Add the corrosion and other allowances to get tm, then divide by 0.875 if the pipe has a 12.5% mill under-tolerance.

What is mill tolerance, and why divide by 0.875?

Mill tolerance is the permitted manufacturing variation in wall thickness. Common seamless carbon steel pipe can be delivered up to 12.5% thinner than nominal, so the nominal wall is the required thickness divided by 1 − 0.125 = 0.875.

Is corrosion allowance added before or after mill tolerance?

Add the corrosion allowance to the pressure design thickness first to get tm, then apply the mill tolerance to that total. When checking an existing pipe, the reverse view gives the same result: take the mill under-tolerance and the corrosion allowance off the nominal wall and compare what is left with t.

How do I choose the pipe schedule after the calculation?

Pick the next standard nominal wall in ASME B36.10M or B36.19M that is equal to or greater than the required nominal thickness. Then check the allowable pressure at the remaining thickness, and consider fittings and flange availability for that schedule.

Next Step: Check Your Wall Thickness Faster

Pipe wall thickness calculation is straightforward once the inputs are right, and the value comes from repeating it quickly across many lines. Get the Pipe Wall Thickness Calculator Excel Spreadsheet, delivered by email and WhatsApp after purchase, or start with the free sample PDFs. This article gives general guidance with illustrative numbers, so confirm final design with the applicable code edition and your project specification.

Select your currency
INR Indian rupee