Skip to content

Corrosion rate and remaining life calculator (API 510 / API 570)

From two or three thickness readings at a monitoring location, calculate the long-term and short-term corrosion rates, the remaining life down to the minimum required thickness, the retirement date and the maximum interval to the next thickness inspection under API 570 (piping) or API 510 (pressure vessels).

Inputs

Results

Use a decimal point or decimal comma, with no thousands separators. Scientific notation (for example 1.5e-3) is accepted. Change any unit with the selector next to the value.

How it works

Enter the initial (or nominal) thickness and its date, the current thickness and its date and, if you have it, a previous reading in between. Enter the minimum required thickness for the location, from the pressure design calculation plus any structural minimum.

The long-term rate uses the initial and current readings; the short-term rate uses the previous and current readings. API 510 and API 570 ask the inspector to use the rate that best reflects the current process; by default the tool uses the higher of the two.

Remaining life is the corrosion margin left divided by the governing rate. The maximum interval to the next thickness inspection is half the remaining life, capped by the code limit you select.

Formulas

Corrosion rates:

CR(LT) = (t_initial − t_actual) / years between them
CR(ST) = (t_previous − t_actual) / years between them

Remaining life:

RL = (t_actual − t_required) / CR

Maximum interval to the next thickness inspection:

API 570: lesser of RL/2 and the class limit (Class 1: 5 years, Class 2 and 3: 10 years; Class 4: set by the owner)
API 510: lesser of RL/2 and 10 years; if RL < 4 years, up to the full RL but not more than 2 years

Symbols: t = thickness readings at the same location; t_required = minimum required thickness; CR = corrosion rate; years = days between readings / 365.25.

Worked example

A Class 2 process line CML read 10.0 mm when new (1 January 2010), 8.8 mm on 1 January 2020 and 8.0 mm on 1 January 2025. The minimum required thickness is 5.0 mm.

Inputs: t_initial = 10.0 mm (2010-01-01); t_previous = 8.8 mm (2020-01-01); t_actual = 8.0 mm (2025-01-01); t_required = 5.0 mm; API 570 Class 2.

  1. CR(LT) = (10.0 − 8.0) / 15 years = 0.1333 mm/y.
  2. CR(ST) = (8.8 − 8.0) / 5.002 years = 0.1599 mm/y, higher than the long-term rate, so it governs.
  3. RL = (8.0 − 5.0) / 0.1599 = 18.76 years, retirement around 2043-10-05.
  4. Next thickness inspection: lesser of 9.379 years (half life) and 10 years (Class 2) = 9.379 years, i.e. by 2034-05-19.

Result: Governing rate 0.1599 mm/y (6.3 mpy), remaining life 18.76 years, next thickness inspection by 2034-05-19.

Assumptions and limits

  • Readings must come from the same condition monitoring location (CML) and, ideally, the same method and instrument. Scatter between readings can make short-term rates meaningless.
  • General (uniform) metal loss. Localised corrosion, pitting, cracking and other damage mechanisms need their own assessment.
  • The tool gives the maximum interval allowed by the half-life rule and the code cap. Risk-based inspection (API 580/581) may set different intervals.
  • When the current thickness is below the required thickness, the component needs a fitness-for-service assessment (API 579-1/ASME FFS-1), repair or replacement.
  • Interval rules as given in API 570, 5th ed. (2024) and API 510, 11th ed. (2022), which keep the half-life rule and the caps of earlier editions. Check the edition that governs your site.

Frequently asked questions

Which corrosion rate should I use, long-term or short-term?

API 510 and API 570 leave the choice to the inspector, who should pick the rate that best reflects the current process. A short-term rate higher than the long-term rate often means the process or the damage mechanism has changed, so the higher rate is the conservative default.

How do I convert mpy to mm per year?

1 mpy (mil per year, 0.001 in/year) = 0.0254 mm/year. For example 5 mpy = 0.127 mm/y.

What is the minimum required thickness?

It is the thickness the component needs for pressure (from the design code, for example ASME B31.3 or ASME VIII) and for structural loads, without any corrosion allowance. Many owners also set a structural minimum for small-bore piping.

What happens if remaining life is less than the next turnaround?

Plan a repair, replacement or a fitness-for-service assessment before the remaining life is used up, or shorten the inspection interval to monitor the location more often.

Can the interval be longer than half the remaining life?

Under API 570 the thickness measurement interval must not exceed half the remaining life or the class limit, whichever is less. API 510 allows the full remaining life up to 2 years when the remaining life is under 4 years. RBI programmes may justify other intervals.

References

  • API 570, Piping Inspection Code, 5th ed. (2024), corrosion rate and remaining life calculations and the thickness measurement interval table.
  • API 510, Pressure Vessel Inspection Code, 11th ed. (2022, errata 2023 and 2025), inspection intervals and remaining life.
  • API 579-1/ASME FFS-1, Fitness-For-Service (2021).

For education and quick estimates. Shared by the Oil-Gas.net Engineering Working Group as general practitioner guidance; not a standard and provided without warranty. Check every result against the governing standards, vendor data and your project or site requirements before design, operation or safety decisions.

Embed this tool on your site

Copy the code below into your page. The link to Oil-Gas.net must stay with the tool.

Calculator by Oil-Gas.net