molecalculator

Moles & Molar Mass

Electron Configuration Explained Simply

Calculator No. 01-9614 · 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 is the arrangement of electrons in an atom’s orbitals, written as a string of numbers and letters like 1s2 2s2 2p6. It tells you which energy levels and sublevels are occupied and how many electrons each holds. This simple notation predicts an element’s chemical behavior, magnetism, and why the periodic table is shaped the way it is.

Formula

The configuration is built by filling orbitals in order of increasing energy, following three rules:

  • Aufbau principle: electrons occupy the lowest-energy orbital available first. The filling order is: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p.
  • Pauli exclusion principle: each orbital holds at most two electrons, and they must have opposite spins.
  • Hund’s rule: within a sublevel (p, d, f), electrons fill each orbital singly before pairing up.

The notation uses a number (principal quantum number n), a letter (s, p, d, f for the sublevel), and a superscript (number of electrons in that sublevel). The sum of all superscripts equals the atomic number Z for a neutral atom.

Worked Example

Take iron, atomic number Z = 26. Follow the filling order:

  1. 1s2 (2 electrons)
  2. 2s2 (4 total)
  3. 2p6 (10 total)
  4. 3s2 (12 total)
  5. 3p6 (18 total)
  6. 4s2 (20 total)
  7. 3d6 (26 total)

So the full configuration is 1s2 2s2 2p6 3s2 3p6 4s2 3d6. The noble-gas shorthand uses argon (Z=18) as the core: [Ar] 4s2 3d6. The calculator above reproduces this for n=26.

Assumptions

  • The atom is neutral (number of electrons = Z).
  • The ground state (lowest energy) is assumed; excited states have different arrangements.
  • The Aufbau order is the standard one taught in introductory chemistry; it works for most elements but has a few exceptions (see below).

How to Read the Notation

Each term like 2p4 means: principal quantum number 2, sublevel p, and 4 electrons in that sublevel. The sublevels have fixed capacities:

  • s: 1 orbital, 2 electrons
  • p: 3 orbitals, 6 electrons
  • d: 5 orbitals, 10 electrons
  • f: 7 orbitals, 14 electrons

The outermost electrons (highest n) are the valence electrons; they determine chemical reactivity. For example, sodium (1s2 2s2 2p6 3s1) has one valence electron, so it readily loses it to form Na+.

How to Write Any Configuration

Follow these steps for any element:

  1. Find the atomic number Z on the periodic table (equal to the number of electrons in a neutral atom).
  2. Fill orbitals in the Aufbau order, keeping track of the total electrons.
  3. Stop when you’ve placed Z electrons.
  4. Write the shorthand by replacing the filled noble-gas core with its symbol in brackets.

For ions, add or remove electrons from the outermost orbitals first. For transition metals, when forming cations, electrons are removed from the s orbital before the d orbital. Example: Fe (Z=26) loses two 4s electrons to form Fe2+, giving [Ar] 3d6.

Common Mistakes and Misconceptions

  • Confusing 4s and 3d order: For neutral atoms, 4s fills before 3d. But when writing ions, 4s empties first. This is a common trap.
  • Overfilling orbitals: Remember each orbital holds exactly 2 electrons; p holds 6, not 8.
  • Rounding the sum: Always check that the superscripts sum to Z. A quick check catches many errors.
  • Exceptions to Aufbau: Chromium (Z=24) and copper (Z=29) are famous exceptions. Chromium is [Ar] 4s1 3d5 (not 4s2 3d4) because a half-filled d subshell is lower in energy. Copper is [Ar] 4s1 3d10. Similar exceptions occur for molybdenum, silver, and gold.

Why the Periodic Table Looks That Way

Electron configurations directly explain the periodic table’s structure. The row (period) number equals the highest principal quantum number n. The block (s, p, d, f) corresponds to the sublevel being filled. Elements in the same column (group) share the same valence electron configuration, which is why they behave similarly. For example, all alkali metals (group 1) end in s1; all halogens (group 17) end in p5.

This also explains periodic trends like ionization energy and electronegativity: electrons closer to the nucleus (lower n) are held more tightly, so ionization energy increases across a period as the nuclear charge increases without additional shielding.

Limits of the Simple Model

The Aufbau model is a useful approximation but not the full quantum-mechanical picture. For heavy elements, relativistic effects alter orbital energies, and the simple filling order breaks down. Also, the model treats electrons as independent, but in reality they repel each other, which is why exceptions exist. For most chemistry, the simple model suffices; for precise predictions, computational chemistry is needed.

Frequently Asked Questions

What does the superscript in 2p⁶ mean?

It means there are 6 electrons in the 2p sublevel. The sublevel has three orbitals, each holding two electrons, so 6 is the maximum.

Why does 4s fill before 3d?

Because the 4s orbital has a lower energy than 3d for neutral atoms, even though 4 is a higher principal quantum number. This is due to electron-electron repulsion and penetration effects. However, once the 3d starts filling, the 4s electrons become higher in energy and are lost first when forming cations.

How do I write the configuration for an ion?

Start with the neutral atom’s configuration, then add or remove electrons from the outermost orbitals. For anions (negative), add electrons to the next available orbital. For cations (positive), remove electrons from the highest n orbital first (for transition metals, remove s before d).

What are valence electrons and why do they matter?

Valence electrons are the electrons in the outermost shell (highest n). They participate in chemical bonding. For main-group elements, the group number often equals the number of valence electrons (e.g., group 2 has 2).

Is there a shortcut for writing long configurations?

Yes, use the noble-gas shorthand. Write the symbol of the preceding noble gas in brackets, then continue with the remaining orbitals. For example, potassium (Z=19) is [Ar] 4s1 instead of 1s2 2s2 2p6 3s2 3p6 4s1.

Why do chromium and copper break the rules?

Because half-filled and fully filled d subshells are more stable than a partially filled d with a full s. The energy difference is small, but electron repulsion is reduced, making the exception favorable. This is a quantum-mechanical effect, not something you can predict with the simple Aufbau rule.

Related

Formula used
in n | Atomic number Z | - | 26 | 1
sel type | Configuration type | Full=full, Noble gas core=noble
out full | Full configuration | - | full(n) | 0
out noble | Noble gas shorthand | - | noble(n) | 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 →