Study guide

3.3 MAWP Calculations for In-Service Piping

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)

3.3 MAWP Calculations for In-Service Piping

Key Takeaways Explain This Topic AI

Maximum Allowable Working Pressure (MAWP) for in-service piping uses the Barlow formula: 2 S E t / D 2 S E t / D 2 SEt / D .

The thickness ( t t t ) used in the in-service MAWP formula must be adjusted to account for corrosion before the next inspection: t = t a c t u a l − 2 ( C R ) ( I n e x t ) t = t_{actual} - 2(CR)(I_{next}) t = t a c t u a l ​ − 2 ( CR ) ( I n e x t ​ ) .

The factor of 2 in the thickness adjustment formula is derived from the half-life rule, ensuring safety through the entire next interval.

Piping system MAWP is governed by the 'weakest link' rule, limited by flanges, valves, fittings, or design temperatures.

Rerating a piping system (changing MAWP or temperature) is considered an alteration requiring engineering approval, code calculations, and potentially a new pressure leak test.

Last updated: July 2026

3.3 MAWP Calculations for In-Service Piping

The Maximum Allowable Working Pressure (MAWP) of a piping system is the maximum internal pressure permitted in the system for continuous operation at the design temperature. Unlike the original design pressure established during construction, the in-service MAWP must be periodically recalculated by the inspector or piping engineer to reflect the actual corroded state of the piping. Evaluating the in-service MAWP ensures that the pipe wall remains thick enough to contain the operating pressure safely, taking into account future metal loss expected before the next scheduled inspection.

The In-Service MAWP Formula (Barlow's Equation)

API 570 allows the use of the simplified Barlow's formula to calculate the MAWP of in-service piping systems. The formula is written as: M A W P = 2 S E t D MAWP = \frac{2 S E t}{D} M A W P = D 2 SEt ​

Where:

M A W P MAWP M A W P is the Maximum Allowable Working Pressure, in pounds per square inch (psi) or megapascals (MPa).

S S S is the allowable stress value for the pipe material at the design temperature, in psi or MPa, as specified in the applicable construction code (e.g., ASME B31.3 Table A-1).

E E E is the longitudinal weld joint quality factor (or weld joint efficiency), which ranges from 0.60 0.60 0.60 to 1.00 1.00 1.00 depending on the pipe fabrication method and radiography.

t t t is the thickness used for in-service MAWP design, in inches or millimeters.

D D D is the nominal outside diameter of the pipe, in inches or millimeters.

How Thickness (t) is Defined for In-Service MAWP

A common mistake among candidates is using the actual measured thickness ( t a c t u a l t_{actual} t a c t u a l ​ ) directly in the MAWP formula. To ensure safety over the next operating period, the thickness used in the calculation must be adjusted to account for the corrosion that will occur before the next inspection.

API 570 defines the thickness ( t t t ) for in-service MAWP calculations as: t = t a c t u a l − 2 ( C R ) ( I n e x t ) t = t_{actual} - 2(CR)(I_{next}) t = t a c t u a l ​ − 2 ( CR ) ( I n e x t ​ )

Where:

t a c t u a l t_{actual} t a c t u a l ​ is the actual thickness measured at the CML, in inches or millimeters.

C R CR CR is the controlling corrosion rate, in inches/year or millimeters/year.

I n e x t I_{next} I n e x t ​ is the interval to the next scheduled thickness inspection, in years.

The Logic Behind the "2" Factor

Why does the formula subtract twice the estimated corrosion loss? This factor is tied directly to the half-life rule. Recall that the thickness inspection interval ( I n e x t I_{next} I n e x t ​ ) is set at half the remaining life ( R L / 2 RL / 2 R L /2 ). If the piping is inspected at the maximum allowed half-life interval, the time to reach its retirement thickness ( t m i n t_{min} t min ​ ) is equal to 2 ⋅ I n e x t 2 \cdot I_{next} 2 ⋅ I n e x t ​ . Over this remaining life period, the estimated metal loss is: Metal Loss = C R ⋅ R L = C R ⋅ 2 ( I n e x t ) \text{Metal Loss} = CR \cdot RL = CR \cdot 2(I_{next}) Metal Loss = CR ⋅ R L = CR ⋅ 2 ( I n e x t ​ )

Subtracting 2 ( C R ) ( I n e x t ) 2(CR)(I_{next}) 2 ( CR ) ( I n e x t ​ ) from t a c t u a l t_{actual} t a c t u a l ​ effectively reduces the measured thickness down to the minimum required thickness ( t m i n t_{min} t min ​ ). If the calculated MAWP using this corroded thickness is greater than or equal to the design operating pressure, the piping is safe to operate at that pressure for the duration of the next inspection interval.

Allowable Stress and Temperature Ratings

The allowable stress ( S S S ) of the piping material is a function of temperature. As the operating temperature of the piping system increases, the mechanical strength of the metal decreases, resulting in a lower allowable stress. For example, ASTM A106 Grade B carbon steel has an allowable stress of:

20 , 000 psi 20,000\\ \text{psi} 20 , 000 psi from − 20 ∘ F -20^\circ\text{F} − 2 0 ∘ F to 400 ∘ F 400^\circ\text{F} 40 0 ∘ F

  • 18 , 900 psi 18,900\\ \text{psi} 18 , 900 psi at 500 ∘ F 500^\circ\text{F} 50 0 ∘ F
  • 17 , 300 psi 17,300\\ \text{psi} 17 , 300 psi at 600 ∘ F 600^\circ\text{F} 60 0 ∘ F
  • 14 , 300 psi 14,300\\ \text{psi} 14 , 300 psi at 700 ∘ F 700^\circ\text{F} 70 0 ∘ F

Therefore, if the piping system's operating temperature is increased, the allowable stress must be downgraded, which in turn reduces the calculated MAWP.

  • Parameter Impact of Temperature Elevation Impact on Calculated MAWP
  • Allowable Stress ( S S S ) Decreases Decreases
  • Flange Rating (ASME B16.5) Decreases Decreases
  • Corrosion Rate ( C R CR CR ) Increases (typically) Decreases (due to greater subtraction)
  • Weld Joint Quality Factors (E)

The weld joint efficiency factor ( E E E ) accounts for the type of longitudinal weld seam and the degree of non-destructive testing performed during manufacturing. Some common joint efficiency values from ASME B31.3 include:

  • Seamless Pipe (e.g., ASTM A106): E = 1.00 E = 1.00 E = 1.00
  • Electric Resistance Welded (ERW) (e.g., ASTM A53 Gr. B ERW): E = 0.85 E = 0.85 E = 0.85
  • Furnace Butt-Welded : E = 0.60 E = 0.60 E = 0.60
  • Double-Welded Spiral Seam : E = 0.85 E = 0.85 E = 0.85

Forgetting to apply the joint efficiency or using 1.00 1.00 1.00 for a welded pipe is a major source of calculation errors on the API 570 exam.

The Weakest Link Rule (System MAWP)

Under API 570, the MAWP of an entire piping system is limited by the weakest component in the system. The inspector must not only calculate the MAWP of the straight pipe wall but must also verify the pressure-temperature ratings of other components, such as:

ASME B16.5 Flanges : The rating class (e.g., Class 150, 300, 600) and material group determine the maximum pressure a flange can contain at a specific temperature.

Valves and Fittings : Must comply with ASME B16.34 or manufacturer pressure ratings.

Branch Connections and Weldolets : Must be evaluated for reinforcement limits.

If the pipe wall calculation yields an MAWP of 850 psi 850\\ \text{psi} 850 psi , but the system contains a Class 150 carbon steel flange rated for 285 psi 285\\ \text{psi} 285 psi at ambient temperature, the MAWP of the entire piping system must be restricted to 285 psi 285\\ \text{psi} 285 psi .

Rerating Requirements

If the calculated MAWP is lower than the current design pressure of the system, the piping system must be derated (or rerated to lower values). API 570 Section 8.11 outlines strict requirements for rerating piping systems. Rerating is considered an alteration and requires:

Calculations performed by a piping engineer or the inspector.

A leak test (pressure test) if the new pressure rating exceeds the original test pressure.

Approval from the piping engineer and the authorized inspector.

Documentation verifying that all components (valves, flanges, fittings) are rating-compatible with the new pressure-temperature design.

The piping system must be tagged, and the records updated to reflect the new MAWP.

Worked Calculation Example

Calculate the in-service MAWP for a carbon steel piping system (ASME B31.3) with the following details:

  • Pipe Material : ASTM A53 Grade B ERW ( E = 0.85 E = 0.85 E = 0.85 )
  • Nominal Pipe Size : NPS 8 ( D = 8.625 in. D = 8.625\\ \text{in.} D = 8.625 in. )

Design Temperature : 400 ∘ F 400^\circ\text{F} 40 0 ∘ F (Allowable stress S = 20 , 000 psi S = 20,000\\ \text{psi} S = 20 , 000 psi )

Actual Measured Thickness ( t a c t u a l t_{actual} t a c t u a l ​ ) : 0.280 in. 0.280\\ \text{in.} 0.280 in.

  • Controlling Corrosion Rate ( C R CR CR ) : 0.010 in./yr 0.010\\ \text{in./yr} 0.010 in./yr
  • Next Inspection Interval ( I n e x t I_{next} I n e x t ​ ) : 5.0 years 5.0\\ \text{years} 5.0 years

Step 1: Calculate thickness ( t t t ) to use in the MAWP formula : t = t a c t u a l − 2 ( C R ) ( I n e x t ) t = t_{actual} - 2(CR)(I_{next}) t = t a c t u a l ​ − 2 ( CR ) ( I n e x t ​ ) t = 0.280 in. − 2 ( 0.010 in./yr ⋅ 5 years ) t = 0.280\ \text{in.} - 2(0.010\ \text{in./yr} \cdot 5\ \text{years}) t = 0.280 in. − 2 ( 0.010 in./yr ⋅ 5 years ) t = 0.280 in. − 0.100 in. = 0.180 in. t = 0.280\ \text{in.} - 0.100\ \text{in.} = 0.180\ \text{in.} t = 0.280 in. − 0.100 in. = 0.180 in.

Step 2: Calculate the pipe wall MAWP : M A W P = 2 S E t D = 2 ⋅ 20 , 000 psi ⋅ 0.85 ⋅ 0.180 in. 8.625 in. MAWP = \frac{2 S E t}{D} = \frac{2 \cdot 20,000\ \text{psi} \cdot 0.85 \cdot 0.180\ \text{in.}}{8.625\ \text{in.}} M A W P = D 2 SEt ​ = 8.625 in. 2 ⋅ 20 , 000 psi ⋅ 0.85 ⋅ 0.180 in. ​ M A W P = 6 , 120 8.625 ≈ 709.6 psi MAWP = \frac{6,120}{8.625} \approx 709.6\ \text{psi} M A W P = 8.625 6 , 120 ​ ≈ 709.6 psi

If all flanges and valves in the system are Class 300 (rated for 740 psi 740\\ \text{psi} 740 psi at 400 ∘ F 400^\circ\text{F} 40 0 ∘ F ), then the weakest link is the pipe wall itself, and the system MAWP is 709 psi 709\\ \text{psi} 709 psi (rounded down).

Loading diagram... Weakest Link Determination for Piping System MAWP