Pe=mgh

The formula of potential energy is PE.=mass, gravity,height

Potential energy is the form of energy which an object gets because of its height, therefore, the formula of potential energy is as follows:

P.E = mgh

Where, m = mass

g = gravity or acceleration

h = height

P.E = mgh

Where, m = mass

g = gravity or acceleration

h = height

The formula of potential energy is 1/2mv^2