Formal Charge Calculator

Chemical bonding

Formal charge0
Electrons assigned to the atom6.0
Half the shared electrons2.0
Charge verdictNeutral (formal charge 0)
How this was calculated
  1. Atom's account: the free atom brings 6 valence electrons.
  2. Assigned share: 4 nonbonding electrons plus half of 4 bonding electrons = 6.0.
  3. Difference: 6 - 6.0 = 0.
  4. Formal charge result: 0 - neutral (formal charge 0).

Formal charge is bookkeeping with a purpose. A Lewis structure distributes a molecule's electrons among atoms, and the formal charge asks, atom by atom, whether the distribution is fair: count the electrons the atom owns in the structure - all of its lone-pair electrons and half of every bonding pair - and compare with the valence electrons the free atom brought. The difference is the formal charge, and structures that keep these charges small and place negative charge on electronegative atoms are, as a rule, the structures nature prefers.

The oxygen of water is the benchmark of fairness: 6 valence electrons, 4 nonbonding electrons and half of 4 bonding electrons assign it exactly 6.0, and its formal charge is 0. The calculator's first worked example is that atom, and its neutrality is what a well-drawn structure looks like at the level of a single centre.

Enter the three counts for any atom in any Lewis structure and this page returns the formal charge with the full account - electrons assigned, the halved bonding share, and the verdict - so textbook structures and student exercises can be checked atom by atom.

Worked examples

Formal charge of oxygen in water

(6 · 4 · 4)

Formal charge0
Electrons assigned to the atom6.0
Half the shared electrons2.0
Charge verdictNeutral (formal charge 0)

Formal charge of nitrogen in ammonium

(5 · 0 · 8)

Formal charge1
Electrons assigned to the atom4.0
Half the shared electrons4.0
Charge verdictPositive (+1)

Formal charge of oxygen in hydroxide

(6 · 6 · 2)

Formal charge-1
Electrons assigned to the atom7.0
Half the shared electrons1.0
Charge verdictNegative (-1)

Splitting the bonding pairs evenly

The convention at the formula's heart is an even split: a bonding pair is divided equally between the two atoms it joins, regardless of their electronegativities. That is a deliberate fiction - real charge distribution follows electronegativity slavishly - and it is what distinguishes formal charge from oxidation state, where bonding electrons are awarded entirely to the more electronegative partner. The two bookkeeping systems answer different questions: oxidation state tracks electron transfer for redox accounting; formal charge audits a Lewis structure's plausibility.

The ammonium nitrogen shows the audit catching a real charge. Nitrogen brings 5 valence electrons; in NH4+ it owns no lone pair and half of 8 bonding electrons, an assigned total of 4.0. The difference, +1, is exactly the ion's charge, located by the bookkeeping on the atom that the structure has stripped. When every atom in a structure is audited, the formal charges must sum to the species' actual charge - the audit's built-in reconciliation, and the first check to run on any hand-drawn structure.

Atom (example)Assigned electronsFormal chargeVerdict
Oxygen in water6.00Neutral
Nitrogen in ammonium4.0+1Positive
Oxygen in hydroxide7.0-1Negative

Checking a Lewis structure with formal charge

The working rules are three. Structures with formal charges closest to zero are preferred; where charges are unavoidable, negative formal charge belongs on the more electronegative atoms; and adjacent atoms carrying like charges, or any atom carrying a large charge, mark a structure as suspect. The hydroxide oxygen illustrates the honest unavoidable case: 6 nonbonding electrons and half of 2 bonding electrons assign it 7.0 against a valence of 6, formal charge -1, and no alternative structure can do better - the ion's charge has to live somewhere, and oxygen is its rightful home.

The audit also arbitrates between rival structures. Carbon monoxide's two candidate Lewis structures are the classroom classic: the formal-charge-preferred form places -1 on carbon and +1 on oxygen, against electronegativity's grain, because it completes both octets - a standing reminder that the rules are ordered, octet completion first, charge placement second, and that formal charge is a heuristic with a hierarchy, not a physical measurement.

  • Count bonding electrons, not bonds: a double bond contributes 4 bonding electrons, of which the atom owns half - 2.
  • Lone-pair electrons are owned whole; only bonding electrons are halved.
  • The formal charges over a whole structure must sum to the species' net charge - use the sum as a checksum on your counting.
  • Formal charge is not partial charge: it assumes equal sharing and will cheerfully assign 0 to atoms in strongly polar bonds.
  • An atom whose assigned count exceeds its valence shell's capacity signals a counting error before it signals chemistry.

Worked examples

Example 1: Valence electrons of the free atom 6; Nonbonding (lone pair) electrons 4; Bonding (shared) electrons 4. Formal charge = 0. Supporting values: Electrons assigned to the atom 6.0; Half the shared electrons 2.0; Charge verdict Neutral (formal charge 0). Atom's account: the free atom brings 6 valence electrons. Assigned share: 4 nonbonding electrons plus half of 4 bonding electrons = 6.0. Difference: 6 - 6.0 = 0. Formal charge result: 0 - neutral (formal charge 0).

Example 2: Valence electrons of the free atom 5; Nonbonding (lone pair) electrons 0; Bonding (shared) electrons 8. Formal charge = 1. Supporting values: Electrons assigned to the atom 4.0; Half the shared electrons 4.0; Charge verdict Positive (+1). Atom's account: the free atom brings 5 valence electrons. Assigned share: 0 nonbonding electrons plus half of 8 bonding electrons = 4.0. Difference: 5 - 4.0 = 1. Formal charge result: 1 - positive (+1).

Example 3: Valence electrons of the free atom 6; Nonbonding (lone pair) electrons 6; Bonding (shared) electrons 2. Formal charge = -1. Supporting values: Electrons assigned to the atom 7.0; Half the shared electrons 1.0; Charge verdict Negative (-1). Atom's account: the free atom brings 6 valence electrons. Assigned share: 6 nonbonding electrons plus half of 2 bonding electrons = 7.0. Difference: 6 - 7.0 = -1. Formal charge result: -1 - negative (-1).

Formal charge vs oxidation state

Students meet the two systems in the same term and conflate them for years; the cleanest separator is the bonding convention. Formal charge splits every bond evenly, as if all atoms were equally greedy; oxidation state awards each bond's electrons entirely to the more electronegative atom, as if sharing were theft. For water's oxygen the two give 0 and -2 respectively - both correct, under different accounting rules, for different purposes: the Lewis audit and the redox ledger.

The practical guidance is to keep each system in its own ledger. Use formal charge while drawing and judging structures, choosing between resonance forms, and locating the likely sites of reactivity that charge concentration implies. Use oxidation states when electrons are actually transferred - balancing redox equations, naming compounds, tracking a metal centre through a catalytic cycle. Mixing the conventions mid-problem produces numbers that belong to neither system.

Checksum habit: after auditing every atom in a structure, add the formal charges. If the sum is not the species' charge, an electron has been lost in the counting - find it before interpreting anything.

Where formal charge does real work

Beyond the classroom, formal charge is the working chemist's first filter on proposed intermediates and resonance contributors. In mechanism problems it identifies which resonance form places negative charge where a nucleophile must attack; in spectroscopy and crystallography it sanity-checks proposed constitutions before expensive analysis; in computational chemistry it provides the integer reference against which computed partial charges are compared for sanity.

Its limits are the equal-sharing fiction's limits. In highly polar or dative bonds the formal picture can look alarming while the molecule is perfectly content - carbon monoxide again, and the whole family of coordinate complexes. The mature use is comparative: between candidate structures of the same species, formal charge ranks reliably; as an absolute map of where electrons live, it was never designed to serve, and this page's verdicts should be read in that comparative spirit.

Reading the three examples

The three examples are the three verdicts the audit can return. Water's oxygen, assigned 6.0 against 6, is the neutral centre of a well-drawn structure. Ammonium's nitrogen, assigned 4.0 against 5, carries +1 - the whole ion's charge localised by the counting on the atom with no lone pair. Hydroxide's oxygen, assigned 7.0 against 6, carries -1, the charge resting on the electronegative atom as the rules prefer.

Together they also demonstrate the checksum: each species' formal charges, summed over all its atoms, reproduce its real charge exactly - neutral water, +1 ammonium, -1 hydroxide. A student who runs the three audits and the three sums has learned the entire method; everything else in formal-charge work is application and taste.

Resonance ranking is where the audit meets its daily work. When several Lewis structures can be drawn, formal charge supplies the pecking order: prefer the structure with charges nearest zero overall, then the one placing unavoidable negative charge on the more electronegative atom, then the one with fewer charged atoms at all. Applied consistently, the ranking usually selects the contributor that spectroscopy and reactivity later confirm as dominant - and where two structures tie under every rule, the honest conclusion is genuine resonance, a hybrid the bookkeeping cannot separate. The audit's failures are as instructive as its successes: a structure that can only be drawn with large separated charges is the molecule telling you the drawing conventions themselves are straining, which is often the first hint that a dative or delocalised description belongs in its place.

A last habit worth forming is to audit the atoms in a fixed order - the central atom first, then the atoms bonded to it, then any terminal atoms - and to write each atom's three counts beside the structure as you go. Formal-charge errors are almost never conceptual; they are bookkeeping slips, a lone pair missed or a double bond counted once, and a fixed order with written counts is what turns the audit from an impression into a procedure whose checksum can actually catch them.

FAQs

How many electrons are assigned to water's oxygen?

6.0: its 4 nonbonding electrons plus half of its 4 bonding electrons - exactly its valence count, hence a formal charge of 0.

What formal charge does ammonium's nitrogen carry?

+1: 5 valence electrons against an assigned 4.0 - no lone pair and half of 8 bonding electrons.

What formal charge does hydroxide's oxygen carry?

-1: an assigned 7.0 electrons against a valence of 6, the ion's charge resting on oxygen.

How many electrons are assigned to ammonium's nitrogen?

4.0 - half of its 8 bonding electrons, with no nonbonding electrons at all.

How many electrons are assigned to hydroxide's oxygen?

7.0: 6 nonbonding electrons plus half of its 2 bonding electrons.

What formal charge does water's oxygen carry?

0 - the neutral benchmark: assigned electrons exactly equal to the free atom's valence electrons.

Sources

Related calculators

Bohr Model Calculator
Bohr model of a hydrogen-like atom: the energy and orbit radius of a level from Z and n, and the wavelength and energy of the photon emitted or absorbed in a transition, by the Rydberg formula.
De Broglie Wavelength Calculator
The matter wavelength λ = h ÷ (mv) of anything that moves — from electrons to baseballs — with the momentum and the wavelength in nanometers.
Rydberg Formula Calculator
Hydrogen's spectral lines from the Rydberg formula: pick the two energy levels and get the wavelength, frequency and photon energy — Lyman in the ultraviolet, Balmer in visible light, Paschen in the infrared.