Industry TemplatesFree calculatorPDF, Excel, Word exportOil and Gas

ASME B31.3 Pipe Wall Thickness Calculator

This calculator applies the straight pipe pressure design equation used in ASME B31.3 for process piping. It adds corrosion allowance and the mill under-tolerance so you get the nominal wall to order, not just the theoretical minimum.

Your numbers

MPa

Gauge design pressure. 1 MPa = 10 bar = 145 psi.

mm

NPS 8 is 219.1 mm OD.

MPa

From Table A-1 of B31.3 for your material and temperature.

1.0 for most carbon steel services below the creep range.

mm
%

12.5% is typical for seamless pipe to ASTM A106 or API 5L.

Your results

Minimum nominal wall to order
7.016
Pick the next standard schedule at or above this value.
Pressure design thickness t
3.139
t = P x D / (2 x (S x E x W + P x Y))
Minimum required thickness tm
6.139
Pressure thickness plus allowances.
Ratio t / D
0.0143
The straight-pipe equation applies when t is less than D/6.
Thin wall equation valid (1 = yes)
1

Educational design aid for straight pipe under internal pressure. Check allowable stress, bends, branch reinforcement and code edition against the governing piping code and sign off with a qualified piping engineer.

Save results:

Nominal wall to order vs design pressure

Sweeps Internal design pressure from 0.5 to 10, holding your other inputs fixed.

Automate wall thickness checks from your item master

Optional expert review of how to validate pipe and fitting specs against your ERP item and PO data.

Optional. The tool and every export work without this. No spam.

How to use the calculator

Enter the design pressure and the pipe outside diameter, then the allowable stress S for your material at the design temperature. Choose the longitudinal weld quality factor E and the coefficient Y. Set your corrosion allowance and the mill under-tolerance of the pipe specification. The primary result is the nominal wall you must order so that, after the mill takes its allowed tolerance off, the wall still meets the minimum required thickness. Compare the result with the schedule table for your NPS and choose the next heavier schedule.

The equation behind it

The pressure design thickness for internal pressure is t = P x D / (2 x (S x E x W + P x Y)), valid when t is less than D/6 and no fatigue or unusual stress applies. Minimum required thickness tm adds mechanical, corrosion and erosion allowances. Because pipe is purchased with a manufacturing tolerance, the order thickness is tm divided by (1 minus the tolerance). For seamless carbon steel pipe the common value is 12.5 percent.

  • S is the allowable stress at design temperature, not at ambient.
  • E is the quality factor from the longitudinal weld type.
  • Y changes with material and temperature range.
  • W is the weld strength reduction factor, usually 1 for carbon steel in normal service.

Worked example

For NPS 8 (219.1 mm OD) carbon steel at 4 MPa with S of 138 MPa, E of 1, W of 1 and Y of 0.4, t is about 3.14 mm. With a 3 mm corrosion allowance the minimum required thickness is 6.14 mm. Dividing by 0.875 for the 12.5 percent mill tolerance gives about 7.02 mm. The NPS 8 schedule 40 wall of 8.18 mm covers it, while schedule 20 at 6.35 mm does not.

Common mistakes

The most common error is using the ambient allowable stress instead of the stress at the design temperature, which makes the pipe too thin at hot service. Others are forgetting the mill tolerance, mixing bar and MPa, and applying this straight-pipe equation to bends, tees or reducers, which need their own checks. In the ERP, keep the ordered wall, heat number and test class on the purchase order line so receiving inspection can verify it against the MTR.

Frequently Asked Questions

Does this replace the full B31.3 design check?

No. It covers the straight pipe pressure thickness equation only. Bends, miters, branches, flexibility, occasional loads and fatigue need separate checks in the code. Use this for sizing and quoting, then confirm with a piping engineer.

Which pressure should I enter?

Enter the design pressure at the most severe coincident condition of pressure and temperature, in MPa gauge. Do not use operating pressure unless it equals the design condition. Convert bar by dividing by 10, and psi by dividing by 145.04.

Why does mill tolerance matter?

Pipe to ASTM A106 or API 5L may be delivered up to 12.5 percent below nominal wall. If you size only to the theoretical minimum, a legally acceptable pipe could end up thinner than the design requires.

What if t is more than D/6?

Then the thin wall equation is not strictly valid and the code requires special consideration of theory of failure, fatigue and thermal stress. The calculator flags this in the validity output.

If your engineering and purchasing data sit in the ERP, we can help you wire this check into item master and PO creation so the wall to order is validated before it is bought.