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.
Formal Charge
Calculation Breakdown
FC = V − N − B/2
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) | 6 | 4 | 2 | 0 |
| N in NH⊂4;+ (4 bonds) | 5 | 0 | 4 | +1 |
| O in CO⊂2; (double bond) | 6 | 4 | 2 | 0 |
| C in CO⊂2; (two double bonds) | 4 | 0 | 4 | 0 |
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
- Select a common element or enter valence electrons manually.
- Enter the number of lone pair (non-bonding) electrons on the atom.
- Enter the number of bonds around the atom (single=1, double=2, triple=3 each).
- 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