Electron configuration shells describe how electrons are arranged around an atom’s nucleus in successive energy levels, called shells (n = 1, 2, 3, …). You enter an element’s atomic number, and the calculator returns its full electron configuration in shell order (e.g., 2-8-18-32-…), along with the number of electrons in the outermost shell (valence electrons).
Formula
The shell configuration is built by filling shells in order of increasing principal quantum number n, with each shell n holding a maximum of 2n2 electrons. The maximum occupancies are:
- n = 1: 2 electrons
- n = 2: 8 electrons
- n = 3: 18 electrons
- n = 4: 32 electrons
- n = 5: 50 electrons (rarely full in ground state)
The actual filling order follows the Aufbau principle (1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, …). For a given element, you assign electrons to the lowest-energy subshells first, then group them by shell number to get the shell configuration. For example, iron (Z = 26) has the subshell configuration 1s2 2s2 2p6 3s2 3p6 3d6 4s2, which groups into shells as 2-8-14-2.
Worked Example
Using the default atomic number 26 (iron):
- Start with n = 1: maximum 2 electrons → 2
- n = 2: maximum 8 electrons → 2 + 8 = 10 so far
- n = 3: normally 18, but after 3p the 4s fills before 3d. For iron, 3d gets 6 electrons, so shell 3 has 2 (3s) + 6 (3p) + 6 (3d) = 14
- n = 4: 2 electrons in 4s → shell 4 = 2
Total: 2 + 8 + 14 + 2 = 26. The calculator outputs 2-8-14-2 and valence electrons = 2 (the 4s2 electrons).
Assumptions
- The configuration is for the neutral atom in its ground state.
- The Aufbau principle and Madelung rule are assumed (order of filling by increasing (n + l), then by n).
- Exceptions for transition metals and lanthanides (e.g., chromium, copper) are not automatically applied; the calculator gives the simple Aufbau result, which may differ from experimental configurations for a few elements.
How to Read the Shell Configuration
Each number in the sequence (separated by dashes) is the electron count in that shell, starting from the innermost (n = 1). For example, sodium (Z = 11) gives 2-8-1: two electrons in the first shell, eight in the second, and one in the third. The last number is the valence shell count, which largely determines chemical reactivity. Elements in the same group of the periodic table have the same number of valence electrons (e.g., all alkali metals have 1).
Why Shells Matter in Chemistry
Shells are the simplest model for explaining periodic trends. The distance of the outermost shell from the nucleus influences atomic radius, ionization energy, and electronegativity. For instance, moving down a group adds a new shell, increasing atomic radius. The octet rule—that atoms tend to gain, lose, or share electrons to achieve 8 in the outermost shell—is a direct consequence of shell filling. Transition metals, with partially filled d subshells, show variable oxidation states because the (n−1)d and ns electrons are close in energy.
Common Mistakes and Misconceptions
- Assuming shells fill strictly in order of n: The 4s subshell fills before 3d because 4s has lower energy. So potassium (Z=19) is 2-8-8-1, not 2-8-9.
- Confusing shells with subshells: A shell is a group of subshells with the same n. The 2p subshell is part of the n=2 shell.
- Using the maximum capacity as the actual count: A shell can hold up to 2n2, but most atoms don’t fill a shell completely before moving to the next (due to energy overlaps).
- Ignoring exceptions: Chromium (Z=24) is actually 2-8-13-1 (not 2-8-12-2) because a half-filled d subshell is lower in energy. The calculator gives the simple Aufbau result, which is 2-8-12-2; you should note the experimental exception.
Limits of the Shell Model
The shell model is a simplification. It does not explain the shapes of orbitals, the exact energies of subshells, or magnetic properties. For those, you need the full subshell configuration (e.g., 1s2 2s2 2p6 …). Also, for very heavy elements (Z > 103), relativistic effects alter the ordering of orbitals, and the simple Aufbau order fails. The shell configuration is most useful for main-group elements and for quickly estimating valence electrons.
Frequently Asked Questions
How do I find the number of valence electrons from the shell configuration?
The last number in the shell sequence is the count in the outermost occupied shell. For example, 2-8-5 (phosphorus) has 5 valence electrons. For transition metals, the valence count is ambiguous because the d electrons can participate; chemists often consider both the ns and (n−1)d electrons as valence.
Why does the 4s shell fill before the 3d shell?
According to the Aufbau principle, orbitals fill in order of increasing (n + l) value. For 4s, n + l = 4 + 0 = 4; for 3d, n + l = 3 + 2 = 5. Lower (n + l) means lower energy, so 4s fills first. This is why potassium and calcium have electrons in the 4th shell before the 3rd shell is complete.
What is the maximum number of electrons in each shell?
The maximum is given by 2n2: 2, 8, 18, 32, 50, … However, no neutral ground-state atom has more than 32 electrons in any shell because the outer shells are never fully filled before inner shells are completed.
Are there exceptions to the Aufbau principle?
Yes, about 20 elements have configurations that differ from the simple Aufbau prediction. Chromium (Z=24) and copper (Z=29) are famous examples. The reason is that half-filled or fully filled d subshells are extra stable. For such elements, the shell configuration from the calculator will be slightly off; you should look up the experimental configuration if needed.
What is the difference between a shell and an orbital?
A shell is a broad energy level defined by the principal quantum number n. An orbital is a specific region within a subshell where an electron is likely to be found. For example, the n=2 shell contains the 2s and 2p subshells, which together have 4 orbitals (1 s + 3 p), each holding 2 electrons.