Molecular shape from electron-pair repulsion. Steric number, electron-domain geometry versus molecular shape, lone pairs and bond angles, and molecular polarity.
Valence shell electron-pair repulsion (VSEPR) theory is a model used to predict the geometry (shape) of molecules by considering the number of electron domains around a central atom. A core principle of this theory is that valence electrons repel each other, leading to a geometry that minimizes the repulsion. An electron domain is a lone electron, a lone electron pair, or a bond of any type (single, double or triple) around a central atom; the number of electron domains is the steric number. Lone electron pairs “take up more space” than bonding domains. Lone electrons “take up less space” than lone pairs or bonding domains. Finally, there are two different geometries that can be assigned.
Electron domain geometry (EDG) - the geometry when considering all lone electron pairs and bonding domains around a central atom
Molecular geometry (MG) - the geometry when considering only bonding domains around a central atom
Molecular geometries for simple compounds. Electron domain geometries are given in the first column. Molecular geometries are identical to the electron domain geometries for structures with zero lone electron pairs. X represents an atom and E represents a non-bonding electron domain (lone electron or lone electron pair).
Let us visualize electron pairs of various steric numbers and rationalize the geometry that minimizes the repulsions.
Steric number = 2
Consider two electron domains (steric number = 2), represented as balloon-shaped three-dimensional space that the electron cloud occupies, connected at a central point. The energy is lowest when these two clouds are furthest apart from each other at 180° giving a linear geometry.
We can apply this concept to a molecule such as carbon dioxide. For carbon dioxide, the steric number for carbon is 2. The geometry that minimizes the repulsion of the electron pairs is a linear electron domain geometry and a linear molecular geometry with a bond angle of 180°.
Carbon dioxide is a non-polar molecule meaning it does not have a dipole. A dipole (or dipole moment) is a separation of positive and negative charge within a molecule or ion and can be estimated by considering the polarity of a bond as well as its direction. Particles with a dipole are said to have a polarity (i.e. are polar) which affect the interaction behavior that the particle can have with other particles.
Carbon dioxide has two polar bonds, each equal in magnitude and pointing in opposite directions. These vectors cancel each other out resulting in a molecule with no net dipole moment.
{"v":1,"kind":"scene","species":"co2-dipole","options":{"title":true},"metrics":{"fontSize":13,"stroke":1.7,"family":"Arial, sans-serif","color":null,"italic":false}}OCONo net dipole0.39.0-alpha2026-11-15T16:34:44.613Zhttps://molkit.com{"@context":"https://schema.org","@type":"SoftwareApplication","name":"Molkit","url":"https://molkit.com","applicationCategory":"Science","operatingSystem":"Web"}
Visualize linear CO2
Linear
Key Characteristics
0 lone electron pairs
180° bond angle
EDG: linear
MG: linear
Non-polar
Linear structures whose terminal atoms are the same are non-polar (i.e. do not have a dipole).
The multi-centered ethyne (acetylene) structure can be broken down into two central carbon atoms, each with two electron domains around them.
Steric number = 3
Now consider how three electron domains (steric number = 3). The maximum separation between these domains is 120°. The geometry that minimizes the repulsion of the electron pairs is a trigonal planar geometry.
A steric number of 5 results in a trigonal bipyramidal geometry. Terminal atom positions are labeled as axial (ax) or equatorial (eq). Note the bond angles between the atom positions.
A steric number of 6 results in an octahedral geometry. Terminal atom positions are labeled as axial (ax) or equatorial (eq). Note the bond angles between the atom positions.
With three or four lone pairs, steric number 6 would give T-shaped and linear molecules, but no common molecules have these arrangements. T-shaped and linear molecules come from steric number 5 (ClF3, XeF2).
Multi-centered molecules
VSEPR can be applied to molecules with more than one central atom. Simply apply the rules of VSEPR to each central atom to determine the geometry about that atom.
VSEPR treats every lone pair as a domain that stays on its atom and pushes the bonded atoms together. That works when the lone pair stays put. When the lone pair sits on an atom bonded directly to a double bond, it does not stay put: it is shared with the π bond next door, and the shape of the atom changes.
The textbook case is formamide, HCONH2. Nitrogen has three bonding domains and one lone pair, so VSEPR predicts a trigonal pyramidal nitrogen like the one in ammonia. The measured nitrogen is flat instead: trigonal planar, with bond angles close to 120°.
CONHHHtrigonalplanarCONHHHtrigonalplanarONH2HtrigonalplanarHCONH2trigonalplanarOH2Ntrigonalplanar0.39.0-alpha2026-11-16T01:37:49.817Zhttps://molkit.com{
"@context": "https://schema.org",
"@type": "MolecularEntity",
"name": "formamide",
"molecularFormula": "CH3NO",
"molecularWeight": "45.041",
"smiles": "NC=O",
"hasRepresentation": {
"@type": "ImageObject",
"encodingFormat": "image/svg+xml",
"creator": {
"@type": "SoftwareApplication",
"name": "Molkit",
"url": "https://molkit.com"
}
},
"iupacName": "formamide",
"inChI": "InChI=1S/CH3NO/c2-1-3/h1H,(H2,2,3)",
"inChIKey": "ZHNUHDYFZUAESO-UHFFFAOYSA-N",
"identifier": "CID:713"
}molecularCH3NO45.041NC=ONC=O.NC=O.[H]C(=O)N([H])[H].[H]C(=O)N([H])[H].[H]C(N)=OC:-0.5380,0.2611,-0.2797; O:-1.4736,0.7151,0.3220; N:0.5593,-0.2714,0.2909; H:-0.4855,0.2355,-1.3848; H:1.3224,-0.6417,-0.2454; H:0.6154,-0.2986,1.29690-1:2; 0-2:1; 0-3:1; 2-4:1; 2-5:1Electrostatic potential at B3LYP/def2-SVP, gas phase, on a GFN2-xTB geometry; mapped on the calculated electron density 0.002 e/bohr^3 surface.OCC: Open Computational Chemistry, a portable software library and program for quantum chemistry and crystallography. J. Open Source Softw. doi:10.21105/joss.09609B3LYP: A. D. Becke, J. Chem. Phys. 1993, 98, 5648; C. Lee, W. Yang, R. G. Parr, Phys. Rev. B 1988, 37, 785.def2 basis sets: F. Weigend, R. Ahlrichs, Phys. Chem. Chem. Phys. 2005, 7, 3297.GFN2-xTB: C. Bannwarth, S. Ehlert, S. Grimme, J. Chem. Theory Comput. 2019, 15, 1652. doi:10.1021/acs.jctc.8b011760.5704 -0.5117 -0.7244 -0.0199 0.3302 0.3552C:-0.6660,0.0145,-0.0000; O:-1.3002,1.0576,-0.0000; N:0.6920,-0.0320,-0.0000; H:-1.1324,-0.9838,0.0000; H:1.1986,0.8437,-0.0000; H:1.2079,-0.9000,0.00000-1:2; 0-2:1; 0-3:1; 2-4:1; 2-5:1C:-0.5699,0.3448,-0.0000; O:-0.5994,1.5651,-0.0000; N:0.5838,-0.3729,-0.0000; H:-1.4722,-0.2879,0.0000; H:1.4597,0.1334,-0.0000; H:0.5980,-1.3825,0.00000-1:2; 0-2:1; 0-3:1; 4-2:1; 5-2:1C:-0.6388,0.1887,-0.0000; O:-0.9773,1.3616,-0.0000; N:0.6594,-0.2124,-0.0000; H:-1.3508,-0.6523,0.0000; H:1.3780,0.4997,-0.0000; H:0.9295,-1.1853,0.00000-1:2; 0-2:1; 3-0:1; 4-2:1; 5-2:1C:0.5875,-0.3139,0.0000; O:1.6517,0.2841,0.0000; N:-0.6188,0.3115,0.0000; H:0.5045,-1.4127,-0.0000; H:-0.6309,1.3230,0.0000; H:-1.4940,-0.1921,-0.00000-1:2; 0-2:1; 3-0:1; 4-2:1; 5-2:1formamide713InChI=1S/CH3NO/c2-1-3/h1H,(H2,2,3)ZHNUHDYFZUAESO-UHFFFAOYSA-Nformamide["formamide","methanamide","carbamaldehyde","formimidic acid","formic acid, amide"]{"kind":"spectrum","version":1,"ok":true,"imported":true,"method":"GFN2-xTB (xTB 6.7, on this computer)","medium":"gas","notes":[],"spectrum":"ir","units":{"wavenumber":"cm-1","intensity":"km/mol"},"intensitySource":"xtb","intensitiesApproximate":false,"minimum":true,"imaginary":[],"inchi":"InChI=1S/CH3NO/c2-1-3/h1H,(H2,2,3)","vibrations":12,"bands":[{"wavenumber":1794.5,"intensity":576.8,"name":"C=O stretch"},{"wavenumber":320.2,"intensity":240.2,"name":"mixed"},{"wavenumber":2775,"intensity":148,"name":"C-H stretch"},{"wavenumber":1241.9,"intensity":99.2,"name":"mixed"},{"wavenumber":1463,"intensity":76.5,"name":"mixed"},{"wavenumber":608.3,"intensity":57.4,"name":"mixed"},{"wavenumber":1019.5,"intensity":21.1,"name":"H-N-C bend"},{"wavenumber":3458.1,"intensity":11.8,"name":"N-H stretch (symmetric)"},{"wavenumber":533.7,"intensity":11.5,"name":"mixed"},{"wavenumber":3544.3,"intensity":8.5,"name":"N-H stretch (asymmetric)"},{"wavenumber":1361.7,"intensity":1.7,"name":"mixed"},{"wavenumber":957.3,"intensity":0.127,"name":"mixed"}],"normalModes":{"elements":["C","H","N","H","H","O"],"geometry":[-1.9522,-0.8701,-0.515,-2.4433,-1.3502,-1.3822,-2.8405,-0.2793,0.3068,-2.4993,0.1895,1.1311,-3.8285,-0.2876,0.1305,-0.7633,-0.8848,-0.3434],"freqs":[320.2,533.7,608.3,957.3,1019.5,1241.9,1361.7,1463,1794.5,2775,3458.1,3544.3],"intensities":[240.2,11.5,57.4,0.127,21.1,99.2,1.7,76.5,576.8,148,11.8,8.5],"names":["mixed","mixed","mixed","mixed","H-N-C bend","mixed","mixed","mixed","C=O stretch","C-H stretch","N-H stretch (symmetric)","N-H stretch (asymmetric)"],"modes":[[0.0012,0.0124,-0.0076,-0.007,-0.0692,0.0422,-0.0105,-0.1045,0.0638,0.0367,0.3652,-0.2229,0.0761,0.7575,-0.4624,0.0016,0.0158,-0.0096],[0.0769,0.0961,0.1701,-0.0468,0.1219,0.1921,-0.1417,0.0307,0.0269,-0.7122,0.1777,0.1744,-0.0572,-0.2623,-0.4395,0.1178,-0.1014,-0.1467],[-0.0109,-0.108,0.0659,-0.011,-0.1098,0.067,0.0056,0.0553,-0.0338,-0.0709,-0.7073,0.4316,0.0442,0.4394,-0.2682,0.0057,0.0565,-0.0345],[-0.016,-0.1594,0.0973,0.0804,0.7994,-0.488,0.0016,0.0165,-0.0101,0.024,0.2386,-0.1456,0.0007,0.0079,-0.0047,0.004,0.0393,-0.024],[0.0369,0.0206,0.0398,0.2209,-0.0427,-0.0333,-0.1751,0.0018,-0.0259,0.4805,-0.16,-0.1829,-0.2818,0.4007,0.6099,0.0992,-0.0295,-0.032],[0.0498,-0.1729,-0.275,0.227,-0.193,-0.2786,-0.0931,0.1219,0.1845,-0.6407,0.2583,0.3179,-0.1198,0.1451,0.2178,0.0777,0.0098,0.0288],[0.0365,-0.0256,-0.0359,-0.8356,0.2616,0.291,-0.0009,-0.0274,-0.0451,-0.1874,0.0282,0.0154,-0.0645,0.169,0.2662,0.042,0.0143,0.0303],[0.008,0.0367,0.0614,0.3297,-0.0753,-0.0691,0.0876,-0.0552,-0.0761,-0.6177,0.1399,0.1275,-0.0468,0.3472,0.5611,-0.0616,-0.0052,-0.0186],[-0.7421,0.0707,-0.0064,0.0292,-0.1508,-0.2424,0.1152,-0.0499,-0.0628,-0.3197,0.0664,0.056,0.0619,0.0194,0.0421,0.4707,-0.0052,0.0689],[-0.0326,-0.0315,-0.0569,0.4311,0.4365,0.7861,0.0005,-0.0021,-0.0033,-0.0005,-0.0102,-0.0169,-0.0004,-0.0022,-0.0036,-0.003,-0.0013,-0.0026],[0.0003,-0.001,-0.0015,0.0079,0.0041,0.008,0.0126,-0.0273,-0.0427,0.3041,0.4026,0.7097,-0.4774,-0.0156,-0.1041,-0.0008,0,-0.0001],[-0.002,-0.0013,-0.0025,0.0044,0.0015,0.0033,-0.0718,-0.0157,-0.0376,0.1451,0.2243,0.3914,0.8636,0.0054,0.151,0.0006,0.0002,0.0005]],"intensitySource":"xtb","minimum":true},"computedAt":"2026-11-11T01:00:13.594Z"}
The reason is resonance. Formamide has a second resonance structure in which the nitrogen lone pair becomes a C=N double bond and the oxygen carries the negative charge:
H2N–CH=O ↔︎ H2N+=CH–O−
The real molecule is a blend of the two. For the nitrogen lone pair to take part, nitrogen and the atoms bonded to it must lie in one plane with the C=O, so the nitrogen flattens. Two measurements confirm the picture. The C–N bond is 135 pm, shorter than an ordinary C–N single bond (147 pm), because it has partial double-bond character. And that bond does not rotate freely at room temperature, as a true single bond would.
Key Characteristics
An N with a lone pair, bonded to a carbon that is double bonded to O (an amide), or an N bonded to two double-bonded carbons (the ring N of pyrrole)
3 bonding domains + 1 lone pair, but the lone pair is shared with the π bond
MG: trigonal planar, not trigonal pyramidal
120° bond angles
Glycine, above, shows both sides of the rule. Its NH2 nitrogen is bonded to a CH2 carbon with no double bond, so it keeps its pyramidal shape. When glycine is built into a protein, that nitrogen becomes part of an amide, the peptide bond, and it flattens. The flat, rigid peptide bond is one of the constraints that shape every protein.
NoteBeyond The Scope: sp² nitrogen and where the effect stops
In the language of hybridization, the flattened nitrogen is sp2: its three bonds use sp2 hybrid orbitals, and its lone pair sits in the leftover p orbital, parallel to the C=O π bond. That parallel p orbital is what lets the lone pair be shared. Counting domains alone would have called the nitrogen sp3.
The effect is partial or absent elsewhere. The nitrogen of aniline, bonded to a benzene ring, shares its lone pair only partly and stays slightly pyramidal. The O–H oxygen of a carboxylic acid also shares a lone pair with the neighboring C=O, and is usually described as sp2, but its C–O–H angle stays near 106°, so its shape still reads as bent.