The work done by electrons following through a galvanic cell can be calculated with:

where is work, is the number of moles of , .

Derivation

Since we know cell potential is work divided by charge (), we can rearrange the relationship to get . However, when the work is done by the system, work is negative, so . We know that the charge of moles of is (where is Faraday, the charge carried by one mole of electrons). Substituting the charge for , we get .

Works equals change in Gibbs free energy

Note that since the change in Gibbs free energy is defined as the maximum amount of work done by a reaction, we have