A magnetic dipole is the limit of either a closed loop of electric current or a pair of poles as the dimensions of the source are reduced to zero while keeping the magnetic moment constant. It is a magnetic analogue of the electric dipole, but the analogy is not complete. In particular, a magnetic monopole, the magnetic analogue of an electric charge, has never been observed. Moreover, one form of magnetic dipole moment is associated with a fundamental quantum property—the spin of elementary particles.
The magnetic field around any magnetic source looks increasingly like the field of a magnetic dipole as the distance from the source increases.
External magnetic field produced by a magnetic dipole moment
In classical physics, the magnetic field of a dipole is calculated as the limit of either a current loop or a pair of charges as the source shrinks to a point while keeping the magnetic moment m constant. For the current loop, this limit is most easily derived for the vector potential. Outside of the source region, this potential is (in SI units) 
with 4π r2 being the surface of a sphere of radius r;
and the magnetic flux density (strength of the B-field) in teslas is
In spherical coordinates with the magnetic moment aligned with the axis, this relation can be expressed as
Alternatively one can obtain the scalar potential first from the magnetic pole limit,
and hence the magnetic field strength (or strength of the H-field) in ampere-turns per meter is
The magnetic field is symmetric under rotations about the axis of the magnetic moment.
Internal magnetic field of a dipole
The two models for a dipole (current loop and magnetic poles) give the same predictions for the magnetic field far from the source. However, inside the source region they give different predictions. The magnetic field between poles is in the opposite direction to the magnetic moment (which points from the negative charge to the positive charge), while inside a current loop it is in the same direction (see the figure to the right). Clearly, the limits of these fields must also be different as the sources shrink to zero size. This distinction only matters if the dipole limit is used to calculate fields inside a magnetic material.
If a magnetic dipole is formed by making a current loop smaller and smaller, but keeping the product of current and area constant, the limiting field is
If a magnetic dipole is formed by taking a "north pole" and a "south pole", bringing them closer and closer together but keeping the product of magnetic pole-charge and distance constant, the limiting field is
These fields are related by B = μ0(H+M), where
is the magnetization.
Forces between two magnetic dipoles
The force F exerted by one dipole moment m1 on another m2 separated in space by a vector r can be calculated using:
where r is the distance between dipoles. The force acting on m1 is in the opposite direction.
The torque can be obtained from the formula
Dipolar fields from finite sources
The magnetic scalar potential ψ produced by a finite source, but external to it, can be represented by a multipole expansion. Each term in the expansion is associated with a characteristic moment and a potential having a characteristic rate of decrease with distance r from the source. Monopole moments have a 1/r rate of decrease, dipole moments have a 1/r2 rate, quadrupole moments have a 1/r3 rate, and so on. The higher the order, the faster the potential drops off. Since the lowest-order term observed in magnetic sources is the dipolar term, it dominates at large distances. Therefore, at large distances any magnetic source looks like a dipole with the same magnetic moment.
- I.S. Grant, W.R. Phillips (2008). Electromagnetism (2nd ed.). Manchester Physics, John Wiley & Sons. ISBN 978-0-471-92712-9.
- Chow 2006, pp. 146–150
- D.J. Griffiths (2007). Introduction to Electrodynamics (3rd ed.). Pearson Education. p. 276. ISBN 81-7758-293-3.
- Furlani 2001, p. 140
- K.W. Yung; P.B. Landecker; D.D. Villani (1998). "An Analytic Solution for the Force between Two Magnetic Dipoles" (PDF). Retrieved November 24, 2012.
- Chow, Tai L. (2006). Introduction to electromagnetic theory: a modern perspective. Jones & Bartlett Learning. ISBN 978-0-7637-3827-3.
- Jackson, John D. (1999). Classical Electrodynamics (3rd ed.). Wiley. ISBN 0-471-30932-X. OCLC 224523909.
- Furlani, Edward P. (2001). Permanent Magnet and Electromechanical Devices: Materials, Analysis, and Applications. Academic Press. ISBN 0-12-269951-3.
- Schill, R. A. (2003). "General relation for the vector magnetic field of a circular current loop: A closer look". IEEE Transactions on Magnetics. 39 (2): 961–967. Bibcode:2003ITM....39..961S. doi:10.1109/TMAG.2003.808597.