Step 1: Understanding the Concept
In \(\text{BrF}_5\), bromine has 7 valence electrons; five are used for bonds with fluorine, leaving one lone pair.
Step 2: Electron pairs
There are 5 bond pairs and 1 lone pair, so 6 electron pairs, giving \(sp^3d^2\) hybridisation and an octahedral electron geometry.
Step 3: Molecular shape
With one lone pair at one corner of the octahedron, the molecule is square pyramidal.
Final Answer:
Bromine pentafluoride has a square pyramidal shape.
\[ \boxed{\text{(B) }\text{Square pyramidal}} \]