# Magnetic quantum number

The **magnetic quantum number** \( m_l \) is the quantum number that gives the projection of an electron's orbital angular momentum along a chosen axis, usually the direction of an external magnetic field. It is the third of the four quantum numbers \( (n, l, m_l, m_s) \) that specify the state of an electron in an atom, and it determines the orientation in space of an atomic orbital within a subshell.<sup>[1](https://openstax.org/books/college-physics-2e/pages/30-8-quantum-numbers-and-rules)</sup><sup> • </sup><sup>[2](https://www.nist.gov/pml/atomic-spectroscopy-compendium-basic-ideas-notation-data-and-formulas/atomic-spectroscopy-10)</sup><sup> • </sup><sup>[3](https://chemed.chem.purdue.edu/genchem/topicreview/bp/ch6/quantum.php)</sup>

| Key fact | Detail |
|---|---|
| Allowed values | \( m_l = -l, -l+1, \ldots, 0, \ldots, l-1, l \), in integer steps, giving \( 2l+1 \) values for a given orbital quantum number \( l \)<sup>[1](https://openstax.org/books/college-physics-2e/pages/30-8-quantum-numbers-and-rules)</sup> |
| Physical quantity | \( L_z = m_l \, \hbar \), the z-component of orbital angular momentum, where \( \hbar = h/2\pi \)<sup>[1](https://openstax.org/books/college-physics-2e/pages/30-8-quantum-numbers-and-rules)</sup><sup> • </sup><sup>[4](https://phys.libretexts.org/Bookshelves/University_Physics/University_Physics_%28OpenStax%29/University_Physics_III_-_Optics_and_Modern_Physics_%28OpenStax%29/08%3A_Atomic_Structure/8.02%3A_The_Hydrogen_Atom)</sup> |
| Example | For \( l = 2 \), \( m_l \) takes the five values −2, −1, 0, 1, and 2<sup>[1](https://openstax.org/books/college-physics-2e/pages/30-8-quantum-numbers-and-rules)</sup> |
| Spectroscopic role | Each \( m_l \) corresponds to a different energy in a magnetic field, producing the splitting of spectral lines known as the Zeeman effect<sup>[1](https://openstax.org/books/college-physics-2e/pages/30-8-quantum-numbers-and-rules)</sup> |
| Zeeman shift (spin neglected) | \( \Delta E = \mu_B B \, m_l \), linear in the field strength \( B \)<sup>[5](https://quantummechanics.ucsd.edu/ph130a/130_notes/node295.html)</sup> |
| Related numbers | \( m_s = \pm 1/2 \) for spin projection; \( m_j \) for the projection of total angular momentum \( j = l \pm 1/2 \)<sup>[2](https://www.nist.gov/pml/atomic-spectroscopy-compendium-basic-ideas-notation-data-and-formulas/atomic-spectroscopy-10)</sup> |
| Chemistry meaning | \( m_l \) labels which orbital within a subshell an electron occupies, that is, the orbital's orientation in space<sup>[3](https://chemed.chem.purdue.edu/genchem/topicreview/bp/ch6/quantum.php)</sup><sup> • </sup><sup>[6](https://chem.libretexts.org/Courses/University_of_Arkansas_Cossatot/UAC%3A_Chem_1024/06._Electronic_Structure_of_Atoms/6.5%3A_Quantum_Mechanics_and_Atomic_Orbitals)</sup> |

## Allowed values and what they measure

For a given orbital angular momentum quantum number \( l \), the magnetic quantum number can range from \( -l \) to \( +l \) in steps of one, so a level with \( l = 2 \) has the five values −2, −1, 0, 1, and 2.<sup>[1](https://openstax.org/books/college-physics-2e/pages/30-8-quantum-numbers-and-rules)</sup> Each value fixes the z-component of the angular momentum through

\[ L_z = m_l \, \frac{h}{2\pi} = m_l \, \hbar, \]

while the magnitude of the angular momentum itself is \( L = \sqrt{l(l+1)} \, \hbar \).<sup>[1](https://openstax.org/books/college-physics-2e/pages/30-8-quantum-numbers-and-rules)</sup><sup> • </sup><sup>[4](https://phys.libretexts.org/Bookshelves/University_Physics/University_Physics_%28OpenStax%29/University_Physics_III_-_Optics_and_Modern_Physics_%28OpenStax%29/08%3A_Atomic_Structure/8.02%3A_The_Hydrogen_Atom)</sup> Because \( L_z \) can take only these discrete values, the angle \( \theta \) between the angular momentum vector and the z-axis is also quantized, with \( \cos\theta = m_l / \sqrt{l(l+1)} \). The vector can be pictured as lying on the surface of a cone around the z-axis; when \( m_l = 0 \), the cone opens to \( \theta = 90^\circ \) and the vector is perpendicular to the axis.<sup>[4](https://phys.libretexts.org/Bookshelves/University_Physics/University_Physics_%28OpenStax%29/University_Physics_III_-_Optics_and_Modern_Physics_%28OpenStax%29/08%3A_Atomic_Structure/8.02%3A_The_Hydrogen_Atom)</sup>

The choice of axis is not arbitrary in a physical sense. Direction has meaning only relative to something that varies with direction, such as a magnetic field, so the z-axis is normally taken along the field at the atom's location.<sup>[1](https://openstax.org/books/college-physics-2e/pages/30-8-quantum-numbers-and-rules)</sup> A detailed treatment of angular momentum also shows that not all three components can be known at once: if \( L_z \) has a definite value, the x- and y-components are uncertain, so the precise direction of the vector, not just its allowed angles, remains unknown.<sup>[4](https://phys.libretexts.org/Bookshelves/University_Physics/University_Physics_%28OpenStax%29/University_Physics_III_-_Optics_and_Modern_Physics_%28OpenStax%29/08%3A_Atomic_Structure/8.02%3A_The_Hydrogen_Atom)</sup>

## Role in the Zeeman effect

The number takes its name from its most direct observable consequence. When an external magnetic field is applied, otherwise degenerate atomic states with different \( m_l \) split in energy, and spectral lines separate into discrete components; this is the [Zeeman effect](https://www.edgepedia.org/zeeman-effect).<sup>[1](https://openstax.org/books/college-physics-2e/pages/30-8-quantum-numbers-and-rules)</sup><sup> • </sup><sup>[5](https://quantummechanics.ucsd.edu/ph130a/130_notes/node295.html)</sup> [Hendrik Lorentz](https://www.edgepedia.org/hendrik-lorentz) suggested that his student [Pieter Zeeman](https://www.edgepedia.org/pieter-zeeman) study how spectra are affected by magnetic fields, and the two shared the 1902 Nobel Prize in Physics for the discoveries.<sup>[7](https://openstax.org/books/college-physics-ap-courses/pages/30-7-patterns-in-spectra-reveal-more-quantization)</sup>

For orbital angular momentum alone, the energy shift is

\[ \Delta E = \mu_B B \, m_l, \]

where \( \mu_B \) is the [Bohr magneton](https://www.edgepedia.org/bohr-magneton) and \( B \) the field strength, so states of different \( m_l \) are equally spaced in energy and the separation grows in proportion to the applied field.<sup>[5](https://quantummechanics.ucsd.edu/ph130a/130_notes/node295.html)</sup><sup> • </sup><sup>[7](https://openstax.org/books/college-physics-ap-courses/pages/30-7-patterns-in-spectra-reveal-more-quantization)</sup> In hydrogen, the three 2p states \( \psi_{211} \), \( \psi_{21-1} \), and \( \psi_{210} \), degenerate in zero field, acquire different energies in a field, so emission from a 2p to a 1s orbital occurs at three energies instead of one. The \( m_l = 0 \) state, whose angular momentum and magnetic moment components along the field are zero, feels no interaction; the \( m_l = +1 \) state, whose magnetic moment points against the field, is raised in energy.<sup>[8](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Book%3A_Quantum_States_of_Atoms_and_Molecules_%28Zielinksi_et_al.%29/08._The_Hydrogen_Atom/8.4%3A_Magnetic_Properties_and_the_Zeeman_Effect)</sup>

When electron spin is included, the relevant projection quantum number becomes \( m_j \), the projection of the total angular momentum \( j = l + s \). The energy shift is then \( \Delta E_z = \mu_b B g m_j \), where the Landé g factor,

\[ g = 1 + \frac{j(j+1) + s(s+1) - l(l+1)}{2\,j(j+1)}, \]

accounts for the mixture of orbital and spin contributions; \( g = 1 \) for pure orbital angular momentum (\( s = 0 \)) and \( g = 2 \) for pure spin (\( l = 0 \)).<sup>[9](https://phys.libretexts.org/Bookshelves/Quantum_Mechanics/Quantum_Mechanics_%28Walet%29/12%3A_Quantum_Mechanics_of_the_Hydrogen_Atom/12.05%3A_Smaller_Effects/12.5.03%3A_The_Zeeman_Effect)</sup>

## Place among the quantum numbers

A one-electron atomic state is defined by \( n \), \( l \), \( m_l \), and \( m_s \), or alternatively by \( n \), \( l \), \( j \), and \( m_j \). The principal quantum number \( n \) takes positive integer values, \( l \) runs from 0 to \( n-1 \), and \( m_l \) then runs from \( -l \) to \( l \).<sup>[1](https://openstax.org/books/college-physics-2e/pages/30-8-quantum-numbers-and-rules)</sup><sup> • </sup><sup>[2](https://www.nist.gov/pml/atomic-spectroscopy-compendium-basic-ideas-notation-data-and-formulas/atomic-spectroscopy-10)</sup> The magnetic quantum numbers \( m_l \), \( m_s \), and \( m_j \) all represent projections of the corresponding angular momenta along a particular direction, with \( m_s = \pm 1/2 \) for an electron.<sup>[2](https://www.nist.gov/pml/atomic-spectroscopy-compendium-basic-ideas-notation-data-and-formulas/atomic-spectroscopy-10)</sup>

In chemistry, each allowed combination of \( n \), \( l \), and \( m_l \) describes one atomic orbital, a particular spatial distribution for the electron, and \( m_l \) distinguishes the different orientations of orbitals within the same subshell.<sup>[6](https://chem.libretexts.org/Courses/University_of_Arkansas_Cossatot/UAC%3A_Chem_1024/06._Electronic_Structure_of_Atoms/6.5%3A_Quantum_Mechanics_and_Atomic_Orbitals)</sup><sup> • </sup><sup>[3](https://chemed.chem.purdue.edu/genchem/topicreview/bp/ch6/quantum.php)</sup> In the absence of a magnetic field these orientations have the same energy, a degeneracy that the field removes.<sup>[8](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Book%3A_Quantum_States_of_Atoms_and_Molecules_%28Zielinksi_et_al.%29/08._The_Hydrogen_Atom/8.4%3A_Magnetic_Properties_and_the_Zeeman_Effect)</sup>

## References

1. [30.8 Quantum Numbers and Rules, College Physics 2e, OpenStax](https://openstax.org/books/college-physics-2e/pages/30-8-quantum-numbers-and-rules)
2. [Atomic Spectroscopy: Atomic States, Shells, and Configurations, NIST](https://www.nist.gov/pml/atomic-spectroscopy-compendium-basic-ideas-notation-data-and-formulas/atomic-spectroscopy-10)
3. [Quantum Numbers, Purdue University Chemistry](https://chemed.chem.purdue.edu/genchem/topicreview/bp/ch6/quantum.php)
4. [8.2: The Hydrogen Atom, Physics LibreTexts](https://phys.libretexts.org/Bookshelves/University_Physics/University_Physics_%28OpenStax%29/University_Physics_III_-_Optics_and_Modern_Physics_%28OpenStax%29/08%3A_Atomic_Structure/8.02%3A_The_Hydrogen_Atom)
5. [The Quantum Hamiltonian Including a B-field, UCSD Physics 130 notes](https://quantummechanics.ucsd.edu/ph130a/130_notes/node295.html)
6. [6.5: Quantum Mechanics and Atomic Orbitals, Chemistry LibreTexts](https://chem.libretexts.org/Courses/University_of_Arkansas_Cossatot/UAC%3A_Chem_1024/06._Electronic_Structure_of_Atoms/6.5%3A_Quantum_Mechanics_and_Atomic_Orbitals)
7. [30.7 Patterns in Spectra Reveal More Quantization, College Physics for AP Courses, OpenStax](https://openstax.org/books/college-physics-ap-courses/pages/30-7-patterns-in-spectra-reveal-more-quantization)
8. [8.4: Magnetic Properties and the Zeeman Effect, Chemistry LibreTexts](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Book%3A_Quantum_States_of_Atoms_and_Molecules_%28Zielinksi_et_al.%29/08._The_Hydrogen_Atom/8.4%3A_Magnetic_Properties_and_the_Zeeman_Effect)
9. [12.5.3: The Zeeman Effect, Physics LibreTexts](https://phys.libretexts.org/Bookshelves/Quantum_Mechanics/Quantum_Mechanics_%28Walet%29/12%3A_Quantum_Mechanics_of_the_Hydrogen_Atom/12.05%3A_Smaller_Effects/12.5.03%3A_The_Zeeman_Effect)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: Physical world and mathematics › Physics › Quantum physics › Quantum mechanics › Quantum formalism and states › Quantum states and wave functions › Quantum numbers › Principal, orbital, and magnetic quantum numbers

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/magnetic-quantum-number
