Corrosion Rate Calculator
Introduction: what a coupon corrosion rate actually tells you
A corrosion rate is the speed at which a metal surface is being consumed by its environment, expressed as a thickness lost per unit of time. The two units that dominate industrial practice are mils per year (mpy), where a mil is one thousandth of an inch, and millimetres per year (mm/y). This calculator derives that rate from the oldest and still most widely trusted measurement in the field: the mass-loss coupon. A cleaned, weighed specimen of known surface area is exposed to the service environment for a known number of hours, retrieved, chemically cleaned to strip corrosion product without attacking the base metal, and weighed again. The mass that has gone is converted into an equivalent uniform depth of metal, and that depth is divided by the exposure time.
The appeal of the method is that it measures the thing engineers actually care about — metal that is no longer there — rather than an electrochemical proxy. It works for any metal in any fluid, it needs no instrumentation beyond an analytical balance, and it integrates the whole exposure period including upsets, shutdowns and seasonal swings. Its weakness is equally fundamental: the answer is an average smeared evenly over the coupon. Corrosion very rarely obliges by proceeding evenly, so a coupon rate is best read as a screening number that ranks materials, tracks a chemical treatment programme, and feeds a corrosion allowance — not as a guarantee that a wall will survive.
Corrosion coupons are used across oil and gas gathering systems, water injection and cooling circuits, chemical plants, marine ballast tanks, buried pipelines and reinforced concrete research. In each of those services the calculated rate feeds directly into decisions with real money and real safety attached: how thick to specify a wall, how much inhibitor to inject, when to schedule the next internal inspection, and whether a cheaper alloy can be substituted. Because that chain of decisions starts here, unit discipline matters more than sophistication — the single most common error in corrosion-rate work is not a bad measurement but the wrong unit constant.
The ASTM G1 corrosion rate formula and its K constants
ASTM G1, Standard Practice for Preparing, Cleaning, and Evaluating Corrosion Test Specimens, states the mass-loss corrosion rate as a single expression in which a unit constant absorbs every conversion:
Formula: CR = (K × W) / (A × T × D)
Here is the mass loss, taken as the initial mass minus the final cleaned mass; is the total exposed surface area; is the exposure time; and is the density of the alloy. The constant is not physics — it is bookkeeping. It carries whatever mismatch exists between the units you measured in and the unit you want the answer in, which is exactly why quoting a K value without its unit set is meaningless.
This calculator fixes the input units at grams, square centimetres, hours and grams per cubic centimetre, the combination used in the ASTM G1 table and in almost every modern laboratory report. For that set the standard lists one constant per output unit:
| Output unit | K (for W in g, A in cm², T in hours, D in g/cm³) | Typical use |
|---|---|---|
| Mils per year (mpy) | 3.45 × 106 | North American oil, gas and water treatment practice |
| Millimetres per year (mm/y) | 8.76 × 104 | ISO and European practice, wall-loss budgeting |
| Micrometres per year (µm/y) | 8.76 × 107 | Corrosion-resistant alloys and coatings research |
| Inches per year (ipy) | 3.45 × 103 | Legacy North American drawings and specifications |
| Grams per square metre per hour | 1.00 × 104 × D | Mass-rate reporting where density is uncertain |
Writing the millimetre form out explicitly makes the arithmetic easy to audit:
Formula: CR_mm/y = (8.76 × 10^4 × W) / (A × T × D)
That constant is easy to derive and worth deriving once. Dividing a mass loss in grams by a density in g/cm³ gives a volume in cm³; dividing that by an area in cm² gives a depth in centimetres; multiplying by ten converts to millimetres and by 8760 converts hours to years, and 10 × 8760 = 87 600. The mpy constant follows the same path: one centimetre is 1000 ⁄ 2.54 = 393.70 mils, and 393.70 × 8760 = 3.449 × 106, which the standard rounds to 3.45 × 106. Because that rounding is baked into the published mpy constant, the mpy and mm/y results differ from the exact conversion by roughly one part in a thousand. Both are correct to the precision the standard intends; the calculator applies each tabulated constant directly and flags the difference in its notes.
The infamous alternative constant, 534, is not wrong — it simply belongs to a different unit set, with mass loss in milligrams, area in square inches, time in hours and density in g/cm³. Feed grams and square centimetres into it and the answer comes out about 6450 times too small, which is the single most frequent mistake in student and field calculations alike.
How to use this corrosion rate calculator
Weigh the cleaned, dried coupon before exposure and record the mass in grams to at least four decimal places if your balance allows. Measure the total exposed area, remembering that a flat rectangular coupon exposes both faces, all four edges and, if it is mounted on a rod, loses the area covered by the holder. Log the exposure in hours, not days, because the constants above are written for hours. After retrieval, clean the coupon by the chemical procedure ASTM G1 lists for that alloy, dry it, and reweigh. Enter the initial mass, the final mass, the exposed area, the exposure hours and the alloy density, then run the calculation.
The material menu fills the density box for you with the usual handbook values — 7.87 g/cm³ for carbon steel, 8.00 for type 304 and 316 stainless, 8.94 for copper, 8.53 for admiralty brass, 2.70 for aluminium, 7.13 for zinc and 4.51 for titanium. Choose Custom and type your own figure when you have a certified value for the specific heat of the alloy you tested; density enters the formula linearly, so a five per cent error in density is a five per cent error in the rate.
The two thickness fields are optional and change what the calculator reports. Enter the current measured wall thickness of the component the coupon represents and the minimum required thickness — the retirement limit from your pressure calculation or a fitness-for-service assessment — and the calculator adds a remaining-life projection and a next-inspection date in the style of API 570 for piping and API 510 for pressure vessels. Leave them blank and you get the rate alone. Both must be in millimetres, and the current thickness must exceed the minimum, otherwise the component is already below its retirement limit and remaining life is not a meaningful number.
Read the outputs in this order. First check the mm/y figure against the corrosion allowance in the design: a 3 mm allowance consumed at 0.5 mm/y is gone in six years. Then look at the band classification, which is a coarse industry shorthand rather than a code requirement. Then look at the penetration depth over the test itself — if the coupon lost less than about 10 µm, the result is dominated by weighing and cleaning error and the exposure was too short. Finally, if you supplied thicknesses, treat the remaining life as an upper bound that assumes the measured rate continues unchanged and that corrosion is uniform.
Worked example: a carbon steel coupon in seawater
A carbon steel coupon is machined, cleaned and weighed at 50.0000 g. It is exposed in an aerated seawater loop for 720 hours, which is 30 days. On retrieval it is cleaned by the ASTM G1 Clarke solution procedure and reweighed at 49.2000 g, so the mass loss is 0.8000 g. The exposed area, both faces plus edges, is 25 cm², and carbon steel density is taken as 7.87 g/cm³. Substituting into the mpy form gives:
Formula: CR_mpy = (3.45 × 10^6 × 0.8) / (25 × 720 × 7.87) = 2760000 / 141660 ≈ 19.48 mpy
and the millimetre form, using the tabulated constant rather than a conversion, gives:
Formula: CR_mm/y = (8.76 × 10^4 × 0.8) / (25 × 720 × 7.87) = 70080 / 141660 ≈ 0.4947 mm/y
That is 494.7 µm/y. It is also worth computing how deep the attack actually went during the test, which is the mass loss divided by density and area:
Formula: p = W / (A × D) = 0.8 / (25 × 7.87) cm ≈ 0.0407 mm
Forty micrometres of metal in thirty days is far above the weighing noise floor, so the measurement is sound. The equivalent mass-loss rate, still quoted in older NACE literature, is mg per square decimetre per day (mdd). Now suppose the coupon represents a 9.5 mm nominal line whose last inspection measured 9.00 mm of remaining wall, with a minimum required thickness of 6.40 mm. The remaining life follows the API 570 definition:
Formula: L_rem = (t_actual − t_min) / CR_mm/y = (9.00 − 6.40) / 0.4947 ≈ 5.3 years
Enter 50, 49.2, 25, 720 and 7.87 into the calculator, add 9.00 and 6.40 in the thickness fields, and it returns 19.48 mpy, 0.4947 mm/y, 494.7 µm/y, a penetration of 0.0407 mm over the test, a remaining life of about 5.3 years and a next inspection due in about 2.6 years — half the remaining life, which is the API 570 rule. The band is fair, right at the edge of poor: a coupon that lost less than a gram in a month is still eating a corrosion allowance fast enough to matter.
Corrosion rate classification bands and what they imply
The four-band scale below appears in most corrosion handbooks and in NACE and AMPP training material. It is a communication device, not an acceptance criterion; the acceptance criterion is always the wall you have above your retirement thickness divided by the years you need it to last.
| Rate (mpy) | Rate (mm/y) | Classification | Typical response |
|---|---|---|---|
| < 1 | < 0.025 | Excellent resistance | No mitigation needed; monitor only |
| 1 – 5 | 0.025 – 0.13 | Good, acceptable for many applications | Standard corrosion allowance covers design life |
| 5 – 20 | 0.13 – 0.51 | Fair, protection usually justified | Inhibitor, coating or cathodic protection |
| > 20 | > 0.51 | Poor, significant material loss expected | Upgrade alloy, change chemistry, or shorten intervals |
Context decides everything. Two mpy is comfortable for a low-pressure water tank with a 3 mm allowance and unremarkable for a 25-year design; the same two mpy on a thin-wall heat exchanger tube with 1.2 mm of wall is a mid-life replacement. Conversely, thirty mpy on a sacrificial anode is the anode doing its job. Read the band, then do the thickness arithmetic.
Remaining life, corrosion rate trending and inspection intervals
Inspection codes turn a corrosion rate into a schedule. API 570 for in-service piping and API 510 for pressure vessels both compute a long-term rate from the difference between the original or earliest thickness and the current thickness divided by the years between them, and a short-term rate from the two most recent inspections. The larger of the two, or the one engineering judgement says best represents current conditions, becomes the governing rate. Remaining life is then the current thickness minus the minimum required thickness divided by that governing rate, and the next inspection is scheduled at one half of the remaining life or ten years, whichever is shorter — five years for many piping classes.
A coupon rate slots into that framework as a short-term rate measured in weeks rather than years, which is its real advantage: it detects a chemistry upset or an inhibitor failure long before wall-thickness readings could resolve the change. It is also the natural way to prove a treatment programme works, since a paired set of coupons before and after a change in dose gives a direct ratio. What a coupon cannot do is replace ultrasonic thickness measurement on the component itself, because the coupon sits in the flow the designer chose, not necessarily where the water drops out, the flow stagnates or the velocity peaks.
Forms of corrosion a mass-loss coupon may miss
The mass-loss method captures general, uniform attack extremely well and localised attack extremely poorly. The mechanisms that cause most real failures are in the second group:
- Pitting: small cavities that deepen rapidly while most of the surface stays bright. ASTM G46 asks for pit depth to be measured separately and for a pitting factor — deepest pit divided by average penetration — to be reported. Factors of 5 to 25 are common in chloride service, so a coupon reading 2 mpy can conceal 30 mpy of local penetration.
- Crevice corrosion: oxygen-depleted, acidified microenvironments under gaskets, deposits and lap joints. A coupon held on an insulated rod deliberately avoids crevices, so it under-reports the very mechanism that attacks flanges and tube-to-tubesheet joints.
- Galvanic corrosion: the more active member of a dissimilar-metal couple corrodes preferentially. A single-alloy coupon carries no couple and therefore no galvanic signal.
- Erosion-corrosion and flow-accelerated corrosion: strongly velocity dependent. A coupon in a bypass rack rarely sees the same shear as an elbow in the main line.
- Microbiologically influenced corrosion: sulphate-reducing bacteria under deposits produce deep, under-deposit pits whose mass contribution is negligible.
- Environmentally assisted cracking: stress corrosion cracking, sulphide stress cracking and hydrogen-induced cracking cause fracture with essentially zero mass loss. A coupon will report an excellent rate right up to the failure.
None of this makes the coupon rate useless; it makes it one input. Sound practice pairs coupons with electrical resistance or linear polarisation probes for trend resolution, ultrasonic or radiographic thickness surveys for the real component, and visual or microscopic pit-depth examination of the coupon itself before it is discarded.
Limitations and assumptions behind this corrosion rate
Every number this calculator returns rests on the same assumption: that the mass which left the coupon left evenly, from every square centimetre of the exposed area, at a steady pace through the whole exposure. All three parts of that assumption are routinely violated. Corrosion is often front-loaded, with a high initial rate that falls as a protective scale or corrosion product layer builds, so a short exposure over-reports the long-term rate and a long exposure averages away an early upset. Reporting the exposure time alongside the rate is therefore not optional; a rate without its exposure period cannot be compared with another rate.
The measurement inputs carry their own error budget. Over-aggressive chemical cleaning strips base metal and inflates the rate, which is why ASTM G1 prescribes repeated cleaning cycles with the mass plotted against cycle number, taking the intercept rather than the final mass. Under-cleaning leaves corrosion product attached and deflates the rate, sometimes to a negative value if the scale is heavy. Surface area is the input most often wrong: threaded ends, mounting holes, edges, weld beads and as-cast roughness all expose more metal than the nominal rectangle implies, and true surface roughness can add tens of per cent. Density should be the certified alloy density, not the parent metal's, for heavily alloyed or clad material.
Finally, the result is valid only for the environment the coupon actually saw. Corrosion rates swing by an order of magnitude with temperature, pH, dissolved oxygen and carbon dioxide partial pressure, chloride concentration, flow velocity and biological activity. A 30-day test in a still, room-temperature loop tells you very little about a hot, turbulent, seasonally variable service line. Treat the output here as a screening estimate that ranks materials and flags problems early, then confirm anything safety critical with replicate coupons, longer exposures, pit-depth measurement and direct inspection of the component.
Frequently asked questions about corrosion rate calculations
What is a good corrosion rate in mpy?
As a general corrosion-resistance guide, a rate below 1 mpy is often called excellent; 1 to 5 mpy is commonly considered good for many uses; 5 to 20 mpy is fair and usually justifies protection; and a rate above 20 mpy indicates substantial material loss. The acceptable rate always depends on the component, the wall thickness available above the retirement limit, the service conditions, and the consequences of failure.
Which K constant does ASTM G1 use for mpy, mm per year and micrometres per year?
ASTM G1 tabulates one constant per output unit for mass loss in grams, area in square centimetres, time in hours and density in grams per cubic centimetre. K is 3.45 times 10 to the 6 for mils per year, 8.76 times 10 to the 4 for millimetres per year, and 8.76 times 10 to the 7 for micrometres per year. The often-quoted value 534 belongs to a different unit set, with mass loss in milligrams and area in square inches.
How do I convert mils per year to millimetres per year?
Multiply the mpy rate by 0.0254 to obtain mm/y, because a mil is one thousandth of an inch and one inch is exactly 25.4 millimetres. This calculator instead applies the ASTM G1 constant for each unit directly, so the mm/y figure can differ from 0.0254 times the mpy figure by about one part in a thousand, which is only the rounding built into the published constant 3.45 times 10 to the 6.
How do I estimate remaining life from a corrosion rate?
API 570 and API 510 define remaining life as the measured wall thickness minus the minimum required thickness, divided by the corrosion rate in the same thickness units per year. Enter an actual thickness and a retirement thickness and this calculator reports that remaining life in years, plus the next inspection interval, which those codes cap at one half of the remaining life or ten years, whichever is shorter.
Why does a low weight-loss corrosion rate not rule out pitting failure?
The mass-loss method spreads the metal that dissolved evenly over the whole exposed area, so it reports an average penetration. A single pit that removes very little total mass can still perforate a wall years before the average rate predicts, which is why ASTM G46 asks for pit depth to be measured separately and why a pitting factor, the deepest pit divided by the average penetration, is reported alongside the rate.
Sources used to verify these corrosion rate formulas
Sources: the mass-loss corrosion rate expression CR = (K × W) / (A × T × D) and the unit constants K = 3.45 × 106 for mpy, 8.76 × 104 for mm/y and 8.76 × 107 for µm/y — with W in grams, A in cm², T in hours and D in g/cm³ — are taken from ASTM G1. Coupon exposure practice follows ASTM G31, pit-depth and pitting-factor reporting follows ASTM G46, and the remaining-life and inspection-interval rules follow API 570 and API 510. Conversion: 1 mpy = 0.0254 mm/y exactly.
- ASTM G1 — Standard Practice for Preparing, Cleaning, and Evaluating Corrosion Test Specimens (corrosion rate equation and the table of K constants).
- ASTM G31 — Standard Guide for Laboratory Immersion Corrosion Testing of Metals (coupon exposure, specimen preparation and test duration).
- ASTM G46 — Standard Guide for Examination and Evaluation of Pitting Corrosion (pit depth and pitting factor).
- API 570 — Piping Inspection Code and API 510 for pressure vessels (short-term and long-term corrosion rates, remaining life, inspection intervals).
- AMPP, formed from NACE International and SSPC (corrosion-resistance classification bands, coupon monitoring and mitigation practice).
Wall Watch: hold the wall to design life
This is the corrosion rate calculated above turned into a clock you can watch running. The canvas shows a cross-section of a pipe or tank wall: aggressive fluid above, metal in the middle, the outside world below. Years scroll past and the metal-loss front eats downward at the service rate in mm per year, while pits spawn locally and bore ahead of the general front. A red dashed line marks the minimum required thickness, and the gauge on the right tracks the thinnest column of metal left. You have a maintenance budget in credits and five interventions to spend it on — coating, cathodic protection, inhibitor injection, dehydration and a material upgrade. Each multiplies the rate down, each has a service life, and each expires and must be renewed. Reach the asset's design life without breaching the minimum thickness and the level is cleared.
Level 1 / 5
Year 0.0 / 20
Thinnest wall — mm
Active rate — mm/y
Credits 0
Score 0
Best 0
Selected intervention: Protective coating — 3 credits, multiplies the corrosion rate by 0.25, service life 12 years.
Press Start wall watch. Spend credits before the wall reaches the red minimum-thickness line.
Keyboard (click or tab to the cross-section first): ← → choose an intervention, 1–5 apply one directly, Enter or Space apply the selected intervention (or start the run), P pause and resume, F fast forward, R restart the level. Pointer and touch: tap an intervention card to buy it, and press or drag anywhere on the wall to probe the remaining thickness at that point.
- Coating 3 credits, rate × 0.25, 12 years, halves pit initiation
- Cathodic protection 4 credits, rate × 0.35, 18 years, external surfaces
- Inhibitor injection 2 credits, rate × 0.45, 6 years, strongest against pitting
- Dehydration 3 credits, rate × 0.30, 10 years, removes the water phase
- Material upgrade 6 credits, rate × 0.15, 45 years, the expensive permanent fix
- Credits a maintenance allowance is granted every few years, so patience has value
- Pits spawn at random and bore two to five times faster than the general front
- Breach the run ends the moment any column falls to the minimum thickness
