When does a square planar shape occur?
In complex ions of transition metals with 8 d-electrons in the highest energy d-sub-shell.
e.g. platinum (II), palladium (II) and gold (III)
e.g. [Pt(NH3)4]2+ complex
ligands are arranged at the corners of a square.