When lifting a mass a certain (a distance), we must overcome its (a Force). Therefore the energy required to lift it (or the in doing so) can be calculated as follows:
The weight of an object is the dependant on both its and the field strength. It can be calculated as follows:
where
So the gravitational potential energy, EG (the energy transferred to a raised mass) is: