Potential Energy

Potential Energy = mgh

Potential energy depends exclusively on height when it is relative to a gravitational force pulling downward.