The elastic constants of Gd-element and Gd2In have been determined by density functional theory (DFT). Mechanical properties have been specified and compared with available experimental results. In this work, a detailed ab initio study on Gd and Gd2In are presented in order to investigate the magneto-elastic and electronic properties and to consider the tune parameters involved in these values. The relationship between these data and the possibility of Kondo-like effect in Gd2In were discussed.