This paper presents the investigation of energy demands during localization of wireless nodes in ad-hoc networks. We focus on the method based on the received signal strength (RSS) to estimate the distances between the nodes. To deal with the uncertainty of this technique, statistical methods are used. It implies more measurement samples to be taken and consequently more energy to be spent. Therefore, we investigate the accuracy of localization and the consumed energy in the relation to the number of measurement samples. The experimental measurements were conducted with IRIS sensor motes and their results related to the proposed energy model. The results show that the expended energy is not related linearly to the localization error. First, improvement of the accuracy rises fast with more measurement samples. Then, adding more samples, the accuracy increase is moderate, which means that the marginal energy cost of the additional improvement is higher