Electron Configuration Calculator

Use this electron configuration calculator to build the full electronic configuration and shorthand notation for an element or a simple ion.

--

Run the calculator.

Quick Answer: Electron configurations are filled by orbital energy order using the Aufbau principle, while cations are formed by removing electrons from the highest principal shell first.

What This Electron Configuration Calculator Helps You Do

This page gives you the practical output most people want from electron-configuration work: full notation, noble-gas shorthand, total electron count, and a quick valence-electron estimate. That covers coursework, periodic-trend checks, and many simple ion problems on one page.

The calculation logic also handles common cation removal behavior, so the result is more useful than a neutral-atom-only orbital filler.

How to Calculate Electron Configuration Calculator

  1. Enter atomic number and charge: Use the atomic number for the neutral element and then apply a positive or negative charge if you want an ion.
  2. Fill or remove electrons: Neutral and anionic cases are filled by Aufbau order, while cations remove electrons from the outermost shell first.
  3. Read the configuration: The calculator reports both the full orbital sequence and the noble-gas shorthand notation.
  4. Use the result with chemistry context: Electron configuration helps you reason about valence electrons, bonding, periodic trends, and the stability of ions.

Electron Configuration Calculator Formula

Electrons are assigned in the order 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p with orbital capacities s=2, p=6, d=10, f=14
Variable Meaning Unit
Z Atomic number count
charge Ionic charge, positive for cations and negative for anions count
e− Total electrons after charge is applied count
valence Electrons in the highest principal shell count

Use the worked examples below to check how the formula behaves with real values. If the result looks unexpected, verify the unit assumptions and the meaning of each variable before interpreting the answer.

Worked Examples

Neutral atom - Oxygen
  • Atomic number: 8
  • Charge: 0

Result: 1s2 2s2 2p4; shorthand [He] 2s2 2p4.

Oxygen has six valence electrons in the n=2 shell.

Cation - Iron(II)
  • Atomic number: 26
  • Charge: +2

Result: 1s2 2s2 2p6 3s2 3p6 3d6; shorthand [Ar] 3d6.

The 4s electrons are removed before 3d for this common cation case.

Anion - Chloride
  • Atomic number: 17
  • Charge: -1

Result: 1s2 2s2 2p6 3s2 3p6; shorthand [Ar].

Adding one electron completes the outer shell and gives the argon configuration.

Neutral atom - Calcium
  • Atomic number: 20
  • Charge: 0

Result: 1s2 2s2 2p6 3s2 3p6 4s2; shorthand [Ar] 4s2.

Calcium has two electrons in its highest principal shell.

How to Interpret Your Results

Range Meaning Action
Valence shell full A noble-gas-like outer shell is present. Expect increased stability or low reactivity for that electron arrangement.
Partially filled outer shell The atom or ion retains available bonding capacity. Use the valence count with periodic-group context for bonding predictions.
Transition-metal cation d electrons may remain after outer-shell removal. Check cation behavior carefully because electron removal order matters.

Frequently Asked Questions

It is the distribution of an atom's electrons among orbitals ordered by energy and shell structure.

Adjust the electron count by the ionic charge, then remove electrons from the highest principal shell first for cations.

They are the electrons in the outermost principal shell and often play the biggest role in bonding and reactivity.

A few neutral atoms are stabilized by half-filled or filled subshell patterns, so their observed configurations can differ slightly from the simplest Aufbau order.
Note: This page follows standard filling rules with common neutral-atom exceptions. Very advanced excited-state or coordination-chemistry cases can require a more specialized treatment.

References

Last reviewed: March 2026