18 Electron Rule Calculator
Ferrocene lands on exactly 18 electrons. Iron in the +2 state carries 6 d electrons, and two Cp rings donate 12 more, so 6 + 12 = 18. Vaska's complex counts 16 instead, which is the normal, stable total for square planar d8 metals such as Ir(I) and Pt(II).
| Total valence electrons | |
| Group number of the metal | |
| Oxidation state | |
| d electrons on the metal | |
| Electrons from ligands and extra bonds | |
| Gap to the 18 electron line | |
| Read on the count | |
The count uses the ionic method: d electrons are the group number minus the oxidation state, and each ligand row adds the donation shown. Square planar d8 metals are often stable at 16, and early metals often sit below 18. All calculations run in your browser and no data is uploaded.
Count the valence electrons at a transition metal center: pick the metal and oxidation state, add your ligands, and see the total against the 18 electron line.
Key takeaways
- The total is the d electron count plus the ligand donation, and the d count equals the metal's group number minus its oxidation state
- Ferrocene counts 6 d electrons from Fe(II) plus 6 electrons from each of two Cp rings, and 6 + 12 = 18
- Ni(CO)4 counts 10 + 8 = 18, Fe(CO)5 counts 8 + 10 = 18, and Cr(CO)6 counts 6 + 12 = 18
- CO, hydride, halide and alkyl ligands each donate 2 electrons, Cp donates 6, an eta3 allyl donates 4, and a full arene ring donates 6
- Square planar d8 complexes of palladium(II), platinum(II), rhodium(I) and iridium(I) are stable at 16 electrons
- The ionic and neutral counting methods assign electrons differently but always land on the same total
On this page
What the 18 electron rule says
The 18 electron rule is chemistry's version of the octet rule, aimed at transition metals. A main group atom like carbon is happiest with 8 electrons in its outer shell. A transition metal has room for 18, because its outer shell holds five d orbitals, three p orbitals and one s orbital, and each orbital holds 2 electrons. That is 9 orbitals times 2, which gives 18. A metal that reaches 18 has filled every bonding and nonbonding slot in its valence shell, the way a noble gas does.
The rule is a guide, not a law. Thousands of stable complexes hit 18 exactly, especially metal carbonyls and other organometallic compounds with strong accepting ligands. Plenty of others are stable above or below it, the way boron compounds are stable with 6 electrons. Chemists still use the count every day because it predicts behavior: a complex sitting below 18 is usually hungry for another ligand, while one above 18 will often kick a ligand off or carry unusual radical character. The LibreTexts chapter on the 18 electron rule calls the sub 18 case coordinatively unsaturated, which is the formal name for that hunger.
Counting electrons by hand is a two step job: work out how many electrons the metal itself brings, then add what each ligand donates. The calculator above does both steps from four or five inputs. The sections below walk through each input so the numbers on screen stop being a black box.
Counting the metal: groups, oxidation states and d electrons
A transition metal's contribution is called its d electron count, and there is a shortcut that avoids electron configurations entirely. Take the metal's group number in the periodic table, subtract the oxidation state, and the result is the number of d electrons. Iron sits in group 8, so Fe(0) brings 8, Fe(II) brings 6, and Fe(III) brings 5. A higher positive charge strips more electrons away, which is exactly what oxidation means.
Ferrocene shows the whole method. The formula Fe(C5H5)2 hides a split into charged pieces: each C5H5 ring is a Cp anion with a charge of minus 1, so two of them balance iron at plus 2. Iron in group 8 minus 2 gives 6 d electrons. Each Cp ring donates 6 electrons, two rings donate 12, and the total is 6 + 12 = 18. That perfect score is a large part of why ferrocene is famously unreactive and air stable.
Watch what oxidation state does to the answer. Take the same metal with different partners: nickel in group 10 with zero charge brings 10 electrons, and four CO ligands bring 8 more, so Ni(CO)4 counts 10 + 8 = 18. If nickel were somehow in the +2 state with four neutral CO ligands, the count would drop to 16, and such a species would be a cation with a different formula. The lesson is to fix the charges first, because the oxidation state is the input that moves the metal's contribution the most.
What each ligand brings to the count
Ligands donate electrons to the metal, and the donation depends on the ligand type, not on guesses. The table lists the donors that cover most textbook and lab complexes, counted the ionic way, where anionic ligands are treated as closed shell ions.
| Ligand | Example | Electrons donated |
|---|---|---|
| Carbonyl | CO | 2 |
| Phosphine or amine | PPh3, NH3 | 2 |
| Water, alcohol, nitrile | H2O, CH3CN | 2 |
| Alkene, eta2 bound | ethylene | 2 |
| Hydride | H, as H minus | 2 |
| Halide, alkyl, aryl | Cl, CH3, Ph | 2 |
| Eta3 allyl anion | C3H5, as anion | 4 |
| Cyclopentadienyl, eta5 | Cp, as Cp minus | 6 |
| Arene, eta6 | benzene | 6 |
| Nitrosyl, linear | NO, as NO plus | 2 |
Three patterns make the table easy to remember. Neutral molecules with a lone pair, like CO or ammonia, donate 2. Anions that bind through one atom, like chloride or methyl, also donate 2, because their lone pair is what they bring. Rings and chains that grip the metal with several carbon atoms at once donate in bigger bites: 4 for an allyl anion, 6 for Cp or a flat arene ring. The hapticity number in front of eta counts the carbons taking part, so an eta5 Cp is a 5 carbon hug worth 6 electrons.
The calculator groups its inputs along these lines rather than by name: type the count of neutral 2 electron donors, anionic 2 electron donors, Cp rings, allyls, arene rings, and then use the extra electrons box for anything unusual, such as a bridging ligand or a metal metal bond, where the convention is 1 electron per bond for each metal.
Four famous counts, worked out
Classics of the organometallic shelf, run through the same arithmetic. Each one takes under a minute by hand and about five seconds in the calculator.
Nickel tetracarbonyl, Ni(CO)4. Nickel is in group 10 with no charge, so 10 d electrons. Four CO ligands at 2 each add 8. The total is 10 + 8 = 18, which is why this toxic liquid is nonetheless a stable, isolable compound.
Iron pentacarbonyl, Fe(CO)5. Iron in group 8 at oxidation state 0 brings 8. Five CO ligands add 10, and 8 + 10 = 18. Every simple mononuclear metal carbonyl that obeys the rule is a small counting puzzle: how many CO ligands does this metal need to reach 18?
Vaska's complex, IrCl(CO)(PPh3)2. The chloride anion pulls iridium to the +1 state, and iridium sits in group 9, so the metal brings 8 d electrons. Chloride, CO and two phosphines donate 2 each, for 8 ligand electrons. The total is 8 + 8 = 16. Two electrons short, and that vacancy is the property that made Vaska's complex famous: it binds oxygen and other small molecules at the open site.
Manganese carbonyl dimer, Mn2(CO)10. A single Mn(CO)5 unit counts 7 + 10 = 17, one electron short, which is an odd number and an unhappy one. Two such units join through a metal metal bond, and each manganese claims 1 electron from that bond, landing both at 18. This is the origin of the dimer, and it shows the rule working in reverse: the formula exists because of the count. The history of the rule at the University of Cincinnati traces how these carbonyls led to the rule in the first place.
When the rule bends
Treating 18 as a hard wall will mislead you about whole families of complexes. The best known exception is the square planar d8 group: palladium(II), platinum(II), rhodium(I) and iridium(I) complexes commonly sit at 16 electrons and are perfectly stable. Vaska's complex from the previous section is the running example. These metals leave one orbital nonbonding instead of filling it, and forcing a fifth ligand on them is usually harder, not easier.
Early transition metals bend the rule from the other side. Metals in groups 3 and 4, like titanium and zirconium, have few d electrons to begin with, and their complexes often count 12 to 16 electrons. Titanocene dichloride, Cp2TiCl2, makes the point in numbers: titanium(IV) sits in group 4, so it carries 0 d electrons, and the count is 0 + 12 + 4 = 16, with the 12 from the two Cp rings and the 4 from the two chlorides. It is a stable commercial catalyst precursor at 16 electrons, and group 3 and 4 chemistry is full of such low counts. The LibreTexts text notes that groups 3, 4 and 10 deviate from the rule most often.
Odd electron species are the third family. Cobaltocene, Cp2Co, counts 7 d electrons from Co(II) plus 12 from the rings, for 19 electrons. That one extra electron makes cobaltocene a strong reducing agent, eager to give the electron away, which is exactly how chemists use it. Seventeen electron radicals show the mirror image hunger. Finally, big metal clusters break the rule because their bonding is shared across many metal centers, so per metal counting stops being meaningful. A count far from 18 is not an error in your arithmetic; it is often the most interesting fact about the compound.
Reading the total: what each number tells you
A count is a starting hypothesis about a compound, not a verdict. The table sums up the readings that come up most often in coursework and in the lab, with one familiar example for each total.
| Total | Example | How to read it |
|---|---|---|
| 18 | Ferrocene, Ni(CO)4, Cr(CO)6 | Filled shell. Expect a stable, often air tolerant compound with little appetite for another ligand |
| 16 | Vaska's complex, Pt(II) square planar salts | Normal for d8 metals in a square planar geometry, and the empty site is where reactions happen |
| 17 | Mn(CO)5, a one electron short fragment | Radical. It dimerizes or grabs a ligand, which is how Mn2(CO)10 forms |
| 19 | Cp2Co, cobaltocene | One electron over. A reducing agent that hands the extra electron to something else |
| 12 | W(CH3)6 | Electron poor, common for early metals with sigma only ligands |
Two habits keep the reading honest. First, check the geometry before you trust the exception: a 16 electron count means one thing in a square planar d8 complex and something else entirely in a tetrahedral one, where the metal may have no room for another ligand. Second, remember that the ligand set sets the ceiling. A metal surrounded by sigma donors that cannot accept electron density back will often stop short of 18 and stay perfectly happy there, while a metal loaded with CO or phosphines has every incentive to reach the full count.
The formula also does useful work before any experiment. If a proposed structure counts 20, one ligand too many is the likely story. If it counts 14 with an open coordination site, a ligand addition or an agostic interaction is worth checking. None of this replaces a real structure determination, but it narrows the guesses quickly, which is why the count survives in textbooks long after the theory behind it became more complicated.
Two counting methods, one answer
Textbooks teach two ways to count, and beginners often panic when the two books on their shelf appear to disagree. They never do, if both are done correctly. The ionic method, used throughout this page, pretends the complex fell apart into ions: ligands like hydride, chloride and Cp get their full negative charge, the metal takes the balancing positive charge, and the metal contributes its group number minus that charge. The neutral or covalent method instead pretends every ligand is a neutral radical fragment: hydride counts as neutral H worth 1 electron, chloride as neutral Cl worth 1, and the metal contributes its full group number.
| Piece | Ionic method | Neutral method |
|---|---|---|
| Metal Fe in Fe(CO)5 | Fe(0), 8 electrons | Fe atom, 8 electrons |
| CO ligand | 2 each | 2 each |
| Total for Fe(CO)5 | 8 + 10 = 18 | 8 + 10 = 18 |
| Metal in ferrocene | Fe(II), 6 electrons | Fe atom, 8 electrons |
| Cp ring | anion, 6 each | neutral radical, 5 each |
| Total for ferrocene | 6 + 12 = 18 | 8 + 10 = 18 |
Ferrocene is the example that makes the difference visible: the ionic method takes 2 electrons from iron and gives each ring 6, while the neutral method leaves iron at 8 and gives each ring 5. Two electrons moved from the metal to the ligands, and the total never budged. This is the general rule: whatever the method takes from the metal it hands to the ligands, so both methods must land on the same number. Pick the one your course or lab uses, stay consistent, and use the other as a cross check when a strange ligand makes you unsure. The calculator follows the ionic method because oxidation states are usually the first thing a chemist assigns anyway, but the total it prints is method independent.
Frequently asked questions
Why is the magic number 18 and not 8?
A transition metal's outer shell has nine orbitals: one s, three p and five d. Each holds 2 electrons, and 9 x 2 = 18. Main group atoms only have the s and p orbitals, which is why the octet rule stops at 8.
How many electrons does ferrocene count?
Exactly 18. Iron in the +2 state has 6 d electrons, and the two Cp rings donate 6 each, so 6 + 12 = 18. Ferrocene is the classic example of a complex that fills every valence orbital.
How many electrons does a CO ligand donate?
2, by either counting method. Carbon monoxide grips the metal with the lone pair on carbon. Four CO ligands donate 8, five donate 10, which is how Ni(CO)4 reaches 10 + 8 = 18 and Fe(CO)5 reaches 8 + 10 = 18.
How many electrons does a Cp ring donate?
6 in the ionic method, where Cp is treated as a minus 1 anion, and 5 in the neutral method, where it is treated as a neutral radical. Two Cp rings therefore give 12 ionic or 10 neutral, and both routes land ferrocene on 18.
Why is Vaska's complex stable with only 16 electrons?
It is a square planar d8 complex: iridium(I) in group 9 carries 8 d electrons, and its four ligands donate 8 more, for 16. Square planar d8 metals like Ir(I), Rh(I), Pd(II) and Pt(II) routinely stop at 16 because one orbital stays empty.
Can a stable complex have 19 electrons?
Yes. Cobaltocene, Cp2Co, counts 7 d electrons from Co(II) plus 12 from the two Cp rings, for 19. That odd electron out makes it a strong reducing agent, and giving the electron away brings cobaltocene back to an 18 electron ferrocene like state.
How do I find the d electron count of a metal?
Take the metal's group number and subtract the oxidation state. Iron is in group 8, so Fe(0) has 8, Fe(II) has 6 and Fe(III) has 5. The trick works for every transition metal in every common oxidation state.
What is the difference between the ionic and neutral counting methods?
The ionic method treats ligands like hydride, chloride and Cp as closed shell ions donating 2 or 6 electrons, with the metal reduced by its oxidation state. The neutral method treats every ligand as a neutral fragment worth 1 or 2 or 5. Done correctly, both methods give the same total.
How does the Mn2(CO)10 dimer reach 18 electrons?
One Mn(CO)5 unit counts 7 + 10 = 17, an odd number. Two units form a metal metal bond, and each manganese counts 1 electron from that bond, bringing both to 18. The dimer exists because of the count, not the other way around.
Does the 18 electron rule apply to main group metals?
No. The rule is built on the nine valence orbitals of d block metals. Main group chemistry runs on the octet rule, and f block metals like the lanthanides are ionic enough that electron counting in this sense rarely applies.
What does it mean if my count is under 18?
Often that the complex is coordinatively unsaturated, meaning it has an open site and will tend to bind another ligand, insert small molecules, or catalyze a reaction at that vacancy. But check the exceptions first, since groups 3 and 4 metals and square planar d8 metals are stable below 18 as a matter of course.
What do I put in the extra electrons box of the calculator?
Anything the fixed rows do not cover: a metal metal bond adds 1 electron per bond for each metal, a bridging carbonyl counts 1 for each metal it bridges, and an eta3 neutral allyl radical would count 3. Enter the total for the metal you are counting.
Spotted a wrong number or a broken result?
More Math tools
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.