Formal Charge Calculator

Calculate formal charge on any atom in a Lewis structure from valence electrons, lone pairs, and bonds.

O=6, N=5, C=4, H=1
Count individual electrons
Please check your inputs and try again.

What Formal Charge Is For

Formal charge answers one question: if every bond were split perfectly evenly, how many electrons would this atom own compared with a free atom of that element? It is a bookkeeping device, not a measurement. No atom in a real molecule carries the whole-number charge that formal charge assigns.

The point is comparison. When a molecule can be drawn several ways, formal charge tells you which Lewis structure is the better representation. The rule is that structures minimising formal charge — and placing any negative charge on the more electronegative atom — contribute most to the true bonding picture.

FC = valence electrons − non-bonding electrons − number of bonds

The last term is the number of bonds rather than bonding electrons, because splitting each bond evenly gives the atom one electron from each. A double bond therefore counts as two.

TermWhere it comes fromExample: O in water
Valence electronsGroup number in the periodic table6, oxygen is group 16
Non-bonding electronsCount the dots — each lone pair is 24, two lone pairs
Number of bondsCount lines, double = 2, triple = 32, two O–H single bonds
Formal charge6 − 4 − 20, neutral

Two checks are worth remembering. The formal charges across a molecule must sum to the overall charge on the species — zero for a neutral molecule, −1 for an anion like nitrate. And formal charge is not oxidation state: formal charge splits bonds evenly, while oxidation state assigns both electrons to the more electronegative atom. Oxygen in water has formal charge 0 but oxidation state −2.

Worked Examples

Example 1: Oxygen in water: VE=6, NB=4, bonds=2
FC=6-4-2
Result: FC=0 neutral
Preferred Lewis structure
Example 2: N in NO3- double bond: VE=5, NB=0, bonds=4
FC=5-0-4
Result: FC=+1
Balanced by negative oxygens
Example 3: Each oxygen in nitrate NO3-
Singly bonded O: VE=6, NB=6, bonds=1 → FC = 6 − 6 − 1
Result: FC = −1 on each single-bonded oxygen
With N at +1 and two oxygens at −1 and one at 0, the charges sum to −1 — matching the ion's overall charge.
Example 4: Carbon in carbon monoxide CO
VE=4, NB=2, bonds=3 → FC = 4 − 2 − 3
Result: FC = −1 on carbon, +1 on oxygen
An unusual case: the triple bond puts negative formal charge on the less electronegative atom, which is part of why CO is such a reactive ligand.
Example 5: Nitrogen in ammonium NH4+
VE=5, NB=0, bonds=4 → FC = 5 − 0 − 4
Result: FC = +1
Four bonds and no lone pair leaves nitrogen one electron short of its neutral count, giving the ion its positive charge.

Common Mistakes

⚠️
Counting bonding electrons instead of bonds

The formula subtracts the number of bonds, not the electrons in them. An atom with two single bonds subtracts 2, not 4.

⚠️
Confusing formal charge with oxidation state

Formal charge splits each bond evenly; oxidation state gives both electrons to the more electronegative atom. Carbon in methane has formal charge 0 but oxidation state −4.

⚠️
Forgetting the charges must sum correctly

Formal charges across all atoms must total the overall charge on the species. If your nitrate ion does not sum to −1, the Lewis structure is wrong.

⚠️
Assuming formal charge is a real charge

It is a bookkeeping construct assuming perfectly even bond sharing. Actual charge distribution depends on electronegativity and is never a whole number.

Frequently Asked Questions

Formal charge vs oxidation state?
Formal charge: equal sharing of bonding electrons. Oxidation state: electronegative atom gets all. Both are bookkeeping tools, not real charges.
Why minimize formal charge?
Structures with formal charges closer to zero are more stable and better represent the actual electron distribution.
What is the formal charge formula?
Valence electrons minus non-bonding electrons minus the number of bonds. Note that it is the count of bonds, not bonding electrons.
How is formal charge different from oxidation state?
Formal charge assumes bonds are split evenly between atoms. Oxidation state assigns both bonding electrons to the more electronegative atom. They frequently differ.
Why do chemists minimise formal charge?
Structures with formal charges closest to zero are generally lower in energy and contribute most to the real bonding picture, so they are the better Lewis structures.
Do formal charges have to sum to zero?
Only for neutral molecules. For an ion, they must sum to the ion's overall charge — a useful check that your Lewis structure is correct.
Is formal charge a real physical charge?
No. It is a bookkeeping tool based on an artificial assumption of even sharing. Real charge distribution is continuous and depends on electronegativity differences.

Formula Explorer connections

Interpretation: This relationship uses electronic structure, bonding or molecular geometry to predict a chemical property or structural descriptor. Assumption: The model may be an approximation; resonance, solvent, coordination environment, conformation and experimental conditions can affect real molecules.

Hybridization Calculator →Ionization Energy Calculator →Solvent Polarity Index Calculator →Chemistry Formula Explorer →