Rankwise

Hybridization calculator

Type a molecule or ion. See its hybridization, shape, bond angle and lone pairs, with a drawing and the working.

Updated 28 October 2026Free · no sign-up

For an ion, add ^ and the charge: NH4^+, SO4^2-. Capital letters matter.

Try one

The shortcut formula

For a molecule with one central atom, count the electron pairs around it (the steric number):

Steric number = ½ × (V + M − c + a)
V = valence electrons of the central atom, M = number of H or halogen atoms bonded to it, c = positive charge, a = negative charge. O and S around the centre count as 0.

For SF₄: S has 6, plus 4 for the F atoms, gives ½ × 10 = 5 pairs, so sp³d. Four are bonds, so one is a lone pair, and the shape is a see-saw.

Steric number, hybridization and shape

PairsHybridizationLone pairsShapeExample
2sp0LinearBeCl₂
3sp²0Trigonal planarBF₃
3sp²1Bent (V-shaped)SO₂
4sp³0TetrahedralCH₄
4sp³1Trigonal pyramidalNH₃
4sp³2Bent (V-shaped)H₂O
5sp³d0Trigonal bipyramidalPCl₅
5sp³d1See-sawSF₄
5sp³d2T-shapedClF₃
5sp³d3LinearXeF₂
6sp³d²0OctahedralSF₆
6sp³d²1Square pyramidalBrF₅
6sp³d²2Square planarXeF₄
7sp³d³0Pentagonal bipyramidalIF₇
7sp³d³1Distorted octahedralXeF₆

Where lone pairs go

  • Repulsion order: lone pair–lone pair > lone pair–bond pair > bond pair–bond pair. That's why NH₃ (107°) and H₂O (104.5°) are squeezed below 109.5°.
  • Five pairs (sp³d): lone pairs take equatorial positions first, giving see-saw (SF₄), T-shaped (ClF₃) and linear (XeF₂).
  • Six pairs (sp³d²): a second lone pair goes opposite the first, giving square planar (XeF₄).

Common molecules and ions

Molecule or ionHybridizationShapeLone pairs
XeF₄sp³d²Square planar2
XeF₂sp³dLinear3
XeF₆sp³d³Distorted octahedral1
XeO₃sp³Trigonal pyramidal1
XeOF₄sp³d²Square pyramidal1
SF₄sp³dSee-saw1
SF₆sp³d²Octahedral0
ClF₃sp³dT-shaped2
BrF₃sp³dT-shaped2
BrF₅sp³d²Square pyramidal1
IF₅sp³d²Square pyramidal1
IF₇sp³d³Pentagonal bipyramidal0
PCl₅sp³dTrigonal bipyramidal0
PCl₃sp³Trigonal pyramidal1
NH₃sp³Trigonal pyramidal1
H₂Osp³Bent (V-shaped)2
CH₄sp³Tetrahedral0
BF₃sp²Trigonal planar0
BeCl₂spLinear0
CO₂spLinear0
SO₂sp²Bent (V-shaped)1
SO₃sp²Trigonal planar0
H₂Ssp³Bent (V-shaped)2
NH₄⁺sp³Tetrahedral0
H₃O⁺sp³Trigonal pyramidal1
NO₃⁻sp²Trigonal planar0
NO₂⁺spLinear0
CO₃²⁻sp²Trigonal planar0
SO₄²⁻sp³Tetrahedral0
ClO₄⁻sp³Tetrahedral0
I₃⁻sp³dLinear3
ICl₄⁻sp³d²Square planar2
PF₆⁻sp³d²Octahedral0
SnCl₂sp²Bent (V-shaped)1

This shortcut works for one central atom with H, halogen, O or S around it. For molecules like C₂H₄, HCN or H₂O₂, draw the Lewis structure and count pairs on each atom. For bonding in O₂ and N₂, use the bond order calculator.

Questions students ask

How do you find hybridization quickly?

Use steric number = ½ × (valence electrons of the central atom + monovalent atoms around it − positive charge + negative charge). 2 is sp, 3 is sp², 4 is sp³, 5 is sp³d, 6 is sp³d², 7 is sp³d³.

What is the hybridization of XeF₄?

sp³d², with two lone pairs on Xe, giving a square planar shape.

What is the difference between shape and geometry?

Electron geometry counts all electron pairs, including lone pairs. Shape (molecular geometry) only describes where the atoms are. NH₃ has tetrahedral electron geometry but a pyramidal shape.

Why is the bond angle in water 104.5°?

Its two lone pairs repel the O–H bonds more strongly than the bonds repel each other, squeezing the angle below the tetrahedral 109.5°.

Use these next