PACS 74.25.Ha, 75.40.Mg, 75.60.Ej The aim of this work was to calculate the hysteresis losses in the superconductor materials. For that, we used one macroscopic model which obtained by altering Bean's model. We propose the finite element method for the numerical modeling. Our problem consists of an infinitely long superconducting line plunged in a uniform field varying periodically in time. In this paper, we present the influence of the shape and the amplitude of the applied magnetic field to the instantaneous losses. We also present two various methods for calculating the average losses. Moreover, we could in particular obtain the quantities such as the current density or the magnetization in order to know the phenomenon of superconductivity in superconductor materials.