Study guide
4.1 Wall Thickness Calculations for Pipe under Pressure (ASME B31.3)
API 570 Piping Inspector Exam
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Piping Inspection Planning & Circuits
1.1 Inspection Planning, History, and Safety 1.2 Piping Circuitization and Circuit Design 1.3 Condition Monitoring Locations (CMLs) & Coverage
2 Chapter 2: Inspection Intervals & Extent of Inspection
2.1 Piping Classifications (Classes 1, 2, 3, and 4) 2.2 Thickness Inspection Intervals (Half-Life & Visual Rules) 2.3 Owner-User QA and Roles (Inspector, Engineer, Examiner)
3 Chapter 3: Calculations & Remaining Life
3.1 Corrosion Rates (Short-Term, Long-Term, and Initial Estimates) 3.2 Remaining Life and Retirement Thickness Calculations 3.3 MAWP Calculations for In-Service Piping
4 Chapter 4: ASME Codes for Piping Design
4.1 Wall Thickness Calculations for Pipe under Pressure (ASME B31.3) 4.2 Flange Ratings & P-T Limits (ASME B16.5) 4.3 Pressure & Leak Testing Rules (Hydrostatic vs. Pneumatic) 4.4 Weld Joint Quality Factors (Ej) and Casting Quality Factors (Ec) 4.5 Impact Testing, MDMT Exemption, and Charpy Requirements 4.6 Thermal Expansion Calculations (ASME B31.3 Appendix C) 4.7 Minimum Required Thickness of Permanent Blanks
5 Chapter 5: Nondestructive Examination (NDE)
5.1 Visual, Penetrant, and Magnetic Testing (VT, PT, MT) per ASME Sec V 5.2 Radiographic and Ultrasonic Testing (RT, UT) per ASME Sec V 5.3 Examiner Selection, Calibrations, and Acceptance Standards 5.4 Leak Testing per ASME Section V Article 10
6 Chapter 6: Welding Procedures & Qualifications
6.1 Reviewing WPS and PQR per ASME Section IX 6.2 Welder Performance Qualification (WPQ) and Limits 6.3 Preheating & PWHT Rules and Controls 6.4 Welding Processes, Inspection, and Metallurgy (API RP 577)
7 Chapter 7: Valves, Components, Materials & PRDs
7.1 Piping Components and Valves (API RP 574) 7.2 Positive Material Identification (PMI) (API RP 578) 7.3 Pressure Relieving Devices (PRDs) (API RP 576)
8 Chapter 8: Damage Mechanisms & Repairs
8.1 Corrosion Under Insulation (CUI) and Ambient Mechanisms 8.2 Process-Driven Damage Mechanisms (API RP 571) 8.3 Temporary and Permanent Repair Methods (ASME PCC-2 & API 570) 8.4 Soil Corrosion, Galvanic Corrosion, and Boiler Water Condensate Corrosion 8.5 Piping Rerating and Alterations (API 570) 8.6 Inspection Records, Reports, and Documentation 8.7 Amine/Caustic SCC, HCl, Sour Water, and MIC (API RP 571)
4.1 Wall Thickness Calculations for Pipe under Pressure (ASME B31.3)
Key Takeaways Explain This Topic AI
ASME B31.3 provides the formula for pressure design thickness (t), which is baseline for API 570 retirement thickness.
The minimum required thickness (tm) is the design thickness plus mechanical and corrosion allowances (tm = t + c).
Seamless pipe has a quality factor (E) of 1.00, whereas welded pipes (ERW/continuous) range from 0.60 to 0.85.
Mill tolerance of 12.5% is applied only to new design and purchase, and is neglected for in-service retirement evaluations.
Calculations must always use the actual outside diameter (D) rather than the Nominal Pipe Size (NPS).
Last updated: July 2026
4.1 Wall Thickness Calculations for Pipe under Pressure (ASME B31.3)
In the field of in-service piping inspection, the American Petroleum Institute (API) 570 code relies heavily on construction codes for structural engineering criteria. For process piping, the primary design reference is ASME B31.3: Process Piping . As a piping inspector, one of your most critical responsibilities is evaluating whether a pipe segment that has experienced corrosion, erosion, or other forms of wall loss still possesses sufficient thickness to safely contain its operating pressure. To perform this assessment, you must understand the equations used to calculate the minimum required thickness ( t m t_m t m ) and the design thickness ( t t t ), as well as how to interpret the variables defined by ASME B31.3.
The Design Thickness and Minimum Required Thickness Formulas
ASME B31.3 provides a specific formula for calculating the design thickness ( t t t ) of a straight pipe segment under internal pressure. This formula is derived from the Barlow equation for hoop stress but is modified to account for the non-uniform stress distribution across a thick pipe wall.
The formula for the internal pressure design thickness ( t t t ) is: t = P ⋅ D 2 ⋅ ( S ⋅ E ⋅ W + P ⋅ Y ) t = \frac{P \cdot D}{2 \cdot (S \cdot E \cdot W + P \cdot Y)} t = 2 ⋅ ( S ⋅ E ⋅ W + P ⋅ Y ) P ⋅ D
Where:
P P P = Internal design gage pressure, in psi (or kPa).
D D D = Outside diameter of the pipe, in inches (or mm).
S S S = Allowable stress value for the pipe material at the design temperature, in psi (or kPa), obtained from ASME B31.3 Appendix A, Table A-1.
E E E = Longitudinal weld joint quality factor, obtained from ASME B31.3 Table A-1A or A-1B.
W W W = Weld joint strength reduction factor, defined in ASME B31.3 Section 302.3.5(e).
Y Y Y = Coefficient Y, obtained from ASME B31.3 Table 304.1.1.
Once the design thickness ( t t t ) is calculated, you must determine the minimum required thickness ( t m t_m t m ). The minimum required thickness is the thickness that must be maintained in service, accounting for any structural allowances and environmental degradation. The formula is: t m = t + c t_m = t + c t m = t + c
Where:
t m t_m t m = Minimum required thickness, in inches (or mm).
c c c = The sum of mechanical allowances plus corrosion and erosion allowances. Mechanical allowances include thread depth ( h h h ) for threaded pipe, or groove depth for grooved mechanical joints.
Detailed Variable Analysis
To correctly apply the ASME B31.3 formulas on the API 570 exam, you must understand the rules and tables governing each variable:
1. Pipe Outside Diameter ( D D D )
For all design calculations, you must use the actual outside diameter ( D D D ) of the pipe, not the Nominal Pipe Size (NPS). For example:
For NPS 2, the actual OD is 2.375 inches .
For NPS 4, the actual OD is 4.500 inches .
For NPS 8, the actual OD is 8.625 inches .
For NPS 10, the actual OD is 10.750 inches .
For NPS 12, the actual OD is 12.750 inches .
For NPS 14 and larger, the actual OD is equal to the NPS (e.g., NPS 14 has an OD of 14.000 inches ).
Using the NPS value instead of the actual OD in your calculations is a common exam trap that will lead to an incorrect answer.
2. Allowable Stress ( S S S )
Allowable stress values are determined by the material grade and the design temperature. These values are looked up in ASME B31.3 Table A-1. As temperature increases, the allowable stress decreases due to the reduction in the material's yield and tensile strength. For carbon steel (e.g., ASTM A106 Grade B), the allowable stress is typically 20 , 000 psi 20,000\text{ psi} 20 , 000 psi from − 20 ∘ F -20^\circ\text{F} − 2 0 ∘ F up to 400 ∘ F 400^\circ\text{F} 40 0 ∘ F , and then begins to drop (e.g., 17 , 300 psi 17,300\text{ psi} 17 , 300 psi at 650 ∘ F 650^\circ\text{F} 65 0 ∘ F ).
3. Joint Quality Factor ( E E E )
The joint quality factor ( E E E ) accounts for the method used to manufacture the pipe and weld its longitudinal seam. Seamless pipe has no weld joint, meaning there is no weak point, resulting in a factor of 1.00 1.00 1.00 . Welded pipes have factors ranging from 0.60 0.60 0.60 to 1.00 1.00 1.00 depending on the weld type and the level of nondestructive examination (NDE) performed:
- Pipe Type and Manufacturing Process Joint Quality Factor ( E E E )
- Seamless (e.g., ASTM A106 Gr. B) 1.00
- Electric Fusion Welded (EFW) with 100% Radiography 1.00
- Electric Resistance Welded (ERW) (e.g., ASTM A53 Gr. B ERW) 0.85
- Electric Fusion Welded (EFW) with Spot Radiography 0.85
- Electric Fusion Welded (EFW) with No Radiography 0.70
- Furnace Butt Welded (Continuous Weld) (e.g., ASTM A53 Type F) 0.60
- 4. Weld Joint Strength Reduction Factor ( W W W )
The factor W W W accounts for the long-term creep strength reduction that occurs in weldments at elevated temperatures. At lower temperatures (under 900 ∘ F 900^\circ\text{F} 90 0 ∘ F or 482 ∘ C 482^\circ\text{C} 48 2 ∘ C for carbon steel), welds do not experience creep degradation, so W = 1.00 W = 1.00 W = 1.00 . At higher temperatures, W W W decreases. On the API 570 exam, unless high-temperature creep conditions are explicitly stated, W W W is assumed to be 1.00 1.00 1.00 .
5. Coefficient Y Y Y
Coefficient Y Y Y adjusts the stress distribution model for thin-walled versus thick-walled piping. For typical process piping operating at moderate temperatures, Y Y Y values are looked up in Table 304.1.1:
Material Group ≤ 900 ∘ F \le 900^\circ\text{F} ≤ 90 0 ∘ F ( 482 ∘ C 482^\circ\text{C} 48 2 ∘ C ) 950 ∘ F 950^\circ\text{F} 95 0 ∘ F 1000 ∘ F 1000^\circ\text{F} 100 0 ∘ F ≥ 1150 ∘ F \ge 1150^\circ\text{F} ≥ 115 0 ∘ F
- Ferritic Steels (Carbon & Low Alloy) 0.4 0.5 0.7 0.7
- Austenitic Steels (Stainless) 0.4 0.4 0.4 0.5
- 6. Mechanical and Corrosion Allowance ( c c c )
The allowance c c c is the sum of all thickness reductions that must be accommodated:
Corrosion/Erosion Allowance : The depth of material expected to be lost over the design life of the system.
Thread Depth ( h h h ) : If the pipe is threaded, the metal cut away by threading must be added. For standard NPT threads, this depth is typically:
- NPS 1/2 to 3/4: 0.0571 inches
- NPS 1 to 2: 0.0696 inches
- NPS 2-1/2 to 4: 0.1000 inches
If the pipe is joined by welded fittings, the mechanical allowance is zero ( c = corrosion allowance c = \text{corrosion allowance} c = corrosion allowance ).
Mill Tolerance and Nominal Pipe Schedule Selection
When new pipe is ordered, manufacturers are permitted a manufacturing tolerance (mill tolerance) to account for slight variations in the extrusion or rolling process. For seamless pipe, this tolerance is − 12.5 % -12.5\% − 12.5% . Therefore, a new pipe might be delivered with a wall thickness that is 12.5% thinner than its nominal thickness.
To ensure the pipe never falls below the minimum required thickness ( t m t_m t m ), the calculated t m t_m t m must be divided by 0.875 0.875 0.875 (which is 1.00 − 0.125 1.00 - 0.125 1.00 − 0.125 ) to determine the required nominal wall thickness ( t n o m t_{nom} t n o m ): t n o m = t m 0.875 t_{nom} = \frac{t_m}{0.875} t n o m = 0.875 t m
Once t n o m t_{nom} t n o m is calculated, the designer selects the next thicker standard pipe schedule (e.g., Schedule 40, Schedule 80, Schedule 160) from ASME B36.10M.
Critical In-Service Inspection Rule
For the API 570 exam, you must remember a crucial distinction: Mill tolerance is only used when designing and purchasing new pipe. When evaluating an in-service piping system that is already installed, you do not apply the 12.5% mill tolerance. The retirement thickness (the point at which the pipe must be replaced or derated) is simply the calculated design thickness t t t (plus any thread depth).
Worked Example: NPS 8 Piping Calculation
Let's calculate the required thickness for a new process piping line with the following parameters:
- Nominal Pipe Size : NPS 8 (actual OD, D = 8.625 inches D = 8.625\text{ inches} D = 8.625 inches )
- Pipe Material : ASTM A106 Grade B Seamless ( E = 1.00 E = 1.00 E = 1.00 )
- Design Pressure ( P P P ) : 800 psig 800\text{ psig} 800 psig
- Design Temperature : 500 ∘ F 500^\circ\text{F} 50 0 ∘ F
Allowable Stress ( S S S ) at 500 ∘ F 500^\circ\text{F} 50 0 ∘ F : 20 , 000 psi 20,000\text{ psi} 20 , 000 psi (from ASME B31.3 Table A-1)
Weld Joint Factor ( W W W ) : 1.00 1.00 1.00
Coefficient Y Y Y : 0.4 0.4 0.4 (ferritic steel at 500 ∘ F ≤ 900 ∘ F 500^\circ\text{F} \le 900^\circ\text{F} 50 0 ∘ F ≤ 90 0 ∘ F )
- Corrosion Allowance : 0.125 inches 0.125\text{ inches} 0.125 inches (1/8 inch)
- Joint Type : Butt-welded (no threads, mechanical allowance = 0.00 inches 0.00\text{ inches} 0.00 inches )
Step 1: Calculate the Pressure Design Thickness ( t t t ) t = P ⋅ D 2 ⋅ ( S ⋅ E ⋅ W + P ⋅ Y ) t = \frac{P \cdot D}{2 \cdot (S \cdot E \cdot W + P \cdot Y)} t = 2 ⋅ ( S ⋅ E ⋅ W + P ⋅ Y ) P ⋅ D t = 800 ⋅ 8.625 2 ⋅ ( 20000 ⋅ 1.00 ⋅ 1.00 + 800 ⋅ 0.4 ) t = \frac{800 \cdot 8.625}{2 \cdot (20000 \cdot 1.00 \cdot 1.00 + 800 \cdot 0.4)} t = 2 ⋅ ( 20000 ⋅ 1.00 ⋅ 1.00 + 800 ⋅ 0.4 ) 800 ⋅ 8.625 t = 6900 2 ⋅ ( 20000 + 320 ) = 6900 2 ⋅ 20320 t = \frac{6900}{2 \cdot (20000 + 320)} = \frac{6900}{2 \cdot 20320} t = 2 ⋅ ( 20000 + 320 ) 6900 = 2 ⋅ 20320 6900 t = 6900 40640 ≈ 0.1698 inches t = \frac{6900}{40640} \approx 0.1698\text{ inches} t = 40640 6900 ≈ 0.1698 inches
Step 2: Calculate the Minimum Required Thickness ( t m t_m t m ) t m = t + c = 0.1698 + 0.125 = 0.2948 inches t_m = t + c = 0.1698 + 0.125 = 0.2948\text{ inches} t m = t + c = 0.1698 + 0.125 = 0.2948 inches
Step 3: Calculate the Required Nominal Wall Thickness ( t n o m t_{nom} t n o m ) t n o m = t m 0.875 = 0.2948 0.875 ≈ 0.3369 inches t_{nom} = \frac{t_m}{0.875} = \frac{0.2948}{0.875} \approx 0.3369\text{ inches} t n o m = 0.875 t m = 0.875 0.2948 ≈ 0.3369 inches
Step 4: Select the Pipe Schedule
Referring to standard pipe dimension tables for NPS 8:
Schedule 40 nominal wall thickness is 0.322 inches .
Schedule 80 nominal wall thickness is 0.500 inches .
Since the required nominal thickness is 0.3369 inches 0.3369\text{ inches} 0.3369 inches , Schedule 40 is insufficient. You must specify Schedule 80 pipe for this installation.
Common Exam Traps to Avoid
Inside Diameter (ID) Formula Confusion : If the exam question provides the pipe's inside diameter ( d d d ) instead of the outside diameter ( D D D ), you cannot use the standard formula directly. You must use the inside diameter formula: t = P ( d + 2 c ) 2 ( S ⋅ E ⋅ W − P ( 1 − Y ) ) t = \frac{P(d + 2c)}{2(S \cdot E \cdot W - P(1 - Y))} t = 2 ( S ⋅ E ⋅ W − P ( 1 − Y )) P ( d + 2 c )
Applying Mill Tolerance to In-Service Pipe : The exam may ask you to find the "retirement thickness" of an existing corroded pipe. Do not divide the thickness by 0.875. The retirement thickness is simply t t t (or t + thread depth t + \text{thread depth} t + thread depth if threaded).
Incorrect OD for Large Pipes : Remember that NPS 12 has an OD of 12.75 inches, but NPS 14 has an OD of 14.00 inches. Double-check your dimensions.