⚛️ Molecular Orbital Theory — Bond Order for Diatomic Molecules
Fill a molecular orbital diagram electron by electron and watch bond order and magnetism emerge — including why O2 is famously paramagnetic and why Be2 and Ne2 simply don't exist.
How it Works
Pick a diatomic species and the diagram fills its valence electrons one at a time, lowest energy first (the Aufbau principle), with never more than two electrons — of opposite spin — per orbital (the Pauli exclusion principle). When two or more molecular orbitals share exactly the same energy, as the doubly-degenerate π2p and π*2p pairs do, each orbital first receives a single electron with parallel spin before either one is paired (Hund's rule). This is exactly the sequence that leaves O₂ with two unpaired electrons in its π*2p orbitals, correctly predicting that oxygen is paramagnetic — a result a simple Lewis structure gets wrong.
The energy order of the molecular orbitals is not fixed: for Li₂ through N₂ (and N₂⁺), s–p mixing pushes σ2p above the π2p pair, giving the order σ2s, σ*2s, π2p, σ2p, π*2p, σ*2p. For O₂, F₂, Ne₂, and the oxygen ions, mixing is negligible and the order reverts to σ2s, σ*2s, σ2p, π2p, π*2p, σ*2p. The simulator switches automatically between the two orders depending on which species you select, and the resulting fill lets it compute bond order, unpaired-electron count, and magnetic behavior live.
Order (Li₂–N₂, N₂⁺): σ2s < σ*2s < π2p(×2) < σ2p < π*2p(×2) < σ*2p
Order (O₂, F₂, Ne₂, O-ions): σ2s < σ*2s < σ2p < π2p(×2) < π*2p(×2) < σ*2p
Magnetism: any unpaired electron ⇒ paramagnetic · all paired ⇒ diamagnetic
Frequently Asked Questions
What is molecular orbital (MO) theory and how does it differ from Lewis structures?
MO theory treats the electrons in a molecule as occupying orbitals that are delocalized over the entire molecule, built by combining (a linear combination of) the atomic orbitals of every atom involved, rather than as localized bonding pairs and lone pairs drawn between two specific atoms. This gives a more physically accurate picture of bonding, and unlike a Lewis structure or VSEPR, it correctly predicts properties such as magnetism that depend on whether electrons are paired.
What are bonding and antibonding molecular orbitals?
A bonding molecular orbital is lower in energy than the atomic orbitals that formed it and has constructive overlap, building up electron density between the two nuclei that holds them together and stabilizes the molecule. An antibonding orbital, marked with an asterisk such as σ*, is higher in energy than the parent atomic orbitals and has a node — a region of zero electron density — between the nuclei; electrons placed in it destabilize the molecule.
What is bond order and how is it calculated?
Bond order equals (electrons in bonding orbitals − electrons in antibonding orbitals) ÷ 2. It estimates how many net bonds hold the two atoms together: a bond order of 1 behaves like a single bond, 2 like a double bond, 3 like a triple bond, and 0 means there is no net bonding at all.
Why is O₂ paramagnetic, and why did this matter historically?
Filling O₂'s 12 valence electrons by Aufbau and Hund's rule leaves the two degenerate π*2p orbitals with one electron each, both unpaired — making O₂ paramagnetic and attracted into a magnetic field, which is why liquid oxygen visibly clings to a strong magnet. A simple Lewis structure for O₂ pairs every electron and predicts no magnetism at all, so O₂'s paramagnetism was a landmark, very public confirmation that MO theory captures real bonding physics that Lewis structures miss.
Why does the σ2p/π2p energy order flip between N₂ and O₂?
For the lighter, less electronegative period-2 elements from Li through N, the 2s and 2p atomic orbitals are close enough in energy to mix (s–p mixing), which pushes the σ2p molecular orbital above the π2p pair. Moving across the period to O, F, and Ne, increasing nuclear charge pulls the 2s orbital down and separates it further from 2p, so mixing becomes negligible and the textbook order — σ2p below π2p — is restored.
Why don't Be₂ and Ne₂ exist as stable molecules?
Both fill their bonding and antibonding orbitals equally: Be₂'s 4 electrons give σ2s²σ*2s², and Ne₂'s 16 electrons fill every bonding and antibonding orbital completely. In both cases the antibonding electrons exactly cancel the stabilization from the bonding electrons, giving a bond order of 0 — no net attraction remains to hold the two atoms together as a stable molecule.
What is Hund's rule and how does it apply here?
Hund's rule says that when electrons fill a set of degenerate orbitals of equal energy, such as the two π2p or two π*2p orbitals here, they first occupy each orbital singly with parallel spin before any pairing occurs. This simulation applies Hund's rule automatically to the degenerate π pairs, which is exactly what produces O₂'s two unpaired π*2p electrons.
Why are the 1s orbitals excluded from the bond order calculation?
For period-2 diatomics, the 1s core orbitals on each atom are so much lower in energy, and so much smaller, than the valence 2s/2p orbitals that they barely overlap with the other atom's 1s orbital. They form essentially non-bonding core molecular orbitals that contribute equally to bonding and antibonding character, so — as a standard simplification — they are left out of the bond order calculation entirely.
What real-world or research applications does MO theory have?
MO theory underlies virtually all modern computational and quantum chemistry software used to predict molecular structure, reactivity, and spectra. It also extends far beyond simple diatomics — to conjugated π-electron systems, aromaticity in molecules like benzene, and the band theory that explains how semiconductors and metals conduct electricity.
About this simulation
This simulator builds the classic three-column molecular orbital energy-level diagram for period-2 diatomic molecules and ions, then fills it electron by electron so you can watch the Aufbau principle, Pauli exclusion, and Hund's rule play out in real time. Pick any species from Li₂ to Ne₂ — including reactive ions like O₂⁺, O₂⁻, and N₂⁺ — and the simulator automatically uses the correct energy ordering, computes bond order live, and flags whether the result is paramagnetic, diamagnetic, or not a stable molecule at all.
🔬 What it shows
Atomic 2s/2p orbitals on the left and right combine into bonding (green) and antibonding (red) molecular orbitals in the center, filled with animated ↑ and ↑↓ arrows in the correct Aufbau/Hund order, with unpaired electrons highlighted in amber so paramagnetism is obvious at a glance.
🎮 How to use
Choose a molecule or ion from the dropdown to replay the fill animation with the correct energy order for that species, toggle the 1s core orbitals on or off, and watch the bond order, unpaired-electron count, and magnetic-behavior stats update live as electrons are added.
💡 Did you know?
A simple Lewis structure predicts O₂ has no unpaired electrons and should be non-magnetic — but real liquid oxygen is visibly pulled toward a strong magnet, and molecular orbital theory is what correctly explains why.
Frequently asked questions
What do the up and down arrows in each orbital box mean?
A single up arrow (↑) represents one unpaired electron in that orbital; a paired up-and-down arrow (↑↓) represents two electrons of opposite spin sharing the same orbital, as required by the Pauli exclusion principle. Unpaired arrows are highlighted in amber so you can spot paramagnetism at a glance.
Why do some orbitals show a single arrow while others show a pair?
It depends purely on how many electrons the selected species has and where the fill sequence lands, following Aufbau, Pauli exclusion, and Hund's rule. Degenerate π/π* pairs are filled singly across both orbitals before either one receives a second, paired electron, so an odd number of electrons in a degenerate pair always leaves at least one arrow unpaired.
What happens when I toggle "Show 1s core orbitals"?
It draws the low-energy, non-bonding 1s orbital of each atom at the bottom of the diagram for completeness. These core electrons are never shown combining into molecular orbitals and are never counted in the bond order calculation, matching the standard textbook simplification for period-2 diatomics.
Why does σ2p appear above π2p for some molecules but below for others?
The simulator automatically switches between the two known energy orderings: Li₂ through N₂ (and N₂⁺) use the s–p mixing order with σ2p above π2p, while O₂, F₂, Ne₂ and the oxygen ions use the standard order with σ2p below π2p. Selecting a different species redraws the diagram with the correct order for that regime.
How is "unpaired electrons" connected to whether a substance is attracted to a magnet?
Any molecule or ion with one or more unpaired electrons is paramagnetic — it is weakly pulled into an external magnetic field, as famously demonstrated by liquid O₂. A species with every electron paired is diamagnetic and is instead very weakly repelled by a magnetic field. Watch the "Magnetic behavior" stat update live as you switch species.
Which diatomic species in the dropdown are not experimentally stable, and how does the simulator show that?
Be₂ and Ne₂ both come out with a computed bond order of 0, and the "Stability" stat flags them as not stable — their bonding and antibonding electrons cancel exactly, so there is no net force holding the two atoms together as a molecule.
Fill a molecular orbital diagram electron by electron and watch bond order and magnetism emerge — including why O2 is famously paramagnetic and why Be2 and Ne2 simply don't exist.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install