Orbital Diagram Calculator
Visualize electron distribution in orbitals with spin arrows following Hund's rule and the Pauli exclusion principle.
Orbital Diagram
2
Paramagnetic
Legend
↑ = Spin up electron (ms = +1/2)
↓ = Spin down electron (ms = -1/2)
Electrons fill orbitals singly before pairing (Hund's Rule)
What Is an Orbital Diagram?
An orbital diagram is a graphical representation of how electrons fill the atomic orbitals of an element. Unlike the shorthand notation of electron configuration (such as 1s² 2s² 2p⁶), orbital diagrams use boxes to represent individual orbitals and arrows to represent electrons. An upward arrow indicates a spin-up electron (ms = +1/2), while a downward arrow indicates a spin-down electron (ms = -1/2). This visual format makes it easy to see which orbitals are occupied, which are half-filled, and which are empty.
Orbital diagrams are constructed by following three foundational principles of quantum mechanics. The Aufbau principle dictates that electrons fill the lowest energy orbitals available before occupying higher energy ones. Hund's rule states that within a subshell, electrons fill each orbital singly with parallel spins before any pairing occurs. The Pauli exclusion principle requires that no two electrons in an atom share identical quantum numbers, meaning each orbital can hold at most two electrons with opposite spins.
Orbital diagrams are especially useful in inorganic and physical chemistry for predicting magnetic properties, understanding the electronic structure of transition metals, and explaining why certain elements exhibit unexpected configurations. They provide a direct visual link between quantum mechanical theory and observable chemical behavior, making them an indispensable tool for students and researchers alike.
The Orbital Filling Order
Electrons fill orbitals in a specific sequence determined by the relative energies of the subshells. The energy of an orbital depends on both the principal quantum number (n) and the azimuthal quantum number (l). For neutral atoms, the filling order is: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p. This sequence follows the (n + l) rule, where orbitals with lower (n + l) values are filled first, and ties are broken by lower n values.
Notable exceptions to this filling order occur in the first-row transition metals. Chromium (Cr, Z = 24) adopts a [Ar] 4s¹ 3d⁵ configuration instead of the expected [Ar] 4s² 3d⁴, because a half-filled 3d subshell provides extra stability. Similarly, copper (Cu, Z = 29) has a [Ar] 4s¹ 3d¹⁰ configuration rather than [Ar] 4s² 3d⁹, because a fully filled 3d subshell is energetically favorable. These exceptions illustrate the importance of subshell stability in determining actual electron configurations.
The subshell capacities follow directly from quantum mechanics: each s subshell has 1 orbital (max 2 electrons), each p subshell has 3 orbitals (max 6 electrons), each d subshell has 5 orbitals (max 10 electrons), and each f subshell has 7 orbitals (max 14 electrons). These capacities define the structure of the periodic table, with s-block, p-block, d-block, and f-block elements corresponding to the subshell being filled.
Orbital Filling Order
Where:
- n= Principal quantum number (determines shell)
- l= Azimuthal quantum number (s=0, p=1, d=2, f=3)
- ms= Spin quantum number (+½ = up arrow, -½ = down arrow)
How to Use This Calculator
This calculator generates orbital diagrams for any element with atomic number 1 through 118:
- Enter the Atomic Number: Type the atomic number (Z) of the element you want to diagram. For example, enter 8 for oxygen or 26 for iron.
- View the Orbital Diagram: The diagram displays each subshell (1s, 2s, 2p, etc.) with boxes representing individual orbitals. Spin-up electrons appear as blue upward arrows and spin-down electrons as red downward arrows.
- Read the Summary: Below the diagram, the calculator shows the total number of unpaired electrons and whether the atom is paramagnetic (unpaired electrons present) or diamagnetic (all electrons paired).
The legend explains the color coding and confirms that electrons fill orbitals singly before pairing, consistent with Hund's rule. This visual format makes it straightforward to count unpaired electrons and predict magnetic behavior.
Determining Magnetic Properties
The orbital diagram directly reveals the magnetic properties of an atom. If any orbital contains a single unpaired electron, the atom is paramagnetic — it is attracted to an external magnetic field. The strength of this attraction is proportional to the number of unpaired electrons. For example, oxygen (Z = 8) has two unpaired electrons in its 2p orbitals, making it paramagnetic. This explains why liquid oxygen is attracted to a magnet, a property that surprises many students who expect all simple molecules to be diamagnetic.
If all electrons are paired — every orbital contains either zero or two electrons — the atom is diamagnetic. Diamagnetic substances are very weakly repelled by magnetic fields. Helium (Z = 2), neon (Z = 10), and argon (Z = 18) are all diamagnetic because their electrons completely fill the available orbitals. The diamagnetic effect is much weaker than paramagnetism, typically two to three orders of magnitude smaller, but it is measurable with sensitive instruments.
For transition metals, the number of unpaired d-electrons varies widely. Scandium (Sc, Z = 21) has one unpaired electron, while manganese (Mn, Z = 25) has five — the maximum for a 3d element. This variation in unpaired electrons gives transition metals their diverse magnetic and spectroscopic properties, which are exploited in applications from MRI contrast agents to magnetic data storage.
Real-World Applications
Orbital diagrams have practical significance across many fields of chemistry and materials science:
Magnetic Materials Design: Engineers use knowledge of orbital filling to design magnetic materials. The strength of permanent magnets depends on the number of unpaired electrons and their coupling. Neodymium magnets, the strongest commercial permanent magnets, derive their properties from the orbital configurations of neodymium's 4f electrons.
Transition Metal Catalysis: The partially filled d-orbitals of transition metals enable them to form coordination complexes with substrates, lowering activation energies in catalytic reactions. Understanding the orbital diagram of a metal catalyst helps predict which substrates will bind and how the catalytic cycle proceeds.
Spectroscopy and Color: The colors of transition metal compounds arise from electronic transitions between d-orbitals split by the ligand field. The orbital diagram determines which d-orbitals are occupied and which transitions are possible, directly predicting the absorption spectrum and apparent color of the compound.
Bioinorganic Chemistry: Metalloenzymes rely on specific orbital configurations of metal cofactors. The iron in hemoglobin, the copper in cytochrome c oxidase, and the manganese in photosystem II all have orbital diagrams that enable their biological functions. Altering the oxidation state changes the orbital diagram and thus the enzyme's activity.
Worked Examples
Oxygen (Z = 8)
Problem:
Draw the orbital diagram for oxygen and identify its magnetic properties.
Solution Steps:
- 1Oxygen has 8 electrons total
- 2Fill 1s with 2 electrons: 1s² [↑↓]
- 3Fill 2s with 2 electrons: 2s² [↑↓]
- 4Fill 2p with 4 electrons: 2p⁴ — first 3 go singly (Hund's rule), 4th pairs in first orbital
- 52p configuration: [↑↓] [↑] [↑]
Result:
Oxygen has 2 unpaired electrons and is paramagnetic. Full configuration: 1s² 2s² 2p⁴
Nitrogen (Z = 7)
Problem:
Draw the orbital diagram for nitrogen and explain its stability.
Solution Steps:
- 1Nitrogen has 7 electrons
- 21s² [↑↓], 2s² [↑↓]
- 32p³ — all three orbitals get one electron each (Hund's rule)
- 42p configuration: [↑] [↑] [↑] — half-filled subshell
Result:
Nitrogen has 3 unpaired electrons, is paramagnetic, and has an extra-stable half-filled 2p subshell.
Neon (Z = 10)
Problem:
Draw the orbital diagram for neon and explain its chemical inertness.
Solution Steps:
- 1Neon has 10 electrons
- 21s² [↑↓], 2s² [↑↓]
- 32p⁶ [↑↓] [↑↓] [↑↓] — all orbitals fully filled
- 4All 10 electrons are paired
Result:
Neon has 0 unpaired electrons, is diamagnetic, and is chemically inert because all orbitals in the n=1 and n=2 shells are completely filled.
Tips & Best Practices
- ✓Follow Hund's rule: fill all orbitals in a subshell singly before pairing any electrons.
- ✓Count unpaired electrons to predict paramagnetic (attracted to magnets) vs. diamagnetic behavior.
- ✓Chromium and copper are common exceptions to the expected filling order — memorize them.
- ✓Transition metals lose 4s electrons before 3d electrons when forming ions.
- ✓A half-filled subshell (d⁵ or p³) provides extra stability due to symmetric electron distribution.
- ✓The orbital diagram directly determines the element's magnetic properties and bonding behavior.
Frequently Asked Questions
Sources & References
Last updated: 2026-06-06
Help us improve!
How would you rate the Orbital Diagram Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
Formula Source: Chemistry: The Central Science
by Brown, LeMay, Bursten