There are 6 type of amgnets that can be classified according to their shape and they are,
1)Bar Magnet: A magnet’s power is focused at the poles and lessens at the sides.
2)Horseshoe Magnet : Horseshoe magnets are just bar magnets bent in a U shape. The U shape makes the magnet stronger by pointing the poles in the same direction.
3)Disc Magnets : Because of the wide, flat surface, disc magnets have a large pole area making them strong,
4)Sphere Magnets:Sphere magnets are often sold as toys and novelty items.
5)Cylinder Magnets
6)Ring magnets