Skip to content

Electron Configuration

See how electrons fill atomic orbitals.

Pick An Element

Oxygen selected, atomic number 8.

Element

OOxygen

Atomic Notation

Oxygen with mass number 16 and atomic number 8.

Proton
8
Electron
8
Neutron
8

Electron configuration

1s21s^{2} 2s22s^{2} 2p42p^{4}

  • K shell
  • L shell

Shell distribution

  • K2
  • L6

One possible last-electron state

Selected state2p↓2p^{\downarrow}
(n,ℓ,ml,ms)(n,\ell,m_l,m_s)(2,1,−1,−12)(2, 1, -1, -\frac{1}{2})

Degenerate orbitals have no unique filling order; this tuple uses one conventional assignment.

Electron Orbital in 3D

Occupied subshell

Orbital orientation

Hydrogen-like model of an occupied subshell in Oxygen: 2p_z, 2 electrons
Positive phase Negative phase
1a0≈52.9 pm1a_0 \approx 52.9\,\mathrm{pm}
2pz2p_z·2 electrons

The shaded lobes illustrate angular probability. Turn off Shape to explore dots sampled from ∣ψ∣2|\psi|^2. Blue and orange show opposite wavefunction phases, not electric charge. The surface omits radial nodes and is not a probability boundary.

The scale uses Bohr radii (1a0≈52.9 pm1a_0 \approx 52.9\,\mathrm{pm}). For this hydrogen-like orbital, 90% of radial probability lies within 8.0a0≈423 pm8.0a_0 \approx 423\,\mathrm{pm} of the nucleus. These model sizes are not measured sizes of Oxygen. Real orbital orientations can combine magnetic states, so axis names do not correspond one-to-one with Aufbau mlm_l labels.

Why are ss orbitals round and pp orbitals two-lobed?

The wave separates into a distance factor RR and a direction factor YY. For ss, YY is constant in every direction. For the pictured pyp_y, Y∝cos⁡θY \propto \cos\theta: it changes sign across the horizontal nodal plane and is zero there. The lobes plot ∣Y∣2|Y|^2 in each direction.

+y+y
Compare the shape

Y10∝cos⁡θY_1^0 \propto \cos\theta · signed amplitude 0.710.71

Follow the equation to all orbital shapes.

Aufbau Diagram

  1. 1s1s
  2. 2s2s
  3. 2p2p
  4. 3s3s
  5. 3p3p
  6. 4s4s
  7. 3d3d
  8. 4p4p
  9. 5s5s
  10. 4d4d
  11. 5p5p
  12. 6s6s
  13. 4f4f
  14. 5d5d
  15. 6p6p
  16. 7s7s
  17. 5f5f
  18. 6d6d
  19. 7p7p
Shell 1
1s subshell, filling order 1, 2 electrons. m 0: 2 electrons.
Shell 2
2s subshell, filling order 2, 2 electrons. m 0: 2 electrons.
2p subshell, filling order 3, 4 electrons. m −1: 2 electrons, m 0: 1 electron, m +1: 1 electron. Contains the last electron.
Shell 3
3s subshell, filling order 4, 0 electrons. m 0: 0 electrons.
3p subshell, filling order 5, 0 electrons. m −1: 0 electrons, m 0: 0 electrons, m +1: 0 electrons.
3d subshell, filling order 7, 0 electrons. m −2: 0 electrons, m −1: 0 electrons, m 0: 0 electrons, m +1: 0 electrons, m +2: 0 electrons.
Shell 4
4s subshell, filling order 6, 0 electrons. m 0: 0 electrons.
4p subshell, filling order 8, 0 electrons. m −1: 0 electrons, m 0: 0 electrons, m +1: 0 electrons.
4d subshell, filling order 10, 0 electrons. m −2: 0 electrons, m −1: 0 electrons, m 0: 0 electrons, m +1: 0 electrons, m +2: 0 electrons.
4f subshell, filling order 13, 0 electrons. m −3: 0 electrons, m −2: 0 electrons, m −1: 0 electrons, m 0: 0 electrons, m +1: 0 electrons, m +2: 0 electrons, m +3: 0 electrons.
Shell 5
5s subshell, filling order 9, 0 electrons. m 0: 0 electrons.
5p subshell, filling order 11, 0 electrons. m −1: 0 electrons, m 0: 0 electrons, m +1: 0 electrons.
5d subshell, filling order 14, 0 electrons. m −2: 0 electrons, m −1: 0 electrons, m 0: 0 electrons, m +1: 0 electrons, m +2: 0 electrons.
5f subshell, filling order 17, 0 electrons. m −3: 0 electrons, m −2: 0 electrons, m −1: 0 electrons, m 0: 0 electrons, m +1: 0 electrons, m +2: 0 electrons, m +3: 0 electrons.
Shell 6
6s subshell, filling order 12, 0 electrons. m 0: 0 electrons.
6p subshell, filling order 15, 0 electrons. m −1: 0 electrons, m 0: 0 electrons, m +1: 0 electrons.
6d subshell, filling order 18, 0 electrons. m −2: 0 electrons, m −1: 0 electrons, m 0: 0 electrons, m +1: 0 electrons, m +2: 0 electrons.
Shell 7
7s subshell, filling order 16, 0 electrons. m 0: 0 electrons.
7p subshell, filling order 19, 0 electrons. m −1: 0 electrons, m 0: 0 electrons, m +1: 0 electrons.

Vocabulary

Electron configuration and quantum-number vocabulary
SymbolTermMeaningExample
ZZAtomic numberThe number of protons in the nucleus. For a neutral atom, it also equals the number of electrons.Oxygen: Z=8Z = 8
nnPrincipal (shell) quantum numberThe electron shell or main energy level, numbered from 1 to 7.n=1n = 1 is the K shell
ℓ\ellAzimuthal (subshell) quantum numberThe subshell and general orbital shape within a shell.s:ℓ=0,p:ℓ=1,d:ℓ=2,f:ℓ=3\mathrm{s}:\ell=0,\quad\mathrm{p}:\ell=1,\quad\mathrm{d}:\ell=2,\quad\mathrm{f}:\ell=3
mlm_lMagnetic quantum numberThe orbital angular-momentum component along a chosen axis. Real orbital shapes can combine different mlm_l states.For pp: −1,0,+1-1, 0, +1
msm_sSpin-projection quantum numberThe electron's spin component along a chosen axis.+12 or −12+\frac{1}{2}\text{ or }-\frac{1}{2}
K–QShell namesLetter names for the seven electron shells.K (n=1),  L (n=2),  …,  Q (n=7)\mathrm{K}\,(n=1),\;\mathrm{L}\,(n=2),\;\ldots,\;\mathrm{Q}\,(n=7)
s,p,d,fs, p, d, fSubshellsThe four subshell types, each containing a different number of orbitals.Maximum: 2, 6, 10, and 14 electrons
□\squareOrbitalA region that can hold at most two electrons with opposite spins.One box in the Aufbau diagram
↑  /  ↓\uparrow\;/\;\downarrowElectron arrowsElectrons and their spin directions inside an orbital.↑↓\uparrow\downarrow is a paired orbital
2p42p^4Electron configurationA compact description of how an atom's electrons occupy its subshells.2p42p^4 = four electrons in the 2p2p subshell
AufbauFilling principleThe principle that lower-energy orbitals fill before higher-energy orbitals.1s→2s→2p→3s1s\to 2s\to 2p\to 3s
NeutralNeutral atomAn atom whose proton and electron counts are equal, giving no net charge.8 protons and 8 electrons
Ground stateGround-state configurationThe lowest-energy electron arrangement of an atom.The configuration shown by this page