A little context. A clearer answer.
When this calculator is useful
Assign half of bonding electrons and all nonbonding electrons to each atom. Subtract that total from neutral valence electrons. Multiply by the number of equivalent atoms and sum all rows; compare with the supplied target charge. Oxidation states use a different electron assignment. For a related calculation, try Oxidation number calculator: oxidation states.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Atom rows | Atom rows: Separate list items with semicolons; decimal commas are allowed. Follow the item limit shown for the field. | I;1;7;4;8 Cl;4;7;6;2 |
| qtarget | qtarget: -1000…1000 e | -1 e |
How the calculation works
- Change the inputs to explore your own scenario. Atom rows: Separate list items with semicolons; decimal commas are allowed. Follow the item limit shown for the field.; qtarget: -1000…1000 e.
- FC=V−N−B/2; q=Σ(nᵢFCᵢ); Δq=q−qtarget
- Each row is label;atom count;V;N;B. V is neutral-atom valence electrons, N is nonbonding electrons (not lone pairs), B is bonding electrons. Pair-bond Lewis bookkeeping requires even B; single/double/triple bonds contribute2/4/6. Counts and electron values are integers. A matching charge sum does not validate connectivity, octets, stability or actual charge distribution.
FC=V−N−B/2; q=Σ(nᵢFCᵢ); Δq=q−qtargetA worked example
In the OpenStax ICl₄⁻ example, iodine has seven valence electrons, four nonbonding electrons and eight bonding electrons. Its formal charge is −1. Each of the four chlorines contributes zero, so the total matches the ion’s −1 charge. For CO, carbon contributes −1 and oxygen +1, giving zero overall.
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
Each row is label;atom count;V;N;B. V is neutral-atom valence electrons, N is nonbonding electrons (not lone pairs), B is bonding electrons. Pair-bond Lewis bookkeeping requires even B; single/double/triple bonds contribute2/4/6. Counts and electron values are integers. A matching charge sum does not validate connectivity, octets, stability or actual charge distribution.
Frequently asked questions
Should I enter lone pairs or electrons?
Enter electrons. Three lone pairs mean N=6. B counts all electrons in bonds touching that atom, so a double bond contributes4.
Is formal charge an oxidation state?
No. Formal charge splits bond electrons equally; oxidation-state conventions assign them by different rules.
Does zero charge difference prove a valid molecule?
No. It checks only the sum of the supplied bookkeeping. Connectivity, allowed electronic structures and stability require separate assessment.