Formal Charge Calculator

Enter an element symbol (or its valence electrons directly), lone pair electrons, and number of bonds to get the formal charge instantly.

Atom Inputs

Count each bond once: single=1, double=2, triple=3.

Common element valence electrons

H
V=1
C
V=4
N
V=5
O
V=6
F
V=7
P
V=5
S
V=6
Cl
V=7
Br
V=7
I
V=7

Click a tile to set the valence electrons field.

Result

Enter values and press Calculate.

Formula

FC = V − N − B/2
  • V — valence electrons in the free neutral atom
  • N — non-bonding (lone pair) electrons on the atom
  • B — bonding electrons around the atom (bonds × 2)

Worked examples

Atom / molecule V N Bonds FC
O in H−O−H (water) 6420
N in NH⊂4;+ (4 bonds) 504+1
O in CO⊂2; (double bond) 6420
C in CO⊂2; (two double bonds) 4040

Summary

Enter an element symbol (or its valence electrons directly), lone pair electrons, and number of bonds to get the formal charge instantly.

How it works

  1. Select a common element or enter valence electrons manually.
  2. Enter the number of lone pair (non-bonding) electrons on the atom.
  3. Enter the number of bonds around the atom (single=1, double=2, triple=3 each).
  4. The calculator applies FC = V - N - B/2 and displays the result with sign.

Use cases

  • Determine which Lewis structure resonance form is most stable (lowest formal charges).
  • Verify atom charges when drawing molecules like CO2, NO2, or SO4²⁻.
  • Check formal charges on atoms in organic functional groups.
  • Teach or learn Lewis structure rules with step-by-step charge breakdown.

Frequently Asked Questions

Last updated: 2026-06-18 · Reviewed by Nham Vu