Assigning a formal charge is bookkeeping. You compare the electrons an atom brings to the molecule with the electrons it gets credit for in the drawing, and any mismatch shows up as a small plus or minus number on that atom, usually 0, +1 or -1. Once you can read a Lewis structure, the method takes a few seconds per atom, and it is how chemists choose between competing drawings of the same molecule.
The Formal Charge Formula and What Each Part Means
For any atom in a Lewis structure, the formal charge is the number of valence electrons in the free neutral atom, minus the lone-pair electrons on the atom, minus half the electrons in its bonds.1Wikipedia. Formal charge Valence electrons are the outer-shell electrons, and you read them from the atom’s group on the periodic table: carbon has 4, nitrogen 5, oxygen 6, the halogens 7, and hydrogen 1. A lone pair is two electrons sitting on one atom and not part of any bond. In a drawing they appear as dots, and you count each dot, not each pair.2Chemistry 2e. Formal Charges and Resonance Half the bonding electrons is the same as the number of bond lines touching the atom, because each line stands for two shared electrons.2Chemistry 2e. Formal Charges and Resonance
Another way to see it: an atom “owns” all of its lone-pair electrons plus half of each bond it shares,3OpenStax. 2.3 Formal Charges – Organic Chemistry and formal charge is the valence electrons minus the electrons it owns.4Chemistry LibreTexts. How to Assign Formal Charges in a Lewis Structure A positive result means the atom owns fewer electrons than it started with, and a negative result means it owns more.
That gives you a shortcut worth memorizing: valence minus dots minus lines. Lines are bonds, so a double bond counts as 2 and a triple bond as 3. The shortcut works as long as every line means two shared electrons. If the drawing shows only lines and leaves out the lone pairs, as many skeletal sketches do, add the missing dots yourself before applying the formula.
For elements not on the list above, main-group atoms have a valence electron count equal to the ones digit of their group number (groups 1 and 2, then 13 to 18 giving 3 to 8). Boron is 3, sulfur is 6, chlorine is 7. Elements in the same column match, so sulfur has the same count as oxygen and bromine the same as chlorine. Always use the free neutral atom’s count, even when the atom sits in an ion. The ion’s charge is handled later by the sum check, not by changing this starting number.
Four counting mistakes cause most wrong answers:
- Counting a lone pair as 1 electron instead of 2, which throws the answer off by one.
- Giving one atom both electrons of a bond instead of half.
- Using total electrons instead of outer-shell electrons, such as 8 for oxygen instead of 6.
- Forgetting that hydrogen’s single bond gives it one owned electron, which matches its 1 valence electron and leaves it at 0.
Working Through Examples Step by Step
Go atom by atom, in this order:
- Draw the full Lewis structure first, with every lone pair shown, because missing dots give wrong charges.
- Write each atom’s valence electron count from its group.
- Count the dots on that atom and the bond lines touching it.
- Subtract dots and lines from the valence electrons, and write any nonzero result beside the atom.
In water, oxygen has 6 valence electrons, 4 dots in two lone pairs, and 2 bonds, so 6 − 4 − 2 = 0. Each hydrogen has 1 valence electron, no dots, and 1 bond, so it is 0 as well. A neutral molecule where every atom comes out zero is the most common result.
The ammonium ion is where a charge appears. Nitrogen has 5 valence electrons, no lone pairs, and 4 bonds, so 5 − 0 − 4 = +1. Each hydrogen is 0, which means the +1 on nitrogen is the ion’s whole plus charge. Nitrogen with four bonds and no lone pair is a pattern worth recognizing on sight.
The hydroxide ion works the other way. Oxygen has 6 valence electrons, 6 dots in three lone pairs, and 1 bond, so 6 − 6 − 1 = −1. Oxygen with one bond and three lone pairs comes out −1.
In hydronium, H3O+, oxygen has 6 valence electrons, one lone pair (2 dots), and three bonds, giving 6 − 2 − 3 = +1. Each hydrogen is 1 − 0 − 1 = 0, so the ion’s +1 sits on oxygen.
Carbon monoxide shows charges inside a neutral molecule. With a triple bond and one lone pair on each atom, carbon is 4 − 2 − 3 = −1 and oxygen is 6 − 2 − 3 = +1. The two cancel to zero, so a neutral molecule can still carry formal charges.
Patterns make this faster. Neutral nitrogen has three bonds and one lone pair, neutral oxygen has two bonds and two lone pairs, and neutral halogens have one bond and three lone pairs. Any atom off its usual pattern is the one to calculate carefully.
In a larger molecule, make a small table with one row per atom and columns for valence, dots, lines, and result, so nothing gets skipped. Identical atoms in identical surroundings, like the hydrogens in water, share the same answer, so calculate one and reuse it. Finish by scanning for nonzero entries. Those are the only charges you write on the drawing.
How to Check Your Answer
All the formal charges in a neutral molecule must add up to zero.5Chemistry LibreTexts. Calculating Formal Charges In an ion, they must add up to the ion’s charge.5Chemistry LibreTexts. Calculating Formal Charges Ammonium’s single +1 passes, and so do carbon monoxide’s +1 and −1. If the sum is off, recount the dots, the lines, or the total electrons in the drawing.
A failed sum usually has a recognizable cause. A missing lone pair often leaves one atom wrongly positive, and too many electrons in the drawing makes the sum too negative. A correct sum doesn’t guarantee that each atom’s charge is right, since two errors can cancel, and it can’t tell you whether the drawing is the best one. It is a screen, not a proof.
For an independent check, count total electrons. Add up every atom’s valence electrons, then add one per negative charge or subtract one per positive charge. Then count the electrons in your drawing: two for each bond line and one for each dot. If the totals differ, the drawing has the wrong number of electrons, and that is why the formal charges fail the sum.
When you write the charges on the drawing, put a small + or − beside the atom, often circled, and leave zero charges unwritten. For a whole ion, brackets with the overall charge outside are also common.
Using Formal Charge to Pick the Best Structure
When a molecule can be drawn several ways, the drawing with the fewest formal charges is usually the most stable.6Chemistry LibreTexts. Rules for Drawing and Working with Resonance Contributors A negative formal charge is better placed on the atom that pulls more strongly on electrons, such as oxygen rather than carbon or nitrogen.7Pharmacy Resource Book. How to Assign Formal Charges in a Lewis Structure Together, these two rules tell you which drawing contributes most to the real molecule.7Pharmacy Resource Book. How to Assign Formal Charges in a Lewis Structure
Some molecules have several valid drawings, known as resonance structures, that differ only in where electrons sit. The real molecule is a blend of them, with the most stable drawing counting most.
Carbon dioxide is a clean example. Drawn with two double bonds, every atom has a formal charge of zero. Drawn with a single bond and a triple bond, one oxygen gets +1 and the other −1. The all-zero drawing wins by the fewest-charges rule.
To compare two drawings, work in steps. List the formal charges on every atom in each one, since you can’t rank them without that list. Count how many atoms carry a nonzero charge in each; fewer is better as a starting point. If the counts tie, look at where the negative charge sits and prefer the atom that pulls harder on electrons. The result says which drawing is the better description. It doesn’t mean the other is wrong, or that the molecule flips between them. Fewer charges tends to mean more stability because separating positive and negative charge costs energy.
It is only a tendency, and the rules can conflict. Avoid large charges like +2 or −2 when a drawing with smaller ones exists. Avoid like charges on neighbouring atoms. And keeping full octets on carbon, nitrogen and oxygen usually comes before having zero charges.
What Formal Charge Does Not Tell You
Formal charge assumes every bond is shared perfectly equally between its two atoms.1Wikipedia. Formal charge In real bonds, the atom that pulls harder on electrons (the more electronegative one) gets more than half.8Master Organic Chemistry. How To Calculate Formal Charge The word “formal” signals a charge that exists in the accounting, not necessarily in the molecule.8Master Organic Chemistry. How To Calculate Formal Charge
In common molecules and ions, the real partial negative charge tends to sit on the more electronegative atom and the positive charge on the less electronegative one, whatever the formal charges say.9Journal of Chemical Education. Using Electronegativity to Identify Atoms Bearing Charges after Formal Charge Calculation Ammonium shows the gap. The +1 is drawn on nitrogen, because nitrogen counts each of its four bonds as half its own. But nitrogen pulls the shared electrons toward itself, so it carries less positive charge than the drawing suggests, and the four hydrogens, each formally zero, end up holding a share of it. The ion as a whole is +1, but the charge isn’t concentrated on nitrogen. So don’t read a formal charge as a measured charge on that atom.
Oxidation numbers assume the opposite extreme from formal charge. The more electronegative atom takes all the bonding electrons, while formal charge splits every bond in half. For water, oxidation numbers give oxygen −2 and each hydrogen +1, while formal charges give every atom 0. Real water has partial charges smaller than the oxidation numbers and larger than zero, so neither system is the true picture.
Use formal charge when you are drawing a structure and deciding which drawing is best. Use oxidation number when you are tracking which species gains or loses electrons in a reaction. Mixing the two up is a common exam error, so check which one the question asks for.
Tricky Cases Like Sulfur, Phosphorus and Radicals
Many textbooks draw sulfur in sulfuric acid with double bonds to oxygen so that its formal charge is zero, which gives sulfur more than eight electrons. Modern calculations suggest these molecules are better described by drawings that keep the octet, with formal charges on sulfur and oxygen.10Journal of Chemical Education. Addressing the Hypervalent Model: A Straightforward Explanation of Traditionally Hypervalent Molecules Follow your course’s convention, since some instructors want zero charges and others want octets.
A radical has an unpaired electron. Count a single unpaired dot as one electron the atom owns, so the shortcut is still valence minus dots minus lines. Take nitrogen monoxide, which has 11 valence electrons in total (5 from nitrogen, 6 from oxygen). Draw a double bond, two lone pairs on oxygen, and only the unpaired dot on nitrogen. Nitrogen then comes out 5 − 1 − 2 = +2 and oxygen 6 − 4 − 2 = 0. The sum is +2 for a neutral molecule, so something is missing. The drawing holds only 9 electrons, and nitrogen needs a lone pair as well as the unpaired dot. Then nitrogen is 5 − 3 − 2 = 0, and the sum is zero.
Electron-short atoms work the same way. Boron in BF3 has three bonds and no lone pairs, so 3 − 0 − 3 = 0. It has only six electrons around it, yet no formal charge, so the formula doesn’t tell you the octet is incomplete. When BF3 accepts a lone pair, as in forming BF4−, boron gets a fourth bond and becomes −1.
Formal charges on metal atoms in complexes are often not meaningful, because the bonds there are a mix of sharing and attraction. Most introductory courses don’t ask for them.

