Formal charge calculator
V − N − B/2
Calculate an atom’s formal charge from its valence electrons, nonbonding electrons and bonding electrons. Then check whether the atomic charges add to the whole molecule or ion’s charge.
Calculate an atom’s formal charge
Enter electrons, not pairs. This checks one atom’s bookkeeping; it does not validate a complete structure.
Show
Appearance
Resonance
Formal charge calculator. Drag to rotate; click the model, then scroll or use + and − to zoom; click an atom to identify it.
The real species is a resonance hybrid; contributors are bookkeeping views.
Idealized teaching model. Atom sizes and bond lengths are illustrative.
Key points
- Use electrons, not lone-pair counts, in the nonbonding field.
- A double bond contributes four bonding electrons.
- Sum formal charges to obtain the overall species charge.
- Formal charges are not measured partial atomic charges.
The atom-level formula
Subtract all nonbonding electrons and half the bonding electrons from the atom’s neutral valence count. This assigns each bond’s electrons equally between its two atoms.
If you instead count bond order, FC = V − N − bond-order sum is equivalent. Do not mix bond lines and bonding-electron counts in the same formula.
Example: singly bonded carbonate oxygen
An oxygen with three lone pairs and one single bond has V = 6, N = 6 and B = 2. Its formal charge is 6 − 6 − 1 = −1.
An oxygen with two lone pairs and one double bond has V = 6, N = 4 and B = 4, giving zero. The carbonate contributors place these roles on different oxygens.
Example: ammonium nitrogen
Nitrogen in NH₄⁺ has five valence electrons, zero nonbonding electrons and eight bonding electrons. Its formal charge is 5 − 0 − 8/2 = +1.
Every hydrogen in the same drawing has formal charge zero. The atomic charges therefore sum to the ion’s +1 charge.
Check the charge of the entire structure
A neutral molecule’s formal charges must sum to zero, while an ion’s must sum to its specified net charge. This is a useful error check.
A zero total does not require every atom to have zero formal charge: amino-acid zwitterions contain positive and negative centers.
What this calculator can check
The tool evaluates one atom’s bookkeeping from the numbers you supply. It does not discover connectivity, prove a Lewis structure chemically plausible or calculate a partial charge.
Odd-electron radicals are allowed, so nonbonding counts need not be even. Bonding electrons are restricted to even integers for the ordinary two-electron bond convention used here.
Common questions
Is a lone pair one nonbonding electron?
No. A lone pair contributes two nonbonding electrons.
Is formal charge the same as oxidation state?
No. They assign bonding electrons differently.
Can an atom have nonzero formal charge in a neutral molecule?
Yes. Positive and negative formal charges can sum to zero.