Potential of a cell assembled of two electrodes can be determined from the two individual electrode potentials using
: however , it depends.
or, equivalently,
This follows from the IUPAC definition of the electric potential difference of a galvanic cell, according to which the electric potential difference of a cell is the difference of the potentials of the electrodes on the right and the left of the galvanic cell.  When  is positive, then positive electrical charge flows through the cell from the left electrode (anode) to the right electrode (cathode).