In order to calculate the potential energy of an object, we can use the formula below:

Where m is the mass (in kg), g is the gravity acceleration (in m/s²) and h is the height (in meters).
Since mass times gravity is equal to the weight force, we can also write the equation as follows:

Where W is the weight force.
Therefore the answer is:
Potential Energy = Weight x Height