Magnetic Moment Calculator
Calculate torque and potential energy of a magnetic dipole in a field using τ = μB sin θ and U = −μB cos θ.
Magnetic Dipole in a Field
A magnetic dipole with moment \(\mu\) placed in an external magnetic field \(B\) experiences a torque that tends to align \(\mu\) with \(B\). The dipole also has orientation-dependent potential energy in the field.
Formulas
$$\tau = \mu B\sin\theta$$ $$U = -\mu B\cos\theta$$Torque \(\tau\) is in newton-meters, potential energy \(U\) is in joules, magnetic moment \(\mu\) is in ampere-square meters (A·m²), and \(\theta\) is the angle between \(\mu\) and \(B\).
Practical Notes
This model applies to bar magnets, current loops, and compass needles in external fields. Minimum energy occurs when the dipole aligns with the field (\(\theta = 0°\)). Maximum torque occurs at \(\theta = 90°\).
Related tools: Magnetic Permeability Calculator and Energy Density Calculator.
Frequently Asked Questions
What is magnetic moment?
Magnetic moment measures the strength and orientation of a magnetic source. For a flat coil, \(\mu = NIA\) where \(N\) is turns, \(I\) is current, and \(A\) is loop area.
Why is potential energy negative?
The minus sign means aligned dipoles (\(\theta = 0°\)) have lower energy than anti-aligned ones (\(\theta = 180°\)). Systems tend toward lower energy orientations.
When is torque maximum?
Torque is maximum when \(\theta = 90°\) because \(\sin 90° = 1\). At \(\theta = 0°\) or \(180°\), torque is zero.
What units does magnetic moment use?
Ampere-square meters (A·m²) are standard. One A·m² equals one joule per tesla (J/T).
How does this relate to a compass?
A compass needle is a magnetic dipole. Earth's field exerts torque aligning it northward, which is why it settles along the field direction.