The strength of a magnetic field is measured in units called gauss or tesla. A magnetic field is the force which creates other permanent magnets, by aligning their domains.
A magnetic field is produced by the motion of electric charge. The atoms whos electrons in a bar magnet are in constant motion about atomic nuclei. This moving charge creates a tiny current an produces a magneti field, so every spinning electron is a tiny magnet. two electrons spinning in the same direction creates a stronger magnetic field, If a pair of electrons are spinning in opposite directions then they cancel eachother out, and their is no magnetic field, this occors in substances such as plastic, wood etc.. .