Magnetic Moment and Zeeman Effect Calculator

Find a quantum magnetic moment and its Zeeman splitting in a field using μ = gμ_Bm and ΔE = gμ_BBm.

🧲 Magnetic Moment and Zeeman Effect Calculator
T
Magnetic moment (μ)
μ in Bohr magnetons
Zeeman splitting (ΔE)
Step-by-step working

🧲 What is the Magnetic Moment and Zeeman Effect Calculator?

This Zeeman effect calculator finds a quantum particle's magnetic moment and how much its energy shifts in an applied magnetic field. Enter a g-factor, a magnetic quantum number, and a field strength, and it returns the magnetic moment in joules per tesla and Bohr magnetons, plus the Zeeman energy splitting in electronvolts.

Every charged quantum particle with angular momentum, whether from orbital motion or intrinsic spin, carries a magnetic moment proportional to that angular momentum. The proportionality constant is the g-factor: exactly 1 for pure orbital motion, and about 2.0023 for electron spin, a value whose tiny deviation from 2 is one of the most precisely confirmed predictions of quantum electrodynamics.

Placing such a particle in a magnetic field B lifts the degeneracy between its different magnetic quantum number (m) states, each one shifting in energy by ΔE = g μ_B B m, the Zeeman effect. This splits what would otherwise be a single spectral line into several closely-spaced lines, a signature used to measure magnetic fields in stars, and the underlying physics behind magnetic resonance imaging (MRI).

This calculator is useful for physics and chemistry students studying atomic spectra, magnetic resonance, and astrophysical magnetic field measurements, since it handles the Bohr magneton constant and unit conversions automatically.

📐 Formula

μ  =  gμBm,   ΔE  =  gμBBm
μ = magnetic moment along the field axis
g = g-factor (1 for orbital, ≈2.0023 for electron spin)
μB = Bohr magneton ≈ 9.27401 × 10-24 J/T
m = magnetic quantum number, B = magnetic field strength
Example: electron spin, m = +½, B = 1 T: ΔE ≈ 5.795 × 10-5 eV.

📖 How to Use This Calculator

Steps

1
Enter the g-factor, 1 for orbital, 2.0023 for electron spin.
2
Enter the magnetic quantum number m.
3
Enter the magnetic field B in tesla.
4
Read the magnetic moment and Zeeman energy splitting.

💡 Example Calculations

Example 1 - Pure orbital moment (g=1, ml=1) in a 1 T field

1
g = 1, m = +1, B = 1 T
2
μ = 1 × μB × 1 = 9.2740 × 10-24 J/T (1.0000 μB)
3
ΔE = μ × B = 5.7884 × 10-5 eV
ΔE = 5.7884 × 10-5 eV
Try this example →

Example 2 - Electron spin (g=2.0023, ms=+1/2) in a 1 T field

1
g = 2.0023, m = +0.5, B = 1 T
2
μ = 2.0023 × μB × 0.5 = 9.2847 × 10-24 J/T (1.0012 μB)
3
ΔE = μ × B = 5.7950 × 10-5 eV
ΔE = 5.7950 × 10-5 eV
Try this example →

Example 3 - Same electron spin in a strong 5 T field

1
g = 2.0023, m = +0.5, B = 5 T
2
μ unchanged (field-independent) = 9.2847 × 10-24 J/T
3
ΔE = μ × 5 T = 2.8975 × 10-4 eV, five times Example 2
ΔE = 2.8975 × 10-4 eV
Try this example →

❓ Frequently Asked Questions

What is a magnetic moment in quantum mechanics?+
A magnetic moment is a measure of how strongly a particle interacts with a magnetic field, arising from its orbital motion or its intrinsic spin. For a quantum particle, the magnetic moment along a chosen axis is quantized, μ = g μ_B m, where g is the g-factor, μ_B is the Bohr magneton, and m is the relevant magnetic quantum number.
What is the Zeeman effect?+
The Zeeman effect is the splitting of an atomic energy level (and its spectral line) into several sub-levels when the atom is placed in an external magnetic field. Each sub-level corresponds to a different value of the magnetic quantum number m, and its energy shift is ΔE = g μ_B B m, proportional to the field strength B.
What is the difference between the orbital and spin g-factor?+
The orbital g-factor is exactly 1, describing the magnetic moment from a charged particle's orbital motion around the nucleus. The electron's spin g-factor is approximately 2.0023, not exactly 2 as simple theory predicts, the small extra 0.0023 is a celebrated correction from quantum electrodynamics, one of the most precisely tested numbers in physics.
What is the Bohr magneton?+
The Bohr magneton, μ_B ≈ 9.274 x 10^-24 joules per tesla, is the natural unit of magnetic moment for an electron, defined as μ_B = eħ/(2m_e). It plays the same role for magnetic moments that the electronvolt plays for atomic energies, giving conveniently sized numbers.
Why does a magnetic field split a single spectral line into several lines?+
Without a field, all states with the same total angular momentum but different m values have the same energy (they are degenerate). Turning on a magnetic field breaks this degeneracy, each m state shifts by a different amount (ΔE = g μ_B B m), so transitions between split levels now occur at several closely-spaced, slightly different photon energies instead of just one.
How is the Zeeman effect used in practice?+
It is the physical basis of magnetic resonance imaging (MRI) and nuclear magnetic resonance (NMR) spectroscopy, where the splitting of nuclear spin energy levels in a strong magnetic field is probed with radio waves. It is also used in astrophysics to measure magnetic fields on the Sun and other stars from the splitting of their spectral lines.
What values can the magnetic quantum number m take?+
For an orbital angular momentum quantum number l, m ranges from −l to +l in integer steps (2l+1 values). For spin 1/2, m (usually written ms) is either +1/2 or −1/2. This calculator accepts any half-integer or integer value of m to cover both orbital and spin cases.
Is Zeeman splitting the same for every spectral line?+
No. The size of the splitting depends on the g-factor and total angular momentum of the states involved, so different spectral lines from the same atom can split by different amounts in the same magnetic field. This more complex, multi-line pattern (the anomalous Zeeman effect) was historically one of the first hints that electron spin needed to be included in atomic theory.
What is the difference between the normal and anomalous Zeeman effect?+
The normal Zeeman effect, seen in transitions between spin-zero states, splits a line into a simple, evenly-spaced triplet. The anomalous Zeeman effect, seen whenever electron spin is involved (which is most real atoms), produces more complex, unevenly-spaced splitting patterns, historically 'anomalous' only because it was observed before spin was understood, it is now the more commonly encountered case.
Does Zeeman splitting depend on temperature?+
No, the energy splitting ΔE = g μ_B B m depends only on the g-factor, the field strength, and the magnetic quantum number, not on temperature. Temperature does affect how the split levels are populated (via Boltzmann statistics), which changes the relative intensity of the resulting spectral lines, but not their energy spacing.

What is a magnetic moment in quantum mechanics?

A magnetic moment is a measure of how strongly a particle interacts with a magnetic field, arising from its orbital motion or its intrinsic spin. For a quantum particle, the magnetic moment along a chosen axis is quantized, μ = g μ_B m, where g is the g-factor, μ_B is the Bohr magneton, and m is the relevant magnetic quantum number.

What is the Zeeman effect?

The Zeeman effect is the splitting of an atomic energy level (and its spectral line) into several sub-levels when the atom is placed in an external magnetic field. Each sub-level corresponds to a different value of the magnetic quantum number m, and its energy shift is ΔE = g μ_B B m, proportional to the field strength B.

What is the difference between the orbital and spin g-factor?

The orbital g-factor is exactly 1, describing the magnetic moment from a charged particle's orbital motion around the nucleus. The electron's spin g-factor is approximately 2.0023, not exactly 2 as simple theory predicts, the small extra 0.0023 is a celebrated correction from quantum electrodynamics, one of the most precisely tested numbers in physics.

What is the Bohr magneton?

The Bohr magneton, μ_B ≈ 9.274 x 10^-24 joules per tesla, is the natural unit of magnetic moment for an electron, defined as μ_B = eħ/(2m_e). It plays the same role for magnetic moments that the electronvolt plays for atomic energies, giving conveniently sized numbers.

Why does a magnetic field split a single spectral line into several lines?

Without a field, all states with the same total angular momentum but different m values have the same energy (they are degenerate). Turning on a magnetic field breaks this degeneracy, each m state shifts by a different amount (ΔE = g μ_B B m), so transitions between split levels now occur at several closely-spaced, slightly different photon energies instead of just one.

How is the Zeeman effect used in practice?

It is the physical basis of magnetic resonance imaging (MRI) and nuclear magnetic resonance (NMR) spectroscopy, where the splitting of nuclear spin energy levels in a strong magnetic field is probed with radio waves. It is also used in astrophysics to measure magnetic fields on the Sun and other stars from the splitting of their spectral lines.

What values can the magnetic quantum number m take?

For an orbital angular momentum quantum number l, m ranges from −l to +l in integer steps (2l+1 values). For spin 1/2, m (usually written ms) is either +1/2 or −1/2. This calculator accepts any half-integer or integer value of m to cover both orbital and spin cases.

Is Zeeman splitting the same for every spectral line?

No. The size of the splitting depends on the g-factor and total angular momentum of the states involved, so different spectral lines from the same atom can split by different amounts in the same magnetic field. This more complex, multi-line pattern (the anomalous Zeeman effect) was historically one of the first hints that electron spin needed to be included in atomic theory.

What is the difference between the normal and anomalous Zeeman effect?

The normal Zeeman effect, seen in transitions between spin-zero states, splits a line into a simple, evenly-spaced triplet. The anomalous Zeeman effect, seen whenever electron spin is involved (which is most real atoms), produces more complex, unevenly-spaced splitting patterns, historically 'anomalous' only because it was observed before spin was understood, it is now the more commonly encountered case.

Does Zeeman splitting depend on temperature?

No, the energy splitting ΔE = g μ_B B m depends only on the g-factor, the field strength, and the magnetic quantum number, not on temperature. Temperature does affect how the split levels are populated (via Boltzmann statistics), which changes the relative intensity of the resulting spectral lines, but not their energy spacing.