When we make calculations of the corrosion rates of Mg alloys, we often need to perform some simple conversions. The results are included in essentially any research paper in the field, while the logics of the development often remains obscured. For that reason I found useful to show the development here.

#### 1. Conversion of the corrosion current to the corrosion rate

Faraday’s law: m = (M / (nF))⋅it

since m = ρV, where ρ is the density and V is the volume of the corrosion layer and V = hA, where A is the area and h is the height (assuming pacing corrosion), h = m / (ρA)

=> h,cm / t,s = (M,g/mol / (nF)⋅A,cm^{2}⋅ρ,g/cm^{3})⋅i,A

after the substitution of the corresponding values:

Rate,mm/y = (3.154⋅10^{8}s⋅24g/mol)/(2⋅11.1cm^{2}⋅1.8 g/cm^{3}⋅96500C/mol)⋅i(A)

Finally, **Rate (mm/y)=1.981· 10 ^{4}·i(A)**

This conversion is based on the Faraday’s laws of Electrolysis and some basic conversions of units (centimeters to millimeters and seconds to years). The final formula was developed for the particular case when M = 24 g/mol, n = 2, ρ= 1.8 g/cm3 (Mg) and the area of a standard specimen A = 1.1 cm2. This values should, of course, be changed if necessary.

#### 2. Calculation of the corrosion rate from the mass-loss (Pw)

Pw(mm/y)=Δm(g)1.8g/cm^{3}⋅A(cm^{2})⋅t(days)⋅365⋅10**Pw(mm/y)=2.03⋅10 ^{3}⋅Δm(g)A(cm^{2})⋅t(days)**

This only includes the conversion of units: days to years, centimeters to millimeters. The density is taken ρ= 1.8 g/cm

^{3}(and should be adjusted if necessary) and the surface area is variable (A, cm

^{2}).

#### 3. Calculation of the corrosion rate from the gas evolution data (P^{H})

m(Mg) = n(mol) ·24 g/mol

n(Mg)=n(H_{2}) = pV / RT = (1.013⋅10^{5}Pa⋅10^{-6}⋅V(H_{2})mL)/(8.314J/mol−K⋅298K) = 4.09⋅10^{−5}⋅VmL

m(Mg), g = 9.8· 10^{-4} V(H_{2}), mL

P_{H} = (2.03⋅10^{3}⋅9.8⋅10^{4}⋅V(H_{2}),mL) / (A,cm^{2}⋅t,days)**P _{H},mm/y = (1.99⋅V(H_{2}),mL) / (A,cm^{2}⋅t,days)**

A bit more assumptions have been made here. First, the gas is assumed to be hydrogen formed in the simplified reaction:

- Mg + H
_{2}O –> Mg(OH)_{2}+ H_{2}(the important point here is the mole ratio Mg : H_{2}= 1 :1, the other things need not to be exactly as in the equation) - The other than Mg components of the alloy are considered inert (or at least their contribution to the gas evolution negligible).
- The gas is considered ideal and SATP conditions are taken (T = 298K, p = 1 atm).