molecalculator

Moles & Molar Mass

Atomic Structure & Electron Configuration Basics

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

Atomic structure describes the arrangement of protons, neutrons, and electrons within an atom, while electronic configuration specifies how those electrons are distributed among energy levels, sublevels, and orbitals. The most widely accepted model is the quantum mechanical model, where electrons occupy orbitals defined by four quantum numbers. This article explains the components of the atom, the rules for writing electron configurations, and common patterns in the periodic table.

Formula

The maximum number of electrons in a principal energy level (shell) is given by:

Maximum electrons in shell n = 2n²

where n is the principal quantum number (1, 2, 3, …). For example, n=1 holds 2 electrons, n=2 holds 8, n=3 holds 18, and n=4 holds 32.

The electron configuration is built by filling orbitals in order of increasing energy according to the Aufbau principle, following the sequence: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p. Each s sublevel holds 2 electrons, each p holds 6, each d holds 10, and each f holds 14.

Worked Example

Using the default values from the calculator: atomic number Z = 26 (iron) and principal quantum number n = 4.

  1. Maximum electrons in n=4: 2 × 4² = 2 × 16 = 32 electrons.
  2. Electron configuration for Z=26: Following the Aufbau order, we fill: 1s², 2s², 2p⁶, 3s², 3p⁶, 4s², then 3d⁶. So the full configuration is 1s² 2s² 2p⁶ 3s² 3p⁶ 4s² 3d⁶.
  3. Check: 2+2+6+2+6+2+6 = 26 electrons. The calculator outputs the same configuration.

Assumptions

  • The configuration follows the Aufbau principle (no exceptions for chromium, copper, etc.).
  • The maximum electron capacity formula 2n² applies to a principal shell, but the actual filling order is determined by orbital energy, not just n.
  • The calculator provides the ground-state configuration for neutral atoms.

Background: The Evolution of the Atomic Model

Modern atomic theory began with John Dalton (1803) who proposed that matter is made of indivisible atoms. In 1897, J.J. Thomson discovered the electron and proposed the “plum pudding” model. Ernest Rutherford’s gold foil experiment (1911) revealed a tiny, dense, positively charged nucleus. Niels Bohr (1913) then introduced quantized electron orbits, explaining hydrogen’s spectral lines. The current quantum mechanical model, developed in the 1920s by Schrödinger and Heisenberg, describes electrons as probability clouds (orbitals) rather than fixed paths.

How to Write an Electron Configuration

Follow these steps to write a ground-state configuration:

  1. Determine the number of electrons (equal to the atomic number for a neutral atom).
  2. Fill orbitals in order of increasing energy (Aufbau order).
  3. Apply the Pauli exclusion principle: each orbital holds at most 2 electrons with opposite spins.
  4. Apply Hund’s rule: for degenerate orbitals (same energy), place one electron in each before pairing.

For example, nitrogen (Z=7): 1s² 2s² 2p³. The 2p³ means three unpaired electrons in the three 2p orbitals.

Common Problems and Misconceptions

  • Exceptions to the Aufbau principle: Chromium (Z=24) is [Ar] 4s¹ 3d⁵ instead of 4s² 3d⁴, and copper (Z=29) is [Ar] 4s¹ 3d¹⁰. These occur because half-filled and fully-filled d subshells are more stable.
  • Confusing shell capacity with filling order: The 3d orbital fills after 4s, even though n=3 is lower than n=4. This is due to orbital penetration and shielding.
  • Using noble gas shorthand incorrectly: [Ar] represents the configuration of argon (1s² 2s² 2p⁶ 3s² 3p⁶), so [Ar] 4s² 3d⁶ is correct for iron.
  • Misinterpreting the 2n² rule: It gives the maximum capacity of a shell, but not all elements fill that shell completely before moving to the next.

Comparison: Bohr Model vs. Quantum Mechanical Model

The Bohr model pictures electrons in circular orbits at fixed distances from the nucleus. It works well for hydrogen but fails for multi-electron atoms. The quantum mechanical model treats electrons as standing waves, with orbitals representing regions of high probability. Each orbital is described by three quantum numbers: principal (n), azimuthal (l), and magnetic (ml), plus a spin quantum number (ms). This model accurately predicts chemical behavior and periodic trends.

Practical Applications

Electron configurations explain:

  • Periodic table layout: Elements in the same group have similar valence configurations, leading to similar chemical properties.
  • Chemical bonding: Valence electrons participate in bonding; the octet rule stems from the stability of filled s and p subshells.
  • Magnetic properties: Unpaired electrons produce paramagnetism; ferromagnetism in iron is due to its four unpaired 3d electrons.
  • Spectroscopy: Transitions between energy levels produce characteristic emission lines.

Frequently Asked Questions

What is the difference between a shell, a subshell, and an orbital?
A shell is a principal energy level (n). Each shell contains subshells (s, p, d, f) which are groups of orbitals. An orbital is a region where an electron is likely to be found; it holds up to two electrons.

Why does 4s fill before 3d?
Because the 4s orbital has a lower energy than 3d in neutral atoms, due to penetration and shielding effects. However, when transition metals ionize, electrons are removed from 4s first, making 3d the outermost occupied subshell.

How do I write the configuration for an ion?
For cations, remove electrons from the highest energy level first (usually ns before (n-1)d). For anions, add electrons to the next available orbital. For example, Fe²⁺ (Z=26) has configuration [Ar] 3d⁶, not [Ar] 4s² 3d⁴.

What is the significance of valence electrons?
Valence electrons are the outermost electrons (those in the highest principal energy level plus any partially filled d or f). They determine how an atom reacts chemically and its position in the periodic table.

Can the 2n² rule be used for any shell?
Yes, it gives the maximum capacity for a given n, but the actual occupancy depends on the element. For example, the fourth shell can hold 32 electrons, but no neutral atom has more than 8 electrons in the outermost shell in its ground state.

Why are some configurations written with noble gas cores?
To simplify writing and focus on valence electrons. The core represents the inner, filled shells that are chemically inert, while the outer configuration determines reactivity.

Related

Formula used
in z | Atomic number (Z) | - | 26 | 1 | 118
in n | Principal quantum number (n) | - | 4 | 1 | 7
out maxe | Max electrons in shell n | e⁻ | 2 * n^2 | 0
out conf | Electron configuration | - | (if z

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 →