Pipe Wall Thickness Calculation as Per ASME B31.3

1. Introduction

Pipe wall thickness calculation as per ASME B31.3 ensures that piping systems can resist internal pressure without failure. ASME B31.3 Process Piping Code specifies formulas and criteria considering design pressure, temperature, allowable stress, weld joint efficiency, and corrosion allowance. Choosing the correct pipe wall thickness is vital for both safety and cost optimization, as overly thick walls increase material and fabrication costs.

2. Pipe Wall Thickness Formula as per ASME B31.3

For internal pressure design, the required pipe wall thickness is determined by ASME B31.3, Clause 304.1.2:

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

Where:

  • t = required wall thickness (mm or in)
  • P = internal design pressure (MPa or psi) → from process design basis / P&ID
  • D = outside diameter of pipe (mm or in) → from ASME B36.10M or B36.19M
  • S = allowable stress at design temperature → ASME B31.3 Table A-1
  • E = weld joint efficiency → ASME B31.3 Table A-1A/A-1B
  • W = weld strength reduction factor → ASME B31.3 Table 302.3.5
  • Y = coefficient → ASME B31.3 Table 304.1.1 (typically 0.4 for ferritic steels)

3. Corrosion and Erosion Allowance

The calculated thickness t represents the theoretical minimum thickness required for the component based on design pressure, temperature, and mechanical loading. To ensure safe operation over the equipment's expected lifetime, a corrosion allowance (CA) is added to compensate for material loss due to corrosion, erosion, or chemical attack:

t_required = t + CA
  

Typical values: 3 mm for carbon steel, 1.5 mm for stainless steel, with higher values considered for aggressive environments such as sour gas, seawater, or high-velocity fluids that can accelerate erosion. The CA is usually defined in the project design basis or client specifications and may be adjusted based on the expected service life, inspection intervals, and maintenance strategy.

In addition to corrosion allowance, some designs may include an erosion allowance when high-velocity flows, cavitation, or particulate-laden fluids are expected. Proper material selection combined with appropriate CA ensures long-term integrity and reduces the risk of premature failure.

4. Minimum Thickness Requirements

ASME B31.3 requires verification against minimum thickness values for mechanical strength (Clause 304.1.1). Even if the calculated thickness is lower, the selected pipe must not be thinner than the commercially available minimum wall thickness specified in ASME B36.10M / B36.19M. These minimum values ensure adequate strength under operating pressure, temperature, and loading conditions, while also accommodating fabrication tolerances and material variability.

It is important to consider both the calculated design thickness and the corrosion or erosion allowances to determine the final required thickness. Selecting a pipe below the minimum listed thickness can compromise safety, reduce service life, and may not meet code or project requirements.

5. Step-by-Step Pipe Wall Thickness Calculation Example

Example: Consider a carbon steel pipe with the following design data for a process system. This example demonstrates the step-by-step calculation of required pipe wall thickness according to ASME B31.3 Process Piping Code, incorporating corrosion allowance and ensuring compliance with commercial pipe schedules.

  • Design Pressure (P) = 25 bar (2.5 MPa) – obtained from the process design basis or P&ID. This is the maximum operating pressure that the pipe will experience under normal service conditions.
  • Design Temperature = 200°C – specified in the process design conditions. The temperature affects allowable stress values and weld efficiency.
  • Pipe Outside Diameter (D) = 323.9 mm (12” NPS) – selected from ASME B36.10M, which provides standard nominal pipe sizes and outside diameters.
  • Allowable Stress (S) = 138 MPa – obtained from ASME B31.3 Table A-1 for carbon steel at 200°C. The allowable stress represents the maximum stress the material can safely withstand under design temperature.
  • Weld Joint Efficiency (E) = 1.0 – obtained from ASME B31.3 Table A-1A for seamless pipes. This factor accounts for the reduction in strength due to welded joints. For seamless pipes, E = 1.0.
  • Weld Strength Reduction Factor (W) = 1.0 – referenced from ASME B31.3 Table 302.3.5 for carbon steel at 200°C. This factor adjusts for any potential loss in strength at the welded joint.
  • Coefficient (Y) = 0.4 – taken from ASME B31.3 Table 304.1.1. Y accounts for the influence of internal pressure on the pipe thickness calculation and is specific to material and temperature.
  • Corrosion Allowance (CA) = 3 mm – specified in the project specification or design basis to account for anticipated metal loss during service due to corrosion or erosion.

Step 1: Calculate pipe thickness without corrosion allowance

Using the ASME B31.3 thickness equation for straight, thin-walled pipes under internal pressure:

t = (P × D) / (2 × (S × E × W + P × Y))
t = (2.5 × 323.9) / (2 × (138 × 1 × 1 + 2.5 × 0.4))
t = 809.75 / 278 ≈ 2.91 mm
  

Here, t represents the minimum theoretical thickness required to withstand the design pressure at the specified temperature, without accounting for corrosion or erosion.

Step 2: Add corrosion allowance

t_required = t + CA
t_required = 2.91 + 3 = 5.91 mm
  

Adding the corrosion allowance ensures that the pipe will maintain sufficient wall thickness throughout its intended service life, even with metal loss due to chemical attack, abrasion, or erosion.

Step 3: Select commercial pipe schedule

Using ASME B36.10M, locate the standard wall thickness for a 12” NPS pipe. For example, a 12” NPS pipe with Schedule 20 has an actual wall thickness of 6.35 mm, which is greater than the required thickness of 5.91 mm calculated above. Therefore, Schedule 20 is acceptable for this service.

It is important to verify that the selected schedule also satisfies minimum wall thickness requirements from ASME B31.3 Clause 304.1.1 and any project-specific limits. This ensures both code compliance and safe operation under pressure, temperature, and corrosive conditions.

Note: All data points, including design pressure, temperature, material properties, and corrosion allowance, should be clearly documented in the process design basis, P&ID, or client specifications. Using accurate reference tables from ASME codes ensures the calculated thickness is safe, practical, and compliant with engineering standards.

6. Factors Affecting Pipe Wall Thickness

Several factors influence the required wall thickness of a pipe. Understanding these factors is crucial for safe and efficient piping design, ensuring compliance with ASME B31.3 and project specifications.

  • Design Pressure: The internal pressure of the system directly impacts the minimum wall thickness. Higher operating pressures generate greater hoop stress in the pipe, requiring thicker walls to maintain structural integrity and prevent failure. Design pressure should always be obtained from the process design basis or P&ID.
  • Design Temperature: Elevated temperatures can reduce the allowable stress of the pipe material. ASME B31.3 provides temperature-dependent stress values, and higher temperatures may necessitate thicker walls to compensate for material strength reduction. Additionally, high temperature may influence weld joint efficiency and creep considerations for long-term operation.
  • Material Properties: Different materials have different allowable stresses and mechanical properties. For example, carbon steel and stainless steel have different stress limits at the same temperature. Material selection is often based on the type of fluid, temperature, corrosion resistance, and code requirements.
  • Corrosion Allowance: Corrosion or erosion can gradually reduce wall thickness over time. The corrosion allowance (CA) is added to the calculated thickness to ensure the pipe maintains sufficient strength throughout its service life. CA depends on the fluid type, environment (e.g., seawater, sour gas), and expected operating conditions, and is usually specified in the project design basis.
  • Fabrication Method: The pipe manufacturing process affects the weld joint efficiency (E value). Seamless pipes typically have an E value of 1.0, while welded pipes may have a lower E value depending on the welding method and inspection requirements. This factor directly influences the required wall thickness to maintain code compliance and ensure joint integrity.

By considering all these factors collectively—pressure, temperature, material properties, corrosion allowance, and fabrication method—engineers can accurately determine the required pipe wall thickness that ensures safety, reliability, and longevity of the piping system.

7. Compliance and Good Practices

Following code requirements and engineering best practices is essential to ensure the safety, reliability, and longevity of piping systems. Key considerations include:

  • Use the latest editions of ASME B31.3 for piping design and ASME Section II for accurate material properties, including allowable stresses at operating temperatures.
  • Verify calculated wall thickness against the nominal pipe schedules listed in ASME B36.10M / B36.19M to ensure the selected pipe is commercially available and meets minimum thickness requirements.
  • Consider external loads such as pipe weight, insulation, wind, seismic activity, and other forces in addition to internal pressure when confirming pipe thickness and support design.
  • Document all assumptions, references, and calculations in the design basis or project documentation. This ensures traceability, facilitates review, and supports safe operation over the system’s life.

Adhering to these practices not only ensures compliance with codes and standards but also minimizes the risk of failure and supports maintainability and inspection planning throughout the piping system’s operational life.

8. Conclusion

Pipe wall thickness calculation as per ASME B31.3 is essential for designing safe and economical piping systems. By correctly applying the code formula, incorporating the appropriate corrosion allowance, and selecting the proper pipe schedule, engineers ensure compliance with standards, maintain system safety, and achieve cost efficiency in construction and operation.

Related Content

Download Pipe Wall Calculation Excel Sheet

To simplify your calculations, visit our Downloads Page where you can access the Pipe Minimum Thickness Calculation Excel sheet along with other useful engineering templates. This tool helps you quickly compute wall thickness based on design pressure, temperature, material, and corrosion allowance, following ASME B31.3 guidelines.