Where Qi is the charge required to form the gaseous product, Qtotal is the total charge during the reaction, Ni is the number of moles of the product detected by gas chromatography, Z is the number of electrons transferred during the formation of the product (2 for CO and H2), and F is Faraday's constant (96485 C mol -1 ).