Remaining Life Calculator
Corrosion rate and remaining life from thickness readings per API 579-1/ASME FFS-1, with long-term and short-term rates and a MAWP-limited life.
When to use this calculator
Use when inspection data has to become an interval — deciding when a line must next be inspected, whether it survives to the next turnaround, or whether it needs repair or replacement now. It derives corrosion rates from the thickness history, both long-term against the original wall and short-term between the last two inspections, and takes the governing rate. Remaining life then follows from the margin down to the minimum required thickness.
Required inputs
- Original or initial thickness and the age of the equipment
- Current measured thickness, and the previous reading with its date
- Minimum required thickness t_min from the construction-code calculation
- Whether the loss is general or local metal loss
Expected outputs
- Long-term and short-term corrosion rates, and the governing rate
- Remaining life in years
- MAWP-limited life where pressure rather than t_min governs
- Thickness statistics across the reading set
Formula overview
Thicknesses in mm, ages and intervals in years, corrosion rate in mm/yr, remaining life in years.
API 579-1/ASME FFS-1, Part 4 (general) and Part 5 (local) metal loss:
CR_long = (t_initial − t_current) / age
CR_short = (t_previous − t_current) / (t between readings)
CR = the governing (larger) of the two
remaining life = (t_current − t_min) / CR
A MAWP-limited life is also reported, for the case where the pressure
the component can still hold — not t_min itself — sets the endpoint.Worked example
Line installed at 8.0 mm, 10 years old, now measuring 6.8 mm.
Pressure design gives t_min = 4.5 mm.
CR_long = (8.0 − 6.8) / 10 = 0.12 mm/yr
remaining life = (6.8 − 4.5) / 0.12 = 19.2 years
If the last two readings four years apart showed 7.6 → 6.8 mm, the
short-term rate is 0.20 mm/yr and governs instead:
remaining life = (6.8 − 4.5) / 0.20 = 11.5 years — corrosion has
accelerated, and the interval should follow the shorter answer.Common mistakes
- Using the long-term rate when the short-term rate is higher. A rising short-term rate means conditions have changed, and averaging it away against a long benign history is exactly how a leak gets missed.
- Setting the next inspection at the full remaining life. Common practice is half the remaining life, so there is an opportunity to detect an accelerating rate before the wall reaches t_min.
- Applying general-metal-loss logic to a local pit. Part 4 averages thickness over a length; a discrete pit or groove is a Part 5 assessment, and treating it as general loss overstates the life significantly.
FAQ
Learn
Related articles
Pipe Sizing Calculation คืออะไร
ทำความเข้าใจหลักการเลือกขนาดท่อจาก flow rate และ velocity พร้อมสมการพื้นฐานที่วิศวกรใช้จริง
Pressure Drop Calculation
คู่มือคำนวณการสูญเสียความดันในระบบท่อ (Pressure Drop) ด้วย Darcy–Weisbach Equation, Reynolds Number, Friction Factor และ Minor Losses พร้อมตัวอย่างคำนวณจริงสำหรับวิศวกร
วิธีคำนวณ Hydrotest Pressure
หลักการคำนวณความดันทดสอบ hydrostatic ตาม ASME B31.3 สำหรับงาน commissioning