If you’re buying a magnetic tool, it probably has permanent magnets inside, either ceramic or rare earth.
Rare earth magnets will always have a stronger magnetic field than ceramic.
There are different grades of both ceramic and rare earth magnets that affect magnet strength.
Higher number grades have higher strength. For example, Ceramic 8 is stronger than Ceramic 5.