**Pipe wall thickness calculation** is one of the important basic activities for every piping engineer. Process plants deal with the fluids which flow inside the pipe at high pressure and temperature. So, the pipe deals with high circumferential pressure which can cause the bursting of the pipe if the pipe thickness is not enough. Hence, **The designers need to find out the required piping thickness as per section “304.1.2 of ASME B31.3” to resist the internal line pressure. **The operation must be leak-free.

In this article, I have simplified the **pipe thickness calculation procedure**. A sample** pipe wall thickness calculation** problem is discussed mentioning the calculation steps. **Process Piping Code ASME B 31.3 is used as the basis for the Pipe thickness calculation**.

## Why is Pipe Thickness Calculation Important?

The minimum required thickness of a pipe must be calculated to ensure

- The selected pipe will be able to withstand the pressure at the design temperature without failure.
- To avoid being over conservative and thus optimize cost.

## Few Important Points required for Pipe thickness Calculation

Before starting **the piping thickness calculation**, the engineer should be aware of the following points:

- Process plants are designed for 20 years or 7200 cycles. (Considering 1 cycle per day; Total number of cycles in 20 years=20*360=7200 cycles)
- Pressure and temperature can vary from line to line and from time to time.
- Fluid could be corrosive and toxic in the system.
- Corrosion allowance for pipe material is decided based on service fluid. Typical values are 3 mm for Carbon Steel and zero mm for stainless steel.
- Mill tolerance for the seamless pipe is 12.50% and 0.3 for the welded pipe.

## How do I Calculate Pipe Thickness?

Let’s consider the following details for the **pipe thickness calculation** of a seamless Carbon Steel pipe.

- MOC (Material of Construction) of the pipe –
**A106 Gr. B** - NPS (Nominal Pipe Size) –
**4”** - Manufacturing type of the pipe (SMLS, EFW, ERW) –
**Seamless (SMLS)** - Design Pressure (PSI) –
**1200 PSIG** - Design Temperature –
**500° F** - Mechanical, corrosion and erosion allowances –
**3 mm** - Mill Tolerance –
**12.50% of the thickness**

## Pipe Wall Thickness Calculation Formula | Equation for Pipe Thickness Calculation

**As per clause 304.1.2 (a) of ASME B 31.3, the internal pressure design thickness for straight pipes with t<D/6 can be calculated using the following formula (Equation (3a):**

Here,

**P: Internal Design Gage Pressure=1200 PSIG as per problem definition**

**D: Outside Diameter of the pipe**

**The equation for the pipe wall thickness is based on the outside diameter of the pipe, rather than the inside diameter. This is because the outside diameter of the pipe is constant, it is independent of the wall thickness. Hence, the pipe wall thickness can directly be calculated easily using the pipe outer diameter.**

The outside diameter has to be taken from the below standards-

**ASME B36.10M:**for ferritic steel (seamless & welded wrought steel pipes).**ASME B36.19M:**for austenitic steel (stainless steel pipes)

So from Fig. 2, D= 114.3 mm

**S: Allowable Stress value of the Pipe Material** (A 106-B) at Design Temperature (**500° F**)

**Refer to Table A-1 (or Table A-1M) of the ASME B31.3** (Fig. 3) for getting the value of the allowable stress. Travel in the horizontal (x) direction for allowable stress value and vertical (y) direction for pipe material, and the match point to get the value (refer to Fig. 3). If required, use interpolation to calculate the middle value.**Note: the value** of the allowable stress in Table A-1 is given in KSI, So we need to convert the value in PSI.

As per Fig. 3, the allowable stress for ASTM A106 Gr. B is 19,000 psi at 500°F.

**E: Quality factor**

**Quality Factors are used in Pressure Design and applied at Longitudinal and Spiral Weld Joints and for Castings. The maximum value of quality factors is 1.0.**

The value of E, Longitudinal Weld Joint Quality Factor, or Casting Quality Factor can be found in **Table A-1A or Table A-1B of the ASME B31.3**. The weld joint factor (E) is 1 for our problem case (Refer to Fig. 4).

**W: Weld Joint Strength Reduction Factor**

As per section 302.3.5(e) of ASME B31.3, **The weld joint strength reduction factor, W, is the ratio of the nominal stress to cause the failure of a weld joint to that of the corresponding base material for an elevated temperature condition of the same duration. It only applies at weld locations in longitudinal or spiral (helical seam) welded piping components.**

**Weld Joint Strength Reduction Factors are used because at elevated temperatures the weld joint creep rupture strength can be lower than the base metal.**

The value of W can be found from Table 302.3.5 of ASME B 31.3 (Refer to Fig. 5) and for our problem the value of W=1

### Y: Values of Coefficient from Table 304.1.1,

**The factor “Y” depends on temperature. At elevated temperatures, the factor Y increases leading to a decrease in the calculated required pipe wall thickness.**

**Refer to Table 304.1.1 of ASME B31.3 for finding the value of Y, **It is Valid for t < D/6 and materials shown below The value of Y may be interpolated for intermediate temperatures. For material A106 Gr. B, Y is given 0.4 (refer to Fig. 6)

## Pipe Thickness Calculation Steps

**Step 1. Put the above values in the equation** **shown in Fig. 1**

**t=(1200* 114.3)/{2(19000*1*1+1200*0.4)}=3.52 mm; Hence calculated thickness (t)= 3.52 mm**

**Step 2. Add the corrosion to the calculated thickness.**

t_{c} = t + c = 3.52 + 3**t _{c }= 6.52 mm**

**Step 3. Add the mill tolerance to the thickness after adding the corrosion value.**

t_{m }= t_{c} + 12.50 % of the pipe thickness**t _{m} =t_{c}/0.875 =6.52/0.875 = 7.45 mm **(This is required thickness)

**Step 4. Check the next Ordering thickness available in ASME B36.10M considering the required thickness.**

**So from Fig. 7, The Ordering thickness is 8.56 mm or Schedule 80.**

**Note:1. **Ordering thickness for seamless pipe will always be the next greater value available from Schedule to schedule.

2. Whereas for welded pipe any next greater value will be the ordering thickness.

3. Extra thickness can be calculated by ordering thickness minus the required thickness = (8.56 – 7.45) = 1.11 mm.

## Use of the Extra thickness available in the pipes

- for calculating the life of a pipe after 20 years.
- For calculating the maximum pressure holding capacity of the pipe.
- For checking extra thickness is sufficient to take care of thinning, if the same pipe is used for manufacturing the bend.
- The extra thickness also minimizes deflection and reduces the number of support.
- To compare with flange pressure holding capacity, to declare pipe is stronger than the flange.

## Parameters Affecting Pipe Thickness

By now you must have understood all the parameters that affect the pipe thickness. The parameters are mentioned below for easy understanding

**Design Pressure:**With an increase in internal design pressure the thickness of a pipe increases.**Design Temperature:**With an increase in the design temperature, the allowable stress value reduces which, in turn, increases the pipe thickness.**Pipe Outer Diameter:**With increase in piping OD the pipe thickness corresponding to same pressure increases.

## Assumptions for Pipe Thickness Calculation

For the above-mentioned pipe thickness calculation steps following ASME B31.3, the following assumptions are made

- The pipe is a thin cylinder and the value of thickness t is less than D/6.
- The value of P/(SE)<0.385
- The pipe is subjected to internal pressure only,
**For external pressure thickness calculation additional parameters need to be considered as mentioned here.**

## Pipe Thickness Calculator

A pipe thickness calculator is a tool that calculates the pipe thickness when all required inputs are supplied. Pipe wall thickness calculators can be developed in form of an application, VB program, or excel sheet program. All equations are programmed inside the utility to help piping professionals to calculate design pipe thickness with ease. A pipe thickness calculator using an excel sheet is attached herewith for your reference.

## Video Tutorial on Pipe Thickness Calculation

Refer to the following video tutorial to further clarify your doubts on Pipe thickness calculation using B31.3

**Still in doubt!! Simply click here and attend this course to clarify all your doubts from industry experts.**

Few more useful Resources for you.

Pipeline wall thickness calculation with example

Meaning of Pipe Schedule / Schedule Numbers?

Piping Layout and Design Basics

how we use the extra wall thickness available for calculating the life of a pipe after 20 years?

what is the relation between the service life (20 years) and cycles (7200 cycles)? and how it affect the original wall thickness calculations?

Hi,

Corrosion allowance is decided based on the service life of the plant, for our sample problem it is taken 3 mm for 20 years or 7200 cycles. If the project required plant life more than 20 years then the corrosion allowance will be taken more as per the number of years.

Therefore, the thickness of the pipe (Considering the same operating condition) for plant life 20 years and plant life 30 years will be different (will be greater for 30 years).

For calculating the life of the pipe after 20 years use the below formula

Life of Pipe after 20 years = (extra thickness available in the pipe)/(corrosion allowance per year)

Where,

extra thickness for our sample problem was 1.11 mm

corrosion per year = 3mm / 20 years = 0.15 mm

So,

Life of the Pipe after 20 years = (1.11)/(0.15) = 7.4 years

what is the relation between the figure 20 years and 7200 cycles?

Best regards

why not selecting 7.92 from chart

as it is not in front of the schedule number.

for seamless pipe, we take the value of the thickness schedule to schedule only. it will be easily available in the market.

For plant piping per B31.3, better to use Scheduled pipes (that is Sch. 40, Std., 80, XS, 160, XXS etc.

For Cross-country pipelines, we use the next thickness of the chart for economic purposes.

What is the basis for corrosion thickness/erosion thickness selection of 3 mm for 20 Years?

Hi,

There is no corrosion allowance exactly specified in ASME B31.3. Corrosion allowances are normally established by the end-user and are somewhat based on industry tradition or practices. 3 mm for CS piping is a common standard.

Humidity, temperature, rain, wind, impurities, metal wet times, and the types of the fluid flowing through pipe have an effect on the corrosion rate. so corrosion allowance may vary from places to places.

The relation between 20 years and 7200 cycles is simple. It assumes one temperature cycle per day (24 hours cycle) and 20 years are approximately 7200 days. Ideally, it should be 7300 cycles.

I will be glad if you can add the calculation criteria for threaded pipes in the calculation. So that all major points will be covered.

hi, can anyone say about non metallic pipe wall thickness calculation

Hello Rehan thanks for the good job and detailed steps, I really love your posts. Pls can somebody learn to be a piping engineer from your webinars if one is coming from another industry like manufacturing although a mechanical engineer who has spent so many years in FMCG. I really love to be professionally relevant even after quitting job so I would prefer going into piping engineering, so. what assistance can the webinar render to me. Thanks.

how to calculate the BWSC pipe thickness?

Can i use the same above formula if the internal pressure of gas is above 250 bar?

Mr Rehan!

Is it necessary to take corrosion allowance for SS piping

For SS Piping Corrosion Allowance is not required to be considered.

Corrosion allowance is 3mm for cs material and for ss material is zero mm

Should we add or subtract the mill tolerance from the calculated thickness? Because this tolerance can go both + and -ve, there is a chance that calculated thickness value may be higher than the procured pipe. Hence it will not have the required thickness for the above mentioned service conditions. isn’t it safe to calculate the thickness by subtracting the mill tolerance from the calculated thickness?

Mill can’t produce the exact dimension from our calculated thickness, as you said the tolerance may go plus or minus while producing pipes, obviously, if the wall thickness goes less than our calculated thickness mean pipe may not withstand/sustain for the 20 years or 7200 cycle. Considering this factor mill tolerance as 12.5% for ferritic steels will give extra wall thickness, so that it will be added from the calculated thickness after adding the corrosion allowances.

why Ordering thickness for seamless pipe will always be the next greater value available from Schedule to schedule, Whereas for welded pipe any next greater value will be the ordering thickness? I mean why for seamless next greater vale not be selected whereas next schedule?

The same question as you. And why we cannot select any next greater value Schedule for seamless ordering thickness? What is the maximum requirement of extra thickness for each pipe size?

Ex: If the extra thickness is below 1mm, could we select another next greater value schedule?

The final calculation of mill tolerance addition is not correct.

If we have have 6.52mm thickness after addition of the corrosion allowance, 12.5% of 6.52mm will be 0.815 and NOT 0.875 ((12.5/100)*6.52)). Addition of 0.815mm (mill tolerance) to 6.52mm will give 7.335mm and NOT the 7.45mm obtained as final answer.

Also, why did you use the mill tolerance to divide the thickness instead of addition of the mill tolerance to the thickness?

We use to weld flange of 150 Lb rating with 106 gr B pipe 40 sch designed to withstand 1200psi..it means we can use even lesser thickness of pipe for general pressure service..

Isnt we should be welding 1500 lbs flanges with with pipe design for 1200 psi