VSEPR Molecular Geometry Lab 3D

Electron domains repel on a sphere: bond angles, shapes and polarity for 14 molecules or any AXmEn.

Switch to 2D

Presets

Playback

Molecule

Camera

Layers

Quality

Model check

The science

The VSEPR idea

Valence-shell electron-pair repulsion treats each bond (single, double or triple counts as one domain) and each lone pair on the central atom as a charge cloud that wants to be as far from the others as possible. Counting domains N gives the electron geometry (2 linear, 3 trigonal planar, 4 tetrahedral, 5 trigonal bipyramidal, 6 octahedral, 7 pentagonal bipyramidal); removing lone pairs from the picture gives the molecular shape (AXmEn notation: m bonded atoms, n lone pairs).

How the geometry is computed here

Each domain is a point on the unit sphere and the program minimises E = sum_(i<j) w_ij / r_ij^3 by projected gradient descent from many random starts, keeping the lowest energy. The weights encode the VSEPR rule that lone pairs take more room: w(bond,bond) = 1.0, w(bond,lone) = 1.3, w(lone,lone) = 1.75. Nothing else is assumed: the bipyramid, the equatorial lone pairs of SF4, ClF3 and XeF2 and the square-planar XeF4 all emerge from the minimisation. With equal weights the result is the textbook polyhedron (tetrahedron 109.47 degrees, octahedron 90, trigonal bipyramid 90/120), which the first model check tests.

Polarity

The net bond dipole is the vector sum of unit bond dipoles along the bonding domains: it vanishes for symmetric shapes (CH4, CO2, BF3, PCl5, SF6, XeF4, XeF2) and not for NH3, H2O, ClF3, SF4, BrF5 and SO2. It assumes identical bonds and ignores the lone pair's own dipole.

Honest simplifications

  • This is a qualitative rule turned into a toy potential, not quantum chemistry: the weights and the exponent were tuned once on the water / ammonia pair and are listed next to the energy readout. The measured angles are shown for comparison and some deviate clearly (for example the equatorial angle of SF4 is 101.6 degrees in experiment but about 123 degrees here).
  • Bond lengths are drawn equal; multiple bonds, the larger lone-pair lobe of heavier atoms, ligand-ligand repulsion and electronegativity effects on angles are not modelled.
  • Seven domains is the maximum; the pentagonal bipyramid is the most stubborn for the random-restart solver.

Things to try

  • Walk down CH4, NH3, H2O and compare the squeezed angles with the experimental values in the lower right graph.
  • Choose ClF3, then XeF4: lone pairs always take the roomy equatorial positions.
  • Press "Rebuild (shake)" and watch the domains relax back to the same minimum.
Loading model...
Loading Blender model...
Bond angle: model, ideal polyhedron, experiment
Repulsion energy vs number of domains
Angles between bonding domains
The lone-pair squeeze on a tetrahedron
Made with 🟠 Blender · Three.js