molecalculator

Moles & Molar Mass

Electron Configuration KS4: How to Write It

Calculator No. 01-10269 · 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 at KS4 (UK Key Stage 4, ages 14–16) is the arrangement of electrons in the shells (energy levels) around an atom’s nucleus, written as numbers like 2,8,1 for sodium. You work it out by filling shells in order (2, 8, 8) using the element’s atomic number, and the result tells you the element’s group and period on the periodic table.

Formula

At KS4, the rule is simple: fill the lowest energy shell first, then move outward. Each shell has a maximum capacity:

  • Shell 1 (innermost): maximum 2 electrons
  • Shell 2: maximum 8 electrons
  • Shell 3: maximum 8 electrons (at KS4 level)
  • Shell 4: maximum 8 electrons (at KS4 level)

In symbols, for an atom with atomic number Z:

Shell 1 = min(Z, 2)
Shell 2 = min(max(Z − 2, 0), 8)
Shell 3 = min(max(Z − 10, 0), 8)
Shell 4 = max(Z − 18, 0)

where Z is the number of protons (equal to the number of electrons in a neutral atom). The configuration is written as a comma-separated list: shell 1 count, shell 2 count, shell 3 count, shell 4 count.

Worked Example

Take sodium, atomic number 11 (the default in the calculator).

  1. Start with 11 electrons.
  2. Shell 1 holds 2: place 2 electrons. Remaining: 11 − 2 = 9.
  3. Shell 2 holds 8: place 8 electrons. Remaining: 9 − 8 = 1.
  4. Shell 3 holds the remaining 1 electron.

So the configuration is 2,8,1. The calculator gives shell1 = 2, shell2 = 8, shell3 = 1, shell4 = 0, so the output is “2,8,1”.

Assumptions

  • The atom is neutral (number of electrons equals atomic number).
  • The KS4 simplified model is used: shells fill in order 2, 8, 8, 8 and shell 3 never holds more than 8 electrons here.
  • No subshells (s, p, d, f) are considered; that is GCSE-level content for higher tiers, but the shell model is what the exam requires for most questions.
  • For elements beyond calcium (Z = 20), the real arrangement deviates from this simple pattern; the calculator still works arithmetically but the answer may not match the actual ground-state configuration.

Why Electron Configuration Matters at KS4

Electron configuration is the bridge between the periodic table and chemical behaviour. The number of electrons in the outermost shell (the valence electrons) determines the group number for elements in groups 1, 2, and 3–8 (using the old UK numbering). For example:

  • Group 1 elements (Li, Na, K) all end in 1 – they have one outer electron.
  • Group 7 elements (F, Cl, Br) all end in 7 – they have seven outer electrons.
  • Group 0 (noble gases) end in 8 (except helium, which ends in 2) – full outer shells, hence unreactive.

The period (row) number tells you how many shells are occupied. Sodium (2,8,1) is in period 3 because it uses three shells. This pattern lets you predict reactivity, ion charge, and bonding type without memorising every element.

How to Write a Configuration Step by Step

For any element up to calcium (Z = 20), follow this method:

  1. Find the atomic number on the periodic table (the smaller number).
  2. Write down the shell capacities in order: 2, 8, 8, 8.
  3. Subtract the capacity of each shell from the atomic number, filling shells until you run out of electrons.
  4. Write the filled counts as a comma-separated list, omitting any trailing zeros.

Example: chlorine, Z = 17. Shell 1 = 2, remaining 15. Shell 2 = 8, remaining 7. Shell 3 = 7. Configuration: 2,8,7.

Example: calcium, Z = 20. Shell 1 = 2, shell 2 = 8, shell 3 = 8, shell 4 = 2. Configuration: 2,8,8,2.

Common Mistakes and Misconceptions

The most frequent error is filling shell 3 with more than 8 electrons for elements beyond argon. At KS4, you must stop at 8 in shell 3 and start shell 4. For example, potassium (Z = 19) is 2,8,8,1 – not 2,8,9. The reason is that shell 4 is lower in energy than shell 3’s outer portion, but at this level you simply memorise the rule: 2, 8, 8, 8.

Another common mistake is confusing the atomic number with the mass number. The atomic number (protons) gives the electron count in a neutral atom; the mass number (protons + neutrons) is irrelevant for configuration.

A third misconception is that the “8” in shell 3 means the shell is full. In reality, shell 3 can hold 18 electrons (2 in 3s, 6 in 3p, 10 in 3d), but the d-subshell fills only after shell 4’s s-subshell, which is beyond KS4. For exam purposes, treat shell 3 as full at 8.

Ions and Electron Configuration

When an atom forms an ion, it gains or loses electrons to achieve a full outer shell (usually 8, the octet rule). The configuration of the ion is written after the change:

  • Sodium atom (2,8,1) loses 1 electron to become Na⁺ with configuration 2,8.
  • Chlorine atom (2,8,7) gains 1 electron to become Cl⁻ with configuration 2,8,8.
  • Magnesium atom (2,8,2) loses 2 electrons to become Mg²⁺ with configuration 2,8.

For ions, you adjust the electron count by the charge before filling shells. A positive charge means fewer electrons; a negative charge means more. The calculator above works for neutral atoms; for ions, add or subtract the charge from Z first.

Limits of the KS4 Model

The 2,8,8,8 model works perfectly for the first 20 elements (hydrogen to calcium) and is exactly what GCSE exam boards expect. Beyond calcium, the model fails. For example, scandium (Z = 21) actually has configuration 2,8,9,2 in the simple shell model, but the real configuration is 2,8,8,3 (with the 3d subshell starting to fill). At A-level, you learn the subshell order (1s, 2s, 2p, 3s, 3p, 4s, 3d…) which explains why the 4s fills before 3d.

For KS4, do not use this calculator for elements above calcium – the answer will be arithmetically correct but chemically wrong. Stick to Z = 1 to 20 for exam questions.

Frequently Asked Questions

Why is it 2,8,8,1 for potassium and not 2,8,9?

Because shell 3 only holds 8 electrons at KS4 level. The 4th shell starts filling before the 3rd shell is completely full because the 4s subshell has lower energy than the 3d subshell. At GCSE, you just learn the pattern 2, 8, 8, 8 and apply it.

How do I know which group an element is in from its configuration?

The last number in the configuration is the group number for groups 1, 2, and 3–8 (old system). For example, 2,8,7 ends in 7, so it is in group 7. The exception is helium (2), which is in group 0 because it has a full outer shell.

What does the period number tell me?

The number of shells used equals the period number. Sodium (2,8,1) uses 3 shells, so it is in period 3. This is why the periodic table rows line up with shell counts.

Do I need to learn all the configurations for the exam?

No. You need to be able to work them out from the atomic number. Learning the first 20 elements’ configurations by heart helps speed, but the method is more important. Exam questions usually give you the atomic number.

Why does calcium have 2,8,8,2 and not 2,8,10?

Because shell 3 stops at 8 in the KS4 model. The 10th electron in shell 3 would go into a 3d subshell, which is higher in energy than the 4s subshell, so the 4s fills first. This is why calcium ends in 2, not 10.

Related

Formula used
in z | Atomic number (protons) | - | 11 | 1
out shell1 | Shell 1 electrons | - | min(z,2) | 0
out shell2 | Shell 2 electrons | - | min(max(z-2,0),8) | 0
out shell3 | Shell 3 electrons | - | min(max(z-10,0),8) | 0
out shell4 | Shell 4 electrons | - | max(z-18,0) | 0
out config | Electron configuration | - | (shell1+","+shell2+","+shell3+","+shell4) | 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 →