The surface energy, the one-particle distribution function of electrons, etc. of a semi-bounded metal within the framework of the semi-infinite jellium are calculated. The influence of the potential barrier height on these characteristics is studied. The barrier height is found from the condition of the minimum of the surface energy. The surface energy is positive in the entire domain of the Wigner-Seitz radius of metals, and it is in sufficiently good agreement with experimental data.PACS numbers: 73.20.-r; 71.10.-w; 71.45.-d