The amount of gravitational potential energy an object has depends on its height above the ground and its mass. The heavier an object and the higher it is above the ground, the more gravitational potential energy it has.