The electron configuration of an atom is the foundational descriptor of its chemistry. It governs bonding behaviour, magnetic susceptibility, spectral signatures, and placement within the Periodic Table. Writing configurations manually is tedious and error-prone, particularly for transition metals and lanthanides where the Aufbau principle fails.

This calculator produces the quantum-mechanically correct electron arrangement for any element from Hydrogen (Z = 1) to Oganesson (Z = 118), automatically applying the known Madelung-rule anomalies and the standard ionization order for cations and anions.

Required Input Parameters

To obtain a valid configuration, two quantum-level parameters are required:

  • Atomic Number (Z): The integer count of protons in the nucleus, ranging from 1 to 118. This value uniquely identifies the element.
  • Net Charge (q): The ionic charge in elementary units. A positive $q$ denotes a cation (electron loss); a negative $q$ denotes an anion (electron gain). The total electron count is $N_e = Z - q$.

Theoretical Foundation & Formulas

The distribution of electrons among atomic orbitals is governed by three quantum-mechanical rules derived from the solutions of the Schrödinger equation for a multi-electron atom.

The Aufbau Principle and the Madelung Rule

Electrons occupy orbitals in order of increasing energy. The Madelung rule (also called the Klechkowski rule) orders subshells by the sum $n + \ell$, and for equal sums, by the lower $n$:

$$E_{\text{order}} \propto (n + \ell), \quad \text{tiebreak: smaller } n \text{ first}$$

This produces the canonical filling sequence: $1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p$.

The Pauli Exclusion Principle

No two electrons in the same atom may share all four quantum numbers $(n, \ell, m_\ell, m_s)$. This restricts the maximum occupancy of any subshell to:

$$N_{\max}(\ell) = 2(2\ell + 1)$$

yielding $s = 2$, $p = 6$, $d = 10$, $f = 14$ electrons respectively.

Hund's Rule of Maximum Multiplicity

Within a degenerate subshell, electrons occupy separate orbitals with parallel spins before pairing. The count of unpaired electrons $u$ in a subshell holding $e$ electrons of capacity $c$ is:

$$u = \frac{c}{2} - \left| \frac{c}{2} - e \right|$$

This value determines whether a species is paramagnetic ($u > 0$) or diamagnetic ($u = 0$).

Ionization Ordering

For cations, electrons are removed from the shell with the highest principal quantum number $n$ first — not necessarily the last-filled orbital. This is why Fe ([Ar] 4s² 3d⁶) loses 4s electrons before 3d, forming Fe²⁺ as [Ar] 3d⁶.

Technical Specifications: Aufbau Exceptions

The Madelung rule is an approximation. The following anomalies arise from the exceptional stability of half-filled and fully-filled $d$ and $f$ subshells, and are hard-coded in the calculation engine:

ZElementExpectedActual Configuration
24Chromium[Ar] 4s² 3d⁴[Ar] 4s¹ 3d⁵
29Copper[Ar] 4s² 3d⁹[Ar] 4s¹ 3d¹⁰
41Niobium[Kr] 5s² 4d³[Kr] 5s¹ 4d⁴
42Molybdenum[Kr] 5s² 4d⁴[Kr] 5s¹ 4d⁵
46Palladium[Kr] 5s² 4d⁸[Kr] 4d¹⁰
47Silver[Kr] 5s² 4d⁹[Kr] 5s¹ 4d¹⁰
64Gadolinium[Xe] 6s² 4f⁸[Xe] 6s² 4f⁷ 5d¹
78Platinum[Xe] 6s² 5d⁸[Xe] 6s¹ 5d⁹
79Gold[Xe] 6s² 5d⁹[Xe] 6s¹ 5d¹⁰
92Uranium[Rn] 7s² 5f⁴[Rn] 7s² 5f³ 6d¹

Scientific Analysis & Real-World Application

The electron configuration is not a bookkeeping exercise — it is a predictive instrument.

Valence electrons determine reactivity. The calculator defines valence as all electrons in the outermost principal shell, plus partially-filled $(n-1)d$ and $(n-2)f$ subshells for transition and inner-transition metals. This convention follows the IUPAC treatment used in Atkins' Physical Chemistry.

Unpaired electron count is directly tied to magnetic moment through the spin-only formula $\mu_s = \sqrt{u(u+2)}, \mu_B$, where $\mu_B$ is the Bohr magneton. A calculated $u = 4$ for Fe²⁺ predicts strong paramagnetism — the basis of its role in hemoglobin and ferromagnetic alloys.

Block assignment ($s$, $p$, $d$, $f$) follows directly from the last-filled subshell and correlates with Periodic Table position. Ions alter valence counts but do not shift the element's block classification.

Noble-gas abbreviation replaces core electrons with the symbol of the preceding noble gas in brackets. This isolates the chemically active valence shell and is the preferred notation in research literature.

Frequently Asked Questions

Why does Chromium violate the Aufbau principle?

Chromium's observed configuration, [Ar] 4s¹ 3d⁵, reflects two competing effects. First, the half-filled 3d⁵ subshell gains exchange-correlation stabilization because all five electrons can adopt parallel spins, maximizing the exchange integral.

Second, the 4s and 3d orbitals are near-degenerate at Z = 24, so promoting one 4s electron into 3d costs little energy while unlocking significant exchange stabilization. The net result is a lower total energy than the naive [Ar] 4s² 3d⁴ prediction.

How do I write the configuration for a transition-metal cation correctly?

Start from the neutral-atom configuration, including any Aufbau exceptions. Then remove electrons strictly from the orbital with the highest principal quantum number $n$ first, not the last orbital filled.

For Cu²⁺: the neutral Cu is [Ar] 4s¹ 3d¹⁰. Remove the single 4s electron first, then one 3d electron, giving [Ar] 3d⁹. This single unpaired electron makes all Cu²⁺ salts paramagnetic and accounts for their characteristic blue colour via d–d transitions.

What is the physical meaning of the four quantum numbers?

The quantum numbers $(n, \ell, m_\ell, m_s)$ label each electron's state uniquely. $n$ (principal) sets the shell and dominates orbital energy and mean radius. $\ell$ (azimuthal, $0 \le \ell \le n-1$) defines orbital shape — $s$, $p$, $d$, $f$.

$m_\ell$ (magnetic, $-\ell \le m_\ell \le \ell$) specifies spatial orientation in an external field, and $m_s = \pm \frac{1}{2}$ is the intrinsic spin projection. The Pauli exclusion principle forbids any two electrons in the same atom from sharing the full set.

Professional Conclusion

Deriving electron configurations by hand invites three recurring failure modes: miscounting the Madelung order, forgetting the transition-metal exceptions, and applying the wrong ionization sequence to cations. Each mistake propagates into incorrect predictions for magnetic behaviour, spectroscopic terms, and bonding geometry.

An automated engine eliminates all three. By encoding the Aufbau ordering, the Pauli limits, Hund's multiplicity rule, and the documented anomalies from Cr through Lr in a single deterministic routine, this calculator delivers textbook-accurate results in real time — freeing the chemist to focus on interpretation rather than mechanical derivation.