Fmagnetic = X p1 p2 / r122 . The “p” in the equation stands for pole. In magnetism, we have two kinds of poles, and we call them North and South. Like poles repel and unlike poles attract, just as electric charges do.
However, unlike charges, we always have two poles! If we break a magnet (which has two poles) in half, we have not separated the two poles, rather we have two (smaller) magnets that both have two poles!