Landé g-factor Calculator

Compute the Landé g factor and magnetic moment from orbital, spin and total angular momentum.

Physics and EnergyUpdated 2026-11-202 min read
Landé g-factor Calculator
Landé g factor
...
Magnetic moment...
g factor repeated...

What it does

In a weak magnetic field, an atomic energy level splits according to its total angular momentum. The size of the splitting depends on the Landé g factor, which combines the orbital and spin contributions. It is a standard result of Russell Saunders coupling in atomic physics.

The formula uses the quantum numbers L, S and J. It adds one to a fraction whose numerator is J times J plus one, plus S times S plus one, minus L times L plus one, all divided by twice J times J plus one. The result is a dimensionless number near one or two for typical levels.

Once the g factor is known, the magnetic moment projected along J is g times J in units of the Bohr magneton. For an electron with L one, S one half and J three halves, the g factor is four thirds and the moment is two Bohr magnetons.

The result assumes that spin orbit coupling is stronger than the applied field, so L and S combine into J first. In heavier atoms this coupling scheme can fail, and more precise g factors need corrections beyond the simple formula.

The tool does not check whether J is an allowed result of coupling L and S, because it accepts quantum numbers as given. Check the allowed values yourself when modelling a real atomic term.

How to use

  1. Enter the orbital quantum number L.
  2. Enter the spin quantum number S.
  3. Enter the total angular momentum quantum number J.
  4. Read the Landé g factor.
  5. Read the projected magnetic moment in Bohr magnetons.
  6. Check that J is an allowed coupling of L and S for your term.

Formula

g_J = 1 + [J(J+1) + S(S+1) - L(L+1)] / (2 J(J+1)).
L
Orbital angular momentum quantum number.
S
Total spin quantum number.
J
Total angular momentum quantum number.
g_J
Landé g factor, dimensionless.

The derivation uses the approximation that the electron spin g factor is two. An equivalent form is three halves plus the difference of S and L terms over the same denominator. The magnetic moment output is g times J in Bohr magnetons.

Worked example

Example: L = 1, S = 1/2, J = 3/2

Defaults: L 1, S 0.5 and J 1.5, corresponding to a 2P3/2 level.

  1. J(J+1) is 1.5 x 2.5 = 3.75.
  2. S(S+1) is 0.5 x 1.5 = 0.75.
  3. L(L+1) is 1 x 2 = 2.
  4. Numerator: 3.75 + 0.75 - 2 = 2.5.
  5. Denominator: 2 x 3.75 = 7.5.
  6. g = 1 + 2.5/7.5 = 1.3333 and the moment is 1.3333 x 1.5 = 2.0000 μB.

Reference table

Landé factors for common terms
TermLSJg
2S1/200.50.52.0000
2P1/210.50.50.6667
2P3/210.51.51.3333
3P21121.5000

Limits

  • Assumes weak field LS coupling and electron spin g equal to two.
  • Does not verify that J is an allowed coupling of L and S.
  • Does not include relativistic or configuration mixing corrections.
  • Only reports the projection along J, not the full vector moment.

Common mistakes

  • Entering J equal to zero, which would make the denominator zero.
  • Using an allowed J that does not match L and S.
  • Applying the formula in a strong field where the Paschen Back effect applies.
  • Confusing the g factor with the magnetic moment itself.
  • Expecting exact values for heavy atoms with strong spin orbit coupling.

Try it yourself

Quick checks. Answers sit tucked under each question.

What is g for an S1/2 level with L 0 and S 0.5?

J(J+1) is 0.75 and S(S+1) is 0.75, so the numerator is 1.5 and the denominator is 1.5. The g factor is 2.0000.

What is the magnetic moment for the default level?

It is 1.3333 times 1.5, which is 2.0000 Bohr magnetons.

Why is J required to be positive?

The formula divides by J(J+1), so a zero J would make the expression undefined.

Questions

What is the Landé g factor?

A number that gives the size of the Zeeman splitting of an atomic level in terms of its angular momentum quantum numbers.

What is LS coupling?

A scheme where orbital and spin angular momenta combine into a total J before interacting with an external field.

What are Bohr magnetons?

The natural unit for atomic magnetic moments, based on the electron charge and mass.

Does the formula work for all atoms?

It works best for light atoms where LS coupling is a good approximation.

How do I choose J?

For a given L and S, J can range from the absolute difference to the sum in integer steps.

Is the g factor ever negative?

The standard Landé formula gives a positive value for allowed levels. Negative effective values need a different context.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.