Loading…

Magnetic Dipole Moment Analyzer

Physics Electricity and Magnetism • Magnetic Fields and Sources

View all topics

5. Magnetic Dipole Moment Analyzer

Compute dipole moment: \( \boldsymbol{\mu} = I\,A\,\hat{\mathbf{n}} \), dipole far-field: \( \mathbf{B}_{\text{dip}}(\mathbf{r})=\dfrac{\mu_0}{4\pi r^3}\left(3(\boldsymbol{\mu}\cdot\hat{\mathbf{r}})\hat{\mathbf{r}}-\boldsymbol{\mu}\right) \), torque: \( \boldsymbol{\tau}=\boldsymbol{\mu}\times\mathbf{B}_{\text{ext}} \), and energy: \( U=-\boldsymbol{\mu}\cdot\mathbf{B}_{\text{ext}} \).

Inputs support numbers like 1e-3 and expressions like pi, sqrt(2), sin(), cos(), tan(), log(), ln(), abs(). Use * for multiplication.
Loop + Field Inputs
Circle parameters
Area \(A=\pi r^2\).
Dipole direction (loop normal)
Will be normalized automatically.
Example: \((0,0,1)\).
Right-hand rule: curl fingers with current.
External magnetic field (torque/energy)
\( \mathbf{B}_{ext}=(B_x,B_y,B_z)\).
Set 0 if none.
If \(|\mathbf{B}_{ext}|=0\), torque is zero.
Observation point for dipole field (far-field)
Point \(\mathbf{r}=(x,y,z)\).
Try \((0,0,z)\) for axial.
Far-field: \(r\) should be \(\gg\) loop size.
Diagram controls

Play animates (1) a marker moving along the loop (current direction) and (2) a compass needle rotating toward the projected \(\mathbf{B}_{ext}\).

Ready

Steps

Enter values and click Solve.

Vectors + torque diagram

Loop (projected) + vectors
What each vector means
  • \( \boldsymbol{\mu}=I\,A\,\hat{\mathbf{n}} \) (loop dipole moment)
  • \( \mathbf{B}_{ext} \) (external field)
  • \( \boldsymbol{\tau}=\boldsymbol{\mu}\times\mathbf{B}_{ext} \) (torque)
  • \( \mathbf{r} \) (from dipole to observation point)
  • \( \mathbf{B}_{dip}(\mathbf{r}) \) (far-field dipole field)
  • Current direction marker on loop (Play)

Dipole field pattern (shape)

Field lines in a plane containing \( \boldsymbol{\mu} \)
Schematic dipole field lines (direction only).

Compass needle torque sim (illustrative)

Needle aligns toward \( \mathbf{B}_{ext} \) (projection)
Press Play to see rotation.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.