Square pyramidal is a molecular shape that results when there are five bonds and one lone pair on the central atom in the molecule. Bromine pentafluoride (BrF5) has the geometry of a square pyramid, with fluorine atoms occupying five vertices, one of which is above the plane of the other four. This molecule is made up of six equally spaced sp3d2 (or d2sp3) hybrid orbitals arranged at 90° angles. The shape of the orbitals is octahedral. Because of the high symmetry of the octahedral arrangement, all six positions are equivalent, so it does not matter in which position in the drawing we put the lone pair. The remaining four atoms connected to the central atom give the molecule a square planar shape.
Generalic, Eni. "Square pyramidal molecular geometry." Croatian-English Chemistry Dictionary & Glossary. 29 June 2022. KTF-Split. {Date of access}. <https://glossary.periodni.com>.
Glossary
Periodic Table