molecalculator

Moles & Molar Mass

Electron Configuration Practice Problems

Calculator No. 01-10791 · 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 practice problems ask you to write or interpret the arrangement of electrons in an atom’s orbitals, and this page gives you a step-by-step method plus a calculator that converts electron counts into a full configuration. You enter the atomic number (or the number of electrons for an ion), and you get the ground-state electron configuration in both the long form and the noble-gas shorthand, along with the number of unpaired electrons. The calculator handles the Aufbau order, Pauli exclusion, and Hund’s rule automatically, so you can check your own work or generate examples to practice on.

Formula

The electron configuration is built by filling orbitals in order of increasing energy, following the Aufbau principle. The order of subshell filling 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 two electrons (Pauli exclusion principle), and for degenerate orbitals (same energy, like the three 2p orbitals), electrons fill singly before pairing (Hund’s rule). The number of electrons equals the atomic number Z for a neutral atom, or Z minus the charge for an ion (e.g., Fe2+ has 24 electrons). The shorthand uses the previous noble gas in brackets, followed by the remaining subshells.

Worked Example

Take iron, Z = 26 (the default in the calculator). Write the long configuration step by step:

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

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 3d subshell has five orbitals; with six electrons, five are singly occupied and one is paired, so there are 4 unpaired electrons. The calculator gives exactly this.

Assumptions

  • Ground-state configuration (lowest energy).
  • Neutral atom unless a charge is specified (this calculator assumes neutral).
  • Standard Aufbau order; exceptions for transition metals and lanthanides are not applied automatically.
  • No relativistic effects considered.

How to Read the Result

The configuration tells you which orbitals are occupied and how many electrons are in each. The superscript is the electron count in that subshell. The noble-gas shorthand is shorter and highlights the valence electrons, which are the ones in the highest principal energy level (and for transition metals, the d electrons just below). The number of unpaired electrons is useful for predicting magnetic properties: atoms with unpaired electrons are paramagnetic, while those with all paired are diamagnetic.

Common Mistakes

  • Writing 3d before 4s: the 4s fills first because it is lower in energy for neutral atoms, but when writing the configuration, 3d is often listed after 4s (as in the example) to show the order of filling.
  • Forgetting that p subshells hold 6, d holds 10, f holds 14.
  • Using the periodic table incorrectly: the block positions (s, p, d, f) correspond to the subshell being filled.
  • Confusing ions: for a cation, remove electrons from the highest n first (e.g., Fe2+ removes two 4s electrons, giving [Ar] 3d6).
  • Rounding the atomic number: always use the exact number of protons.

Exceptions to the Aufbau Principle

Some elements deviate from the simple filling order because a half-filled or fully filled d subshell is extra stable. The most common examples are chromium (Z = 24) and copper (Z = 29). Chromium is [Ar] 4s1 3d5 instead of 4s2 3d4, and copper is [Ar] 4s1 3d10 instead of 4s2 3d9. Similar exceptions occur for molybdenum, silver, and gold. This calculator uses the standard order, so it will give the expected configuration for most elements but will be wrong for these exceptions—you should memorize them or check a periodic table.

Practice Tips

  • Start with the first 20 elements, then move to transition metals.
  • Write the configuration for an ion (e.g., O2- has 10 electrons, so it is 1s2 2s2 2p6).
  • Use the periodic table as a shortcut: the row number gives the highest n, and the block tells you the subshell.
  • Check your work by counting the superscripts—they must add up to the total number of electrons.
  • Generate random atomic numbers with the calculator and try to write the configuration before revealing the answer.

Frequently Asked Questions

Why is 4s filled before 3d?

In neutral atoms, the 4s orbital is lower in energy than 3d because of electron shielding and penetration. However, once the 3d orbitals start filling, they become lower in energy than 4s, which is why transition metals lose 4s electrons first when forming cations. This is a common source of confusion.

How do I write the configuration for an ion?

First, write the neutral atom configuration. Then remove electrons from the highest principal quantum number (n) first, not the last subshell added. For example, Fe (Z=26) is [Ar] 4s2 3d6; for Fe3+, remove two 4s and one 3d, giving [Ar] 3d5.

What does the noble-gas shorthand mean?

It replaces the core electrons with the symbol of the preceding noble gas in brackets. For example, [Ne] 3s1 for sodium means the electron configuration is the same as neon (1s2 2s2 2p6) plus one electron in 3s. It saves space and makes valence electrons obvious.

How do I count unpaired electrons from a configuration?

Draw the orbitals for each partially filled subshell. Fill them with one electron each before pairing (Hund’s rule). The number of singly occupied orbitals is the number of unpaired electrons. For example, nitrogen (1s2 2s2 2p3) has three unpaired electrons in the 2p orbitals.

Is there a shortcut using the periodic table?

Yes. The periodic table is organized by electron configuration. The period number gives the highest n, and the block (s, p, d, f) tells you which subshell is being filled. For example, elements in group 2 are in the s-block with ns2, and transition metals are in the d-block. This is the fastest way to write configurations for heavy elements.

Why does the calculator not handle exceptions like chromium?

The calculator uses the standard Aufbau order, which is correct for most elements. Exceptions like chromium and copper are due to subtle energy differences that are not captured by a simple rule. For those, you need to memorize them or consult a periodic table that lists configurations.

Related

Formula used
in z | Atomic number Z | - | 26 | 1
out ec | Electron configuration | - | ec_str(z) | 0
out ecs | Noble-gas shorthand | - | ec_short(z) | 0
out unpaired | Unpaired electrons | - | ec_unpaired(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 →