Gravitational potential energy depends upon the mass and height of the body.
The gravitational potential energy of a body of mass 'm' at the earth's surface −mgRe. Its gravitational potential energy at a height Re from the earth's surface will be (Here Re is the radius of the earth)