Gravitational potential energy is the energy an object possesses because of its position in a gravitational field.
The most common use of gravitational potential energy is for an object near the surface of the Earth where the gravitational acceleration can be assumed to be constant at about 9.8 m/s2.
The gravitational potential energy at any point for an object can be given by the following formula,