Answer: Strength of magnet and distance from magnetic material
Step-by-step explanation:
The potential energy of a magnet is determined by the strength of the magnet and the distance between a magnet and another magnet or a magnetic material. Magnetic materials are materials that would be attracted when brought close to a magnet, example of magnetic materials are most metals.