Skip to content
vseprchart

Molecular Geometry Calculator

Type a formula or an ion. You get the Lewis structure, every count VSEPR needs, the shape in 3D, the bond angle, hybridization and polarity.

Shapes with lone pairs, in 3DAX4E

Drag to rotate. Tap a formula to switch.

Try:

What the calculator works out

For each formula it runs the same six steps a textbook answer would, and prints them with your molecule's numbers. Here is the output for SF4:

  1. Count valence electrons: S (6) + 4 × F (7) = 34 electrons.
  2. Central atom: S. Sulfur is the least electronegative atom other than hydrogen (2.58), so it goes in the middle.
  3. Bond each outer atom to S (4 bonds = 8 electrons), then complete the outer atoms (4 × 6 electrons as lone pairs). That uses 32 electrons.
  4. 34 − 32 = 2 electrons left for S: 1 lone pair.
  5. Electron domains on S: 4 bonded + 1 lone = 5 (steric number). A double or triple bond still counts as one domain.
  6. AX4E: trigonal bipyramidal electron geometry, seesaw molecular geometry, sp3d hybridization.
SFFFF
SF4 Lewis structure4 S–F bonds, 1 lone pair on S
Seesaw shape of SF4
AX4E · seesawmeasured F(ax)–S–F(ax) 173.1°, F(eq)–S–F(eq) 101.6°

How to type a formula

You typeRead asFormulaResult
H2Oplain formulaH2OAX2E2 · bent
SO4 2-charge after a spaceSO42−AX4 · tetrahedral
SO4^2-charge after ^SO42−AX4 · tetrahedral
NH4+charge straight afterNH4+AX4 · tetrahedral
XeOF4mixed outer atomsXeOF4AX5E · square pyramidal

Element symbols are case-sensitive in the usual way (Cl, not CL). Charges can follow a space, a caret or the formula itself.

How it picks the central atom

The central atom is the least electronegative atom that is not hydrogen: S in SF4, C in SCN−, Cl in ClO4−. A few acids such as HOCl are known exceptions where H bonds to O, and the calculator puts O in the middle for those. Hydrogen is never central because it forms only one bond.

What it will not do

  • More than one central atom. C2H4, CH3OH and H2O2 need VSEPR on each centre separately; the calculator says so instead of guessing a shape.
  • Ionic compounds. NaCl has no VSEPR shape around sodium. Enter the polyatomic ion on its own, for example SO4 2- for sodium sulfate.
  • Single atoms. A shape needs at least two atoms around a centre.

Checking homework

Work the question yourself first, then type the formula and compare line by line. If your electron count differs, the error is almost always the charge of an ion. For a drill set, use VSEPR practice.

Sources: OpenStax Chemistry 2e, §7.6 Molecular Structure and Polarity; Electronegativities of the elements (data page), Pauling scale.

Molecular geometry calculator questions

How do I calculate molecular geometry?

Count valence electrons, draw the Lewis structure, count bonded atoms and lone pairs on the central atom, then read the shape off the AXE class. The calculator shows each of those steps for your formula.

Can the calculator handle ions?

Yes. Type the charge after the formula, for example NH4+, NO3- or SO4 2-. It adds or removes the electrons before drawing.

Why does it say my molecule has more than one central atom?

Molecules such as C2H4 or CH3OH have two atoms that each hold several others. VSEPR is applied to each centre on its own, so there is no single shape to give.

Does it give measured bond angles?

For 17 molecules it shows the measured gas-phase angle next to the ideal one. For the rest it gives the ideal angle and says when lone pairs make it smaller.