Magnetic Moment Calculator - Atomic mu in Bohr Magnetons
Magnetic moment calculator for atomic spin, orbital, and LS-coupled states. Enter S, L, J and a g-factor to get mu in Bohr magnetons and SI J/T.
Magnetic Moment Calculator
Results
What Is a Magnetic Moment Calculator?
A magnetic moment calculator turns the quantum numbers S, L, and J of an atomic electron configuration into the magnitude of the magnetic moment mu, in both Bohr magnetons and SI units of joules per tesla, so you can compare different atomic states without re-deriving the Lande g-factor each time.
- • Spin-only check: Confirm that a single unpaired electron contributes mu = 2.0023 * sqrt(0.75) mu_B ~= 1.7340 mu_B regardless of the orbital configuration around it.
- • Orbital-only check: Estimate the orbital contribution mu = sqrt(L(L+1)) mu_B for an electron in an s, p, d, or f shell.
- • Full atomic term: Compute mu = gJ * mu_B * sqrt(J(J+1)) for an LS-coupled term symbol such as ^3P_2 or ^2D_5/2.
- • Bohr magneton vs SI: Convert an atomic moment from the natural Bohr magneton units used in spectroscopy to SI J/T for engineering or condensed-matter work.
Atomic magnetic moments drive paramagnetism, define the splitting of spectral lines in a magnetic field, and set the magnitude of the torque an atom feels inside a magnetic trap. Picking the right value of mu is the first step in nearly every atomic-physics homework problem, every electron-spin-resonance calculation, and every estimate of magnetic anisotropy in a solid. A reliable magnetic moment calculator also prevents the most common mistakes, such as forgetting the sqrt(S(S+1)) factor that arises from the uncertainty principle and treating J as if it were the classical total angular momentum.
How the Magnetic Moment Calculator Works
The calculator evaluates one of three formulas depending on the mode you select, each built on the same product of a g-factor, the Bohr magneton mu_B, and a square root of a quantum number times itself plus one.
- S: Total spin quantum number (dimensionless). 0.5 for one unpaired electron, integer multiples of 0.5 for several.
- L: Total orbital quantum number (dimensionless, integer). 0 for s, 1 for p, 2 for d, 3 for f.
- J: Total angular momentum quantum number (dimensionless). Allowed range is |L - S| to L + S in integer steps.
- g: Effective g-factor: g_S = 2.0023 for spin, g_L = 1 for orbital, g_J = 3/2 + (S(S+1) - L(L+1))/(2 J (J+1)) for LS-coupled.
- mu_B: Bohr magneton, 9.2740100657 times 10 to the negative 24 J/T per NIST 2022 CODATA.
For the LS-coupled mode the calculator checks that J lies within the allowed range from |L - S| to L + S and returns a flag of 0 with zeroed outputs if it does not, so an impossible term symbol never produces a misleading number.
Example 1 - Single electron, spin only
Mode = Spin Only, S = 0.5, g-factor = 2.0023.
X = S = 0.5 so sqrt(X(X+1)) = sqrt(0.5 * 1.5) = sqrt(0.75) = 0.86603. mu = 2.0023 * 9.2740100657e-24 * 0.86603 J/T.
mu = 1.7340 mu_B = 1.6082e-23 J/T. This is the canonical value to remember for a free electron.
Use this number any time you want a quick sanity check that a textbook table of atomic moments is in Bohr magnetons.
Example 2 - ^3P_2 term (S = 1, L = 1, J = 2)
Mode = LS-Coupled, S = 1, L = 1, J = 2.
gJ = 3/2 + (1*2 - 1*2)/(2*2*3) = 1.5 + 0 = 1.5. X = J = 2 so sqrt(J(J+1)) = sqrt(6) = 2.4495. mu = 1.5 * 9.2740100657e-24 * 2.4495 J/T.
mu = 3.6742 mu_B = 3.4075e-23 J/T.
This is the moment you would plug into the Zeeman energy U = -mu dot B to get the splitting of a ^3P_2 multiplet in a magnetic field.
According to NIST 2022 CODATA, the Bohr magneton equals 9.2740100657 times 10 to the negative 24 joules per tesla with a relative standard uncertainty of 3.1 times 10 to the negative 10.
Total angular momentum J enters the LS-coupled moment the same way L and omega enter the rigid-body L = I * omega expression used in the Angular Momentum Calculator.
Key Concepts Behind the Magnetic Moment
Four ideas come up every time you derive an atomic magnetic moment, and each one shows up directly in the calculator inputs and outputs.
Spin g-factor g_S
The free-electron g-factor g_S equals 2.00231930436 per NIST CODATA, often rounded to 2.0023. It encodes the anomalous magnetic moment of the electron that comes from quantum electrodynamics. The calculator uses 2.0023 as the default value whenever spin-only mode is selected.
Orbital g-factor g_L
For orbital angular momentum the g-factor equals exactly 1 in non-relativistic quantum mechanics. There is no QED correction at leading order, which is why the orbital contribution is so much cleaner than the spin contribution.
Lande g-factor gJ
When spin and orbital angular momenta combine through LS coupling, the Lande g-factor blends the two contributions: gJ = 3/2 + (S(S+1) - L(L+1)) / (2 J (J+1)). The numerator captures the relative weight of the spin part and the orbital part in the total angular momentum, which is why paramagnetic and diamagnetic responses scale differently.
Bohr magneton mu_B
The Bohr magneton mu_B = e hbar / (2 m_e) is the natural unit of atomic magnetic moment, equal to 9.2740100657e-24 J/T. Reporting moments as multiples of mu_B keeps the numbers small and lets you compare across atoms regardless of orbital or spin configuration.
The Lande g-factor controls the torque and energy of a moment in an external field the same way the cross product in the Lorentz Force Calculator controls the force on a moving charge.
How to Use the Magnetic Moment Calculator
Pick the mode that matches your atomic term symbol, enter the quantum numbers and (for spin or orbital mode) a g-factor, and read the magnetic moment in the units you need.
- 1 Choose the mode: Use Spin Only for an intrinsic spin moment, Orbital Only for an orbital contribution, or LS-Coupled for an atomic term symbol with both.
- 2 Enter the total spin S: Use 0.5 for a single electron. Use the sum of all unpaired electron spins, in half-integer steps, otherwise.
- 3 Enter the total orbital L: Use 0 for s states, 1 for p states, 2 for d states, 3 for f states; whole numbers only.
- 4 Enter J if LS-coupled: Pick J in the allowed range from |L - S| to L + S, in integer steps. The calculator flags out-of-range values.
- 5 Adjust the g-factor if needed: The default 2.0023 covers a free electron. For orbital mode use 1. For LS-coupled mode the field is ignored because gJ is computed from S, L, and J.
- 6 Read mu in Bohr magnetons and SI: Use the Bohr magneton value to compare with spectroscopy tables and the SI J/T value when feeding downstream physics like Zeeman or torque calculations.
For a ^2D_5/2 state with S = 0.5 and L = 2, the allowed J values are 1.5 and 2.5. Pick J = 2.5, switch to LS-Coupled mode, leave S = 0.5 and L = 2, and the calculator returns gJ = 1.2 and mu = 1.2 * sqrt(2.5 * 3.5) mu_B = 1.2 * sqrt(8.75) = 3.5495 mu_B.
If you need the classical current-loop version of mu for a coil instead of an atom, switch to the Magnetic Dipole Moment Calculator which uses mu equals N I A.
Benefits of Using This Magnetic Moment Calculator
Working through atomic magnetic moments by hand is repetitive, especially when you need the Lande g-factor for several term symbols in a row. This calculator removes the friction.
- • Three modes in one tool: Spin-only, orbital-only, and LS-coupled modes cover every introductory atomic-physics problem without switching calculators.
- • Built-in Lande g-factor: For LS-coupled mode the calculator derives gJ from S, L, J directly so you never have to memorize the formula or risk dropping a sign.
- • Two output units: Reading mu in Bohr magnetons and SI J/T lets you cross-check against spectroscopy data and physics-engineering results with one click.
- • Range check on J: The calculator flags J values outside the |L - S| to L + S range, so an impossible term symbol never silently produces a wrong answer.
- • CODATA constant: The Bohr magneton value is pinned to NIST 2022 CODATA, so the SI output stays consistent with the most recent fundamental constants.
Both effects share the same plasma magnetic field: the per-atom moment this calculator reports couples to B through the Zeeman energy U = -mu dot B, while the Alfven Velocity Calculator gives the bulk Alfven wave speed v_A = B / sqrt(mu_0 rho) through the same field.
Factors That Affect the Magnetic Moment Result
Four things determine the numeric value of mu for an atomic state, and a couple of important limitations apply.
Choice of mode
Spin-only, orbital-only, and LS-coupled modes give different numbers for the same atom because each formula uses a different effective g-factor and quantum number.
Total spin S
S scales the spin contribution through sqrt(S(S+1)). A doublet (S = 0.5) gives a much smaller mu than a quartet (S = 1.5).
Total orbital L
L scales the orbital contribution through sqrt(L(L+1)). f-state atoms with high L can carry a much larger orbital moment than s-state atoms.
Lande g-factor gJ
The Lande g-factor can range from 0 (purely diamagnetic J = 0 case) to about 2 for strongly spin-aligned states. It is the dominant factor in how paramagnetic or diamagnetic a term symbol behaves.
- • The Lande g-factor formula assumes LS coupling, which breaks down for heavy atoms where spin-orbit coupling is strong. For Z > 30 or so, jj coupling is more accurate.
- • The calculator reports magnitudes only. The sign convention for mu follows the negative g-factor convention, which is consistent with spectroscopy but not always the convention used in materials physics.
According to NIST CODATA electron g-factor, the free-electron g-factor equals 2.00231930436, the value the calculator rounds to 2.0023 in spin mode.
The same Zeeman coupling U = -mu dot B applies when B is the Earth's field instead of a laboratory source; the Magnetic Declination Calculator gives the local heading angle needed to orient that dot product for compass and geophysics work.
Frequently Asked Questions
Q: What does a magnetic moment calculator compute?
A: It computes the magnitude of the magnetic moment mu of an atomic state from the total quantum numbers S, L, and J, returning mu in Bohr magnetons and in SI units of joules per tesla. In LS-coupled mode it also returns the Lande g-factor gJ used to weight the spin and orbital contributions.
Q: What is the formula for the magnetic moment of an atom?
A: The general formula is mu = g_J * mu_B * sqrt(J * (J + 1)) for LS-coupled states, with g_J = 3/2 + (S(S+1) - L(L+1)) / (2 J (J + 1)). For pure spin the formula reduces to mu = g_S * mu_B * sqrt(S(S+1)) with g_S = 2.0023, and for pure orbital states to mu = g_L * mu_B * sqrt(L(L+1)) with g_L = 1.
Q: How do you calculate the magnetic moment of a single electron?
A: Set S = 0.5 and use spin-only mode. The formula gives mu = 2.0023 * sqrt(0.5 * 1.5) * mu_B = 2.0023 * sqrt(0.75) * mu_B = 1.7340 mu_B, which is about 1.6082 times 10 to the negative 23 J/T. This is the canonical moment to remember for any free or weakly bound electron.
Q: What is the Bohr magneton in SI units?
A: The Bohr magneton mu_B equals e times h-bar divided by 2 m_e. According to the NIST 2022 CODATA recommended values, mu_B = 9.2740100657 times 10 to the negative 24 joules per tesla with a relative standard uncertainty of 3.1 times 10 to the negative 10.
Q: What is the Lande g-factor used for?
A: The Lande g-factor gJ blends the spin and orbital contributions to a magnetic moment into a single number that multiplies mu_B and sqrt(J(J+1)). It is also the same factor that enters the Zeeman energy U = -mu dot B, so it controls how strongly an atomic term splits in a magnetic field.
Q: Why does a ^1S_0 state have zero magnetic moment?
A: For a ^1S_0 state, S = 0 and L = 0, so J = 0. Both sqrt(J(J+1)) and the numerator of the Lande g-factor vanish, giving gJ = 0 and mu = 0. That is why closed-shell noble-gas atoms are diamagnetic rather than paramagnetic.