molecalculator

Moles & Molar Mass

Electron Configuration Blocks Explained

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

Electron configuration blocks are the four regions of the periodic table—s, p, d, and f—that correspond to the subshell being filled with electrons as you move across each row. You read the block from the element’s position: the s-block spans groups 1–2, the p-block groups 13–18, the d-block groups 3–12, and the f-block sits as the two rows below the main table.

Formula

The electron configuration is built by filling atomic orbitals in order of increasing energy, following the Aufbau principle and Madelung’s rule: electrons occupy orbitals in order of increasing (n + l), and when two orbitals have the same (n + l), the one with lower n fills first. The sequence is:

1s → 2s → 2p → 3s → 3p → 4s → 3d → 4p → 5s → 4d → 5p → 6s → 4f → 5d → 6p → 7s → 5f → 6d → 7p

Each orbital holds a maximum of 2 electrons. The s subshell has 1 orbital (2 electrons), p has 3 orbitals (6 electrons), d has 5 orbitals (10 electrons), and f has 7 orbitals (14 electrons). The block is determined by the subshell of the highest-energy electrons that are actively being filled—not necessarily the last electrons written in the configuration.

Worked Example

Take iron, atomic number 26. Following the filling order:

  • 1s²: 2 electrons (total 2)
  • 2s² 2p⁶: 8 electrons (total 10)
  • 3s² 3p⁶: 8 electrons (total 18)
  • 4s²: 2 electrons (total 20)
  • 3d⁶: 6 electrons (total 26)

The full configuration is 1s² 2s² 2p⁶ 3s² 3p⁶ 3d⁶ 4s². The 4s subshell fills before 3d because 4s has (n + l) = 4 + 0 = 4, while 3d has 3 + 2 = 5. Iron sits in the d-block because the d subshell is the one being filled across its period, even though the 4s electrons are written last.

Assumptions

  • The Aufbau principle holds for neutral atoms in their ground state.
  • Madelung’s rule applies without exceptions (real exceptions exist for chromium, copper, and several f-block elements).
  • Orbital energies are treated as fixed; in reality they shift with nuclear charge and electron repulsion.
  • The calculator writes configurations for neutral atoms only, not ions.

How the Blocks Map to the Periodic Table

The periodic table is physically arranged so that each block is a contiguous region. The s-block is the two left columns (groups 1 and 2) plus helium, which has a 1s² configuration but is placed in group 18 because it is a noble gas. The p-block is the six right columns (groups 13–18), starting with boron. The d-block is the ten central columns (groups 3–12), also called transition metals. The f-block is the two rows usually printed below the main table—lanthanides and actinides—which belong between groups 2 and 3 in period 6 and 7.

The block tells you which subshell is being filled as you move left to right across a period. In period 4, for example, potassium (Z=19) and calcium (Z=20) fill 4s, so they are s-block; scandium through zinc fill 3d, so they are d-block; gallium through krypton fill 4p, so they are p-block. The period number gives the principal quantum number n for the s and p blocks, but for d-block it is n−1 and for f-block it is n−2.

Why the 4s/3d Ordering Confuses People

The most common mistake is writing 3d before 4s in the configuration. The Aufbau order puts 4s first because its energy is lower when the atom is neutral and empty. However, once electrons are present, the 3d level drops below 4s in energy. This is why transition metal cations lose 4s electrons first: Fe²⁺ is [Ar] 3d⁶, not [Ar] 3d⁴ 4s². For writing configurations, you follow the Aufbau order; for understanding ionization and magnetism, you treat 3d as lower.

Chromium (Z=24) and copper (Z=29) are the famous exceptions. Chromium is [Ar] 3d⁵ 4s¹, not 3d⁴ 4s², because a half-filled d subshell is more stable than a partially filled one with a full s. Copper is [Ar] 3d¹⁰ 4s¹ for the same reason—a full d subshell. These exceptions appear in the d-block and are worth memorizing because they break the simple Aufbau rule.

How to Read a Configuration to Find the Block

To identify the block from a written configuration, look at the last subshell that is not full. For a ground-state neutral atom, the block is the subshell that is currently being filled—usually the one with the highest n, but not always. For example, [Ar] 3d⁷ 4s² is cobalt: the 3d is being filled, so it is d-block. [Xe] 4f⁷ 5d¹ 6s² is gadolinium: the 4f is being filled, so it is f-block.

A quicker method is to use the element’s position on the table. If it is in the first two columns, it is s-block; in the last six columns, p-block; in the middle ten, d-block; in the separated rows, f-block. Helium is the only element whose block does not match its group position—it is s-block but sits in group 18.

Common Mistakes and Misconceptions

  • Counting the 4s electrons as part of the d-block: they are not; the block is the subshell being filled, and 4s fills before 3d starts.
  • Writing 3d¹⁰ 4s² for zinc and calling it p-block: zinc is d-block because the 3d subshell is the one being filled across the period.
  • Assuming the last term in the configuration is always the block: for transition metals, the last term is often 4s, but the block is 3d.
  • Forgetting that the f-block elements have their f subshell filled at n−2, so cerium is [Xe] 4f¹ 5d¹ 6s², not 4f².
  • Using the group number to guess the block for f-block elements, which are not numbered in the main table.

Why the Blocks Matter

The block predicts chemical behavior. s-block elements are highly reactive metals that form +1 or +2 ions. p-block elements include metals, metalloids, and nonmetals with varied oxidation states. d-block elements are transition metals known for variable oxidation states, colored compounds, and catalytic activity. f-block elements are the lanthanides and actinides, with similar chemical properties within each row and complex electron configurations.

The block also explains periodic trends. Ionization energy increases across a period because the same shell is being filled with increasing nuclear charge, but there are dips when a new subshell starts (e.g., from beryllium to boron, or nitrogen to oxygen). Atomic radius decreases across a period but jumps when a new shell begins. Knowing the block helps you predict these trends without memorizing every data point.

For the d-block specifically, the similar radii across a period (the lanthanide contraction) and the filling of inner shells explain why transition metals resemble each other so strongly. The f-block’s chemistry is dominated by the shielded 4f electrons, which is why all lanthanides behave similarly in solution.

Frequently Asked Questions

What is the difference between a block and a group? A block is a region of the periodic table defined by the subshell being filled (s, p, d, f). A group is a vertical column (1–18) defined by the number of valence electrons and similar chemical properties. Blocks span multiple groups; for example, the p-block covers groups 13 through 18.

Why is helium in the p-block if it has an s configuration? Helium is not in the p-block; it is an s-block element. It is placed in group 18 because its full 1s² shell gives it noble gas properties, but its electron configuration is 1s², placing it in the s-block. The table’s layout prioritizes chemical similarity over block continuity for this one element.

How do I write the configuration for an ion? For cations, remove electrons from the highest n subshell first, which is usually the s subshell, not the d. For Fe²⁺, remove two 4s electrons to get [Ar] 3d⁶. For anions, add electrons to the next available orbital following the Aufbau order, such as O²⁻ gaining two 2p electrons to become 1s² 2s² 2p⁶.

Are there elements that don’t follow the Aufbau principle? Yes. Beyond chromium and copper, there are about 20 exceptions among transition metals and many in the f-block, such as niobium, molybdenum, ruthenium, rhodium, palladium, silver, platinum, and gold. These arise from the extra stability of half-filled or fully filled subshells and from relativistic effects in heavier elements.

What does the superscript number mean in a configuration? The superscript is the number of electrons in that subshell. For example, 2p⁶ means the 2p subshell contains 6 electrons, filling all three 2p orbitals completely. The sum of all superscripts must equal the atomic number for a neutral atom.

Is the block the same as the valence shell? Not always. The valence shell is the outermost occupied shell (highest n), while the block is the subshell being filled. For potassium, the valence shell is 4s (block s), but for iron, the valence shell is 4s while the block is d. The block reflects where the element sits in the table, not necessarily where the outermost electrons are.

Related

Formula used
in z | Atomic number Z | - | 26 | 1 | 118
out conf | Electron configuration | - | 1s2 2s2 2p6 3s2 3p6 3d6 4s2 | 0
out block | Block | - | d | 0

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 →