Skip to content
Omnikalc

Pipe wall thickness calculator: ASME B31.3 required thickness of a pipe

Enter the design pressure, the diameter, the allowable stress, the pipe type and the corrosion allowance to get the pressure design thickness, the required nominal thickness and the maximum pressure of the pipe selected.

Updated on
Your inputs
psig

Value out of range

in

Value out of range

psi

Value out of range

in

Value out of range

in

Value out of range

Results

Required nominal thickness (12.5% mill tolerance)

0.1477 in

Pressure design thickness t
0.0667 in
Minimum required thickness t + c
0.1292 in
Maximum allowable pressure of the pipe selected
1,322 psig
Pressure margin of the pipe selected
2.20
Adequate margin on the pressure

The wall thickness of a pipe must resist the internal pressure during its whole life. The pipe wall thickness calculator applies the ASME B31.3 equation to give the pressure design thickness, the minimum and nominal thickness with the corrosion allowance and the mill tolerance, and the maximum pressure of the pipe that you selected.

How the calculation works

  • Enter the design pressure, the outside diameter of the pipe and the allowable stress of the material at the design temperature, from the piping code tables (20,000 psi for A106 grade B at moderate temperature).
  • Select the pipe type, which sets the quality factor E: seamless 1.00, electric resistance welded 0.85, furnace butt welded 0.60.
  • Enter the corrosion allowance and the nominal thickness of the pipe that you plan to use, for example 0.237 in for a 4 in schedule 40 pipe.
  • The calculator applies the pressure design equation of ASME B31.3, t = P D / (2 (S E W + P Y)) with W = 1 and Y = 0.4, adds the allowance, divides by 0.875 for the mill tolerance, and checks the pressure of the pipe selected.

Example

A line of 4.5 in outside diameter at 600 psig uses a seamless steel with S = 20,000 psi, E = 1.00, W = 1 and Y = 0.4. The pressure design thickness is 600 × 4.5 / (2 × (20,000 + 600 × 0.4)) = 0.0667 in. With a 0.0625 in allowance, the minimum is 0.1292 in, and with the 12.5% mill tolerance, the nominal thickness is 0.148 in. A 4 in schedule 40 pipe (0.237 in) has a maximum pressure of 1,322 psig, a margin of 2.20.

Why it matters

The calculator helps process, mechanical and piping engineers, designers and students to choose a schedule for a given pressure, to see the effect of the corrosion allowance and the type of weld, and to check a pipe that already exists. It gives the hand calculation of the code in seconds.

Good to know

Use the allowable stress at the real design temperature, not at room temperature. Add a realistic corrosion allowance for the service and the life of the plant. Round up to the next standard schedule, and remember that a thicker wall has a smaller inside diameter and a higher cost per foot. Check the flanges and the fittings against the same pressure.

The pressure vessel stress calculator covers the thin-wall cylinders, the flange size calculator helps to select the connections, the pipe flow velocity calculator checks the flow and the bolt torque calculator covers the tightening of the joints.

Frequently asked questions

How is the wall thickness of a pipe computed?

The code ASME B31.3 for process piping gives the pressure design thickness of a straight pipe as t = P D / (2 (S E W + P Y)). P is the internal design pressure, D is the outside diameter, S is the allowable stress of the material at the design temperature, E is the quality factor of the longitudinal joint, W is the weld strength reduction factor and Y is a coefficient that is 0.4 for ferritic steels at moderate temperatures.

Why are an allowance and a tolerance added?

The pressure design thickness is the net wall that resists the pressure. A corrosion, erosion or thread allowance c is added to keep this wall during the life of the line. Then the pipe is made with a mill tolerance on the thickness, which is 12.5% under the nominal value for most seamless pipe, so the nominal thickness must be (t + c) / 0.875 to guarantee the minimum. The next standard schedule above the result is then chosen.

What is the quality factor E?

E reflects the type of the longitudinal joint. A seamless pipe has no weld and E = 1.00. An electric resistance welded pipe has E = 0.85 in the basic B31.3 tables, and a furnace butt welded pipe has E = 0.60. Some codes allow a higher factor with extra examination of the weld. A lower factor leads to a thicker wall for the same pressure.

What are the limits of this calculator?

It follows the straight pipe under internal pressure with t less than D/6. It does not include the external pressure, the stresses of the weight and the thermal movement, the bends and miters, the branch connections, the fatigue, the low temperature or the high temperature creep. The code, the material data and the fluid service of the project govern, and an engineer must approve the design.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.