molecalculator

Moles & Molar Mass

Electronic Configuration of Atom: How It Works

Calculator No. 01-9627 · 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 electronic configuration of an atom describes how its electrons are arranged in energy levels (shells), subshells, and orbitals around the nucleus. You enter the atomic number (number of electrons for a neutral atom) and get the full configuration, such as 1s2 2s2 2p6 3s2 3p6 4s2 3d10 for zinc (Z = 30). This arrangement determines the atom’s chemical behavior, bonding, and position in the periodic table.

Formula

The electronic configuration is built by filling orbitals in order of increasing energy, following three rules:

  • Aufbau principle: electrons occupy the lowest available energy orbital first. The filling order is: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p.
  • Pauli exclusion principle: each orbital holds at most two electrons, and they must have opposite spins.
  • Hund’s rule: within a subshell (p, d, f), electrons fill each orbital singly before pairing up, with parallel spins.

Each shell is labeled by the principal quantum number n (1, 2, 3…), and each subshell by the azimuthal quantum number l (0 = s, 1 = p, 2 = d, 3 = f). The maximum electrons per subshell: s = 2, p = 6, d = 10, f = 14. The total electrons in a shell is 2n2.

Worked Example

Find the ground-state configuration of iron (Fe, Z = 26). Using the filling order:

  1. 1s can hold 2 → 1s2 (2 electrons used)
  2. 2s holds 2 → 2s2 (4 total)
  3. 2p holds 6 → 2p6 (10 total)
  4. 3s holds 2 → 3s2 (12 total)
  5. 3p holds 6 → 3p6 (18 total)
  6. 4s fills before 3d → 4s2 (20 total)
  7. Remaining 6 electrons go into 3d → 3d6

So the configuration is 1s2 2s2 2p6 3s2 3p6 4s2 3d6, often abbreviated as [Ar] 3d6 4s2. The calculator’s output “core + 3d6 4s2” matches this, where “core” stands for the argon configuration.

Assumptions

  • The atom is neutral (number of electrons equals atomic number Z).
  • The configuration is for the ground state (lowest energy), not an excited state.
  • No external magnetic field or relativistic effects are considered.
  • For transition metals, the 4s orbital is filled before 3d, but when ionizing, electrons are removed from 4s first.

How to Read the Configuration

The notation like 1s2 2s2 2p6 tells you the shell number (1, 2…), the subshell letter (s, p, d, f), and the superscript electrons in that subshell. The valence electrons are those in the highest occupied shell; for main-group elements, they determine reactivity. For example, sodium (1s2 2s2 2p6 3s1) has one valence electron, so it readily loses it to form Na+. The core electrons are the inner, filled shells, often abbreviated by the preceding noble gas in brackets.

The periodic table is organized by these configurations: elements in the same group (column) share the same valence electron arrangement, which explains their similar chemical properties. The block structure (s, p, d, f) corresponds to the subshell being filled.

Common Mistakes and Exceptions

  • Order of 4s and 3d: Many students write 3d before 4s, but in the neutral atom, 4s is lower in energy and fills first. However, when writing the configuration, 3d is often listed before 4s for transition metals (e.g., [Ar] 3d6 4s2 for Fe).
  • Half-filled and fully filled subshells: Chromium (Z=24) is [Ar] 3d5 4s1, not 3d4 4s2, because a half-filled d subshell is extra stable. Copper (Z=29) is [Ar] 3d10 4s1 for the same reason. These are real exceptions to the Aufbau rule.
  • Ions: For cations, remove electrons from the highest n first (4s before 3d). For Fe2+, the configuration is [Ar] 3d6, not [Ar] 3d4 4s2.
  • Counting electrons: Always sum the superscripts to equal the atomic number. A common error is miscounting p or d electrons.

Why It Matters

The electronic configuration is the foundation of chemistry. It explains:

  • Periodic trends: atomic radius, ionization energy, and electronegativity all depend on how tightly electrons are held.
  • Chemical bonding: atoms gain, lose, or share electrons to achieve a noble-gas configuration (octet rule).
  • Spectroscopy: transitions between energy levels produce characteristic emission and absorption lines, used to identify elements.
  • Magnetism: unpaired electrons in d and f orbitals give rise to paramagnetism; paired electrons give diamagnetism.

For example, the configuration of carbon (1s2 2s2 2p2) shows four valence electrons, which allows it to form four covalent bonds, the basis of organic chemistry.

How to Write Configurations Quickly

For elements up to Z = 118, use the periodic table as a guide:

  1. Locate the element’s period and block.
  2. Write the noble gas core from the previous period in brackets.
  3. Continue filling from that point: for period 4, start with 4s, then 3d, then 4p.
  4. Check for exceptions (Cr, Cu, Nb, Mo, Ru, Rh, Pd, Ag, Pt, Au) where d or f electrons shift.

For example, bromine (Z=35): core [Ar], then 4s2, 3d10, 4p5 → [Ar] 3d10 4s2 4p5.

Limits of the Simple Model

The Aufbau order is a useful approximation, but it is not exact for all elements. The actual orbital energies depend on nuclear charge and electron-electron repulsion, so the order can change for heavier atoms. Relativistic effects become significant for elements beyond about Z = 70, affecting orbital sizes and energies. For precise ground-state configurations, especially for lanthanides and actinides, experimental data or advanced quantum calculations are needed. The simple rules work well for most main-group and first-row transition metals, but always verify with a reference for heavier elements.

Frequently Asked Questions

What does the superscript in 2p6 mean?

The superscript is the number of electrons in that subshell. 2p6 means the 2p subshell contains six electrons, which is its full capacity. The sum of all superscripts equals the total number of electrons in the atom.

Why is chromium’s configuration [Ar] 3d5 4s1 instead of 3d4 4s2?

A half-filled d subshell (five electrons with parallel spins) has extra stability due to exchange energy and reduced electron-electron repulsion. Similarly, a fully filled d10 is stable, so copper is 3d10 4s1. These exceptions are observed experimentally and cannot be predicted by the simple Aufbau rule.

How do I write the configuration for an ion?

Start with the neutral atom’s configuration, then remove electrons from the highest principal quantum number (n) first. For Fe (Z=26), neutral is [Ar] 3d6 4s2. To form Fe2+, remove two 4s electrons → [Ar] 3d6. For anions, add electrons to the next available orbital, following Hund’s rule.

What is the difference between shell, subshell, and orbital?

A shell is a set of orbitals with the same principal quantum number n (e.g., n=2). A subshell is a set of orbitals with the same n and l (e.g., 2p). An orbital is a region of space holding up to two electrons, defined by n, l, and ml. For example, the n=2 shell has 2s and 2p subshells; the 2p subshell has three orbitals (2px, 2py, 2pz), each holding two electrons.

Does the electronic configuration affect an element’s color?

Yes, but indirectly. When electrons jump between energy levels (e.g., in d orbitals of transition metals), they absorb or emit specific wavelengths of light. The energy gap determines the color. For example, copper compounds are often blue or green because of d-d transitions, while flame colors (e.g., sodium’s yellow) come from valence electron transitions.

How does the configuration relate to the periodic table’s shape?

The periodic table is a direct map of electronic configurations. The s-block (groups 1-2) fills s orbitals, the p-block (groups 13-18) fills p orbitals, the d-block (transition metals) fills d orbitals, and the f-block (lanthanides/actinides) fills f orbitals. The period number equals the highest principal quantum number n for the s and p electrons.

Related

Formula used
in z | Atomic number (Z) | - | 26 | 1 | 118
out config | Ground-state configuration | - | core + 3d6 4s2 | time

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 →