Electron Configuration Calculator

This electron configuration calculator writes the configuration of any element from hydrogen to hassium (Z = 1–108) and of its ions. Enter the atomic number, for iron 26, and a charge if needed; it shows the Aufbau order, the shell order, the noble-gas short form and the exceptions listed by NIST.

Example: Atomic number Z 26 · Charge 0 → Electron configuration: Fe: 1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶. Source: OpenStax Chemistry 2e, 6.4 Electronic Structure of Atoms (Electron Configurations): Aufbau principle, filling order 1s 2s 2p 3s 3p 4s 3d …, Hund’s rule, exceptions Cr/Cu/Nb, noble-gas core notation, ions (Example 6.11: Na⁺, P³⁻, Al²⁺, Fe²⁺, Sm³⁺) (read 10.10.2026). Updated: .

Number of protons, e.g. 26 for iron (Fe).
0 for a neutral atom, 2 for Fe²⁺, −1 for Cl⁻.
My ToolboxYour inputs are saved in this browser only.

Result

Electron configuration
Fe: 1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶
Details
QuantityValue
Atom or ionFe (Z = 26, 26 electrons)
Aufbau order (by energy)1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶
Shell order1s² 2s² 2p⁶ 3s² 3p⁶ 3d⁶ 4s²
Noble-gas notation[Ar] 3d⁶ 4s²
Electrons per shelln = 1: 2 · n = 2: 8 · n = 3: 14 · n = 4: 2
Outermost shelln = 4 with 2 electrons
Unpaired electrons (Hund’s rule)4
Calculated with the Aufbau principle (OpenStax) and checked against the NIST ground states.

How it is calculated

The electron configuration lists how many electrons sit in each subshell: s holds at most 2, p 6, d 10 and f 14 electrons, filled in the order 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d … This is the Aufbau principle as described in OpenStax Chemistry: each added electron occupies the subshell of lowest energy available. The calculator applies it and compares the result with the ground states published by NIST.

Electron configurations of common elements

ElementZConfiguration
Hydrogen (H)11s¹
Carbon (C)61s² 2s² 2p²
Oxygen (O)81s² 2s² 2p⁴
Sodium (Na)111s² 2s² 2p⁶ 3s¹
Chlorine (Cl)171s² 2s² 2p⁶ 3s² 3p⁵
Calcium (Ca)201s² 2s² 2p⁶ 3s² 3p⁶ 4s²
Iron (Fe)261s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶
Bromine (Br)351s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d¹⁰ 4p⁵

The short form replaces the inner electrons with the preceding noble gas: sodium is [Ne] 3s¹, iron [Ar] 3d⁶ 4s². The calculator also shows the shell order (all n = 3 subshells before 4s), which is how NIST writes it.

Exceptions: chromium, copper and 18 more

For 20 of the elements 1–108 the ground state listed by NIST differs from the Aufbau prediction. Chromium is [Ar] 3d⁵ 4s¹ instead of [Ar] 3d⁴ 4s², copper [Ar] 3d¹⁰ 4s¹ instead of [Ar] 3d⁹ 4s². OpenStax explains these two with the stability of half-filled and filled subshells and notes that there is no simple method to predict all exceptions. The calculator therefore uses the NIST values for Cr, Cu, Nb, Mo, Ru, Rh, Pd, Ag, La, Ce, Gd, Pt, Au, Ac, Th, Pa, U, Np, Cm and Lr and shows the Aufbau prediction next to them.

Ions

IonZElectronsConfiguration
Na⁺11101s² 2s² 2p⁶
P³⁻15181s² 2s² 2p⁶ 3s² 3p⁶
Al²⁺13111s² 2s² 2p⁶ 3s¹
Fe²⁺26241s² 2s² 2p⁶ 3s² 3p⁶ 3d⁶
Sm³⁺62591s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d¹⁰ 4p⁶ 5s² 4d¹⁰ 5p⁶ 4f⁵

The element data come from the periodic table; the mass of a compound follows from the molar mass calculator.

Frequently asked questions

How do you write an electron configuration?

Fill the subshells in the order 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p … with at most 2 (s), 6 (p), 10 (d) or 14 (f) electrons until the number of electrons is reached. Iron (26 electrons) ends with 4s² 3d⁶.

What is the electron configuration of iron?

1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶, short [Ar] 3d⁶ 4s². Fe²⁺ loses the two 4s electrons: [Ar] 3d⁶.

Why are chromium and copper exceptions?

NIST lists the ground states [Ar] 3d⁵ 4s¹ and [Ar] 3d¹⁰ 4s¹. OpenStax explains them with the extra stability of a half-filled or filled 3d subshell; there is no simple rule that predicts every exception.

How do you find the configuration of an ion?

Start from the neutral atom. For a negative ion add electrons in Aufbau order, for a positive ion remove them – for transition metals from the highest s subshell first. Enter the charge in the calculator, e.g. −3 for P³⁻.

Which elements does the calculator cover?

Z = 1 to 108 (hydrogen to hassium), the range of the NIST table. For heavier elements PubChem lists only calculated or predicted configurations.

What does the noble-gas notation mean?

The symbol in brackets stands for the electrons of that noble gas: [Ne] means 1s² 2s² 2p⁶. Sodium is then written [Ne] 3s¹.

Sources and legal basis

As of: · Editorial policy

Related tools