What Is Electron Configuration? Definition, Rules & Examples

Electron configuration is a way of describing how electrons are distributed among the energy levels, subshells, and orbitals of an atom. It helps explain why elements have different chemical properties, how atoms form bonds, and why certain elements react in similar ways.

Every atom contains a nucleus made of protons and, in most cases, neutrons, surrounded by electrons. These electrons do not occupy arbitrary positions. Instead, they occupy specific quantum states with particular energies. Electron configuration provides a compact notation for describing which of these states are occupied in an atom.

Understanding electron configuration is an important part of chemistry because the arrangement of an atom’s electrons, especially its outermost electrons, strongly influences how it interacts with other atoms.

What does electron configuration mean?

Electron configuration describes the distribution of an atom’s electrons across its available electron states. Chemists commonly express this distribution using numbers, letters, and superscripts that identify energy levels, subshells, and the number of electrons in each subshell.

For example, the electron configuration of carbon is 1s² 2s² 2p².

This notation tells us that carbon has six electrons distributed as follows:

  • Two electrons occupy the 1s subshell.
  • Two electrons occupy the 2s subshell.
  • Two electrons occupy the 2p subshell.

The superscript indicates the number of electrons in each subshell. The number before the letter identifies the principal energy level, while the letter identifies the subshell type.

Carbon has six electrons because its atomic number is 6. In a neutral atom, the number of electrons equals the number of protons. Knowing the atomic number therefore provides the starting point for determining an element’s electron configuration.

Electron configuration is not a map of fixed electron paths around the nucleus. Electrons are described by quantum mechanics, which assigns probabilities to where they may be found. The configuration identifies occupied quantum states rather than exact locations or classical orbits.

Understanding energy levels, subshells, and orbitals

To understand electron configuration, it helps to distinguish three related concepts: energy levels, subshells, and orbitals.

Energy levels, also called shells, describe broad groups of electron states associated with the principal quantum number. These levels are identified by positive integers: 1, 2, 3, and so on. In general, electrons in higher principal energy levels can occupy states with greater energy and a greater spatial extent.

Each energy level contains one or more subshells, identified by the letters s, p, d, and f. These subshells differ in their quantum-mechanical properties and the types of spatial distributions associated with their electrons.

Each subshell contains one or more orbitals. An orbital is a quantum state that can hold a maximum of two electrons, provided they have opposite spins.

The four common subshell types have the following capacities:

SubshellNumber of orbitalsMaximum number of electrons
s12
p36
d510
f714

An s subshell can hold two electrons because it contains one orbital. A p subshell can hold six because it contains three orbitals, each capable of holding two electrons. The same principle explains the capacities of d and f subshells.

The number of subshells available within a principal energy level increases with the level number. The first level contains only an s subshell, the second contains s and p subshells, and the third contains s, p, and d subshells. The fourth contains s, p, d, and f subshells.

These capacities establish the limits on how electrons can be distributed, but they do not, by themselves, determine the order in which subshells fill. That order depends on their energies in a particular atom.

The main rules of electron configuration

Chemists use three fundamental principles to determine the electron configurations of atoms in their ground states. The ground state is the lowest-energy arrangement available to the atom.

The Aufbau principle

The Aufbau principle states that electrons generally occupy lower-energy orbitals before higher-energy orbitals. The name comes from a German word meaning “building up.”

For many atoms, the filling sequence begins:

1s → 2s → 2p → 3s → 3p → 4s → 3d → 4p → 5s → 4d → 5p → 6s → 4f → 5d → 6p → 7s

This sequence is useful for writing electron configurations, but it is not a simple rule that all orbitals fill in increasing numerical order. The energies of subshells depend on the atom and its electron arrangement. In particular, the 4s and 3d subshells are close in energy, and their relative energies can change as electrons are added or removed.

The Aufbau principle provides a practical starting point for determining electron configurations, although some atoms have ground-state arrangements that differ from the simplest predicted sequence.

The Pauli exclusion principle

The Pauli exclusion principle states that no two electrons in an atom can have the same set of four quantum numbers. One consequence is that a single orbital can contain no more than two electrons, and those electrons must have opposite spins.

Spin is an intrinsic quantum property of an electron. It is often represented using arrows in orbital diagrams: one arrow points up and the other points down to indicate opposite spin states.

The principle explains why an orbital cannot hold a third electron, even when more electrons remain to be placed in the atom.

Hund’s rule

Hund’s rule applies when electrons occupy orbitals of equal energy, such as the three orbitals in a p subshell. Electrons occupy these orbitals singly, with parallel spins, before pairing up.

Consider the 2p subshell of carbon, which contains two electrons. Rather than placing both electrons in one p orbital, the lowest-energy arrangement places one electron in each of two separate p orbitals, with parallel spins.

This arrangement generally reduces electron repulsion and helps stabilize the atom.

Together, the Aufbau principle, Pauli exclusion principle, and Hund’s rule provide the basic framework for writing electron configurations. Exceptions occur because the actual energies of electron arrangements can be close enough that a different distribution becomes more favorable.

How to write an electron configuration step by step

Writing an electron configuration becomes straightforward when the number of electrons and the filling order are known.

Step 1: Find the atomic number. The atomic number gives the number of protons. For a neutral atom, it also gives the number of electrons.

Step 2: Determine the number of electrons to place. A neutral oxygen atom, for example, has eight electrons because its atomic number is 8.

Step 3: Follow the orbital filling order. Begin with the lowest-energy subshell and continue until all electrons have been assigned.

Step 4: Respect subshell capacities. The s, p, d, and f subshells can hold a maximum of 2, 6, 10, and 14 electrons, respectively.

Step 5: Check the total. Add the superscripts in the configuration. Their sum should equal the total number of electrons in the atom or ion.

For oxygen, the first two electrons fill 1s, the next two fill 2s, and the remaining four occupy 2p. Its electron configuration is therefore 1s² 2s² 2p⁴.

The total is 2 + 2 + 4 = 8 electrons, matching oxygen’s atomic number.

Electron configuration examples for common elements

Examining individual elements shows how electron configurations build on the same principles.

ElementAtomic numberElectron configuration
Hydrogen11s¹
Helium21s²
Lithium31s² 2s¹
Carbon61s² 2s² 2p²
Nitrogen71s² 2s² 2p³
Oxygen81s² 2s² 2p⁴
Neon101s² 2s² 2p⁶
Sodium111s² 2s² 2p⁶ 3s¹
Magnesium121s² 2s² 2p⁶ 3s²
Chlorine171s² 2s² 2p⁶ 3s² 3p⁵
Calcium201s² 2s² 2p⁶ 3s² 3p⁶ 4s²

These examples reveal several important patterns. Hydrogen has only one electron, while helium fills the first energy level. Neon has a completely filled second shell, and sodium begins a new principal energy level after neon.

Elements with similar outer-electron arrangements often share chemical properties. Sodium and lithium, for example, each have one electron in an outer s subshell. Both are reactive metals that commonly lose that electron when forming ions.

Neon, by contrast, has a filled outer shell. This arrangement helps explain why neon is much less chemically reactive under ordinary conditions.

What is shorthand electron configuration?

For larger atoms, writing every occupied subshell can become cumbersome. Shorthand electron configuration makes the notation shorter by representing the inner electrons with the symbol of the preceding noble gas in square brackets.

A noble gas is an element with a particularly stable electron configuration. The noble gases commonly used in this notation are helium, neon, argon, krypton, xenon, and radon.

For example, the full electron configuration of sodium is:

1s² 2s² 2p⁶ 3s¹

Because neon has the configuration 1s² 2s² 2p⁶, sodium’s shorthand configuration is:

NeNe 3s¹

The bracketed symbol represents the electron configuration of neon, accounting for the first 10 electrons. The remaining notation identifies sodium’s eleventh electron.

Similarly, calcium has the shorthand configuration ArAr 4s². Argon accounts for 18 electrons, and the two electrons in 4s bring the total to 20.

Noble-gas shorthand is particularly useful for transition metals and heavier elements because their full configurations can contain many occupied subshells.

Electron configuration and the periodic table

The periodic table is closely connected to electron configuration. An element’s position often provides clues about how its electrons are arranged, especially in its outermost occupied subshells.

The period number, or row number, generally indicates the highest principal energy level occupied in the ground-state configuration of the element. For example, sodium is in Period 3 because its outermost occupied subshell is 3s.

The group number, or column number, often reflects a pattern in the number of outer electrons for elements in the same family. Lithium, sodium, and potassium belong to Group 1, and each has one electron in its outermost s subshell.

The periodic table also has four broad blocks based on the type of subshell being filled:

  • s-block: Includes Groups 1 and 2, as well as helium by electron configuration.
  • p-block: Includes Groups 13 through 18, except that helium is classified separately by its chemical properties.
  • d-block: Contains the transition elements, where d subshells are being filled across a series.
  • f-block: Contains the lanthanides and actinides, associated with the filling of f subshells.

These blocks are not merely organizational choices. They reflect recurring patterns in atomic structure that help explain the periodic repetition of chemical properties.

The connection is not perfectly simple. Transition elements and heavier atoms can show irregularities in their configurations, so an element’s group or period should be treated as a useful guide rather than a substitute for the actual configuration.

Why outer electrons matter for chemical behavior

Electrons in the outer occupied energy levels are often called valence electrons. They play a major role in chemical bonding and reactions because they are generally more accessible for interactions with other atoms than inner electrons.

Atoms can form chemical bonds by transferring, sharing, or redistributing electrons. The resulting arrangements depend on the electron configurations of the atoms involved, the energies of the available states, and the overall stability of the resulting system.

Sodium provides a clear example. Its configuration is NeNe 3s¹, meaning that it has one electron outside a neon-like inner configuration. Sodium can lose that electron to form a positively charged sodium ion, Na⁺. The ion then has the electron configuration 1s² 2s² 2p⁶, the same configuration as neon.

Chlorine has seven electrons in its outer third shell, with the configuration NeNe 3s² 3p⁵. It can gain an electron to form a chloride ion, Cl⁻, with the configuration ArAr.

When sodium and chlorine react, electron transfer produces oppositely charged ions that attract one another. This electrostatic attraction helps form the ionic solid sodium chloride, commonly known as table salt.

Not all chemical bonds involve complete electron transfer. In covalent bonds, atoms share electron density, as occurs in a water molecule. Electron configurations help explain which bonding arrangements are possible and why particular atoms tend to form characteristic numbers of bonds.

A filled outer shell is often associated with low chemical reactivity, which helps explain the behavior of noble gases. However, the idea that every atom simply seeks eight outer electrons is an oversimplification. Bonding depends on the energies of the entire system, and many stable compounds do not follow a simple octet pattern.

Electron configurations of ions

An ion forms when an atom gains or loses one or more electrons. Because its electron count changes, its electron configuration may differ from that of the neutral atom.

A positive ion, or cation, has fewer electrons than its neutral atom. A negative ion, or anion, has more.

For main-group elements, electrons are often removed from the outermost occupied shell when a cation forms. For example, neutral magnesium has the configuration NeNe 3s². When it loses two electrons, it forms Mg²⁺ with the configuration NeNe.

Chlorine, with the neutral configuration NeNe 3s² 3p⁵, can gain one electron to form Cl⁻. Its configuration becomes ArAr, corresponding to 18 electrons.

Transition-metal ions require additional care. Although the 4s subshell generally fills before 3d in the usual filling sequence, the 4s electrons are typically removed before the 3d electrons when neutral transition-metal atoms form positive ions.

For example, neutral iron has the ground-state configuration ArAr 3d⁶ 4s². The Fe²⁺ ion has the configuration ArAr 3d⁶, because its two 4s electrons are removed.

This distinction matters when predicting the properties of transition-metal ions, including their magnetic behavior and the colors of many of their compounds.

Orbital diagrams and electron configuration

Electron configurations show electron occupancy compactly, while orbital diagrams provide a more visual representation of how electrons occupy individual orbitals.

An orbital diagram uses boxes or lines to represent orbitals and arrows to represent electrons. The direction of each arrow indicates the electron’s spin state.

For oxygen, whose configuration is 1s² 2s² 2p⁴, the 1s and 2s orbitals each contain a pair of electrons. The three 2p orbitals contain four electrons: one orbital has a pair, while each of the other two has one electron.

The two unpaired 2p electrons are consistent with Hund’s rule. In the ground state, oxygen has two unpaired electrons, which contributes to its paramagnetic behavior. A paramagnetic substance is attracted to a magnetic field because it has unpaired electrons.

Orbital diagrams are especially useful for checking whether a proposed electron configuration obeys the Pauli exclusion principle and Hund’s rule. They also reveal information that is less obvious in a written configuration, such as the number of unpaired electrons.

Exceptions to the usual filling order

The Aufbau principle predicts the general order in which subshells fill, but the actual ground-state configurations of some elements differ from the simplest expected sequence.

These exceptions arise because some subshells have very similar energies. Small changes in electron interactions and the detailed structure of the atom can make an alternative arrangement lower in total energy.

Chromium is a familiar example. A simple application of the usual filling sequence might predict ArAr 3d⁴ 4s². Its actual ground-state configuration is ArAr 3d⁵ 4s¹.

Copper is another example. A straightforward prediction might give ArAr 3d⁹ 4s², but its ground-state configuration is ArAr 3d¹⁰ 4s¹.

These configurations are often discussed in terms of the stability associated with particular d-subshell occupancies. However, it is misleading to treat half-filled and fully filled subshells as an absolute rule that overrides everything else. The correct explanation depends on the total energies of the competing electron arrangements.

For this reason, electron configurations are best understood as descriptions of actual quantum states, with filling rules serving as practical guides rather than inflexible laws.

What electron configuration can and cannot tell us

Electron configuration is a powerful tool for explaining periodic trends, chemical bonding, ion formation, and magnetic properties. It can help predict whether an atom is likely to gain, lose, or share electrons and can reveal similarities between elements in the same periodic-table family.

It also provides a foundation for understanding more advanced topics, including atomic spectra, transition-metal chemistry, and the behavior of materials.

However, electron configuration alone does not determine every chemical property. The shape of a molecule, the strength of a bond, the energy released in a reaction, and the stability of a compound depend on more than the electron count in isolated atoms. They also involve the interactions among nuclei and electrons in the complete system.

The most useful way to think about electron configuration is as a description of how an atom’s electrons occupy quantum states. The filling rules explain the basic patterns, the periodic table reflects those patterns, and the resulting electron arrangements help account for the chemical behavior of the elements.

Understanding that connection turns electron configuration from a notation exercise into a practical way to make sense of atomic structure and chemistry.

Looking For Something Else?