Magnetic forces get stronger as the magnet moves closer to the object it is attracting or repelling. If two magnets are made of the same material, then the larger magnet will have a stronger magnetic field. The strength of a magnet also depends on the material from which it is made. For example, neodymium magnets will have a stronger magnetic field than magnets made from Alnico (an alloy of aluminum, nickel, and cobalt).