Ad Space — Top Banner

Corrosion Rate Calculator (Mils per Year)

Calculate metal corrosion rate in mils per year (MPY) and mm/year from weight loss data.
Includes corrosion rating classification.

Corrosion Rate

Why corrosion testing matters

Corrosion costs the global economy an estimated $2.5 trillion per year — about 3.4% of global GDP (NACE/AMPP study). In the US alone, infrastructure corrosion costs ~$300 billion annually. Predicting how fast a material will corrode in a specific environment is essential for engineering design, asset life prediction, and selecting protective measures.

The standard corrosion rate test (ASTM G31) involves immersing a known weight and area of metal in the environment of interest, then measuring weight loss after exposure. The result is converted to a thinning rate that can be projected forward to estimate asset life.

The formula:

MPY = (534 × W) ÷ (D × A × T)

Where:

  • W = weight loss (mg)
  • D = material density (g/cm³)
  • A = exposed area (cm²)
  • T = exposure time (hours)
  • 534 = unit conversion constant

The result is Mils Per Year (1 mil = 0.001 inch = 25.4 µm). Multiply MPY by 0.0254 to get mm/year.

Worked example

A steel coupon (density 7.87 g/cm³) with surface area 50 cm² is exposed to a corrosive environment for 720 hours (30 days) and loses 125 mg.

  • MPY = (534 × 125) ÷ (7.87 × 50 × 720)
  • MPY = 66,750 ÷ 283,320
  • MPY = 0.236 MPY (about 0.006 mm/year)

This rate is excellent — the steel would last decades in this environment without significant thinning.

Corrosion rate rating scale

The standard industry classification:

MPY rate mm/year Classification Typical use
< 1 < 0.025 Excellent Suitable for any long-term application
1-5 0.025-0.127 Good Acceptable for most engineering use
5-20 0.127-0.508 Fair Consider protective coating or alloy upgrade
20-50 0.508-1.27 Poor Material substitution recommended
50-200 1.27-5.08 Unacceptable Active failure mode
> 200 > 5.08 Catastrophic Immediate substitution required

A “fair” rated material loses 5-20 thousandths of an inch per year. Over 20 years, that’s 0.1-0.4 inches of wall thickness — significant for pipes and pressure vessels.

Material density values for common metals

These values determine the calculation:

Material Density (g/cm³)
Magnesium 1.74
Aluminum 2.70
Titanium 4.51
Zinc 7.13
Iron / mild steel 7.87
Stainless steel (304) 8.00
Brass 8.40
Nickel 8.90
Copper 8.96
Lead 11.34
Gold 19.3
Platinum 21.5

For alloys, use the alloy-specific density rather than the base metal — it can differ by 5-10%.

The eight forms of corrosion

NACE classifies corrosion into eight categories, each with different mechanisms and rates:

  1. Uniform / general corrosion: even thinning across surface. Predicted by weight loss tests like this calculator. Easiest to manage.

  2. Galvanic corrosion: dissimilar metals in electrical contact in an electrolyte. Less noble metal corrodes faster. Common at joints, fittings, bolts. The galvanic series ranks metals from most noble (gold, platinum) to most active (magnesium, zinc).

  3. Crevice corrosion: localized attack in shielded areas (gaskets, bolt holes, deposits). Stagnant electrolyte develops aggressive chemistry. Particularly damaging in stainless steels.

  4. Pitting corrosion: localized “pinhole” attacks. Stainless steels and aluminum are most susceptible. Can perforate thin sections rapidly while bulk remains intact. The bulk weight loss test misses pitting entirely.

  5. Intergranular corrosion: attack along grain boundaries. Common in sensitized stainless steel after improper heat treatment. Catastrophic — material falls apart along grain lines.

  6. Selective leaching (dealloying): one alloy element preferentially dissolves. Dezincification of brass (zinc dissolves, leaves porous copper). Graphitization of cast iron.

  7. Erosion corrosion: flowing fluid removes protective films. Common in pump impellers, elbows, restrictions. Rate increases dramatically with flow velocity.

  8. Stress corrosion cracking (SCC): cracks propagate under combined tensile stress and corrosive environment. Catastrophic and often undetectable until failure. Stainless steel in chloride environments is a classic example.

Critically, this calculator only addresses uniform corrosion. Pitting, crevice, intergranular, and stress corrosion failures don’t follow weight loss predictions and can fail components long before “uniform” calculations suggest.

Factors that accelerate corrosion

Real-world corrosion rates depend on many variables:

Environmental factors:

  • pH: extreme pH (very acidic or very alkaline) accelerates most metals
  • Temperature: rate roughly doubles per 10°C increase (Arrhenius equation)
  • Oxygen content: needed for cathodic reaction in most aqueous corrosion
  • Salt content: chloride ions are particularly aggressive
  • Flow velocity: higher flow erodes protective films
  • Microorganisms: sulfate-reducing bacteria can cause “microbiologically-induced corrosion” (MIC)

Material factors:

  • Alloy composition: chromium >12% in steel produces stainless behavior
  • Surface finish: smooth surfaces have less corrosion-prone microsites
  • Cold work: cold-worked material may have higher corrosion susceptibility
  • Residual stress: increases stress corrosion cracking risk
  • Inclusions and second phases: act as preferential corrosion sites

Common environments and corrosion rates

Typical mild steel corrosion rates in different environments:

Environment Corrosion rate (MPY)
Dry indoor air 0.05-0.5
Humid indoor air 0.5-2
Rural outdoor 1-5
Industrial atmosphere 5-30
Marine atmosphere (coastal) 5-25
Tropical marine atmosphere 10-50
Distilled water 1-5
Tap water 5-15
Seawater (immersed) 4-8
Concentrated sulfuric acid (cold) 1-10
Dilute sulfuric acid (cold) 100-500
Hydrochloric acid (10% cold) 100-1000+

For stainless steel 316L in seawater: typically 0.05-0.5 MPY (acceptable but pitting risk).

Cost of corrosion in practice

Notable corrosion failures:

  • Silver Bridge collapse (1967): Ohio River bridge collapsed due to stress corrosion cracking; 46 killed
  • Aloha Airlines Flight 243 (1988): fuselage failure due to multiple-site fatigue corrosion; 1 killed
  • Erika oil spill (1999): French coast, hull corrosion contributed to tanker break-up
  • Bay Bridge anchor rod failures (2013): stress corrosion cracking in newly-built San Francisco Bay Bridge
  • Flint water crisis (2014-): lead leaching from corroding pipes due to inadequate corrosion control

Corrosion protection strategies

In order of typical cost-effectiveness:

  1. Material selection: pick metals appropriate for the environment (e.g., 316 stainless for marine, titanium for highly aggressive chemistry)
  2. Coatings: paint, epoxy, polyurethane, galvanizing (zinc), powder coating
  3. Cathodic protection: sacrificial anodes (zinc, magnesium) or impressed current
  4. Corrosion inhibitors: chemicals added to fluid to slow attack
  5. Environmental control: dehumidification, oxygen removal, pH adjustment
  6. Design: avoid crevices, allow drainage, use proper alloy combinations

The wall thickness budget

For pressure vessels and pipes, the corrosion allowance is added to the minimum required wall thickness. Common allowances:

Service Corrosion allowance
Hydrocarbon refining 1.5-3.0 mm
Sulfuric acid service 6.0-12.0 mm
Sour gas (H2S) 3.0-6.0 mm
Steam service 0.5-1.5 mm
Potable water 1.0-2.0 mm
Caustic service 3.0-6.0 mm

For a vessel rated for 20-year life with 5 MPY corrosion rate: 20 × 0.127 = 2.54 mm corrosion allowance needed.

Limitations of the simple corrosion rate test

ASTM G31 weight loss testing has known limitations:

  • Steady-state assumption: real corrosion may accelerate or decelerate over time
  • Uniform corrosion only: misses pitting, SCC, intergranular attack
  • Coupon-environment mismatch: laboratory coupons may not match real service geometry, stress, or flow conditions
  • Surface finish effects: lab specimens differ from operational surfaces
  • Galvanic effects: isolated coupon ignores galvanic couples in real systems
  • Time scaling: short-term tests may not reflect long-term passivation or breakdown behavior

For critical applications, supplement with:

  • Electrochemical measurements (linear polarization, EIS)
  • Long-term field testing
  • Industry experience with similar materials in similar environments
  • Probabilistic analysis for variable conditions

Bottom line

Corrosion rate (MPY = 534×W ÷ D×A×T from ASTM G31) measures uniform metal loss from weight change. Rates under 1 MPY are excellent; above 20 MPY indicates significant deterioration. This calculator addresses uniform corrosion only — pitting, crevice, intergranular, and stress corrosion failures require different evaluation methods. Real corrosion rates depend on environment (pH, temperature, chlorides, oxygen, flow) and material factors (composition, surface, stress). For critical engineering applications, combine MPY calculations with electrochemical testing, design experience, and material-environment compatibility tables.


Ad Space — Bottom Banner

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.