molecalculator

Moles & Molar Mass

Electron Configuration Interactive: How It Works

Calculator No. 01-10257 · 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 interactive is a tool that lets you build an atom by adding electrons to orbitals and see the resulting electron configuration, such as 1s² 2s² 2p⁶. You select an element or enter its atomic number, and the tool returns the full configuration, the condensed noble-gas form, and often a diagram of orbital filling. This page explains how these interactives work, what the notation means, and how to use them to predict an element’s properties.

Formula

The electron configuration is built by filling orbitals in order of increasing energy, following the Aufbau principle. The order 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 number of electrons: s holds 2, p holds 6, d holds 10, and f holds 14. The configuration is written as a sequence of subshell labels with superscripts showing the electron count in each subshell.

The noble-gas shorthand replaces the filled inner shells with the symbol of the preceding noble gas in brackets. For example, iron (Z = 26) has the full configuration 1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶; its shorthand is [Ar] 4s² 3d⁶.

Worked Example

Using the default atomic number Z = 26 (iron):

  1. Fill 1s: 2 electrons (total 2)
  2. Fill 2s: 2 electrons (total 4)
  3. Fill 2p: 6 electrons (total 10)
  4. Fill 3s: 2 electrons (total 12)
  5. Fill 3p: 6 electrons (total 18)
  6. Fill 4s: 2 electrons (total 20) – note 4s fills before 3d
  7. Fill 3d: 6 electrons (total 26)

The full configuration is 1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶. The noble-gas shorthand is [Ar] 4s² 3d⁶. The number of unpaired electrons in the 3d subshell is 4 (since 3d⁶ has four unpaired and one paired pair).

Assumptions

  • The Aufbau order applies to ground-state neutral atoms.
  • Hund’s rule is followed: electrons fill each orbital singly before pairing.
  • The tool assumes no exceptions beyond the standard order (e.g., chromium and copper are not specially handled in the basic version).
  • The maximum Z is 118 (oganesson), the highest currently known element.

How to Read an Electron Configuration

The superscripts tell you how many electrons are in each subshell. The sum of all superscripts equals the atomic number for a neutral atom. The outermost electrons (highest n value) are the valence electrons; they determine chemical reactivity. For example, sodium (1s² 2s² 2p⁶ 3s¹) has one valence electron, which it readily loses to form Na⁺. The configuration also explains periodic trends: elements in the same group have similar outer configurations, which is why they behave alike.

Common Mistakes and Misconceptions

  • 4s vs 3d: Many people think 3d fills before 4s because 3d is lower in number. Actually, 4s is lower in energy for neutral atoms, so it fills first. However, when ions form, 4s electrons are removed first, so Fe²⁺ is [Ar] 3d⁶, not [Ar] 4s² 3d⁴.
  • Exceptions: Chromium (Z=24) is [Ar] 4s¹ 3d⁵, not [Ar] 4s² 3d⁴, because a half-filled d subshell is more stable. Copper (Z=29) is [Ar] 4s¹ 3d¹⁰. A basic interactive may not show these exceptions; check a reliable periodic table.
  • Counting electrons: Always verify the total equals Z. A common error is miscounting the 3d electrons after the 4s.

How to Use an Interactive Effectively

Start by entering a low atomic number like 6 (carbon) and observe the pattern. Then increase by one to see how each added electron fills the next orbital. Pay attention to the order of filling, especially around Z=19-20 where 4s appears. Use the tool to check your own hand-written configurations. For practice, predict the configuration before clicking, then verify. Focus on the valence electrons – they are the ones that matter for bonding.

Limits of the Interactive

Most interactives assume neutral atoms in the ground state. They do not handle ions (you must add or remove electrons manually), excited states, or relativistic effects that become significant for heavy elements (Z > 70). For ions, the configuration is written by removing electrons from the highest n first, not the last filled. Also, the Aufbau order is a guide, not a law; actual orbital energies depend on the atom and its environment.

Frequently Asked Questions

Why does 4s fill before 3d? For neutral atoms, the 4s orbital has a lower energy than 3d because of electron-electron repulsion and penetration effects. This is observed experimentally. However, once the 3d starts filling, the 4s electrons are higher in energy and are removed first when forming cations.

What is the noble-gas shorthand? It’s a way to shorten the configuration by using the previous noble gas in brackets. For example, potassium (Z=19) is [Ar] 4s¹ instead of 1s² 2s² 2p⁶ 3s² 3p⁶ 4s¹. This highlights the valence electrons.

How do I find the number of valence electrons from the configuration? For main-group elements (s and p blocks), the valence electrons are the sum of the electrons in the highest principal quantum number (n). For transition metals, the valence electrons include the d electrons, but the definition gets ambiguous; often the s electrons are the most reactive.

Why are chromium and copper exceptions? A half-filled or completely filled d subshell is unusually stable due to exchange energy and reduced electron repulsion. Chromium achieves a half-filled 3d⁵ by promoting one 4s electron; copper achieves a full 3d¹⁰ similarly.

Can I use this for ions? Yes, but you must adjust the electron count. For a cation, remove electrons from the highest n orbital first (e.g., Fe²⁺ loses two 4s electrons). For an anion, add electrons to the next available orbital. The tool shows neutral atoms, so you do the adjustment manually.

What is the maximum atomic number the interactive handles? It goes up to 118 (oganesson). Beyond that, elements are not yet discovered or named. For Z > 118, the Aufbau order is speculative, so the tool stops at 118.

Related

Formula used
in z | Atomic number (Z) | - | 26 | 1 | 118
out conf | Electron configuration | - | conf_str(z) | 0
out noble | Noble-gas shorthand | - | noble_str(z) | 0
out unpaired | Unpaired electrons | - | unpaired_count(z) | 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 →