The present anti-sliding stability calculations of gravity retaining wall has some defects. This paper had divided the retaining walls that buried into earth in small grid. By searching for the point of minimum stability factor against overturning. This point is the actual turning point of the retaining walls. According to the location of this turning point, both sides of the wall are divided into four sections in order to calculated the earth pressure. At the end of the analysis, combining the friction of soil and foundation wall to get the improved anti-sliding stability factor formula. This article also, analysised the location of the minimum turning point of overturning and the anti-sliding coefficient of stability, and how they change with the change of retaining walls, width and depth that buried into earth.