The thermodynamics of the metal nanocluster formation has been developed. An expression for the distribution function of clusters by sizes depending on their production condition has been obtained. It has been shown that the surface tension plays an important role in the cluster formation. The surface tension coefficient value for the iron clusters at 950°C has been found.