A coordination number is the number of ligands that are attached to a central metal ion in a complex ion.