A common way to determine the coordination number of an atom is by
X-ray crystallography. Related techniques include
neutron or
electron diffraction. The coordination number of an atom can be determined straightforwardly by counting nearest neighbors. For example, α-Aluminium has a regular cubic close packed structure,
fcc, where each aluminium atom has 12 nearest neighbors, 6 in the same plane and 3 above and below and the coordination polyhedron is a
cuboctahedron. α-Iron has a
body centered cubic structure where each iron atom has 8 nearest neighbors situated at the corners of a cube. The two most common
allotropes of carbon have different coordination numbers. In
diamond, each carbon atom is at the centre of a regular
tetrahedron formed by four other carbon atoms, the coordination number is four, as for methane.
Graphite is made of two-dimensional layers in which each carbon is covalently bonded to three other carbons; atoms in other layers are further away and are not nearest neighbours, giving a coordination number of 3. In some compounds the metal-ligand bonds may not all be at the same distance. For example in PbCl2, the coordination number of Pb2+ depends on which chlorides are assigned as ligands. Seven chloride ligands have Pb-Cl distances of 280–309 pm. Two chloride ligands are more distant, with a Pb-Cl distances of 370 pm. Some metals have irregular structures. For example, zinc has a distorted hexagonal close packed structure. Regular hexagonal close packing of spheres would predict that each atom has 12 nearest neighbours and a
triangular orthobicupola (also called an anticuboctahedron or twinned cuboctahedron) coordination polyhedron. In zinc there are only 6 nearest neighbours at 266 pm in the same close packed plane with six other, next-nearest neighbours, equidistant, three in each of the close packed planes above and below at 291 pm. The coordination number of Zn can be assigned as 12 rather than 6. Several propositions have been made to calculate a mean or « effective » coordination number (e.c.n. or ECoN) by adding all surrounding atoms with a weighting scheme, in that the atoms are not counted as full atoms, but as fractional atoms with a number between 0 and 1; this number is closer to zero when the atom is further away. Frequently a gap can be found in the distribution of the interatomic distance of the neighboring atoms: if the shortest distance to a neighboring atom is set equal to 1, then often further atoms are found at distances between 1 and 1.3, and after them follows a gap in which no atoms are found. According to a proposition of G. Brunner and D. Schwarzenbach an atom at the distance of 1 obtains a weight 1, the first atom beyond the gap obtains zero weight, and all intermediate atoms are included with weights that are calculated from their distances by linear interpolation: e.c.n. = \sum_{i}\left ( \frac{d_g-d_i}{d_g-d_1} \right ) where d_1 is the distance to the closest atom, d_g is the distance to the first atom beyond the gap and d_i is the distance to the
i-th atom in the region between d_1 and d_g. This method is however of no help when no clear gap can be discerned. A mathematically unique method of calculation considers the domain of influence (also called Voronoi polyhedron,
Wigner-Seitz cell or Dirichlet domain). The domain is constructed by connecting the atom in question with all surrounding atoms; the set of planes perpendicular to the connecting lines and passing through their midpoints forms the domain of influence, which is a
convex polyhedron. In this way, a polyhedron face can be assigned to every neighboring atom, the area of the face serving as measure for the weighting. A value of 1 is assigned to the largest face. Other formulas have also been derived, for example: ECoN = \sum_{i} \exp\left[1-\left ( \frac{d_i}{d_1} \right )^n\right] where n = 5 or 6, d_i is the distance to the
i-th atom and d_1 is the shortest distance or the assumed standard distance. == Usage in quasicrystal, liquid and other disordered systems ==