The Earth is a sphere is a statement to describe a scientific law
You need to know how much friction that object.
Gravitational potential energy, relative to some level =
(mass of the object)
times
(height above the reference level)
times
(acceleration due to gravity) .