How to write electron configurations
An electron configuration lists which orbitals an atom's electrons are in, like for neon.
Fe: [Ar] 4s² 3d⁶. 26 electrons: argon's 18, then 4s before 3d.Why it works. Electrons fill the lowest-energy subshells first, and each kind holds a fixed number: s holds 2, p holds 6, d holds 10. Because 4s sits a little lower in energy than 3d, it fills first, so the order is not simply 1, 2, 3.
Your turn
How many electrons are in the 3p subshell of a phosphorus atom (atomic number 15)?
Or just show the answer
3
Phosphorus is : 12 electrons come before 3p, and are in 3p.
Watch out for
Filling 3d before 4s.
4s is lower in energy, so it fills first: iron is .
Taking an ion's electrons from 3d first.
Transition metals lose 4s electrons first: is .
Superscripts that do not add up.
For a neutral atom they add up to the atomic number: oxygen is , 8 in all.

Stuck on your own homework?
Open DuckyHelper and say it out loud. It sees your screen, so it works through your own problem with you and draws it, like the board above.
“Can you check the electron configurations I wrote for my homework?”
Plus is $14 a month for your first 3 months. DuckyHelper is an app for Mac (Apple silicon, macOS 14 or later), Windows and Linux.
Read the whole guide as text
An electron configuration lists which orbitals an atom's electrons are in, like for neon. Electrons fill the lowest-energy subshells first, in the order 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p and so on. An s subshell holds 2 electrons, p holds 6, d holds 10 and f holds 14. For a neutral atom, the superscripts add up to the atomic number.
Worked example
Write the electron configuration of iron (atomic number 26), in full and in noble gas form.
- Iron has 26 electrons. Fill in order: 1s, 2s, 2p, 3s, 3p, 4s, 3d.
- Fill each subshell until the total reaches 26.
- Check the count.
- The first 18 electrons match argon, so shorten it.
Answer:
Sources
- OpenStax Chemistry 2e, 6.4 Electronic Structure of Atoms (Electron Configurations), accessed 2026-10-01