molecalculator

Moles & Molar Mass

Electron Configuration Simulation: How It Works

Calculator No. 01-10827 · Updated · Formula and assumptions shown below

Electron configuration occupancy (orbital order) 2 electrons
Atomic number Z
26
Set in the form below
You enter
Atomic number Z
You get
Electron configuration occupancy (orbital order) (electrons)
Rounding
0 dp

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 simulation models how electrons occupy an atom’s energy levels and orbitals, usually letting you select an element or adjust electrons and see the resulting arrangement. This calculator estimates the ground-state electron configuration from an atomic number and reports the occupied subshells; it is a simplified filling-rule model, not a quantum-mechanical calculation.

Formula

Important calculator limitation: the required calculator format supports arithmetic expressions but does not support conditional logic, element-by-element subshell filling, or text outputs. Therefore the block above cannot calculate an electron configuration correctly: its output is only the number of electrons in the first shell, min(Z, 2), not the complete configuration. Do not treat that output as a configuration simulation. A proper configuration tool must apply the filling sequence and account for known exceptions, which this calculator specification cannot express.

For a neutral atom, the number of electrons equals the atomic number, Z. The Aufbau filling order commonly begins 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, and 7p. Subshell capacities follow 2(2l + 1): s holds 2, p holds 6, d holds 10, and f holds 14 electrons. In this expression l is the subshell angular-momentum quantum number, not an input to the block.

A valid simulation repeatedly places electrons into the lowest available subshell while respecting the Pauli exclusion principle and Hund’s rule. It then presents the occupancy as notation such as 1s² 2s² 2p⁶. The calculator block does not implement those operations, so it is included only to expose the mismatch rather than imply a result it cannot provide.

Worked Example

The block’s default is Z = 26. Its sole output is min(26, 2) = 2 electrons. This is the occupancy of the 1s subshell only, not iron’s complete electron configuration. Iron has 26 electrons, and its commonly taught ground-state configuration is 1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶, or [Ar] 3d⁶ 4s². The difference makes clear why the displayed output must not be used as the answer to an electron-configuration question.

Assumptions

  • The input is an atomic number for an element, from hydrogen through oganesson (1–118).
  • The block’s arithmetic output is only min(Z, 2); it is not a complete electron configuration.
  • Electron configurations discussed below refer to isolated neutral atoms in their ground states unless stated otherwise.
  • Configurations use conventional orbital notation and the standard introductory filling-order model, with recognized exceptions noted.

What an Electron Configuration Simulation Shows

An electron configuration simulation is an educational representation of electron occupancy. A useful tool may display a written configuration, a shell diagram, or boxes for orbitals with arrows indicating electron spin. Some simulations also let users switch between atoms and ions, compare ground and excited states, or observe how orbital capacity changes as electrons are added.

These displays are models rather than literal pictures of electrons traveling along fixed tracks. Orbitals describe quantum states and probability distributions; a box-and-arrow diagram is a compact bookkeeping convention. Electrons do not move around a nucleus in neat planetary paths, and a shell diagram does not show an atom’s precise shape.

How the Filling Rules Work

Three rules underpin the usual classroom construction:

  • Aufbau principle: electrons occupy lower-energy orbitals before higher-energy ones, following the usual filling order as a starting point.
  • Pauli exclusion principle: no two electrons in an atom can have the same set of four quantum numbers. An orbital can therefore contain at most two electrons, with opposite spins.
  • Hund’s rule: in equal-energy orbitals of a subshell, electrons occupy separate orbitals with parallel spins before pairing. For example, the three 2p orbitals fill singly before any receives a second electron.

Subshell capacities follow from the available orbitals: s has one orbital, p has three, d has five, and f has seven. Since each orbital holds up to two electrons, their maximum capacities are 2, 6, 10, and 14. These capacities are not the same as the number of electrons in a particular atom’s subshell; the latter depends on its total electron count and electronic state.

Reading Examples and Handling Ions

For oxygen, Z = 8, so a neutral atom has eight electrons. Filling the subshells gives 1s² 2s² 2p⁴. The superscripts add to eight. In a shell-level summary this is 2, 6, but that summary omits the subshell detail. For sodium, Z = 11, the configuration is 1s² 2s² 2p⁶ 3s¹, often shortened to [Ne] 3s¹.

Ions require a separate electron count. A positive charge means electrons have been removed; a negative charge means electrons have been added. For example, Na⁺ has 10 electrons rather than 11, giving the same configuration as neon: 1s² 2s² 2p⁶. For transition-metal cations, electrons are generally removed from the outer ns subshell before the (n−1)d subshell, even though ns is filled first in the simple neutral-atom sequence. Thus iron’s common Fe²⁺ configuration is [Ar] 3d⁶, not [Ar] 4s² 3d⁴.

Exceptions and Limits of the Simple Model

The filling order is a practical guide, not an infallible prediction from a single diagonal chart. Subshell energies are close in many atoms, and electron interactions can make a different arrangement lower in energy. Familiar introductory exceptions include chromium, usually written [Ar] 3d⁵ 4s¹, and copper, [Ar] 3d¹⁰ 4s¹, rather than the straightforward predicted arrangements [Ar] 3d⁴ 4s² and [Ar] 3d⁹ 4s².

For heavier atoms, additional exceptions and competing configurations occur. Excited atoms also differ from ground-state configurations because one or more electrons occupy higher-energy states. A basic simulator may not represent these cases, and a displayed configuration may depend on whether the tool is using a simplified Aufbau scheme or tabulated spectroscopic ground-state data. Check the tool’s stated convention when precision matters.

Choosing and Using a Simulation

For learning, select a simulation that makes its assumptions visible and lets you inspect both subshell notation and orbital diagrams. Useful features include counting electrons automatically, showing shell capacities, and allowing charges or excited states without silently changing the selected atom.

  • Confirm whether the input is an element, an electron count, or an ion with a charge.
  • Check that the superscripts sum to the expected number of electrons.
  • For orbital boxes, verify that no box contains more than two electrons and that paired arrows have opposite spins.
  • Look for a note on transition-metal exceptions and whether configurations are ground-state values.

Use the output as a learning aid, then compare unusual elements or ions with a reliable chemistry reference. The arithmetic block on this page is not a substitute for such a simulator: it cannot generate the notation or enforce the filling rules.

Frequently Asked Questions

What does an electron configuration simulation calculate?
A suitable simulation assigns an atom’s electrons to shells, subshells, and orbitals under a stated model, then displays the occupancy. The calculator block here does not perform that full calculation.

How do I find the number of electrons in a neutral atom?
Use the element’s atomic number. A neutral atom has the same number of electrons as protons, so an atom with Z = 26 has 26 electrons.

Why does 4s fill before 3d?
In the usual introductory filling scheme, 4s is placed before 3d for neutral atoms because of relative orbital energies in that context. Their energies are close and can change in ions and across elements, so the sequence is not a universal rule for every situation.

How do I write the configuration of an ion?
Adjust the atomic number by the charge to obtain its electron count, then arrange that many electrons. For transition-metal cations, remove outer s electrons before d electrons in the conventional ground-state description.

Are orbital diagrams literal pictures of electrons?
No. They show allowed quantum states and occupancy using a diagrammatic convention. They do not depict electrons following fixed circular paths.

Why can two sources show different configurations?
They may describe different charge states or excited states, or apply a simplified filling rule versus a tabulated ground-state configuration. Near-degenerate orbitals and known exceptions account for many apparent differences.

Related

Formula used
in z | Atomic number Z | - | 26 | 1 | 118
out c | Electron configuration occupancy (orbital order) | electrons | min(z,2) | 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 →