Corrosion rate calculator: short-term and long-term

Calculate average wall loss from thickness readings and dates for pressure-vessel and piping study. Compare the two rates at each CML in inches or millimeters, then carry a candidate rate into the linked remaining-life calculator.

Free CSV download includes all CML inputs, results, warnings and references for Excel, Google Sheets or Numbers. No account needed.

Compare thickness readings by CML

An example is loaded. Type in readings from the same condition monitoring location (CML) and both rates update as you type. Nothing leaves your device.

Changing units converts the entered values. The 100 mils/yr (2.54 mm/yr) review threshold is a screening flag, not an acceptance criterion. Set it to suit the service.

Thickness readings and dates: one row per CML
LocationInitial / nominalPreviousActual (latest)Actions

CML-1

Short-term rate
7.5 mils/yr
Long-term rate
9.998631 mils/yr
Higher-rate comparison
long-term
Candidate governing rate
9.998631 mils/yr

Short term: (0.43 − 0.4) / 4 years. Long term: (0.5 − 0.4) / 10.00137 years. Multiply in/yr by 1,000 for mils/yr. Convert to the selected rate units.

Use this CML's candidate rate in the remaining-life calculator →

The higher nonnegative rate is the candidate governing rate. The inspector picks the rate that represents the service under the applicable code. Never combine unrelated CMLs into one rate.

One page with every reading, both rates per CML and any warnings, with lines for the equipment, the inspector and the rate you chose. File it with the inspection or keep it with your API 510 notes.

Corrosion rate record by CML

Equipment or circuit
Inspected by
Date
Rate chosen for remaining life, and why
Thickness readings
CMLBaselineInitial (in)Initial datePrevious (in)Previous dateActual (in)Actual date
CML-1Measured0.52016-01-010.432022-01-010.42026-01-01
Corrosion rates
CMLShort-term yearsShort-term (mils/yr)Long-term yearsLong-term (mils/yr)Higher rateCandidate (mils/yr)
CML-147.510.001379.998631long-term9.998631

Short-term rate = (previous − actual) ÷ years between those readings. Long-term rate = (initial − actual) ÷ years since the initial date. Years are calendar days ÷ 365.25.

Rates over the review threshold of 100 mils/yr are flagged. The threshold is a screening flag you set, not a code limit.

The higher nonnegative rate is the candidate. The inspector picks the rate that represents the service under the applicable code (API 510 §7.1, API 570 §7.1.2).

Method pointers: API 510 Body of Knowledge, September 2026–May 2027 (section pointers only); API 570 Body of Knowledge, 2026 (section pointers only).

How the corrosion rate calculator works

Enter one row per CML: the initial thickness and date, the previous reading and date, and the actual (latest) reading and date. The initial value can be a measured baseline or the nominal wall with its in-service date. The calculator divides each thickness loss by the exact time between the dates and gives you two rates. The long-term rate runs from the initial reading to the actual one and averages the whole history. The short-term rate uses only the last two readings and shows what the wall did lately. The higher nonnegative rate is flagged as the candidate governing rate, a negative or unusually high rate gets a warning, and the CSV keeps the whole survey.

The rate is half the job. Remaining life is the metal left above the required thickness divided by the rate you choose, and the remaining life calculator picks up with your rate filled in. For the reasoning behind each step, read short-term vs long-term corrosion rate, remaining life and corrosion allowance vs minimum thickness.

Press Print CML record under the results to get one page with every CML: the three readings and their dates, the short-term and long-term rates, the candidate rate and any warnings. It has lines for the equipment or circuit, the inspector, the date and the rate you chose with your reason, plus a link that reopens the same readings. Save it as a PDF from the print dialog, file it with the inspection or work a practice set on paper for API 510 and API 570.

Corrosion rate calculation formula

Average corrosion rate is thickness lost divided by elapsed time. Treat each CML separately and compare readings from the same physical location using a consistent measurement procedure.

  • Short-term rate = (t_previous − t_actual) / years between previous and actual readings.
  • Long-term rate = (t_initial − t_actual) / years between initial and actual readings.
  • Elapsed years = UTC calendar days / 365.25, the explicit date convention used by this tool.
  • 1 mil = 0.001 in; mils/yr = in/yr × 1,000; mm/yr = mils/yr × 0.0254.

These are average thickness-loss slopes from the thickness-versus-time monitoring method discussed in AMPP / CORROSION, High-Accuracy Ultrasonic Corrosion Rate Monitoring. They measure past average loss; projecting a rate into the future assumes it remains representative. The long-term input may be a measured initial thickness or an explicitly assumed nominal thickness with an in-service date. Nominal wall variation can bias the estimate.

Worked example: inches and mils per year

For one fictional CML, the initial reading is 0.500 in on 1 January 2016, the previous reading is 0.430 in on 1 January 2022, and the actual reading is 0.400 in on 1 January 2026.

The short interval is 1,461 days / 365.25 = 4 years. Short-term rate = (0.430 − 0.400) / 4 = 0.0075 in/yr = 7.5 mils/yr = 0.1905 mm/yr.

The long interval is 3,653 days / 365.25 ≈ 10.001369 years. Long-term rate = (0.500 − 0.400) / 10.001369 ≈ 9.99863 mils/yr. The long-term rate is higher in this example. The inspector must decide whether that rate represents future service.

Which rate governs? API 510 and API 570 pointers

The higher nonnegative rate gives the shorter predicted remaining life for the same thickness margin. This tool identifies it as a candidate governing rate; the responsible inspector chooses the appropriate rate per the applicable code and service history.

API's public Body of Knowledge documents point to API 510 §7.1 and API 570 §7.1.2 for rate calculations, and §7.2 in both for remaining life. Use your own applicable edition. See the API 510 and API 570 section pointers; no code text or tables are reproduced.

Worked example in millimeters: rate to remaining life

A fictional shell CML read 12.70 mm at a measured baseline on 1 June 2012, 11.60 mm on 1 June 2020 and 10.90 mm on 1 June 2024. The required thickness from the design calculation is 9.00 mm. On the days ÷ 365.25 convention the intervals come out at exactly 12 and 4 years.

  • Long-term rate = (12.70 − 10.90) / 12 = 0.150 mm/yr (5.91 mils/yr).
  • Short-term rate = (11.60 − 10.90) / 4 = 0.175 mm/yr (6.89 mils/yr).
  • Metal above the required thickness = 10.90 − 9.00 = 1.90 mm.
  • Remaining life at the short-term rate = 1.90 / 0.175 ≈ 10.9 years. At the long-term rate it is 1.90 / 0.150 ≈ 12.7 years.

The short-term rate is higher, so the wall has sped up since 2020 and gives the shorter life. That is the conservative pick, and the inspector confirms it against the service history before planning around it. Enter the three readings above in millimeters and the calculator returns the same two rates.

Common corrosion rate mistakes

  • Using the wrong pair of readings. Long-term starts at the initial reading and short-term starts at the previous one. Mixing a start thickness from one with a start date from the other gives a rate that matches neither.
  • Mixing locations. A rate only means something at one CML. Subtracting a reading at one spot from a reading at another, or averaging CMLs together, hides the worst one.
  • Unit slips. 0.0075 in/yr is 7.5 mils/yr and 0.1905 mm/yr. Typing mils into an inch field is 1,000 times off, and millimeters into an inch field is 25.4 times off.
  • Rounding the time. Readings on 1 March 2022 and 1 November 2025 are 3.67 years apart, not 3. Calling it 3 years makes the rate about a fifth too high.
  • Trusting a short-term rate from close readings. Measurement scatter of 0.1 mm over six months reads as 0.2 mm/yr. Give the short interval enough time to beat the scatter.
  • Putting nominal where required belongs. Remaining life runs down to the required thickness, not the nominal or original wall. The corrosion allowance guide shows how the two stack up.

Negative and implausible rates

Corrosion does not create new base metal. Apparent metal growth produces a negative rate and is a measurement-error flag: check calibration, CML relocation, surface preparation, temperature, coating and repairs. The tool keeps the raw rate visible and withholds the candidate governing rate until the discrepancy is resolved.

An unusually high rate can be a unit or date error, or real accelerated loss. The editable review threshold is only a screening aid and has no code authority. The AMPP study discusses temperature effects and measurement repeatability; a small thickness difference over a short interval can magnify measurement error.

This is thickness-loss arithmetic for general thinning. It does not assess localized pitting, cracking, erosion profiles, interacting damage, creep or fitness for service. Zero observed loss does not establish zero future corrosion.

Once you have a rate, the inspection interval calculator turns it into a next inspection date and shows which limit governs.

Have a whole survey to work? The thickness survey analyzer runs every point at once and finds the governing one.

Next: remaining-life and inspection-interval calculator → Enter the required thickness from your approved engineering basis; these tools do not calculate ASME minimum thickness.

Need the required thickness for a straight pipe? Work it with the pipe minimum thickness calculator.

Corrosion rate FAQ

How do you calculate corrosion rate from thickness readings?

Divide the thickness lost by the years between two readings at the same CML. A wall that went from 11.60 mm to 10.90 mm over 4 years lost 0.70 mm, so it is corroding at 0.175 mm/yr, about 6.89 mils/yr. Work from the actual reading dates, not whole calendar years.

What is the difference between short-term and long-term corrosion rate?

The long-term rate runs from the initial thickness (or the nominal wall at the in-service date) to the latest reading, so it averages the whole service history. The short-term rate runs from the previous reading to the latest one, so it shows what the wall did in the last interval. A short-term rate well above the long-term rate says the corrosion has sped up.

Which corrosion rate do you use for remaining life?

Start from the higher of the two, because it gives the shorter, more conservative life. The inspector then picks the rate that best reflects how the equipment runs now, since a process change, a repair or a new lining can make one of the rates unrepresentative. The rate calculation sits in API 510 §7.1 and API 570 §7.1.2; read them in your own edition.

How do you calculate remaining life from corrosion rate?

Subtract the required thickness from the actual thickness and divide by the chosen rate. With 10.90 mm actual, 9.00 mm required and 0.175 mm/yr, that is 1.90 / 0.175, about 10.9 years. API 510 and API 570 both cover remaining life in §7.2.

How do you convert mils per year to mm per year?

Multiply by 0.0254. One mil is 0.001 in, so 1 mil/yr is 0.0254 mm/yr. Going the other way, divide by 0.0254: 0.2 mm/yr is about 7.87 mils/yr.

Is corrosion rate on the API 510 exam?

Yes. The API 510 Body of Knowledge lists corrosion rates and remaining corrosion allowance under §7.1 and remaining service life under §7.2, and the API 570 Body of Knowledge lists rates under §7.1.2 and remaining life under §7.2. Expect to be handed readings and dates and asked for a rate, the governing rate or the remaining life.

Does this calculator work for coupon weight-loss corrosion rates?

No, the ASTM weight-loss coupon method is a different lab method based on the mass a test specimen loses, while this calculator works from wall thickness readings taken on the equipment itself.

Turn thickness readings into short- and long-term corrosion rates in seconds, with a CSV to keep. A study aid; your own documents, procedures and the AHJ govern real work.

Try one free question

Try one question

Question 1 of the free 10-question check on API 510. No signup. Then ask Patch, the AI study assistant, why the answer is right and the others are wrong.

Question 1 of 10 · free checkUntimed

IV. Practical knowledge - general

Which hydrotest situation carries the highest brittle fracture risk?

Press A-D or 1-4 to choose an answer while this question is on screen.

Choose an answer to begin

Free API 510 study plan

A week-by-week plan from today to your exam, weighted to the published exam outline. We show it here and email you a copy.

Ask Patch before you buy AI your AI study assistant

See what's on the API 510 exam, take the free 10-question check, or find the plan that fits you.

Terms this tool uses

Published references

Print the Corrosion rate and remaining life formula sheet (free PDF, one page) and the worked guide.

From the blog

Preparing for API 510?

You just turned thickness readings into short- and long-term corrosion rates. The free 10-question check shows which API 510 topics to fix first, no signup. The Long Seam course drills them and explains every answer.

Take the free 10-question API 510 check

The API 510 course

Available now · instant access

The API 510 course

  • 8modules of lessonsEvery task on the outline
  • 2full-length timed exams170 questions in 390 minutes each
  • 617practice questionsEach one explained
  • 6worked calculationsStep by step
  • 1week-by-week study planSet to your exam date

Turn a practice answer into a study step. In untimed practice, ask Patch AI about any question you answer, follow up, then see your weakest topics and what to drill next.

API 510 course$199

Terms and refunds · Secure checkout by Stripe · Billed by Nori Software

See the course

Compare plans

Every answer comes with a full explanation.

By the Long Seam editorial team. Report an error.

Add this calculator to your site

Copy this HTML with its attribution link. The frame scrolls to show the table and explanation; no external script tag is needed.