Iodine pentafluoride (IF5) adopts a square pyramidal shape rather than a trigonal bipyramidal configuration due to its electron arrangement and bonding characteristics. Iodine can accommodate up to seven ligands, with a total of 42 valence electrons available for bonding. In IF5, five bonding electrons are utilized, leading to a requirement for additional non-bonding electron pairs. The presence of these non-bonding pairs distorts the molecule from ideal trigonal bipyramidal geometry. To minimize repulsion, the non-bonded pairs are placed in equatorial positions, resulting in a square pyramidal structure.