We have performed an ab initio study of the surface energy and the work function for six close-packed surfaces of 40 elemental metals by means of a Green's-function technique, based on the linear-muffin-tin-orbitals method within the tight-binding and atomic-sphere approximations. The results are in excellent agreement with a recent full-potential, all-electron, slab-supercell calculation of surface energies and work functions for the 4d metals. The present calculations explain the trend exhibited by the surface energies of the alkali, alkaline earth, divalent rare-earth, 3d, 4d, and 5d transition and noble metals, as derived from the surface tension of liquid metals. In addition, they give work functions which agree with the limited experimental data obtained from single crystals to within 15%, and explain the smooth behavior of the experimental work functions of polycrystalline samples as a function of atomic number. It is argued that the surface energies and work functions calculated by present day ab initio methods are at least as accurate as the experimental values.