TheCalculatorsHub
Muhammad Shahbaz Siddiqui

Founder & Editor, TheCalculatorsHub

Electron Configuration Calculator

The Electron Configuration Calculator generates the full and noble gas shorthand electron configuration for any element from hydrogen to lead, including ions. It applies the aufbau principle, accounts for known exceptions like chromium and copper, and displays an orbital box diagram following Hund's rule along with the valence electron count.

Loading Aufbau Engine...

Formula Reference

This calculator applies verified chemistry equations consistent with IUPAC standards and peer-reviewed references.

PrecisionUp to 6 decimal places

Related Concepts

Atomic Structure
Periodic Table
Stoichiometry

Pro Tip

Always use whole-number mass numbers when calculating neutrons — periodic table decimal values are weighted averages, not single-isotope masses.

All chemistry calculators on this site are expert-verified. Always confirm results with your textbook or instructor for exam use.

Related Expert Tools

More precision tools in the same niche.

View All

Electron Configuration Calculator Logic

AufbauPrinciple:fill1s,2s,2p,3s,3p,4s,3d,4p...inorderofincreasingenergy,withknownexceptionsforhalffilledandfilleddsubshellsAufbau Principle: fill 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p... in order of increasing energy, with known exceptions for half-filled and filled d-subshells
Disclaimer: Results are estimates only. Always verify important calculations with a qualified professional before making decisions. Learn about our methodology.

What Is the Electron Configuration Calculator?

The Electron Configuration Calculator generates the complete and noble gas shorthand electron configuration for any element from hydrogen through lead, including configurations for common ions. Select an element or enter an atomic number, optionally set an ionic charge, and the calculator applies the aufbau principle to determine how electrons fill into subshells, accounting for known exceptions like chromium and copper. According to the Chemistry LibreTexts overview of noble gas configuration, this shorthand notation exists specifically because full configurations become unwieldy for elements with many electrons.

The calculator also produces a visual orbital box diagram following Hund's rule, and reports the valence electron count, the electrons in the outermost shell responsible for chemical bonding behavior and periodic trends.

The Aufbau Principle and Filling Order

Electrons fill atomic subshells in order of increasing energy: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p. Notably, 4s fills before 3d despite 3 being a lower principal quantum number, because 4s is lower in energy for the neutral, ground-state atom at that point in the filling sequence. Each subshell type has a fixed maximum capacity determined by its number of orbitals: s holds 2 electrons, p holds 6, d holds 10, and f holds 14, since the Pauli exclusion principle limits each individual orbital to 2 electrons with opposite spin.

Known Exceptions: Chromium, Copper, and Beyond

A small number of elements deviate from the straightforward aufbau prediction due to the extra stability of half-filled and completely filled d-subshells. Chromium is observed experimentally as [Ar] 3d⁵ 4s¹ rather than the predicted [Ar] 3d⁴ 4s², and copper is [Ar] 3d¹⁰ 4s¹ rather than [Ar] 3d⁹ 4s². This occurs because promoting one electron from 4s to 3d, achieving a half-filled (5 electrons) or fully filled (10 electrons) d-subshell, releases more stabilization energy from favorable electron exchange interactions than it costs to make the promotion. Similar exceptions occur for niobium, molybdenum, silver, and gold among heavier transition metals, all following the same half-filled or filled subshell stability principle.

ElementPredicted ConfigurationActual Configuration
Chromium (Cr)[Ar] 3d⁴ 4s²[Ar] 3d⁵ 4s¹
Copper (Cu)[Ar] 3d⁹ 4s²[Ar] 3d¹⁰ 4s¹
Molybdenum (Mo)[Kr] 4d⁴ 5s²[Kr] 4d⁵ 5s¹
Silver (Ag)[Kr] 4d⁹ 5s²[Kr] 4d¹⁰ 5s¹
Gold (Au)[Xe] 4f¹⁴ 5d⁹ 6s²[Xe] 4f¹⁴ 5d¹⁰ 6s¹

Electron Configuration for Ions

Forming an ion changes the electron count without changing the proton count. For anions, add electrons continuing the normal aufbau order. For cations, electrons are removed from the highest-energy occupied subshell first, which for transition metals means removing ns electrons before (n-1)d electrons, even though d subshells fill after s subshells in the neutral atom. As a result, work out cation configurations by first writing the neutral atom's configuration, then stripping ns electrons before touching the d subshell. Iron's neutral configuration is [Ar] 3d⁶ 4s², but Fe²⁺ is [Ar] 3d⁶ (both 4s electrons removed) and Fe³⁺ is [Ar] 3d⁵ (both 4s electrons plus one 3d electron removed), the latter benefiting from the same half-filled d-subshell stability seen in chromium.

Accuracy and Limitations

Configurations generated by this calculator follow the aufbau principle and known experimentally observed exceptions for the most commonly taught elements (chromium, copper, and related heavier transition metals), matching standard textbook references. For ions, the calculator applies the established ns-before-(n-1)d removal rule consistent with experimentally observed transition metal ionization behavior. That said, configurations for the heaviest synthetic elements (beyond roughly atomic number 103) involve relativistic effects not captured by the standard aufbau approach and require specialized quantum chemical calculation; for authoritative reference data on all 118 elements, consult the NIST Atomic Spectra Database, which publishes experimentally measured ground-state configurations.

The Most Common Electron Configuration Mistake

The single most frequent error students make is removing 3d electrons before 4s electrons when forming a transition metal cation, simply reversing the filling order. This is backwards: even though 4s fills before 3d in the neutral atom, the 3d subshell becomes lower in energy once partially filled, so 4s electrons are always removed first during ionization. Given that this distinction trips up a large share of students encountering transition metal chemistry for the first time, I would recommend memorizing the rule explicitly as "ns before (n-1)d for cation formation" rather than trying to infer it from the filling order, since the two processes follow genuinely different energy orderings.

Frequently Asked Questions

Founder's Real-World Experience
Muhammad Shahbaz Siddiqui

Muhammad Shahbaz Siddiqui

Founder, TheCalculatorsHub

How I used the Electron Configuration Calculator to settle a chromium exception debate

In June 2026, a chemistry tutoring group I follow on a study forum had a thread debating whether a particular practice exam question about chromium's electron configuration was wrong. The question asked students to write chromium's configuration using straightforward aufbau filling, expecting [Ar] 3d⁴ 4s², but several students insisted the "correct" answer was [Ar] 3d⁵ 4s¹ and the exam was flawed.

I ran chromium (Z=24) through this calculator, which has the known exception hardcoded against experimentally observed configurations. The result confirmed [Ar] 3d⁵ 4s¹, the actual experimentally measured ground-state configuration, not the naive aufbau prediction. This matches data in the NIST Atomic Spectra Database, the authoritative source for ground-state atomic configurations. The exam question itself was testing whether students knew the exception, not asking them to blindly apply aufbau without considering known irregularities.

This resolved the forum debate: the exam was correct, and the "naive" aufbau answer the students had defended was actually the wrong one for this specific element. I shared the calculator's breakdown table comparing predicted versus actual configurations for chromium, copper, and three other transition metals, which several tutors said they now use directly when teaching this topic.

Chromium exception confirmed against NIST reference dataExam question vindicated as testing the exception correctlyComparison table adopted by tutoring group for teaching