where A is the area of the surface unit cell, G slab is the Gibbs free energy of the surface slab containing a certain number of Cu atoms N Cu and O atoms N O , and g bulk is the Gibbs free energy per formula unit of the respective bulk phase. The oxygen chemical potential µ O can only be varied within certain boundaries, which are given by