Magnetic Dipole Moment Calculator

Calculate the magnetic dipole moment of a coil or magnet and what it does in a field: torque, energy and the field it makes far away.

🧲 Magnetic Dipole Moment Calculator
Coilturns and current
Turns N
Current I (A)
Loop shape
Loop radius (cm)
cm
Method
Remanence and volume
Br (T)
Volume (cm³)
Pole strength and length
Pole strength (A m)
Length (cm)
Preset moment (illustrative values)
Dipole moment and field
Moment m (A m²)
Field B (T)
Angle between m and B
°
0°360°
Preset moment (illustrative values)
Dipole moment and distance
Moment m (A m²)
Distance r (m)
Result
—
Result
—
Result
—
Result
—
Result
—
Result
—
Result
—
Result
—

🧲 What is the Magnetic Dipole Moment?

The magnetic dipole moment is a single vector that sums up how strongly a current loop, a magnet or an atomic spin acts as a tiny magnet. It sets the torque the object feels in an external magnetic field, the energy it stores in that field, and the magnetic field it creates in the space around it. For a flat loop of wire the moment is simply the current times the enclosed area, m = I A, and for a coil of N turns it is N I A. Its direction is perpendicular to the loop, along the thumb of your right hand when the fingers curl along the current. The SI unit is the ampere square metre, which is the same as a joule per tesla.

The idea turns up everywhere. In electrical engineering it explains why a motor coil turns in a field and how a galvanometer deflects. In materials science, the moment per unit volume is the magnetization, and the remanence Br of a permanent magnet tells you its total moment through m = Br V / μ0. In atomic physics the electron has a spin moment of about one Bohr magneton, 9.274 × 10−24 A m², which is why the calculator shows every result in that unit as well. In geophysics the Earth behaves, to a first approximation, like a dipole of roughly 8 × 1022 A m², and the dipole formulas give the right order of magnitude for the field at the surface.

It helps to separate this from similar topics. The electric dipole moment p = q d, treated on the dipole moment calculator, describes separated charges and has formulas of the same shape but different physics. The force on a moving charge in a field is on the Lorentz force calculator. The field of a long straight wire is on the magnetic field of a straight wire calculator, and how a material boosts a field is on the magnetic permeability calculator. For the inductance of the same coil, see the inductance of coil and solenoid calculator.

The calculator has four modes. Current loop gives the moment of a coil and the field at its centre. Bar magnet gives the moment from remanence and volume, or from pole strength and length. Torque and energy shows what a dipole does in a uniform field. Dipole field gives the far field on the axis and on the equator, on a log chart. Presets such as a compass needle, the Earth, the electron and the proton are rounded and illustrative, so check a reference for exact values.

📐 Formula

m = N I A    τ = m B sin θ    U = −m B cos θ    Baxis = μ0 m / (2π r³)
m = magnetic dipole moment in ampere square metres (A m²), the same as J/T.
N, I, A = number of turns, current in amperes and loop area in m². A circle has A = π r² and a square has A = a².
Bar magnet: m = Br V / μ0 with Br the remanence in tesla and V the volume in m³, or m = qm L from pole strength and length.
τ, U = torque (N m) and potential energy (J) in a field B (T) at angle θ between m and B. Flipping the dipole takes 2 m B.
Field: Baxis = μ0 m / (2π r³) and Bequator = μ0 m / (4π r³), with μ0 = 4π × 10−7 H/m (the 2018 CODATA value differs by about 5 parts in 1010).
Bohr magneton: μB = 9.2740100657 × 10−24 J/T, used for the comparison.
Example: 100 turns of 2 A around a 5 cm radius circle give m = 100 × 2 × π (0.05)² = 1.571 A m².

📖 How to Use This Calculator

Steps

1
Pick a mode. Use Current loop for a coil, Bar magnet for a permanent magnet, Torque and energy for a dipole in a uniform field, or Dipole field for the far field.
2
Choose a shape or method first. In the loop mode pick circle, square or known area, then type the size in centimetres. In the magnet mode pick remanence or pole strength. Selecting an option never changes a number already typed.
3
Enter the values. Type turns and current, or Br and volume, or the moment with a field and angle. A preset can fill the moment.
4
Read the results and the chart. The moment appears in A m² and in Bohr magnetons, with torque, energy or field, and a chart where it helps.

💡 Example Calculations

Example 1 — A Circular Coil

100 turns carrying 2 A on a circle of radius 5 cm

1
Area A = π (0.05)² = 0.007854 m².
2
m = N I A = 100 × 2 × 0.007854 = 1.571 A m².
3
The field at the centre is μ0 N I / (2R) = 2513 µT, and the maximum torque in a 50 µT field is 7.854e-5 N m.
Dipole moment = 1.571 A m²
Try this example →

Example 2 — A Square Coil

50 turns carrying 1.5 A on a square of side 10 cm

1
A = (0.1)² = 0.01 m².
2
m = 50 × 1.5 × 0.01 = 0.75 A m².
3
Centre field = 2√2 μ0 N I / (π a) = 848.5 µT.
Dipole moment = 0.75 A m², centre field = 848.5 µT
Try this example →

Example 3 — A Neodymium Magnet

A magnet of 10 cm³ with remanence 1.2 T (illustrative grade)

1
Magnetization M = Br / μ0 = 1.2 / (4π × 10−7) = 9.549e+5 A/m.
2
m = M V = 9.549e5 × 10−5 m³ = 9.549 A m².
3
On-axis field at 10 cm = μ0 m / (2π r³) = 1.91 mT.
Dipole moment = 9.549 A m²
Try this example →

Example 4 — Torque on a Dipole in a Field

m = 0.5 A m² in a field of 0.2 T at an angle of 30°

1
Maximum torque m B = 0.5 × 0.2 = 0.1 N m.
2
τ = 0.1 × sin 30° = 0.05 N m.
3
U = −0.1 × cos 30° = −0.0866 J, and flipping it takes 2 m B = 0.2 J.
Torque = 0.05 N m, energy = −0.0866 J
Try this example →

Example 5 — The Earth as a Dipole

A dipole of 8e22 A m² observed at the Earth's radius of 6.371e6 m (illustrative moment)

1
r³ = (6.371e6)³ = 2.586e20 m³.
2
Baxis = 2 × 10−7 × 8e22 / r³ = 6.187e-5 T, which is 61.87 µT.
3
The equatorial value is half: 3.094e-5 T.
Axis field = 61.87 µT, equatorial field = 30.94 µT
Try this example →

❓ Frequently Asked Questions

What is the formula for magnetic dipole moment?+
For a flat loop carrying current I the magnetic dipole moment has magnitude m = I A, and for a coil of N turns m = N I A. The unit is the ampere square metre (A m squared), which equals joule per tesla. The direction is perpendicular to the loop, given by the right-hand rule.
How do you find the magnetic moment of a bar magnet?+
If the magnet is uniformly magnetized, m = M V = (Br / mu0) V, where Br is its remanence in tesla, V its volume and mu0 = 4 pi x 10^-7 H/m. A 10 cm cubed magnet with Br = 1.2 T has m of about 9.55 A m squared. Alternatively m = q_m L from pole strength and length.
What is the torque on a magnetic dipole in a field?+
tau = m B sin(theta), where theta is the angle between the moment and the field, or tau = m x B as a vector. It tries to rotate m toward B. The torque is zero when they are parallel or antiparallel and largest at 90 degrees.
What is the potential energy of a magnetic dipole in a field?+
U = -m B cos(theta) = -m . B. It is lowest, -mB, when m is along B and highest, +mB, when m is opposite to B. Flipping the dipole from aligned to anti-aligned takes work 2 m B.
What is the magnetic field of a dipole far away?+
On the axis, B = mu0 m / (2 pi r^3), and on the equatorial plane B = mu0 m / (4 pi r^3), pointing the opposite way to m. Both decrease as 1/r cubed, so doubling the distance divides the field by 8.
What is the Bohr magneton?+
The Bohr magneton is the natural unit of atomic magnetic moment, mu_B = e hbar / (2 m_e) = 9.274 x 10^-24 J/T (A m squared). The magnetic moment of an electron spin is about one Bohr magneton.
What is the unit of magnetic dipole moment?+
In SI the unit is ampere square metre (A m^2), identical to joule per tesla (J/T). In CGS-emu systems it is erg per gauss, and 1 A m^2 equals 1000 erg/G. Atomic physics uses the Bohr magneton and nuclear physics the nuclear magneton.
How big is the Earth's magnetic dipole moment?+
About 8 x 10^22 A m^2, depending on the epoch and model. Put in the point-dipole formula at the Earth's radius of 6371 km, that gives roughly 62 microtesla at a pole, close to the measured polar field. The value used here is a rounded illustrative figure.
Is magnetic dipole moment the same as electric dipole moment?+
No. The electric dipole moment p = q d describes separated charges and is measured in coulomb metres. The magnetic moment describes circulating current or spin and is measured in A m^2. Their torque and field formulas look alike but they are different quantities.
Why does the moment of a bar magnet depend on its shape?+
The simple formula m = Br V / mu0 assumes uniform magnetization. Real magnets have a demagnetizing field that depends on shape, so a long thin magnet keeps more of its magnetization than a flat disc. Treat the result as an estimate for the idealized magnet.
How does the number of turns change the moment?+
The moment is proportional to the number of turns. Doubling N doubles m for the same current and area, because each turn contributes I A. That is why coils are used to build strong electromagnets from modest currents.
When is the dipole approximation accurate?+
When the observation distance is much larger than the size of the source, typically several times the loop diameter or magnet length. Close to the source the field depends on the exact geometry, and for a loop the on-axis formula is replaced by the Biot-Savart result.

What is the formula for magnetic dipole moment?

For a flat loop carrying current I the magnetic dipole moment has magnitude m = I A, and for a coil of N turns m = N I A. The unit is the ampere square metre (A m squared), which equals joule per tesla. The direction is perpendicular to the loop, given by the right-hand rule.

How do you find the magnetic moment of a bar magnet?

If the magnet is uniformly magnetized, m = M V = (Br / mu0) V, where Br is its remanence in tesla, V its volume and mu0 = 4 pi x 10^-7 H/m. A 10 cm cubed magnet with Br = 1.2 T has m of about 9.55 A m squared. Alternatively m = q_m L from pole strength and length.

What is the torque on a magnetic dipole in a field?

tau = m B sin(theta), where theta is the angle between the moment and the field, or tau = m x B as a vector. It tries to rotate m toward B. The torque is zero when they are parallel or antiparallel and largest at 90 degrees.

What is the potential energy of a magnetic dipole in a field?

U = -m B cos(theta) = -m . B. It is lowest, -mB, when m is along B and highest, +mB, when m is opposite to B. Flipping the dipole from aligned to anti-aligned takes work 2 m B.

What is the magnetic field of a dipole far away?

On the axis, B = mu0 m / (2 pi r^3), and on the equatorial plane B = mu0 m / (4 pi r^3), pointing the opposite way to m. Both decrease as 1/r cubed, so doubling the distance divides the field by 8.

What is the Bohr magneton?

The Bohr magneton is the natural unit of atomic magnetic moment, mu_B = e hbar / (2 m_e) = 9.274 x 10^-24 J/T (A m squared). The magnetic moment of an electron spin is about one Bohr magneton.

What is the unit of magnetic dipole moment?

In SI the unit is ampere square metre (A m^2), identical to joule per tesla (J/T). In CGS-emu systems it is erg per gauss, and 1 A m^2 equals 1000 erg/G. Atomic physics uses the Bohr magneton and nuclear physics the nuclear magneton.

How big is the Earth's magnetic dipole moment?

About 8 x 10^22 A m^2, depending on the epoch and model. Put in the point-dipole formula at the Earth's radius of 6371 km, that gives roughly 62 microtesla at a pole, close to the measured polar field. The value used here is a rounded illustrative figure.

Is magnetic dipole moment the same as electric dipole moment?

No. The electric dipole moment p = q d describes separated charges and is measured in coulomb metres. The magnetic moment describes circulating current or spin and is measured in A m^2. Their torque and field formulas look alike but they are different quantities.

Why does the moment of a bar magnet depend on its shape?

The simple formula m = Br V / mu0 assumes uniform magnetization. Real magnets have a demagnetizing field that depends on shape, so a long thin magnet keeps more of its magnetization than a flat disc. Treat the result as an estimate for the idealized magnet.