The factors that determine the potential energy of an object are:
Gravity and position
Potential energy is given by the formula \( PE = mgh \), where \( m \) is mass, \( g \) is the acceleration due to gravity, and \( h \) is the height (position) above a reference level.