molecalculator

Moles & Molar Mass

Electron Configuration Model: How It Works

Calculator No. 01-10306 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

The electron configuration model describes how electrons are arranged in an atom’s orbitals, showing the energy levels, sublevels, and the number of electrons in each. You enter an element’s atomic number, and the model returns its ground-state electron configuration, such as 1s² 2s² 2p⁶ 3s¹ for sodium. This arrangement determines the atom’s chemical behavior, including bonding and reactivity.

Formula

The electron configuration is built by filling orbitals in order of increasing energy, following the Aufbau principle. The order is: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p. Each orbital type holds a fixed maximum number of electrons: s holds 2, p holds 6, d holds 10, and f holds 14. The superscript in the notation (e.g., the 2 in 2p²) is the number of electrons in that subshell. The total of all superscripts equals the atomic number Z for a neutral atom. The shell count groups electrons by principal quantum number n: K (n=1), L (n=2), M (n=3), and so on.

Worked Example

For sodium (Z = 11), fill orbitals in order:

  • 1s² (2 electrons, total 2)
  • 2s² (2 electrons, total 4)
  • 2p⁶ (6 electrons, total 10)
  • 3s¹ (1 electron, total 11)

So the configuration is 1s² 2s² 2p⁶ 3s¹. The shell counts are: K shell (n=1) has 2 electrons, L shell (n=2) has 2 + 6 = 8, and M shell (n=3) has 1. The calculator’s output matches this exactly.

Assumptions

  • The atom is neutral (number of electrons equals atomic number).
  • Ground-state configuration (lowest energy arrangement), not an excited state.
  • The Aufbau order is the standard one taught in introductory chemistry; exceptions exist for transition metals and lanthanides.
  • Orbital filling follows Hund’s rule (each orbital in a subshell gets one electron before pairing) and the Pauli exclusion principle (no two electrons share all four quantum numbers).

How to Read the Configuration

Each term like 3p⁴ has three parts: the number (3) is the principal quantum number n, the letter (p) is the subshell type, and the superscript (4) is the electron count in that subshell. The sum of all superscripts gives the total electrons. The highest occupied energy level (the largest n with electrons) is the period number in the periodic table. The outermost electrons—those in the highest n and the partially filled subshell—are the valence electrons; they determine how the atom reacts. For example, sodium’s single 3s electron is easily lost, making sodium a reactive metal that forms a +1 ion.

Common Mistakes and Misconceptions

  • Filling 3d before 4s: Many students write 3d⁴ before 4s², but 4s is lower in energy and fills first. For potassium (Z=19), the configuration is [Ar] 4s¹, not [Ar] 3d¹.
  • Ignoring exceptions: Chromium (Z=24) is [Ar] 3d⁵ 4s¹, not [Ar] 3d⁴ 4s², because a half-filled d subshell is more stable. Copper (Z=29) is [Ar] 3d¹⁰ 4s¹ for the same reason. The calculator uses the standard Aufbau order, so it will show the common exceptions for chromium, copper, and a few others.
  • Confusing shells and subshells: The shell count is not the same as the configuration. For iron (Z=26), the configuration is [Ar] 3d⁶ 4s², but the shell counts are 2, 8, 14, 2—the M shell holds 2 + 6 + 6 = 14 electrons (3s² 3p⁶ 3d⁶).
  • Using the periodic table incorrectly: The block (s, p, d, f) corresponds to the subshell being filled, and the period gives the n value. This is a shortcut, but it fails for the d and f blocks unless you remember that the d block starts one period behind.

Why the Model Matters

The electron configuration is the foundation for understanding periodic trends: atomic radius, ionization energy, electron affinity, and electronegativity all trace back to how tightly electrons are held in their orbitals. It explains why noble gases are inert (full outer shells), why halogens are reactive (one electron short of a full shell), and why transition metals have variable oxidation states (the d and s electrons are close in energy). The model also predicts magnetic properties: an atom with unpaired electrons is paramagnetic, while one with all paired electrons is diamagnetic. For example, oxygen (1s² 2s² 2p⁴) has two unpaired electrons in the 2p orbitals, making it paramagnetic—a fact that is not obvious from the formula but follows from Hund’s rule.

Limitations of the Model

The simple Aufbau model is a useful approximation, but it has limits. It does not predict the exact energy ordering for heavy elements where relativistic effects become significant; for example, gold’s 6s electron is contracted and the 5d orbitals are expanded, which affects its color and chemistry. The model also assumes a single-electron picture; electron-electron repulsion can alter the order of subshells, which is why the exceptions exist. For ions, the configuration changes: when forming a cation, electrons are removed from the highest n orbital first (e.g., Fe²⁺ is [Ar] 3d⁶, not [Ar] 3d⁴ 4s²). The model does not give spatial shapes or energies directly; for that, you need quantum mechanical wavefunctions. Finally, the model is for isolated atoms; in molecules or solids, orbitals mix to form bonds, and the simple atomic configuration is no longer sufficient.

Frequently Asked Questions

How do I write the noble gas shorthand? Find the noble gas that comes before the element in the periodic table, put its symbol in brackets, then write the remaining configuration. For sodium, the noble gas is neon (Z=10), so it becomes [Ne] 3s¹. This saves space and highlights the valence electrons.

Why does 4s fill before 3d? The 4s orbital has a lower energy than 3d for neutral atoms because it penetrates closer to the nucleus, experiencing less shielding. This is a consequence of the radial distribution of the orbitals, not a simple rule based on n alone. After the 3d orbitals start filling, the 4s electrons are actually higher in energy, which is why they are removed first when forming ions.

What is Hund’s rule and why does it matter? Hund’s rule states that electrons fill each orbital of a subshell singly before pairing up. This minimizes electron-electron repulsion and leads to the most stable arrangement. For nitrogen (Z=7), the 2p subshell has three electrons, each in a separate p orbital with parallel spins, giving a configuration 1s² 2s² 2p³.

How do I find the valence electrons from the configuration? For main-group elements, the valence electrons are those in the highest n shell. For sodium, that is the 3s¹ electron, so it has one valence electron. For transition metals, the valence electrons include the d electrons, which is why they can have multiple oxidation states. The shell count output gives you the electrons per shell, which helps identify the valence shell.

Does the model work for ions? Yes, but you must adjust the electron count. For a cation, remove electrons from the highest n orbital first; for an anion, add electrons to the next available orbital. For example, O²⁻ (Z=8, 10 electrons) becomes 1s² 2s² 2p⁶, which is isoelectronic with neon. The calculator assumes a neutral atom, so for ions, enter the atomic number and then manually adjust the last term.

Why are there exceptions like chromium and copper? The stability of half-filled and fully filled d subshells is slightly higher than expected due to exchange energy and reduced electron-electron repulsion. For chromium, moving one electron from 4s to 3d gives a half-filled 3d⁵ and a half-filled 4s¹, which is more stable than 3d⁴ 4s². These exceptions are not predictable from the Aufbau rule alone; they are observed experimentally and confirmed by quantum calculations.

Related

Formula used
in z | Atomic number (Z) | - | 11 | 1 | 118
out config | Electron configuration | - | config(z) | 0
out shell | Electrons per shell (K, L, M, N, O, P, Q) | - | shells(z) | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →