My Calculator

Electron Configuration Finder

Find the full and shorthand electron configuration of any element or ion, with an orbital diagram, shell breakdown, and full step-by-step reasoning.

Atomic Structure1s → 2s → 2p → 3s…

Leave at 0 for a neutral atom. Use a positive number for a cation (e.g. 2 for Fe²⁺) or a negative number for an anion (e.g. -2 for O²⁻).

Result

26Fe

Iron

Atomic number 26 · 26 electrons · 55.845 g/mol

Full electron configuration

1s22s22p63s23p63d64s2

Noble gas shorthand

[Ar] 3d64s2

Block

d

Period

4

Group

8

Valence e⁻

2

Total e⁻

26

Type

d-block (transition metal)

Orbital Diagram (Hund's Rule)

The [Ar] core is completely filled. Boxes below show the remaining orbitals — each one gets a single (up-arrow) electron before any orbital gets a second (paired, down-arrow) electron.

3d
↑↓
4s
↑↓

Electrons per Shell

The classic Bohr-model shell picture for Iron — shells are labeled by principal quantum number (and the traditional K, L, M… letters).

Step-by-Step Solution

Exactly how the configuration above was built, one rule at a time.

Given: Iron

  1. Step 1: Find the number of electrons

    The atomic number always equals the number of protons, and a neutral atom has exactly as many electrons as protons.

    Iron (Fe) has atomic number 26, so a neutral atom has 26 electrons.
  2. Step 2: Fill orbitals in Aufbau order

    Electrons fill the lowest-energy orbital available first. This order (the Aufbau / Madelung sequence) is what almost every configuration follows — notice 4s is filled before 3d, which is a common source of confusion.

    1s → 2s → 2p → 3s → 3p → 4s → 3d → 4p → 5s → 4d → 5p → 6s → 4f → 5d → 6p → 7s → 5f → 6d → 7p
  3. Step 3: Add electrons until you reach the atomic number

    Keep filling each subshell to capacity (s holds 2, p holds 6, d holds 10, f holds 14) and move to the next one once it's full, stopping once every electron is placed.

    1s2 2s2 2p6 3s2 3p6 4s2 3d6
  4. Step 4: Write the configuration in standard order

    By convention, the final configuration is written grouped by shell number (n) rather than in the order the electrons were actually added — so 3d is written before 4s even though 4s filled first.

    1s2 2s2 2p6 3s2 3p6 3d6 4s2
  5. Step 5: Shorten it with noble gas notation

    Every subshell up through Ar (atomic number 18) is completely full, so that whole block can be replaced with the noble gas symbol in brackets.

    [Ar] 3d6 4s2

Electron configuration:

1s² 2s² 2p⁶ 3s² 3p⁶ 3d⁶ 4s²

Free Electron Configuration Finder

This electron configuration finder works out the full electron configuration of any element on the periodic table, or any common ion of that element, in a couple of seconds. Type in a symbol, a full element name, or just an atomic number, and it fills the orbitals in the correct order automatically, applies the well-known exceptions that real atoms follow, and shows the result three ways: the full configuration, the shorter noble-gas notation, and an orbital box diagram you can actually look at instead of just reading numbers.

It's built for students working through general chemistry, anyone brushing up before an exam, and teachers who want a quick, reliable way to double-check an answer key. Every result comes with a full explanation of how it was built, not just the final line, so it doubles as a way to actually learn the rules rather than a tool you just copy an answer from.

What Is an Electron Configuration?

An electron configuration is simply a way of writing down where every electron in an atom sits. Electrons don't float around randomly — they fill specific energy levels (shells), sub-levels (subshells, labeled s, p, d, and f), and individual orbitals within those subshells, following a small set of predictable rules.

A configuration like 1s² 2s² 2p⁶ 3s² 3p⁴ is just shorthand for that arrangement. The number in front of each letter is the shell (the principal quantum number, n), the letter is the subshell type, and the small number written above (the superscript) is how many electrons sit in that subshell. Add all the superscripts together and you get the total number of electrons in the atom.

Why Electron Configuration Matters

Electron configuration isn't just something to memorize for a test. It's the reason the periodic table is shaped the way it is, and it directly explains a huge amount of real chemistry.

  • It predicts which group and period an element sits in, just from counting electrons.
  • It explains why some elements are reactive metals and others are unreactive noble gases — a full outer shell is extremely stable, and an almost-full or almost-empty one is not.
  • It tells you how many bonds an atom is likely to form, based on how many valence electrons it has available.
  • It explains why transition metals form colored compounds and multiple different ions, something you can't easily predict just from an element's position on the table alone.
  • It's the starting point for understanding magnetism — unpaired electrons (shown as single up-arrows in an orbital diagram) are what make a substance magnetic.

The Aufbau Principle: The Filling Order Explained

"Aufbau" is the German word for "building up," and the Aufbau principle simply says that electrons fill the lowest-energy orbital available first, moving up only once a lower one is full. In practice, that gives this fixed order:

  • 1s → 2s → 2p → 3s → 3p → 4s → 3d → 4p → 5s → 4d → 5p → 6s → 4f → 5d → 6p → 7s → 5f → 6d → 7p
  • Each subshell type has a fixed capacity: an s subshell holds up to 2 electrons, a p subshell holds up to 6, a d subshell holds up to 10, and an f subshell holds up to 14.
  • The order above isn't sorted by shell number alone — notice that 4s comes before 3d. That single detail trips up more students than anything else in this topic, and it's exactly why so many people search for a calculator instead of writing configurations by hand.

How to Find an Electron Configuration by Hand

Working one out yourself always comes down to the same three moves, and this finder follows them in exactly this order:

  • Step 1 — Find the atom's total electron count. For a neutral atom, this is just the atomic number. For an ion, add electrons for a negative charge or remove them for a positive charge.
  • Step 2 — Fill subshells in Aufbau order, giving each one its full capacity, until every electron has a home. The last subshell you touch may end up only partly filled — that's expected and normal.
  • Step 3 — Rewrite the result in standard order, grouped by shell number rather than by the order you actually filled things in. This is why a finished configuration for iron is written 1s² 2s² 2p⁶ 3s² 3p⁶ 3d⁶ 4s², with 3d appearing before 4s, even though 4s was filled first.

Noble Gas (Shorthand) Configuration

Writing out every single electron gets long fast for a heavier element — uranium's full configuration runs to nineteen separate terms. Noble gas shorthand fixes this by replacing every completely filled inner shell with the symbol of the noble gas that has exactly that many electrons, written in square brackets.

For example, sodium's full configuration is 1s² 2s² 2p⁶ 3s¹. The first ten electrons exactly match neon (1s² 2s² 2p⁶), so sodium's shorthand configuration is simply [Ne] 3s¹. This finder builds the shorthand version automatically for every element and ion, picking the largest noble gas that actually fits.

Electron Configuration of Ions: What Changes

Turning a neutral atom into an ion means adding or removing electrons, and the rule for which electrons move is different depending on the direction.

For an anion (a negative ion), extra electrons simply continue filling in the normal Aufbau order — an anion ends up isoelectronic with (having the exact same configuration as) whichever noble gas or element has that same electron count. Chloride, Cl⁻, for instance, has 18 electrons, exactly matching neutral argon.

For a cation (a positive ion), electrons are removed from the highest shell number (n) first, and within a tied shell, from the highest-energy subshell first. This matters most for transition metals: iron's neutral configuration ends in 3d⁶ 4s², but forming Fe²⁺ removes both 4s electrons first, not the 3d ones — even though 4s filled before 3d in the first place. That's why Fe²⁺ ends up as [Ar] 3d⁶, not [Ar] 3d⁴ 4s².

Exceptions to the Aufbau Principle

A handful of elements don't follow the plain Aufbau order exactly, because a half-filled or completely filled d (or f) subshell is unusually stable — stable enough that an atom "prefers" to borrow one electron from the neighboring s subshell to reach it.

The two exceptions covered in almost every general chemistry course are chromium and copper. Plain Aufbau filling would predict chromium as [Ar] 3d⁴ 4s², but the real, experimentally measured configuration is [Ar] 3d⁵ 4s¹ — a half-full d subshell instead. Copper follows the same pattern: not [Ar] 3d⁹ 4s², but [Ar] 3d¹⁰ 4s¹, trading one 4s electron for a completely full d subshell.

Similar shifts show up further down the periodic table too — among others, niobium, molybdenum, ruthenium, rhodium, palladium, silver, platinum, and gold all deviate from plain Aufbau in the same spirit, and several lanthanides and actinides (lanthanum, cerium, gadolinium, and a run of the early actinides) do as well. This finder has all of these built in, so the result you get always matches the real, measured configuration rather than the simplified textbook prediction.

Orbital Diagrams and Hund's Rule

An orbital diagram is a more detailed picture than a plain configuration — instead of just a count per subshell, it draws one box per orbital and one arrow per electron, so you can see exactly how electrons are arranged, not just how many there are.

Hund's rule governs how that filling happens: every orbital in a subshell gets one electron (drawn as a single up-arrow) before any orbital gets a second, paired electron (drawn as a down-arrow alongside the first). Electrons behave this way because two electrons in separate orbitals repel each other less than two electrons crammed into the same orbital.

This is exactly why oxygen, with four electrons in its 2p subshell, ends up with two unpaired electrons rather than two full pairs and one empty orbital — and why that makes oxygen gas paramagnetic (weakly attracted to a magnetic field), something you can actually demonstrate in a lab.

Valence Electrons, Block, Period, and Group

The valence electrons are the ones in the outermost occupied shell — they're the electrons directly involved in bonding, and they're what largely determines an element's chemistry. This finder reports them alongside every result.

The block (s, p, d, or f) simply tells you which type of subshell was filled last for the neutral atom, and it lines up exactly with the four regions of the periodic table. The period is the atom's highest occupied shell number, matching the row it sits in. The group is trickier to work out by hand for the d-block, but follows directly from the configuration: for s-block and p-block elements it comes straight from the valence electron count, and for d-block elements it comes from adding the (n-1)d electrons to the ns electrons.

How to Use This Electron Configuration Finder

Type an element into the search box — a symbol like Fe, a full name like Iron, or just the atomic number 26 all work identically, and a dropdown of matching elements appears as you type.

Leave the ion charge at 0 for a neutral atom, or set it to a positive number for a cation (2 for Fe²⁺) or a negative number for an anion (-2 for O²⁻). The result updates instantly, along with the orbital diagram, the shell breakdown chart, and the full step-by-step explanation underneath.

The quick example buttons above the input are a fast way to jump straight to some of the most commonly asked-about elements and ions, including the classic Aufbau exceptions.

Common Mistakes When Writing Electron Configurations

The single most common mistake is forgetting that 4s fills before 3d but is written after it — mixing up the fill order with the write order leads straight to an incorrect-looking (though sometimes still numerically valid) configuration.

The second most common mistake is forming a transition metal cation by removing d electrons instead of s electrons — for example, writing Fe²⁺ as [Ar] 3d⁴ 4s² instead of the correct [Ar] 3d⁶. A third frequent slip is simply forgetting the handful of Aufbau exceptions and writing chromium or copper with the "expected" but incorrect configuration.

Real-World Uses of Electron Configuration

Electron configuration isn't confined to a chemistry classroom — it explains and predicts a surprising amount of everyday and industrial chemistry.

  • Metallurgy and materials science — the configuration of a transition metal's d electrons explains why some metals are magnetic, why others form colored alloys, and how catalysts like platinum and palladium work.
  • Semiconductor manufacturing — the valence electron count of silicon and its dopants (like phosphorus and boron) is the entire basis of how transistors and computer chips function.
  • Chemical bonding and drug design — predicting how a molecule will bond, and to what, starts with knowing how many valence electrons each atom brings to the table.
  • Spectroscopy — the specific pattern of light an element absorbs or emits (used in everything from fireworks to identifying elements in distant stars) comes directly from electrons moving between the energy levels described by its configuration.
  • Battery and fuel cell chemistry — the different oxidation states a transition metal can reach, and therefore how useful it is in a battery electrode, trace straight back to its electron configuration.

Frequently Asked Questions

What is the electron configuration of iron (Fe)?

Iron's full configuration is 1s² 2s² 2p⁶ 3s² 3p⁶ 3d⁶ 4s², or [Ar] 3d⁶ 4s² in noble gas shorthand. It has 26 electrons total, matching its atomic number.

How do you write the electron configuration of an ion?

First adjust the electron count — subtract electrons for a positive charge or add them for a negative charge — then fill or empty orbitals using the correct rule for that direction. Anions simply continue filling in normal Aufbau order. Cations remove electrons from the highest shell number first (so transition metals lose ns electrons before (n-1)d electrons), not necessarily the last electrons that were added.

Why does 3d come after 4s in a written configuration, even though 4s fills first?

Two different things are going on: the Aufbau principle governs the order electrons are added in (4s before 3d, because 4s is briefly the lower-energy option in a partially-filled atom), while the written, standard-order configuration is grouped by shell number (n) instead, which puts 3d before 4s. Both are correct — they're just answering different questions.

Why are chromium and copper exceptions to the Aufbau principle?

A half-filled (5 electrons) or completely filled (10 electrons) d subshell is unusually stable. Chromium reaches a half-filled 3d⁵ by moving one electron over from 4s, giving [Ar] 3d⁵ 4s¹ instead of the "expected" [Ar] 3d⁴ 4s². Copper does the same to reach a full 3d¹⁰, giving [Ar] 3d¹⁰ 4s¹ instead of [Ar] 3d⁹ 4s².

What are valence electrons, and how many does an element have?

Valence electrons are the electrons in an atom's outermost occupied shell — the ones directly involved in chemical bonding. This finder reports the count for whichever element or ion you enter; for most main-group elements it matches the element's group number.

What does an orbital diagram show that a plain configuration doesn't?

A plain configuration only tells you how many electrons are in each subshell. An orbital diagram breaks that down further into individual orbitals and shows exactly how the electrons are arranged among them, following Hund's rule — which lets you see at a glance how many electrons are unpaired.

How do you find the noble gas (shorthand) configuration?

Find the largest noble gas with fewer electrons than your element or ion, confirm every one of its subshells is completely full in your element's configuration, write that noble gas symbol in square brackets, and then list only the remaining subshells after it.

Can this calculator handle ions of transition metals, like Fe³⁺ or Cu²⁺?

Yes. Set the ion charge to a positive number and the electrons are removed using the correct rule for a cation — highest shell number first — which correctly produces results like Fe³⁺ = [Ar] 3d⁵ and Cu²⁺ = [Ar] 3d⁹.