According to Faraday's first Law of electrolysis mass of substance liberated is equal to
Mass of the substance deposited,decomposed,liberated at any electrode is directly proportional to the quantity of electricity passing through the electrolyte.
where e = electro chemical equivalent weight
i = current in amperes
t = time in sec for the flow of current