1 eV is defined as the energy gained by an electron when it has been accelerated by a potential difference of 1 volt, hence 1 eV = 1.60210-19J.
The work functions mainly depend upon the properties of the metal. The work function of platinum is highest (Θ0=5.65 eV) and caesium is the lowest (Θ0=2.14 eV).