Materials engineering

Corrosion Allowance & Remaining Life Calculator – Target Life Check

Calculate design corrosion allowance, remaining service life, and target-life wall thickness using a governing corrosion rate, current or required thickness, and service period.

Unit-aware inputs Deterministic calculation Engineering interpretation
Calculation workspace

Enter the known values and review the calculated result

Deterministic calculation
01
Parameters

Input parameters

Use consistent values and select the intended engineering units.

Calculation mode

Corrosion rate

Design corrosion allowance

Current wall thickness

Target-life assessment

02
Output

Results

Live
Ready to calculate Complete the required inputs and run the calculation.
Engineering Pro Save, document and continue this calculation

Turn this result into a reusable engineering record with saving, PDF export and reporting workflows.

Engineering reference

Method, application and limitations

Review the calculation method, intended application and engineering assumptions before using the result in a design decision.

01
Method

Formula and calculation method

Design corrosion allowance

For a constant governing corrosion rate, the calculated corrosion allowance over the design service period is:

CAcalc = r · tdesign

If a base required thickness excluding corrosion allowance is entered, the required net starting thickness is:

tstart,net = tbase + CAcalc

Remaining life

The available corrosion allowance is the difference between the current assessed wall thickness and the minimum required wall thickness:

CAavail = tactual − trequired

The calculated remaining life before the wall reaches the minimum required thickness is:

tremain,calc = CAavail / r

The displayed remaining life is limited to zero when the calculated value is negative:

tremain = max(0, tremain,calc)

The current thickness deficit is:

Δtdeficit = max(0, trequired − tactual)

Target-life check

For a target remaining service period, the projected corrosion loss is:

CAcalc = r · ttarget

The projected wall thickness at the end of the target period is:

tend = max(0, tactual − CAcalc)

The end-of-period thickness margin relative to the minimum required thickness is:

mt = tend − trequired

The thickness shortfall, when the target cannot be met, is:

Δtshortfall = max(0, trequired − tend)

When the current thickness is greater than the minimum required thickness, the life margin relative to the target period is:

tmargin = (tactual − trequired) / r − ttarget

The required starting thickness for the target period is:

tstart,req = trequired + r · ttarget

When a positive corrosion reserve exists, the maximum constant corrosion rate that would just meet the target period is:

rmax,target = (tactual − trequired) / ttarget

Variables

  • CAcalc — calculated corrosion allowance or projected corrosion loss.
  • CAavail — available corrosion allowance between current and minimum required thickness.
  • r — governing corrosion rate entered by the user.
  • tdesign — design service period.
  • ttarget — target remaining service period.
  • tbase — base required thickness excluding corrosion allowance.
  • tactual — current or assessed wall thickness.
  • trequired — minimum required wall thickness established outside this calculator.
  • tremain — calculated remaining life.
  • tend — projected wall thickness at the end of the target period.
  • tmargin — remaining-life margin relative to the target period.

Length, corrosion-rate and time units must be mutually consistent. For example, using mm/year with years produces thickness results in mm.

02
Application

When to use this calculator

Use this calculator when a governing corrosion rate is already known and you need to convert that rate into a corrosion allowance, remaining service life, or a target-life wall-thickness check.

  • Use Design corrosion allowance to estimate the thickness expected to be consumed over a specified design service period.
  • Use Remaining life when the current assessed thickness and the minimum required thickness are known and you want to estimate the time until that minimum thickness is reached.
  • Use Target-life check to determine whether the current thickness is sufficient for a specified future service period at the entered corrosion rate.
  • Use the calculated maximum corrosion rate for a target period to compare the entered governing rate with the largest constant rate that would still satisfy the target thickness criterion.

The calculator does not determine the governing corrosion rate from inspection history and does not calculate the minimum required wall thickness from pressure, geometry, material strength or a design code. Those values must be established separately.

Do not use this simplified linear model as a substitute for assessment of localized pitting, cracking, erosion, stress-corrosion cracking, fatigue, creep or other damage mechanisms. A fitness-for-service assessment or a code-specific inspection procedure may be required where those mechanisms are relevant.

03
Decision support

How to interpret the result

The results describe the evaluated corrosion-thickness criterion only. They do not by themselves demonstrate that the complete component or system is safe for continued operation.

Design corrosion allowance

CAcalc is the projected thickness loss over the selected design service period at the entered constant governing corrosion rate. If a base required thickness is provided, tstart,net is the base thickness plus the calculated corrosion allowance.

This starting thickness is a net calculation result. Manufacturing tolerance, mechanical allowance, erosion allowance, code-specific additions and nominal size selection are not added unless they are already represented in the entered base thickness.

Remaining life

CAavail is the wall-thickness reserve between the current assessed thickness and the entered minimum required thickness.

  • If tactual > trequired, the current thickness criterion is satisfied and the calculator returns a positive remaining-life estimate.
  • If tactual ≈ trequired, the result is a warning and the calculated remaining life is approximately zero. There is effectively no corrosion reserve in this model.
  • If tactual < trequired, the current thickness criterion is not satisfied. The displayed remaining life is limited to zero and the thickness deficit is reported separately.

Target-life check

tend is the projected wall thickness after the target period if the entered corrosion rate remains constant.

A positive mt means the projected end thickness remains above the entered minimum required thickness. A zero or negative value means the target-period thickness criterion is not satisfied.

A positive tmargin means the calculated remaining life exceeds the target period. A negative value means the target period is longer than the calculated remaining life.

Important: in target-life mode, a warning can mean that the current wall is still above the minimum required thickness but the projected wall thickness reaches or falls below that minimum before the end of the target period. In that case, the target-life criterion is not satisfied even though the current-thickness criterion may still be satisfied.

rmax,target is the maximum constant corrosion rate that would consume the available thickness reserve exactly over the target period. An entered corrosion rate below this value provides a positive mathematical target-life margin; a higher rate does not meet the target under the model assumptions.

A favorable result does not verify pressure capacity, localized metal loss, crack-like flaws, fatigue, inspection interval, material degradation or other possible failure modes.

04
Worked case

Calculation example

Problem: An inspected component has a current assessed wall thickness of 10.0 mm. The minimum required wall thickness has been established separately as 7.0 mm. The governing corrosion rate is 0.10 mm/year. Determine whether the component satisfies a target remaining service period of 20 years.

Input data

  • Governing corrosion rate: r = 0.10 mm/year
  • Current wall thickness: tactual = 10.0 mm
  • Minimum required wall thickness: trequired = 7.0 mm
  • Target service period: ttarget = 20 years

The rate is expressed in mm/year and time in years, so all calculated thickness values are obtained directly in mm.

1. Available corrosion allowance

CAavail = 10.0 − 7.0 = 3.0 mm

2. Remaining life

tremain = 3.0 / 0.10 = 30 years

3. Projected corrosion loss over the target period

CAcalc = 0.10 × 20 = 2.0 mm

4. Projected end thickness

tend = 10.0 − 2.0 = 8.0 mm

5. End-of-period thickness margin

mt = 8.0 − 7.0 = 1.0 mm

6. Life margin

tmargin = 30 − 20 = 10 years

7. Required starting thickness for the target period

tstart,req = 7.0 + 2.0 = 9.0 mm

8. Maximum corrosion rate for the target period

rmax,target = 3.0 / 20 = 0.15 mm/year

Interpretation: The projected end thickness is 8.0 mm, which remains 1.0 mm above the entered minimum required thickness. The calculated remaining life is 30 years, giving a 10-year mathematical margin relative to the 20-year target. The entered corrosion rate of 0.10 mm/year is also below the calculated maximum target rate of 0.15 mm/year, so the evaluated target-life thickness criterion is satisfied.

This result assumes a constant governing corrosion rate and does not verify localized corrosion, inspection interval, pressure capacity or other damage mechanisms.

05
Model boundaries

Assumptions and limitations

  • The corrosion rate is treated as a constant governing wall-loss rate over the evaluated period.
  • The calculator does not determine the corrosion rate from previous thickness measurements. The governing rate must be established independently using appropriate inspection data, engineering practice or the applicable standard.
  • The model represents linear wall-thickness loss and is most directly applicable to situations that can reasonably be represented by a single corrosion rate.
  • The current thickness and minimum required thickness should refer to a consistent component, location and assessment basis.
  • The minimum required wall thickness is an input. It is not calculated from pressure, diameter, allowable stress, weld efficiency or other design parameters.
  • The base required thickness used in design-allowance mode excludes the corrosion allowance. Other allowances and manufacturing tolerances are not automatically added.
  • The calculation does not explicitly include measurement uncertainty, corrosion-rate uncertainty or an engineering safety margin. Conservative input values should be selected where required.
  • The model does not calculate long-term or short-term corrosion rates and does not select between competing corrosion-rate estimates.
  • Coating condition, cathodic protection, environment category and other mitigation factors are not modeled directly. Their effect should already be reflected in the governing corrosion rate where appropriate.
  • The model does not evaluate localized pitting, grooving, erosion, cracking, stress-corrosion cracking, hydrogen damage, fatigue, creep or other non-uniform damage mechanisms.
  • The calculator does not determine inspection intervals, MAWP, repair dates or fitness-for-service acceptance.
  • In remaining-life and target-life modes, the corrosion rate must be greater than zero. Design corrosion allowance mode permits a zero corrosion rate.
  • Displayed remaining life and projected thickness are limited to a minimum value of zero by the calculation logic.
  • The status logic uses mathematical comparisons and does not create a separate practical tolerance band for inspection uncertainty.
  • Final design, continued-service decisions and inspection planning should be verified using the governing design or inspection code and qualified engineering judgment.
06
Questions

Frequently asked questions

What is the formula for corrosion allowance?
For the constant-rate model used by this calculator, design corrosion allowance is calculated as CA = r × t, where r is the governing corrosion rate and t is the design service period. For example, a corrosion rate of 0.10 mm/year over 20 years gives a calculated corrosion allowance of 2.0 mm.
How is remaining life calculated from wall thickness?
Remaining life is calculated from the available thickness reserve divided by the governing corrosion rate: t_remain = (t_actual − t_required) / r. The calculator limits the displayed remaining life to zero when the current thickness is already below the entered minimum required thickness.
Does this calculator calculate the corrosion rate?
No. Corrosion rate is an input to this calculator. The tool does not calculate corrosion rate from two thickness readings, inspection dates, coupon data or weight-loss measurements. A governing corrosion rate must be established separately before using the corrosion allowance or remaining-life calculations.
What is a governing corrosion rate?
The governing corrosion rate is the rate selected for the assessment after considering the available inspection data, operating conditions and applicable engineering requirements. This calculator uses the entered value directly and does not determine whether a long-term, short-term or other corrosion-rate estimate should govern.
What is the difference between corrosion allowance and remaining life?
Corrosion allowance is a thickness quantity, while remaining life is a time quantity. Design corrosion allowance estimates the thickness expected to be lost during a specified service period. Remaining life estimates how long the currently available thickness reserve will last at the entered corrosion rate.
What does minimum required wall thickness mean in this calculator?
Minimum required wall thickness is the limiting thickness entered by the user for the evaluated component and operating condition. The calculator does not derive this value from pressure, geometry or material properties. It should be established separately using the applicable design or assessment method.
What does the target-life check calculate?
Target-life mode projects corrosion loss over a specified future service period, calculates the projected end thickness, compares it with the minimum required thickness, calculates remaining life and life margin, and determines the maximum constant corrosion rate that would meet the selected target period when a positive thickness reserve exists.
What happens if the current thickness is equal to or below the minimum required thickness?
If the current thickness is approximately equal to the minimum required thickness, the calculator reports a warning and remaining life is approximately zero. If the current thickness is below the minimum required thickness, the evaluated current-thickness criterion is not satisfied, remaining life is displayed as zero, and the thickness deficit is reported.
Is the remaining-life calculation an API 570 compliance check?
No. The remaining-life equation has the same basic form commonly used for linear wall-loss assessment in in-service piping, but this calculator does not implement a complete API 570 procedure. It does not calculate or select long-term and short-term corrosion rates, establish the required wall thickness, determine inspection intervals or perform the other code-specific assessment steps.
Does the calculator account for pitting, coating or cathodic protection?
Not directly. The current calculation uses one governing corrosion rate and a linear thickness-loss model. It does not apply separate coating, cathodic-protection or environment factors and does not evaluate localized pitting or other non-uniform damage. Where such effects are relevant, they must be addressed when establishing the governing rate or by a more appropriate assessment method.
Add an engineering note