molecalculator

Moles & Molar Mass

Diagram of Electron Configuration: How to Draw One

Calculator No. 01-9539 · 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 diagram shows the arrangement of electrons in an atom’s orbitals, using boxes or circles for orbitals and arrows for electrons. You read it to see how many electrons occupy each subshell (s, p, d, f) and whether they are paired or unpaired. This guide explains how to draw such a diagram, what the arrows mean, and how to interpret it for any element.

What an Electron Configuration Diagram Shows

An electron configuration diagram is a visual representation of the aufbau principle, Hund’s rule, and the Pauli exclusion principle. Each orbital is drawn as a box (or a line), and each electron is an arrow pointing up (spin +½) or down (spin −½). The diagram is organized by energy levels: the 1s orbital is lowest, then 2s, 2p, 3s, 3p, 4s, 3d, 4p, and so on. For example, carbon (Z=6) has the configuration 1s² 2s² 2p². Its diagram shows one box for 1s with two arrows (up and down), one box for 2s with two arrows, and three boxes for 2p, with only two electrons placed singly (one up arrow in each of two boxes) before any pairing occurs.

How to Draw a Diagram Step by Step

Drawing a diagram for any element follows a fixed sequence. You need the atomic number (Z), which equals the number of electrons in a neutral atom.

  1. Write the order of orbital filling: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p.
  2. Fill each orbital with up to 2 electrons (Pauli exclusion).
  3. Within a subshell (like 2p or 3d), place one electron in each orbital before pairing any (Hund’s rule).
  4. Count the total electrons as you go; stop when you reach Z.
  5. Draw boxes for each orbital, label them (1s, 2s, 2p_x, etc.), and add arrows.

For iron (Z=26), the filling order gives 1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶. The diagram has 1s, 2s, 3s, 4s each as a single box with two arrows; 2p and 3p as three boxes each fully paired; and 3d as five boxes with six electrons: four singly occupied and one pair.

Reading the Diagram: Orbitals, Spins, and Unpaired Electrons

Each box represents one orbital, which holds at most two electrons with opposite spins. The number of boxes per subshell is fixed: s has 1, p has 3, d has 5, f has 7. The arrows’ directions indicate spin quantum number (m_s = +½ or −½). Unpaired electrons are those that occupy an orbital alone; they determine an atom’s magnetic properties and often its chemical reactivity. For example, oxygen (Z=8) has two unpaired electrons in the 2p subshell, making it paramagnetic. The diagram makes this obvious at a glance.

Common Mistakes and How to Avoid Them

  • Wrong filling order: Many students fill 3d before 4s. Remember that 4s is lower in energy than 3d for neutral atoms (K, Ca), but after filling, 3d becomes lower. Always follow the aufbau order for the diagram.
  • Pairing too early: In a p subshell, never put two arrows in one box until all three boxes have one arrow. Same for d and f.
  • Ignoring exceptions: Chromium (Z=24) and copper (Z=29) are exceptions. Chromium is 3d⁵ 4s¹, not 3d⁴ 4s², because a half-filled d subshell is extra stable. Copper is 3d¹⁰ 4s¹. Your diagram must reflect these.
  • Miscounting electrons: Always sum the superscripts and check against Z. For iron, 2+2+6+2+6+2+6 = 26.

Orbital Diagrams vs. spdf Notation vs. Noble Gas Shorthand

The box-and-arrow diagram is the most detailed. The spdf notation (e.g., 1s² 2s² 2p⁶) is compact but loses the visual of unpaired electrons. Noble gas shorthand (e.g., [Ar] 3d⁶ 4s² for iron) replaces the core with the preceding noble gas symbol. All three convey the same information, but the diagram is essential for understanding Hund’s rule and predicting magnetism. For transition metals, the diagram clarifies why the 4s electrons are lost first during ionization (the 4s orbital is higher in energy once occupied).

Limitations of the Simple Diagram

The aufbau diagram assumes a hydrogen-like orbital ordering, which works for neutral atoms in the ground state. It fails for:

  • Ions: Removing electrons from transition metals removes 4s before 3d, so Fe²⁺ is [Ar] 3d⁶, not [Ar] 3d⁴ 4s².
  • Heavier elements (Z > 60): Relativistic effects alter orbital energies, leading to exceptions like lanthanum and actinium.
  • Excited states: The diagram only shows ground state; an excited atom can have electrons in higher orbitals.

For accurate predictions in these cases, consult a periodic table or computational chemistry data.

Frequently Asked Questions

Why does 4s fill before 3d? In a neutral atom, the 4s orbital is slightly lower in energy than 3d because of penetration (the 4s electron spends more time near the nucleus). However, once electrons occupy 3d, the 4s electrons are shielded and rise in energy, which is why transition metals lose 4s electrons first when ionizing.

How do I draw a diagram for an ion? For a cation, remove electrons from the highest energy occupied orbital first (for transition metals, that’s 4s before 3d). For an anion, add electrons to the next available orbital following the aufbau order. Then draw the boxes and arrows accordingly.

What does an unpaired electron mean for magnetism? Atoms with unpaired electrons are paramagnetic (attracted to a magnetic field). Atoms with all electrons paired are diamagnetic (weakly repelled). The diagram shows this directly: any box with a single arrow means paramagnetic.

Are there exceptions to Hund’s rule? Hund’s rule holds for ground-state atoms. Exceptions occur in some transition metal complexes where ligand fields split d orbitals, but that’s beyond simple atomic diagrams. For isolated atoms, Hund’s rule is reliable.

How do I remember the filling order? Use the diagonal rule (Madelung’s rule): write the subshells in rows (1s, 2s 2p, 3s 3p 3d, …) and draw diagonals from top right to bottom left. Or memorize the sequence: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p.

Assumptions

  • The diagram is for a neutral atom in its ground state.
  • The aufbau principle applies without relativistic corrections.
  • Electrons fill orbitals in order of increasing (n + l) value; for equal (n + l), lower n fills first.
  • Hund’s rule is followed: maximum multiplicity (unpaired electrons) before pairing.

Related

Formula used
in z | Atomic number (Z) | - | 26 | 1 | 118
out config | Electron configuration (spdf) | - | 1s2 2s2 2p6 3s2 3p6 3d6 4s2 | 0
out unpaired | Unpaired electrons | - | 4 | 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 →