molecalculator

Moles & Molar Mass

Electron Configuration Matrix: How to Read One

Calculator No. 01-10282 · 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.

An electron configuration matrix is a compact way of writing an atom’s electron configuration in which each row represents a principal energy level (shell) and each column represents an orbital type (s, p, d, f), with the number of electrons in each sublevel placed in the corresponding cell. It is essentially a tabular version of the standard notation (e.g., 1s² 2s² 2p⁶) that makes it easier to see how many electrons occupy each shell and subshell at a glance.

What the Matrix Shows

The matrix is a grid with rows labeled by the principal quantum number n (1, 2, 3, …) and columns labeled by the azimuthal quantum number l (s, p, d, f). Each cell contains the number of electrons in that subshell. For example, iron (Z = 26) has the configuration 1s² 2s² 2p⁶ 3s² 3p⁶ 3d⁶ 4s². In matrix form:

  • Row 1: s column = 2, p = 0, d = 0, f = 0
  • Row 2: s = 2, p = 6, d = 0, f = 0
  • Row 3: s = 2, p = 6, d = 6, f = 0
  • Row 4: s = 2, p = 0, d = 0, f = 0

This layout makes it obvious that the third shell holds 14 electrons (2+6+6) and the fourth holds 2, which is useful when predicting valence electrons and oxidation states.

How to Build One from the Aufbau Principle

The matrix is filled by following the Aufbau principle, which orders subshells by increasing energy: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p. Each s subshell holds 2 electrons, p holds 6, d holds 10, f holds 14. To build the matrix for a given atomic number:

  1. Write the standard configuration using the Aufbau order, stopping when the total electrons equal Z.
  2. Group the subshells by their principal quantum number n (the leading digit).
  3. Place the count of each subshell in the cell at row n and column for that letter.
  4. Fill empty cells with 0 (or leave blank, but 0 is clearer).

For example, calcium (Z = 20): 1s² 2s² 2p⁶ 3s² 3p⁶ 4s². The matrix has row 1: 2, row 2: 2 and 6, row 3: 2 and 6, row 4: 2.

Reading the Matrix: Valence and Core Electrons

The matrix makes it easy to identify valence electrons: they are the electrons in the highest occupied row (largest n) plus any partially filled d or f orbitals in the row below for transition metals. For iron, the highest row is 4 with 2 electrons, and the 3d subshell has 6, so iron commonly shows +2 and +3 oxidation states. The matrix also shows the total electrons per shell, which explains the shell-filling pattern in the periodic table. For example, potassium (Z = 19) has 2, 8, 8, 1 electrons per shell, which matches its position in group 1 and its +1 oxidation state.

Common Mistakes and Misconceptions

A frequent error is confusing the order of filling with the order of the matrix rows. The 4s subshell fills before 3d, but in the matrix 4s appears in row 4 and 3d in row 3. This is correct—the matrix is organized by principal quantum number, not by filling order. Another mistake is forgetting that the matrix shows the ground-state configuration; excited states have different arrangements. Also, many students assume the matrix must be a perfect rectangle, but it is fine to have empty cells for higher subshells (e.g., no 4d electrons in iron).

Alternatives to the Matrix

The matrix is one of several representations. The standard spectroscopic notation (1s² 2s² 2p⁶…) is the most compact. The noble-gas shorthand (e.g., [Ar] 3d⁶ 4s²) is shorter for heavy elements. Orbital diagrams use arrows in boxes to show electron spin and Hund’s rule. The matrix is most useful when you need to compare electron distributions across shells or when teaching the periodic table structure, but for most calculations (e.g., predicting ions), the standard notation is sufficient.

Limits of the Matrix

The matrix assumes the Aufbau principle holds, which is true for most neutral atoms in their ground state, but there are exceptions. For example, chromium (Z = 24) and copper (Z = 29) have configurations that deviate from the simple Aufbau order due to the extra stability of half-filled and fully filled d subshells. Chromium is actually 1s² 2s² 2p⁶ 3s² 3p⁶ 3d⁵ 4s¹, not 3d⁴ 4s². The matrix can still represent these, but you must know the correct configuration first. The matrix also does not show spin, which matters for magnetism and Hund’s rules. For ions, you must remove electrons from the highest n first (for transition metals, remove 4s before 3d), which the matrix does not directly indicate.

Frequently Asked Questions

Why does 4s fill before 3d?

Because the 4s orbital has a lower energy than 3d in neutral atoms, as predicted by the (n + l) rule: 4s has n+l = 4+0 = 4, while 3d has 3+2 = 5. Lower (n+l) means lower energy, so 4s fills first. However, when ionizing transition metals, the 4s electrons are removed first because they are farther from the nucleus and less shielded after the 3d orbitals are occupied.

How do I write the matrix for an ion like Fe³⁺?

First write the neutral atom configuration (Fe: [Ar] 3d⁶ 4s²). For cations, remove electrons from the highest principal quantum number first, so remove the two 4s electrons, then one 3d electron, giving [Ar] 3d⁵. In matrix form, row 3 has s=2, p=6, d=5; row 4 has s=0. The total electrons are 23 (26 – 3).

Is the matrix the same as an orbital diagram?

No. An orbital diagram shows each individual orbital as a box and each electron as an arrow, indicating spin and Hund’s rule. The matrix only shows the number of electrons per subshell, not their spin or distribution among degenerate orbitals. The matrix is more compact but less detailed.

What is the maximum number of electrons in each shell?

The maximum in shell n is 2n². For n=1, that’s 2; n=2, 8; n=3, 18; n=4, 32. The matrix respects this because the sum of electrons in row n equals the sum of capacities of the subshells in that row (s=2, p=6, d=10, f=14). For example, row 3 can hold 2+6+10 = 18, which matches 2×3².

Why does the matrix sometimes show 0s in cells?

Because not all subshells are occupied in a given atom. For example, in calcium (Z=20), the 3d and 4p subshells are empty, so those cells are 0. Writing 0 makes it clear that the subshell exists but has no electrons, which is helpful when comparing elements.

Assumptions

  • Ground-state neutral atoms unless otherwise stated.
  • Aufbau principle applies, with known exceptions (Cr, Cu, Nb, Mo, Ru, Rh, Pd, Ag, Pt, Au) that must be handled individually.
  • The matrix does not account for relativistic effects or electron correlation beyond the orbital approximation.

Related

Formula used
in z | Atomic number Z | - | 26 | 1 | 118
out config | Electron configuration (Aufbau) | - | if(z

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 →