Magnetic Dipole Moment Calculator

Calculate magnetic dipole moment, torque in external field, and potential energy for magnetic systems.

Please check your inputs and try again.

Magnetic Dipole Moment Measures the Strength and Orientation of a Magnetic Source

A magnetic dipole moment tells how strongly a current loop or magnetic system interacts with an external magnetic field. For a planar current loop, μ=NIA, directed by the right-hand rule. In a uniform field, torque is τ=μBsinθ, tending to align the dipole with the field. The potential energy is U=−μBcosθ.

Alignment parallel to B gives minimum potential energy, while antiparallel alignment gives maximum energy in the simple classical model. Atomic and spin magnetic moments are quantum mechanical, but they interact with external fields through analogous dipole-energy ideas.

μ=NIA,   τ=μBsinθ,   U=−μBcosθ
SymbolMeaningWhy it appears / units
μMagnetic dipole momentA·m² or J/T; vector normal to a current loop.
NNumber of turnsDimensionless multiplier for a multi-turn coil.
ICurrentA.
ALoop aream²; use area enclosed by each turn.

Torque is largest at 90° and zero at parallel or antiparallel alignment. Zero torque does not always mean stable equilibrium: parallel alignment is stable, while antiparallel alignment is unstable for an ideal freely rotating dipole.

Magnetic moment scales linearly with current, turns, and loop area. Doubling any one of N, I, or A doubles |μ|. If area is entered from a radius, remember that a circular loop uses A=πr2, so doubling radius quadruples the area contribution.

Worked Examples

Example 1: 100-turn coil: I=2A, A=0.01m², B=0.5T, θ=45°
μ=100×2×0.01=2 A·m²
Result: τ=2×0.5×sin45°=0.707 N·m
Torque in motor/galvanometer
Example 2: Electron spin in B=1T
ΔE=2μ_B×1T=9.27e-24×2
Result: ΔE=18.5 μeV — NMR frequency ~27.9 GHz
ESR/EPR spectroscopy
Example 3: Coil moment
N=100, I=0.2A, A=0.005m²
Result: μ=0.10A·m²
Turn count, current, and loop area all scale the moment linearly.
Example 4: Maximum torque
μ=0.10A·m², B=0.50T, θ=90°
Result: τ=0.050N·m
Maximum torque occurs when the dipole moment is perpendicular to the field.

Common Mistakes

⚠️
Using loop perimeter instead of area

The current-loop dipole moment uses enclosed area, not wire length.

⚠️
Assuming zero torque means minimum energy

Torque is zero at both parallel and antiparallel orientations, but their stabilities are different.

⚠️
Ignoring the vector direction of μ

The right-hand rule determines the dipole-moment direction and therefore torque and energy signs.

Frequently Asked Questions

MRI and nuclear magnetic moments?
Proton magnetic moment μ_p=2.793 μ_N (nuclear magneton). In MRI, RF pulses flip proton spins. Relaxation back to equilibrium emits RF detected as signal. Larmor frequency (1H at 1.5T): 63.9 MHz.
Diamagnetic vs paramagnetic?
Paramagnetic: unpaired electrons align with B (attracted). Diamagnetic: all electrons paired, weakly repelled. Ferromagnetic: domain alignment, strong, permanent. Superconductors: perfect diamagnets (Meissner effect).
What direction is the magnetic dipole moment of a current loop?
Curl the fingers of your right hand with conventional current; your thumb points along the loop’s magnetic dipole moment.
Why does a dipole align with an external field?
Its potential energy U=−μ·B is lowest when μ is parallel to B. The torque tends to rotate the dipole toward that lower-energy orientation.
What are the units A·m² and J/T?
They are equivalent units for magnetic dipole moment because torque and energy interactions involve multiplying μ by magnetic field measured in tesla.
Does a bar magnet have a dipole moment?
Yes. Far from the magnet, its field resembles that of a magnetic dipole, and a dipole moment can characterize its strength and orientation.
What sets the direction of a current loop’s magnetic dipole moment?
Use the right-hand rule: curl the fingers in the conventional-current direction and the thumb points along the magnetic dipole moment vector μ. Reversing current reverses μ. For N identical turns, the magnitude is μ=NIA when the turns share the same area and orientation.

Formula Explorer connections

Interpretation: This relationship connects magnetic fields, moving charge, flux, induction or electromagnetic material response. Assumption: Specify field direction and sign convention. Uniform fields, linear materials, negligible edge effects or sinusoidal steady state may be assumed.

Magnetic Field Calculator →Solenoid & Toroid Magnetic Field Calculator →Magnetic Flux Calculator →Physics Formula Explorer →