API 570 is the American Petroleum Institute's piping inspection code: it sets the rules for inspecting, rating, repairing and altering metallic process piping once it is in service. These course notes explain what the code requires and how to work through its calculations, for inspectors preparing for the API 570 certification exam and for anyone who plans or carries out piping inspection.
The notes are a study aid, not a substitute for the code. Use the current edition bought from API, and for the exam, study exactly the editions and sections listed in API's body of knowledge for your exam window. Where the notes give numbers from the code, check them against your edition.
On this page:
- What API 570 covers
- The documents to know
- Key terms
- Piping service classes
- Inspection intervals
- Condition monitoring locations and injection points
- Corrosion rate, remaining life and the next inspection
- Required thickness and MAWP
- Pressure testing
- Repairs, alterations and rerating
- Damage mechanisms in piping
- Inspection methods for piping
- Welding topics on the exam
- Preparing for the API 570 exam
- Calculators and resources
- Frequently asked questions
What API 570 covers
API 570 applies to metallic piping that has been placed in service in petroleum refineries, chemical and petrochemical plants and similar process facilities. Construction codes such as ASME B31.3 govern how piping is designed and built; API 570 takes over once it is running, and covers:
- planning inspections, with intervals and methods based on the service, the damage expected and the condition found;
- evaluating inspection data: corrosion rates, remaining life and the thickness the pipe must keep;
- rating piping for its maximum allowable working pressure (MAWP) and rerating it when conditions change;
- repairs and alterations, including welding on piping that has been in service.
The owner/user of the plant is responsible for the inspection programme. API 570 then names the roles that make it work: the authorized piping inspector, who plans and evaluates inspections and authorises repairs (the person API certifies through the exam); the piping engineer, who handles calculations, alterations and rerating; the examiner, who carries out NDE to the inspector's instructions; and the repair organisation, which does the work. The code also lets the owner/user apply it optionally to some lower-risk categories of piping, so check its scope section for what is in and out at your site.
The documents to know
API 570 does not stand alone. The exam body of knowledge normally lists a group of related documents, typically including these (check the current list for your exam):
| Document | What it is for |
|---|---|
| API 570 | The piping inspection code itself: intervals, evaluation, rating, repair and alteration |
| API 574 | Inspection practices for piping components: what to look for, where and how, plus tables of structural minimum thickness |
| API 571 | Damage mechanisms in refining and petrochemical equipment (a selected list for the exam) |
| API 577 | Welding processes, inspection and metallurgy |
| API 578 | Material verification (positive material identification) programmes |
| ASME B31.3 | Process piping construction: design, materials, fabrication, examination and testing |
| ASME B16.5 | Pipe flanges and flanged fittings, including pressure-temperature ratings by class |
| ASME Section V | NDE methods (selected articles) |
| ASME Section IX | Welding procedure and welder qualification |
Key terms
- Piping circuit: a section of piping with similar design conditions and similar expected damage, inspected and evaluated as one unit.
- Condition monitoring location (CML): a marked spot where inspection, usually thickness measurement, is repeated over time. Older documents call thickness CMLs TMLs (thickness measurement locations).
- Injection point: where small quantities of a material, such as water, chemicals or wash fluids, are injected into a process stream. The mixing causes some of the worst localised corrosion in piping.
- Mixing point: where two process streams of different composition or temperature meet.
- Deadleg: a section of piping with no significant flow, such as a blanked branch or a normally closed bypass, where corrosive water and solids can collect.
- Corrosion under insulation (CUI): external corrosion under insulation or fireproofing, where water gets in and stays.
- Soil-to-air interface: where buried piping comes out of the ground, a common place for external corrosion.
- Minimum required thickness (trequired): the thinnest the wall may be, the greater of the pressure design thickness and the structural minimum thickness, without corrosion allowance.
- Corrosion allowance: extra thickness above the required thickness, provided for expected metal loss.
- MAWP: the maximum internal pressure the piping may operate at, for its current condition and temperature.
- Repair, alteration, rerating: a repair restores the piping to a safe condition; an alteration changes its design (for example adding a branch); rerating changes its design pressure or temperature.
- Integrity operating windows (IOWs): limits on process variables, such as temperature, pressure or chemistry, beyond which damage speeds up. Exceedances should feed back into the inspection plan.
- Risk-based inspection (RBI): planning inspection by the likelihood and consequence of failure, which can lengthen or shorten intervals within the limits the code allows.
Piping service classes
API 570 sorts piping into classes by how serious a leak would be. The class then sets the maximum inspection intervals. In outline:
| Class | Consequence of a leak | Typical services |
|---|---|---|
| Class 1 | Highest: immediate emergency, fire, explosion or toxic release | Flammable services that flash and can auto-refrigerate (risk of brittle fracture); pressurised services that vaporise rapidly, such as light hydrocarbons; high hydrogen sulfide gas streams; anhydrous hydrogen chloride; hydrofluoric acid; piping over water or public roads |
| Class 2 | Significant | Most process unit piping; hydrogen, fuel gas and natural gas; on-site strong acids and caustics |
| Class 3 | Lower: flammable but does not significantly vaporise, or off-site | Distillate and product lines to and from storage and loading; off-site acids and caustics |
| Class 4 | Minor: essentially non-flammable and non-toxic | Utility services such as steam, condensate, air, nitrogen and water |
The owner/user assigns the class; the lists in the code are examples, not a complete catalogue. When in doubt, the more severe class is the safer choice.
Inspection intervals
API 570 recommends maximum intervals for thickness measurement and external visual inspection, by class. The usual values are:
| Type of circuit | Thickness measurement | External visual |
|---|---|---|
| Class 1 | 5 years | 5 years |
| Class 2 | 10 years | 5 years |
| Class 3 | 10 years | 10 years |
| Class 4 | Set by the owner/user | Set by the owner/user |
| Injection points | 3 years | By class |
| Soil-to-air interfaces | Not applicable | By class |
Two rules sit on top of the table:
- The thickness interval may not exceed half the remaining life calculated from the corrosion rate, or the class maximum, whichever is shorter.
- An RBI assessment may set different intervals, longer or shorter, provided the assessment meets the code's requirements and is reviewed at set intervals.
External visual inspection looks at the condition of coatings, insulation, supports, hangers and attachments, for leaks, vibration, misalignment, and signs of CUI. Where the visual inspection finds damaged insulation or other CUI risk, the code expects a follow-up programme of NDE or insulation removal, with a larger share of suspect areas examined in higher classes. Small-bore piping, threaded connections, deadlegs and buried piping have their own considerations in the code and in API 574.
For the question exam candidates often ask, "what is the interval for a Class 1 hydrocarbon line?": thickness measurement at no more than 5 years or half the remaining life, whichever is less, and external visual at no more than 5 years, unless an RBI assessment sets something else. The thickness readings and the visual inspection are both required; one does not replace the other.
Condition monitoring locations and injection points
Choosing CMLs
CMLs are placed where the damage expected in that circuit is most likely to show, and in enough places to describe the circuit's condition. Typical choices:
- fittings where flow changes direction or speed: the outside radius of elbows, tees, reducers, and downstream of control valves, orifices and pumps;
- injection and mixing points, and deadlegs;
- low points where water collects, and high points where vapour can condense;
- places with a history of damage in this or similar service.
More CMLs are needed where damage is local (pitting, erosion, mixing-point attack) or where a leak would be serious; fewer may be enough where corrosion is general and slow. Each CML should be marked and measured the same way each time, at the same spots, with the same method, so that the readings can be compared. Where the damage is local, scanning (UT scanning, profile radiography or automated mapping) finds the thinnest spot far better than a few spot readings.
Injection point circuits
Because injection points corrode fastest and least predictably, API 570 treats the piping around them as a separate circuit with a shorter thickness interval, no more than 3 years.
The circuit usually starts 12 in (300 mm) or three pipe diameters upstream of the injection point, whichever is greater, and ends at the second change in flow direction downstream, or 25 ft (7.6 m) beyond the first change of direction, whichever is less. Within it, place CMLs at the injection point itself, on the fittings and at regular steps along the straight runs, closer together near the nozzle where attack is worst, and consider scanning methods for the whole circuit. Inspecting the injection quill or nozzle itself when the line is open is also good practice.
Corrosion rate, remaining life and the next inspection
The chart at the top of this page shows the whole calculation for one CML. The formulas are simple:
Long-term corrosion rate (from the first reading):
LT rate = (tinitial − tactual) / years between the readings
Short-term corrosion rate (from the previous reading):
ST rate = (tprevious − tactual) / years between the readings
Remaining life:
Remaining life = (tactual − trequired) / corrosion rate
Which rate to use is a judgement for the inspector, with the piping engineer: the long-term rate smooths out measurement scatter, while the short-term rate shows a recent change in conditions. Use the one that best reflects current conditions; in an exam question asking for the conservative answer, that is the higher rate. For new piping or a change of service, the rate is estimated from the same or similar service, from published data, or from early on-stream readings.
Worked example 1: the next thickness inspection
A Class 2 circuit has these readings at one CML: 0.280 in when installed in 2006, 0.250 in in 2018 and 0.230 in in 2024. The required thickness is 0.150 in.
- Long-term rate = (0.280 − 0.230) / 18 = 0.00278 in/year, about 2.8 mils per year (mpy).
- Short-term rate = (0.250 − 0.230) / 6 = 0.00333 in/year, about 3.3 mpy.
- Using the higher rate, remaining life = (0.230 − 0.150) / 0.00333 = 24 years.
- Half the remaining life is 12 years, but the Class 2 maximum is 10 years, so the next thickness inspection is due in 2034.
Worked example 2: a faster rate
If the same line measured 0.180 in, with a corrosion rate of 5 mpy (0.005 in/year), the remaining life would be (0.180 − 0.150) / 0.005 = 6 years. Half of that is 3 years, which is now shorter than the Class 2 maximum, so the next thickness inspection is due in 3 years, and the piping engineer should start planning a repair or replacement.
Required thickness and MAWP
The pressure design thickness of straight pipe under internal pressure comes from ASME B31.3:
t = P D / (2 (S E W + P Y))
where P is the design pressure, D the outside diameter, S the allowable stress at design temperature, E the quality factor (1.0 for seamless pipe), W the weld joint strength reduction factor (1.0 below the creep range) and Y a coefficient (0.4 for ferritic steels at ordinary temperatures). The required thickness used for remaining life is the greater of this pressure design thickness and the structural minimum thickness, which API 574 tabulates so that small, thin pipe can still support itself.
Rearranged for pressure, the same equation gives the MAWP. API 570 requires the thickness used to be the actual thickness minus twice the corrosion expected before the next inspection, so that the rating stays safe until then:
MAWP = 2 S E W t / (D − 2 Y t), with t = tactual − 2 × (corrosion rate × years to next inspection)
Worked example 3: pressure design thickness and MAWP
NPS 6 seamless pipe (outside diameter 6.625 in), design pressure 600 psig, and for this example S = 20,000 psi, E = 1.0, W = 1.0, Y = 0.4. Take S for your material and temperature from the B31.3 tables.
- Pressure design thickness: t = 600 × 6.625 / (2 × (20,000 + 600 × 0.4)) = 3,975 / 40,480 = 0.098 in.
- With the readings of example 1 (tactual = 0.230 in, 3.3 mpy) and the next inspection in 10 years, the thickness for the MAWP is 0.230 − 2 × (0.00333 × 10) = 0.163 in.
- MAWP = 2 × 20,000 × 0.163 / (6.625 − 2 × 0.4 × 0.163) ≈ 1,006 psig, comfortably above the 600 psig design pressure.
- With the next inspection in 5 years instead, t = 0.197 in and the MAWP is about 1,216 psig: a shorter interval supports a higher rating.
The MAWP from thickness calculator runs these numbers for you.
Pressure testing
API 570 normally expects a pressure test after an alteration and may require one after a major repair, as decided by the inspector and piping engineer; in some cases appropriate NDE can be accepted instead. The test itself follows the construction code. Under ASME B31.3:
- A hydrostatic test is at least 1.5 times the design pressure, increased by the ratio of the allowable stress at test temperature to the allowable stress at design temperature (ST/S, capped at 6.5): PT = 1.5 × P × ST / S. If that would stress the pipe beyond yield at test temperature, the test pressure is reduced.
- A pneumatic test, used only where a hydrotest is impractical and with extra safety precautions, is at 1.1 times the design pressure.
- The leak test pressure is held for at least 10 minutes, and every joint is then examined for leaks.
- The test temperature matters: carbon steel can fracture in a brittle way during a test in cold weather, so the metal temperature must be above the minimum the engineer sets.
Worked example 4: hydrotest pressure
Design pressure 600 psig, allowable stress 20,000 psi at test temperature and 18,000 psi at design temperature (example values). PT = 1.5 × 600 × 20,000 / 18,000 = 1,000 psig. The hydrotest pressure calculator does the same.
Repairs, alterations and rerating
- Authorisation. Repair and alteration work must be authorised by the inspector before it starts; alterations, and repairs the inspector refers, also need the piping engineer's approval. The inspector accepts the work when it is complete.
- Welding. Welding uses procedures and welders qualified to ASME Section IX, with preheat, post-weld heat treatment and examination to the construction code and the repair plan. Welding on piping that is in service, including hot tapping, needs extra planning for burn-through, cracking and safety.
- Temporary repairs. Clamps, leak boxes, full-encirclement sleeves and some fillet-welded patches can be used temporarily, with an engineering review, and are replaced with permanent repairs at the next suitable opportunity unless the engineer approves them for longer.
- Rerating. A change of design pressure or temperature needs calculations to the current code, the piping engineer's approval, a pressure test or approved alternative, and updated records and nameplates or documentation.
- Records. Every repair, alteration and rerating is documented and kept with the piping's inspection history.
For welding on live lines, see our guide to hot tap welding.
Damage mechanisms in piping
Knowing what damage to expect is the basis of every inspection plan. Mechanisms piping inspectors meet most often, described in API 571:
- Corrosion under insulation: external corrosion of carbon and low-alloy steel, worst in the temperature band where water stays wet, and chloride cracking of austenitic stainless steel under insulation.
- Atmospheric and soil corrosion, especially at supports, soil-to-air interfaces and where coatings have failed.
- Erosion and erosion-corrosion downstream of valves, at elbows and where flow is fast or carries solids or droplets.
- Sulfidation of carbon and low-alloy steel in hot sulfur-bearing streams, which is why material verification matters.
- Acid corrosion, for example hydrochloric acid in overhead systems and sulfuric or hydrofluoric acid in alkylation units.
- Environmental cracking: chloride stress corrosion cracking, caustic cracking, amine cracking and wet hydrogen sulfide damage.
- High-temperature hydrogen attack in hot hydrogen service.
- Microbiologically influenced corrosion in water systems and deadlegs.
- Mechanical and thermal fatigue, especially at small-bore connections on vibrating lines.
- Brittle fracture of carbon steel at low temperature, including during pressure tests.
Our article on API 571 for inspectors and the guide to CUI inspection methods go further.
Inspection methods for piping
- External visual inspection of coatings, insulation, supports, bolting, attachments and signs of leaks or vibration.
- Ultrasonic thickness measurement and scanning at CMLs, the core of most programmes. See the UT handbook, chapter 4.
- Profile radiography, a tangential shot through the pipe wall, which measures wall thickness and shows corrosion under insulation without removing it.
- Guided wave testing to screen long runs, road crossings and supports, with follow-up UT.
- Pulsed eddy current to measure average wall thickness through insulation.
- Positive material identification to API 578, to make sure the right alloy is in the right place, especially in sulfidation and hydrogen service.
- Weld examination by visual, MT, PT, RT and UT, to ASME B31.3 and API 577 for repairs and new work. See the B31.3 weld acceptance criteria.
- Buried piping: above-ground surveys, cathodic protection monitoring, close-interval potential surveys, in-line inspection where the line can be pigged, and excavation at intervals.
Welding topics on the exam
A good share of exam questions are about welding. Things to know well:
- ASME Section IX documents: the welding procedure specification (WPS), the procedure qualification record (PQR) that supports it, and the welder performance qualification (WPQ). Be able to review them for essential, supplementary essential and nonessential variables.
- Processes: SMAW (stick), GTAW (TIG), GMAW (MIG/MAG), FCAW (flux-cored) and SAW (submerged arc), their strengths and typical defects. Semi-automatic GMAW and FCAW have fewer stops and starts than SMAW on pipe, but GMAW short-circuit transfer is prone to lack of fusion.
- Filler metal designations: in an SMAW electrode such as E7018, "70" is the minimum tensile strength in ksi, the third digit "1" means all positions and the fourth digit "8" gives the coating and current type (low hydrogen with iron powder). In a GMAW wire such as ER70S-6, "S" means solid wire and the final "6" the chemical composition. In FCAW wire such as E71T-1, "T" means tubular (flux-cored).
- Preheat and post-weld heat treatment: why they are used (hydrogen and cracking control, stress relief, hardness) and how the code sets them by material group and thickness. The preheat, carbon equivalent and heat input calculators help with the numbers.
- Weld examination under B31.3: in normal fluid service at least 5% of circumferential butt welds are examined fully by random radiography or ultrasonics; severe cyclic conditions call for full examination.
- Weld defects and their causes, covered in our article on weld defects and NDT methods.
Preparing for the API 570 exam
- Get the right documents. Download API's body of knowledge and effectivity sheet for your exam window; they list the exact editions and sections that will be tested. Buy those editions.
- Check eligibility early. API requires a combination of education and years of relevant piping inspection experience; the shorter the formal engineering education, the more experience is needed. The current rules are in API's candidate information.
- Read API 570 cover to cover first, then API 574, then the selected parts of ASME B31.3, B16.5, Section IX and Section V, then API 571, 577 and 578.
- Practise the calculations until they are automatic: corrosion rates, remaining life, next inspection date, required thickness, MAWP, test pressure, flange class selection from B16.5 tables and simple weld procedure reviews.
- Learn where things are. Questions often turn on which document governs: construction (B31.3) or in-service (API 570), procedure (ASME IX) or inspection practice (API 574).
- Do timed practice exams to get used to the question style and the pace.
- Know the rules after the exam: retakes, waiting periods and certification renewal are set by API's certification programme and change from time to time, so read the current candidate handbook rather than relying on forum posts.
The codes and standards group and the pipeline inspection group are good places to ask questions, and the career guide explains how API certifications fit alongside NDT qualifications.
Calculators and resources
- MAWP from thickness and hydrotest pressure
- Thickness grid statistics and thickness from time of flight
- API 579 level 1 general metal loss and local thin areas and pitting
- B31G remaining strength and RSTRENG effective area for corroded pipelines
- Pipe schedule reference
- All fitness-for-service calculators
- List of welding codes and standards and codes and standards in the NDT industry
- Inspection vacancies, many of which ask for API 570, 510 and 653
Frequently asked questions
What is API 570?
The American Petroleum Institute's piping inspection code. It covers in-service inspection, rating, repair, alteration and rerating of metallic process piping, mainly in refineries and chemical plants. It is also the name of the certification for piping inspectors who pass API's exam.
What is the difference between API 570 and ASME B31.3?
B31.3 governs how process piping is designed, built, examined and tested when new. API 570 governs inspection, evaluation, repair and alteration after the piping is in service, and refers back to the construction code for things such as design calculations and pressure tests.
What is the maximum inspection interval for Class 1 piping?
Usually 5 years for thickness measurement (or half the remaining life, if shorter) and 5 years for external visual inspection, unless an RBI assessment sets different intervals. Injection point circuits are measured at least every 3 years.
How is remaining life calculated?
Divide the thickness left above the required thickness by the corrosion rate: (tactual − trequired) / corrosion rate. The next thickness inspection is due at half the remaining life or the class maximum, whichever comes first.
What is a CML?
A condition monitoring location: a marked place on the piping where inspection, usually thickness measurement, is repeated over time so that corrosion rates can be calculated. Thickness CMLs used to be called TMLs.
Who can be an API 570 inspector?
Someone with the required mix of education and piping inspection experience who passes API's exam and keeps the certification current. The owner/user may also need to approve the inspector for its own plant.
Is API 570 free to download?
No. API 570 and the related API and ASME documents are copyrighted and sold by their publishers and authorised resellers. Some organisations provide access through company subscriptions. For the exam, make sure you have the editions on the effectivity sheet.












1 comment
Non-Destructive Testing
Overview of NDT and its significance in different industries.
Explanation of how NDT methods, such as Ultrasonic Testing (UT) and Magnetic Particle Testing (MPT), ensure asset integrity without causing damage.
Advanced NDT Techniques
Insight into advanced NDT services like Phased Array Ultrasonic Testing (PAUT) and Time of Flight Diffraction (TOFD).
Benefits of Rope Access PAUT for challenging environments and complex structures.
Third-Party and In-Service Inspection Services
Importance of third-party inspections to maintain compliance and safety standards.
Role of in-service inspections in proactive maintenance and risk mitigation.
Asset Integrity Management
Explanation of Asset Integrity Management and its importance in extending the lifecycle of assets.
Key services offered, including risk-based inspections and predictive maintenance.
Heat Treatment Inspection and Storage Tank Inspection
Understanding the role of heat treatment in maintaining material properties and the integrity of welded joints.
Storage tank inspection services in Singapore, including methods to detect corrosion, leaks, and structural damage.
Inspection Services in Singapore
Detailed overview of inspection services offered in Singapore, including regulatory compliance and industry standards.
The significance of asset integrity inspection services in maintaining the safety of critical infrastructure.
Conclusion: Why Choose Professional Inspection Services?
Summarizing the benefits of choosing a reputable inspection service provider.
Emphasizing the value of skilled, experienced professionals in delivering comprehensive, accurate inspection results.
For more details, kindly visit us at:http://cutechgroup.com/NDTservices.php
Sign in to join the discussion.