Faraday's first law of electrolysis:
The amount of the substance that
undergoes oxidation or reduction at each electrode during electrolysis
is directly proportional to the amount of electricity that passes
through the cell.
Thus mass of the substance produced
=I(A) ×t(s)96500 C/mol e−×mole ratio×molar mass
Here I(A) is current in ampere and t(s) is time in second.
Faraday's second law of electrolysis:
When the same amount of electricity is passed through different cells containing different electrolytes and arranged in series, the amounts of substances oxidized or reduced at the respective electrodes are directly proportional to their chemical equivalent masses.
moles of A produced moles of B produced= mole ratio of A half reaction mole ratio of B half reaction