Electric potential energy is the potential energy stored when charges are out of equilibrium (like gravitational potential energy). An object may have electric potential energy by virtue of two key elements: its own electric charge and its relative position to other electrically charged objects.