To calculate the quantity of electricity needed for complete quantitative electrolysis, use Faraday's Laws. Multiply the amount of substance to be electrolysed in moles by the relevant molar ionic charge (valency), and then by Faraday's constant (96,485 coulombs per mole).