Corrosion Protection Calculator Back
Materials Engineering

Corrosion Protection Design Calculator

Calculate galvanic corrosion current between dissimilar metal pairs and visualize the Pourbaix E-pH diagram. Estimate sacrificial anode life for cathodic protection design.

Metal Pair Settings
x
Ω
kg
Results
Results
EMF (V)
Corrosion Current (mA)
Corrosion Rate (mm/yr)
Anode Life (yr)
Pourbaix
Theory & Key Formulas

$$E_{cell} = E_{cathode} - E_{anode}$$

電池起電力(V):電極間の標準電位差が腐食の駆動力となる。

$$i_{corr} = \frac{\beta_a \beta_c}{2.303 R_p (\beta_a + \beta_c)}$$

腐食電流密度(A/m²):Stern-Geary 式。$R_p$ は分極抵抗、$\beta$ はタフェル定数。

$$\Delta m = \frac{M \cdot i_{corr} \cdot t}{n \cdot F}$$

腐食質量損失(kg):$M$ はモル質量、$n$ は価数、$F$ はファラデー定数(96485 C/mol)。

Frequently Asked Questions
Q: What is galvanic corrosion?
When dissimilar metals are in contact through an electrolyte (seawater, rainwater), a potential difference drives current flow. The less noble metal (anode) corrodes preferentially. Example: steel and copper in contact causes faster steel corrosion.
Q: What is a sacrificial anode?
A metal more active than the structure to protect (zinc, magnesium, aluminum alloy) is attached and corrodes preferentially, protecting the base metal. Widely used on ships, offshore platforms, and underground pipelines.
Q: How do you read a Pourbaix diagram?
The x-axis is pH and the y-axis is electrode potential vs SHE. In the 'corrosion' region the metal dissolves; in 'passivation' a protective oxide forms; in 'immunity' no corrosion occurs.
Q: Why is the cathode-to-anode area ratio critical?
A large cathode with a small anode concentrates corrosion on the anode. Fasteners should always be more noble than the plate material to avoid accelerated corrosion failure.

What is Galvanic Corrosion?

🙋
What exactly happens when two different metals touch in water? Why does one get eaten away?
🎓
Basically, you've created a tiny battery! When dissimilar metals are in contact through an electrolyte like seawater, a potential difference drives an electric current. The less "noble" metal (the anode, like zinc) gives up electrons and corrodes to protect the more noble metal (the cathode, like steel). Try selecting "Zinc" as the Anode and "Steel" as the Cathode in the simulator above to see a classic example.
🙋
Wait, really? So the size of the pieces matters too? What's this "Area Ratio" slider for?
🎓
Great question! It matters a lot. In practice, if you have a huge cathode (noble metal) connected to a tiny anode, the corrosion gets concentrated and accelerates dramatically. That's the "Area Effect." The simulator's "Area Ratio" (Cathode Area / Anode Area) lets you explore this. For instance, a small steel bolt on a large copper plate would corrode shockingly fast. Slide the ratio up and watch the predicted corrosion current increase.
🙋
So we can use this to protect things? How does adding a "sacrificial anode" work, and how long will it last?
🎓
Exactly! That's cathodic protection. We intentionally attach a very active metal (like a block of magnesium) to a steel structure (like a ship's hull). The magnesium sacrifices itself, corroding instead of the steel. The simulator's "Anode Mass" and calculated "Anode Life" show this trade-off directly. Increase the mass, and you buy more protection time. It's a key design calculation for pipelines and offshore platforms.

Physical Model & Key Equations

The driving force for galvanic corrosion is the difference in electrochemical potential between the two metals. The net current is limited by the polarization of the electrodes and the resistance of the electrolyte path.

$$I_{corr}= \frac{E_{cathode}- E_{anode}}{R_{sol}+ R_{pol}}$$

Where:
$I_{corr}$ = Galvanic corrosion current (A)
$E_{cathode}, E_{anode}$ = Electrode potentials of the metals (V), which depend on material and pH.
$R_{sol}$ = Solution Resistance (Ω) - you control this in the simulator.
$R_{pol}$ = Combined polarization resistance of the electrodes.

The lifetime of a sacrificial anode is determined by its mass, the corrosion current, and its electrochemical capacity (how much charge it can provide per unit mass as it dissolves).

$$t_{life}= \frac{m \cdot C \cdot u}{I_{corr}}$$

Where:
$t_{life}$ = Anode service life (years)
$m$ = Anode Mass (kg) - a direct input in the tool.
$C$ = Theoretical electrochemical capacity (A·h/kg)
$u$ = Utilization factor (typically ~0.85)
$I_{corr}$ = Corrosion current from the first equation.

Real-World Applications

Ship Hull & Offshore Structure Protection: Large blocks of zinc or aluminum alloys are welded to the steel hull below the waterline. These anodes corrode preferentially, preventing the expensive steel structure from rusting. The simulator helps engineers determine the number and mass of anodes needed for a vessel's expected dockyard period.

Underground Pipelines & Storage Tanks: Buried steel pipelines are protected by connecting them to magnesium anode bags placed in the surrounding soil. The area ratio (pipe surface vs. anode surface) and soil resistivity (simulated by Solution Resistance) are critical design parameters calculated with tools like this.

Automotive & Aerospace Components: Dissimilar metal joints are common, like aluminum body panels with steel fasteners. Engineers use this principle to select compatible materials or design insulating gaskets to prevent unintended galvanic cells from forming due to road spray or humidity.

Water Heaters & Domestic Plumbing: Many water heaters have a replaceable "sacrificial rod" made of magnesium or aluminum suspended in the tank. It corrodes instead of the steel tank lining, dramatically extending the appliance's life. The life estimate function directly models this maintenance schedule.

Common Misconceptions and Points to Note

When you start using this type of calculation tool, there are a few common pitfalls. The first is assuming that a larger potential difference always means more severe corrosion. While the driving force does increase, the actual corrosion current is heavily influenced by the circuit's total resistance $R_{total}$. For example, connecting iron and copper in pure water (high resistance) results in much slower corrosion compared to seawater (low resistance). If you adjust the "solution resistance" parameter in the tool, you should see the current value drop significantly.

The second point is not accounting for the material's "surface condition". The Pourbaix diagrams and equilibrium potentials in this tool assume clean, bare metal surfaces. In reality, surfaces may have oxide films (passive films) or peeling paint. For instance, aluminum is often protected by a passive film, so its actual corrosion rate is usually slower than the theoretical value. Conversely, if that film is locally damaged, corrosion can progress rapidly in that spot (pitting corrosion), so caution is needed.

The third point is the practical sense of area ratio. You can easily set something like "A_cathode / A_anode = 100" in the tool, which in the field corresponds to scenarios like "a single small stainless steel bolt fastening a large carbon steel plate." The calculation will show a sharp increase in the corrosion rate of the anode (the bolt). In design, the golden rule is to "keep the cathode area small and the anode area large." When dissimilar metal contact is necessary, remember that the basic approach is to electrically isolate them using insulating washers or coatings.

How to Use

  1. Enter the cathode-to-anode area ratio (dimensionless). For a steel hull with 500 m² surface and 2 m² anode array, input 250.
  2. Set solution pH (0–14 scale). Seawater typically ranges 8.0–8.3; acidic process tanks require 2–4.
  3. Input electrolyte resistance in ohm-cm. Seawater ≈ 20 ohm-cm; freshwater ≈ 10,000 ohm-cm; brackish ≈ 100 ohm-cm.
  4. Enter sacrificial anode mass in kilograms. Zinc anodes for marine duty typically 5–50 kg; aluminum 3–25 kg.
  5. Execute calculation to obtain galvanic current (mA), Pourbaix stability zone, and anode service life (years).

Worked Example

Steel offshore pipeline (cathodic protection duty): cathode area = 1200 m², anode area = 4.8 m², area ratio = 250. Seawater environment: pH = 8.1, resistance = 22 ohm-cm. Zinc anode mass = 18 kg (density 7.14 g/cm³). Calculated galvanic current ≈ 8.5 mA. Anode consumption rate ≈ 11.6 mg/A-year. Service life = 18,000 g ÷ (0.0085 A × 11.6 mg/A-year) ≈ 183 years theoretical; practical design life ≈ 5–8 years accounting for calcareous film formation and temperature variation.

Practical Notes

  1. Area ratio dominance: doubling the cathode/anode ratio increases galvanic current by ~2×; oversized anodes reduce protection effectiveness and waste material.
  2. Pourbaix diagram shifts with temperature and chloride concentration; seawater at 25°C differs from 5°C Arctic operations by 0.3–0.5 pH units practically.
  3. Anode material selection: zinc provides 820 mA-h/g (marine standard); aluminum 2700 mA-h/g (lightweight subsea); magnesium 2200 mA-h/g (low-potential structures but corrodes rapidly in seawater).
  4. Resistance dominates current calculation at distances >2 m from anode; verify ohm-cm data via conductivity probe in your specific electrolyte batch.