Electron Configuration Calculator - Notation, Orbital Order, Valence Electrons

The electron configuration calculator returns the full orbital notation, noble gas shorthand, valence count, period, group, and block for any atom Z=1 to 118.

Electron Configuration Calculator

Type an integer from 1 (hydrogen) to 118 (oganesson). The default 11 reproduces sodium.

Results

Full orbital notation
0
Noble gas shorthand 0
Valence electrons 0valence e⁻
Period 0period
IUPAC group 0group
Block 0

What Is Electron Configuration Calculator?

The electron configuration calculator takes a single atomic number and returns the full orbital notation, noble gas shorthand, valence electron count, period, group, and block for that element. It applies the Aufbau (Madelung, n + l) filling order and the documented exceptions for chromium, copper, and the other d-block anomalies so the result matches the ground-state values published by IUPAC and NIST. Enter Z = 1 for hydrogen or Z = 118 for oganesson.

  • General chemistry homework: Fill in [Ar] 4s² 3d⁶ on a periodic-table worksheet for iron without re-deriving the Madelung order every time.
  • Inorganic chemistry check: Confirm a noble-gas shorthand for a transition metal before writing electron-count bookkeeping for an organometallic complex.
  • AP Chemistry and MCAT review: Compare Cr, Cu, and Au ground states against the standard 4s² 3dⁿ fill to see exactly which d electrons shift.
  • Periodic-table lookup: Read the period, IUPAC group, and s/p/d/f block for any element when you only have the atomic number.

Electron configuration is the address of every electron in a neutral atom, written as a list of subshells and their electron counts: 1s² 2s² 2p⁶ and so on. Each subshell holds 2 (s), 6 (p), 10 (d), or 14 (f) electrons, and the filling order follows the Madelung (n + l) rule with documented exceptions for half-filled and fully-filled d subshells. The shorthand form replaces filled inner subshells with the nearest noble-gas core in brackets, so sodium becomes [Ne] 3s¹.

When you enter an atomic number, the same rules apply automatically. The result panel shows both the full notation and the shorthand so you can copy whichever form your instructor wants, plus the period, group, and block for periodic-table context and the valence electron count that drives common chemistry rules.

For the one-electron case that underpins every ground-state configuration, the Bohr Model Calculator works out radius, energy, and wavelength for hydrogen-like ions from the same principal quantum numbers.

How Electron Configuration Calculator Works

The calculator runs a single pure function that distributes electrons into subshells using the Aufbau (Madelung) n + l rule, then layers on the documented exceptions for Cr, Cu, Nb, Mo, Pd, Ag, Pt, and Au.

Filled subshells = Σ(subshell, e⁻) for subshell in Madelung order, with overrides for Z = 24, 29, 41, 42, 46, 47, 78, 79
  • atomicNumber (Z): Integer 1 to 118. Z = 1 gives hydrogen; Z = 118 gives oganesson. Anything outside this range is rejected.

The full electron configuration walks through every subshell that contains electrons, while the noble gas shorthand replaces the closed inner subshells with the symbol of the nearest noble gas in brackets. For sodium (Z = 11) the inner closed subshells are exactly the neon core, so the shorthand is [Ne] 3s¹. For iron (Z = 26) the shorthand is [Ar] 4s² 3d⁶ because argon closes the third period with 18 electrons.

Period and group come straight from the configuration. The period equals the highest principal quantum number n that contains any electron, and the IUPAC group is read from the outermost subshell: ns¹ or ns² for groups 1 and 2, 12 + np electrons for groups 13 to 18, and d + s electrons for groups 3 to 12. The block is the type of the last subshell filled in the Madelung sequence, so an element whose configuration ends in p¹ is a p-block element even if its d subshell is also partially filled.

Sodium Z = 11 default example

atomicNumber = 11

1s² (2), 2s² (4), 2p⁶ (10), 3s¹ (11) → full = 1s² 2s² 2p⁶ 3s¹; nearest noble gas = Ne (Z = 10); shorthand = [Ne] 3s¹.

full = 1s² 2s² 2p⁶ 3s¹, shorthand = [Ne] 3s¹

1 valence electron, period 3, IUPAC group 1, s-block alkali metal.

Chromium Z = 24 Aufbau exception

atomicNumber = 24

Standard Madelung fill gives 4s² 3d⁴. The exception promotes one 4s electron into 3d so the configuration reads 4s¹ 3d⁵ with a half-filled d subshell.

full = 1s² 2s² 2p⁶ 3s² 3p⁶ 4s¹ 3d⁵, shorthand = [Ar] 4s¹ 3d⁵

Period 4, IUPAC group 6, d-block transition metal with 6 valence electrons.

According to NIST Atomic Spectra Database, the ground-state electron configurations used by this calculator for the documented exceptions match the published reference values for Z = 1 through Z = 118.

Once the configuration tells you the proton count, the Atomic Mass Calculator returns the actual atomic mass of the isotope in atomic mass units and kilograms for the same element.

Key Concepts Explained

Four ideas drive every result the electron configuration calculator returns, and they line up with the way the periodic table is organized.

Aufbau (Madelung) filling order

Subshells fill in order of increasing (n + l); on ties, the lower n fills first. The first 19 subshells are 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p.

Subshell electron capacity

Each s subshell holds 2, each p holds 6, each d holds 10, and each f holds 14. These limits are why iron stops at 3d⁶ and why a period-4 element cannot exceed 18 electrons in its first three shells.

Noble gas shorthand

Replace the filled inner subshells with the nearest noble gas in brackets. Sodium (Z = 11) becomes [Ne] 3s¹; xenon-core elements (Z = 55-86) get [Xe]; radon-core elements (Z = 87-118) use [Rn].

Block, period, and group

Block is the type of the last filled subshell (s, p, d, or f); period is the highest n in the configuration; IUPAC group is 1-2 for s-block, 13-18 for p-block, 3-12 for d-block, and 3 for f-block.

Together these four ideas explain why an element's place on the periodic table and its electron configuration are two ways of saying the same thing. The block tells you which subshell the element is filling, the period tells you how many shells the atom has, and the group tells you how many electrons sit in those outer shells. The valence electron count is the sum of all electrons in the outermost shell, plus (n - 1)d electrons for transition metals, and that count drives the chemistry the element does.

After the configuration is in hand, the Bond Order Calculator turns shared electron pairs into bond length, bond energy, and bond order for Lewis and molecular-orbital homework.

How to Use This Calculator

Six steps turn an atomic number into a verified electron configuration.

  1. 1 Open the calculator panel: Scroll to the top of the page to find the atomic number input. The default is Z = 11 (sodium), so you can hit Calculate to see a worked result.
  2. 2 Enter the atomic number: Type an integer from 1 to 118. Anything outside that range is rejected with an inline error.
  3. 3 Read the full notation: The first result row shows the full orbital notation, e.g. 1s² 2s² 2p⁶ 3s² 3p⁶ 4s¹ 3d⁵ for chromium, with Unicode superscripts.
  4. 4 Read the noble gas shorthand: The second row shows the same configuration shortened using the nearest noble-gas core, e.g. [Ar] 4s¹ 3d⁵ for chromium.
  5. 5 Check valence, period, group, and block: The lower rows show valence electron count, period, IUPAC group, and s/p/d/f block, so the same result doubles as a periodic-table lookup.
  6. 6 Reset for the next element: Click Reset to restore Z = 11 before moving to the next atomic number in a problem set.

If your problem set gives the atomic number of an unknown transition metal and asks for both the shorthand configuration and the IUPAC group, type Z = 26 for iron and read [Ar] 4s² 3d⁶ from the shorthand row plus period 4, group 8, d-block from the summary rows.

When the same element appears as several isotopes, the Average Atomic Mass Calculator takes each isotope mass and natural abundance and returns the weighted atomic weight for the periodic table.

Benefits of Using This Calculator

The electron configuration calculator delivers five practical benefits over working the Madelung order by hand or flipping through a textbook appendix.

  • Standardized output: Both the full orbital notation and the noble gas shorthand appear together, so you can copy whichever form your instructor asks for.
  • Exception-safe results: Documented exceptions for Cr, Cu, Nb, Mo, Pd, Ag, Pt, and Au are baked in, so transition-metal homework never produces a wrong ground-state configuration.
  • Periodic-table context: Period, IUPAC group, and block are returned with every element so you can place it on the table without a separate lookup.
  • Valence electron readout: The valence electron count follows chemistry rules: outermost shell for s- and p-block, plus (n - 1)d for d-block, plus (n - 2)f for lanthanides and actinides, so you can use it to predict common charges.
  • Speed for the whole periodic table: Type any atomic number from 1 to 118 and read the answer in under a second, with no need to memorize the Madelung diagram or the noble-gas order.

These benefits scale with how often you write electron configurations. For a single homework problem you can do the work on paper and still learn the Madelung order; for a problem set of twenty unknown elements, the calculator returns the same answer in less time and removes the arithmetic mistakes that creep in when filling subshells by hand. The result panel also doubles as a quick periodic-table lookup because period, group, and block are part of every output.

Factors That Affect Your Results

Four factors affect the configuration the calculator returns, and two limitations tell you where it stops matching more elaborate models.

Atomic number Z

The only input. Z = 1 gives hydrogen; Z = 118 gives oganesson. Anything outside 1 to 118 is rejected with an inline error.

Aufbau (Madelung) n + l rule

The default filling order. Subshells fill in order of increasing (n + l), breaking ties by lower n first.

Documented exceptions

Cr (Z = 24), Cu (29), Nb (41), Mo (42), Pd (46), Ag (47), Pt (78), and Au (79) move one s electron into d so half-filled and fully-filled d subshells are reached.

Neutral atom assumption

The calculator returns the configuration of the neutral atom in its ground state. Ions and excited states need a separate calculation.

  • Ion configurations are not included. For the sodium cation Na⁺, subtract one electron from the outermost shell (3s⁰) because the 3s electron leaves first.
  • Only the documented Aufbau exceptions are applied. Elements such as La, Ce, Gd, and several actinides have disputed ground-state configurations across sources, so the calculator uses the standard Madelung fill for those.

The Madelung rule is a useful shortcut that gives the right ground-state configuration for almost every element, but it is a rule of thumb, not a derivation. For neutral atoms in their ground state the rule plus the eight documented exceptions covers every general-chemistry and inorganic-chemistry problem. For ions and excited states the Aufbau order shifts because electrons are removed from or promoted into different subshells, so the calculator stays in the neutral-atom regime on purpose.

According to LibreTexts (Brown et al., Chemistry: The Central Science), the Aufbau principle fills subshells in order of increasing n + l with subshell capacities of 2, 6, 10, and 14 for s, p, d, and f, and the documented Cr and Cu exceptions shift one 4s electron into 3d to reach a half-filled or fully-filled d subshell.

When balancing a redox or combustion reaction next, the Chemical Equation Balancer Calculator uses the same atomic numbers to work out the whole-number stoichiometric coefficients from a skeleton equation.

Electron configuration calculator showing full orbital notation, noble gas shorthand, valence electron count, period, group, and block outputs
Electron configuration calculator showing full orbital notation, noble gas shorthand, valence electron count, period, group, and block outputs

Frequently Asked Questions

Q: What does the electron configuration calculator do?

A: It takes an atomic number from 1 to 118 and returns the full orbital notation (1s² 2s² 2p⁶ 3s¹), the noble gas shorthand ([Ne] 3s¹), the valence electron count, the period, the IUPAC group, and the s/p/d/f block, all from one Aufbau (Madelung) pass with the documented exceptions applied.

Q: How do you write an electron configuration using the Aufbau principle?

A: List the subshells in Madelung (n + l) order, 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p, then add up to 2, 6, 10, or 14 electrons to each s, p, d, or f subshell until you reach the atomic number. The Madelung order keeps every subshell filled in increasing energy for a neutral ground-state atom.

Q: What is the noble gas shorthand notation?

A: Noble gas shorthand writes the bracketed symbol of the noble gas that comes just before the element in the periodic table, then lists only the subshells beyond that core. Sodium (Z = 11) becomes [Ne] 3s¹ instead of 1s² 2s² 2p⁶ 3s¹, and iodine (Z = 53) becomes [Kr] 5s² 4d¹⁰ 5p⁵ with the krypton core hidden.

Q: Why do chromium and copper have unusual electron configurations?

A: Cr and Cu borrow a 4s electron into the 3d subshell because a half-filled 3d⁵ or fully-filled 3d¹⁰ subshell lowers the total energy of the atom. The standard Madelung order would give [Ar] 4s² 3d⁴ for Cr and [Ar] 4s² 3d⁹ for Cu, while the ground state is [Ar] 4s¹ 3d⁵ for Cr and [Ar] 4s¹ 3d¹⁰ for Cu.

Q: How do you count valence electrons for transition metals?

A: For transition metals, count the ns electrons plus the (n - 1)d electrons in the outermost two shells. Iron [Ar] 4s² 3d⁶ has 2 + 6 = 8 valence electrons, which is why iron commonly forms Fe²⁺ (loses 4s) and Fe³⁺ (loses 4s and one 3d). For main-group elements, count only the electrons in the highest principal quantum number shell.

Q: What is the difference between s, p, d, and f blocks?

A: The four blocks are defined by which subshell the element is filling in its ground state. The s block (groups 1-2) holds up to 2 electrons per shell, the p block (groups 13-18) holds up to 6, the d block (groups 3-12 transition metals) holds up to 10, and the f block (lanthanides and actinides) holds up to 14. Block determines the valence orbital set the element uses in bonding.