molecalculator

Moles & Molar Mass

Full Electron Configuration for O (Oxygen)

Calculator No. 01-9639 · 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.

The full electron configuration for oxygen (O, atomic number 8) is 1s2 2s2 2p4. This arrangement shows its 8 electrons distributed across the 1s, 2s, and 2p orbitals, with the 2p subshell holding 4 electrons.

Formula

The electron configuration is built using the Aufbau principle, which fills orbitals in order of increasing energy. The order is given by the Madelung rule: orbitals fill by increasing (n + ℓ), and for equal (n + ℓ), by increasing n. The sequence is:

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

Each orbital type holds a maximum number of electrons:

  • s orbitals: 2 electrons
  • p orbitals: 6 electrons
  • d orbitals: 10 electrons
  • f orbitals: 14 electrons

For an atom with atomic number Z, you add electrons one by one to the lowest-energy available orbital until all Z electrons are placed. The final notation lists the occupied subshells with superscripts indicating the electron count in each.

Worked Example

Oxygen has Z = 8, meaning a neutral oxygen atom contains 8 protons and 8 electrons. Following the Aufbau order:

  1. Fill 1s: 2 electrons → 1s2 (total 2)
  2. Fill 2s: 2 electrons → 2s2 (total 4)
  3. Fill 2p: 2p can hold up to 6, but we only have 4 electrons left → 2p4 (total 8)

So the configuration is 1s2 2s2 2p4. This matches the calculator output for Z = 8.

Assumptions

  • The atom is neutral (number of electrons = atomic number).
  • The ground-state (lowest energy) configuration is assumed, not an excited state.
  • The Madelung rule holds for all elements up to Z = 118 (it does, with a few exceptions for transition metals and lanthanides, but oxygen is not affected).

Orbital Diagram and Hund’s Rule

Within the 2p subshell, the 4 electrons are distributed among the three p orbitals (2px, 2py, 2pz) according to Hund’s rule: electrons fill each orbital singly before pairing up. So the 2p4 arrangement is:

  • One electron in each of the three p orbitals (↑ ↑ ↑)
  • One extra electron pairs with the first, giving one doubly occupied orbital (↑↓ ↑ ↑)

This gives oxygen two unpaired electrons, making it a diradical in its ground state. This is why oxygen gas (O2) is paramagnetic—a fact that cannot be explained by a simple double bond but is correctly predicted by molecular orbital theory.

Noble Gas Shorthand

Instead of writing the full configuration, chemists often use the noble gas shorthand. For oxygen, the core is helium (1s2), so the shorthand is:

[He] 2s2 2p4

This is more compact and highlights the valence electrons (the 2s and 2p electrons), which are the ones involved in chemical bonding. Oxygen has 6 valence electrons, so it needs 2 more to achieve a full octet, explaining its typical −2 oxidation state in compounds like H2O and CO2.

Common Mistakes and Misconceptions

  • Writing 2p6 instead of 2p4: Oxygen has 8 electrons total, not 10. The 2p subshell can hold 6, but oxygen only has 4 in it.
  • Order of filling 3d vs 4s: For oxygen, this is irrelevant, but for larger atoms (like potassium, Z=19), many students write 3d before 4s. The correct order is 4s before 3d (as per Madelung), but when writing the configuration, 3d comes before 4s because 3d has lower n. For oxygen, the order is simple: 1s, 2s, 2p.
  • Confusing the ion: The oxide ion O2− has 10 electrons, so its configuration is 1s2 2s2 2p6 (isoelectronic with neon). The neutral atom has 8 electrons, not 10.

Why It Matters

The electron configuration of oxygen explains its chemical behavior:

  • Valence electrons (6): Determines its bonding capacity—it forms two covalent bonds (as in water) or gains two electrons to become O2−.
  • Unpaired electrons: Makes oxygen a free radical in its atomic form, which is highly reactive. In O2, the two unpaired electrons in the π* antibonding orbitals give rise to paramagnetism.
  • Electronegativity: Oxygen is the third most electronegative element (after fluorine and chlorine), which stems from its small size and nearly full valence shell.
  • Periodic trends: Oxygen is in group 16 (chalcogens). Its configuration follows the pattern for that group: ns2 np4.

Related Configurations

Oxygen sits between nitrogen (Z=7) and fluorine (Z=9). Their configurations are:

  • N: 1s2 2s2 2p3 (3 unpaired electrons)
  • O: 1s2 2s2 2p4 (2 unpaired electrons)
  • F: 1s2 2s2 2p5 (1 unpaired electron)

Notice the trend: as you move across the period, the 2p subshell fills one electron at a time. The number of unpaired electrons decreases from 3 (N) to 1 (F), which correlates with decreasing reactivity in the free element form (though fluorine is more reactive due to its high electronegativity).

Frequently Asked Questions

What is the full electron configuration for O2−?
The oxide ion has 10 electrons (8 + 2 gained). Its configuration is 1s2 2s2 2p6, which is the same as neon. This is a stable, noble gas configuration.

Why does oxygen have 2 unpaired electrons?
According to Hund’s rule, electrons fill each p orbital singly before pairing. With 4 electrons in 2p, the first three occupy separate orbitals, and the fourth pairs with one of them, leaving two orbitals with single electrons. Hence, two unpaired electrons.

Is the configuration of oxygen the same in all compounds?
In most compounds, oxygen uses its 2s and 2p orbitals for bonding, but the core 1s electrons remain uninvolved. The configuration of the atom itself is always the same; it’s the bonding that changes. In excited states (e.g., in spectroscopy), an electron can be promoted to a higher orbital, but that’s not the ground state.

How do I write the configuration for oxygen using the periodic table?
Locate oxygen (Z=8) in the p-block, period 2. The period tells you the highest principal quantum number (n=2). The group (16) tells you it has 6 valence electrons (ns2 np4). The core is the previous noble gas, helium, so the shorthand is [He] 2s2 2p4.

What is the difference between electron configuration and orbital diagram?
Electron configuration is a shorthand notation (e.g., 1s2 2s2 2p4), while an orbital diagram uses boxes or lines for each orbital and arrows to represent electrons, showing their spin and pairing. The orbital diagram for oxygen would show the 2p orbitals with one pair and two singles.

Why is oxygen paramagnetic?
Paramagnetism arises from unpaired electrons. In O2, the molecular orbital diagram shows two unpaired electrons in the π* antibonding orbitals. This is a direct consequence of the atomic configuration: oxygen atoms have two unpaired p electrons, which combine to give a triplet ground state for O2.

Related

Formula used
in z | Atomic number (Z) | - | 8 | 1 | 118
out ec | Electron configuration | - | '1s² 2s² 2p⁴' | 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 →