The crystal structure described by MgCo2O4 crystallizes in the orthorhombic Pmmn space group. There are two inequivalent Mg sites. In the first Mg site, Mg(1) is bonded to two equivalent O(1) and four equivalent O(3) atoms to form distorted MgO6 pentagonal pyramids that share corners with six equivalent Co(1)O6 octahedra, edges with two equivalent Co(1)O6 octahedra, and edges with four equivalent Co(2)O6 octahedra. The corner-sharing octahedral tilt angles range from 5-15°. In the second Mg site, Mg(2) is bonded in a 6-coordinate geometry to two equivalent O(2) and four equivalent O(3) atoms. There are two inequivalent Co sites. In the first Co site, Co(1) is bonded to one O(1), one O(2), and four equivalent O(3) atoms to form CoO6 octahedra that share corners with three equivalent Mg(1)O6 pentagonal pyramids, edges with two equivalent Co(1)O6 octahedra, edges with four equivalent Co(2)O6 octahedra, and  an edgeedge with one Mg(1)O6 pentagonal pyramid. In the second Co site, Co(2) is bonded to two equivalent O(1), two equivalent O(2), and two equivalent O(3) atoms to form CoO6 octahedra that share edges with two equivalent Co(2)O6 octahedra, edges with four equivalent Co(1)O6 octahedra, and edges with two equivalent Mg(1)O6 pentagonal pyramids. There are three inequivalent O sites. In the first O site, O(1) is bonded in a rectangular see-saw-like geometry to one Mg(1), one Co(1), and two equivalent Co(2) atoms. In the second O site, O(2) is bonded to one Mg(2), one Co(1), and two equivalent Co(2) atoms to form OMgCo3 trigonal pyramids that share corners with four equivalent O(3)Mg2Co3 trigonal bipyramids, corners with three equivalent O(2)MgCo3 trigonal pyramids, and edges with four equivalent O(3)Mg2Co3 trigonal bipyramids. In the third O site, O(3) is bonded to one Mg(1), one Mg(2), one Co(2), and two equivalent Co(1) atoms to form OMg2Co3 trigonal bipyramids that share corners with five equivalent O(3)Mg2Co3 trigonal bipyramids, corners with two equivalent O(2)MgCo3 trigonal pyramids, edges with four equivalent O(3)Mg2Co3 trigonal bipyramids, and edges with two equivalent O(2)MgCo3 trigonal pyramids. is represented by the CIF file [CIF]
data_Mg(CoO2)2
_symmetry_space_group_name_H-M   'P 1'
_cell_length_a   4.869
_cell_length_b   5.617
_cell_length_c   10.024
_cell_angle_alpha   90.000
_cell_angle_beta   90.000
_cell_angle_gamma   90.000
_symmetry_Int_Tables_number   1
_cell_volume   274.146
_cell_formula_units_Z   4
loop_
 _symmetry_equiv_pos_site_id
 _symmetry_equiv_pos_as_xyz
  1  'x, y, z'
loop_
 _atom_site_type_symbol
 _atom_site_label
 _atom_site_symmetry_multiplicity
 _atom_site_fract_x
 _atom_site_fract_y
 _atom_site_fract_z
 _atom_site_occupancy
  Mg  Mg0  1  0.355  0.000  0.500  1.0
  Mg  Mg1  1  0.645  0.500  0.000  1.0
  Mg  Mg2  1  0.030  0.000  0.000  1.0
  Mg  Mg3  1  0.970  0.500  0.500  1.0
  Co  Co4  1  0.008  0.500  0.241  1.0
  Co  Co5  1  0.008  0.500  0.759  1.0
  Co  Co6  1  0.992  0.000  0.259  1.0
  Co  Co7  1  0.992  0.000  0.741  1.0
  Co  Co8  1  0.500  0.250  0.250  1.0
  Co  Co9  1  0.500  0.750  0.750  1.0
  Co  Co10  1  0.500  0.750  0.250  1.0
  Co  Co11  1  0.500  0.250  0.750  1.0
  O  O12  1  0.349  0.500  0.145  1.0
  O  O13  1  0.349  0.500  0.855  1.0
  O  O14  1  0.651  0.000  0.355  1.0
  O  O15  1  0.651  0.000  0.645  1.0
  O  O16  1  0.684  0.500  0.347  1.0
  O  O17  1  0.684  0.500  0.653  1.0
  O  O18  1  0.316  0.000  0.153  1.0
  O  O19  1  0.316  0.000  0.847  1.0
  O  O20  1  0.166  0.252  0.358  1.0
  O  O21  1  0.166  0.748  0.642  1.0
  O  O22  1  0.834  0.752  0.142  1.0
  O  O23  1  0.834  0.248  0.858  1.0
  O  O24  1  0.834  0.248  0.142  1.0
  O  O25  1  0.834  0.752  0.858  1.0
  O  O26  1  0.166  0.748  0.358  1.0
  O  O27  1  0.166  0.252  0.642  1.0
[/CIF]
.
The crystal structure described by MgCo2O4 crystallizes in the orthorhombic Pmmn space group. There are two inequivalent Mg sites. In the first Mg site, Mg(1) is bonded to two equivalent O(1) and four equivalent O(3) atoms to form distorted MgO6 pentagonal pyramids that share corners with six equivalent Co(1)O6 octahedra, edges with two equivalent Co(1)O6 octahedra, and edges with four equivalent Co(2)O6 octahedra. The corner-sharing octahedral tilt angles range from 5-15°. In the second Mg site, Mg(2) is bonded in a 6-coordinate geometry to two equivalent O(2) and four equivalent O(3) atoms. There are two inequivalent Co sites. In the first Co site, Co(1) is bonded to one O(1), one O(2), and four equivalent O(3) atoms to form CoO6 octahedra that share corners with three equivalent Mg(1)O6 pentagonal pyramids, edges with two equivalent Co(1)O6 octahedra, edges with four equivalent Co(2)O6 octahedra, and  an edgeedge with one Mg(1)O6 pentagonal pyramid. In the second Co site, Co(2) is bonded to two equivalent O(1), two equivalent O(2), and two equivalent O(3) atoms to form CoO6 octahedra that share edges with two equivalent Co(2)O6 octahedra, edges with four equivalent Co(1)O6 octahedra, and edges with two equivalent Mg(1)O6 pentagonal pyramids. There are three inequivalent O sites. In the first O site, O(1) is bonded in a rectangular see-saw-like geometry to one Mg(1), one Co(1), and two equivalent Co(2) atoms. In the second O site, O(2) is bonded to one Mg(2), one Co(1), and two equivalent Co(2) atoms to form OMgCo3 trigonal pyramids that share corners with four equivalent O(3)Mg2Co3 trigonal bipyramids, corners with three equivalent O(2)MgCo3 trigonal pyramids, and edges with four equivalent O(3)Mg2Co3 trigonal bipyramids. In the third O site, O(3) is bonded to one Mg(1), one Mg(2), one Co(2), and two equivalent Co(1) atoms to form OMg2Co3 trigonal bipyramids that share corners with five equivalent O(3)Mg2Co3 trigonal bipyramids, corners with two equivalent O(2)MgCo3 trigonal pyramids, edges with four equivalent O(3)Mg2Co3 trigonal bipyramids, and edges with two equivalent O(2)MgCo3 trigonal pyramids. is represented by the CIF file [CIF]
data_Mg(CoO2)2
_symmetry_space_group_name_H-M   'P 1'
_cell_length_a   4.869
_cell_length_b   5.617
_cell_length_c   10.024
_cell_angle_alpha   90.000
_cell_angle_beta   90.000
_cell_angle_gamma   90.000
_symmetry_Int_Tables_number   1
_cell_volume   274.146
_cell_formula_units_Z   4
loop_
 _symmetry_equiv_pos_site_id
 _symmetry_equiv_pos_as_xyz
  1  'x, y, z'
loop_
 _atom_site_type_symbol
 _atom_site_label
 _atom_site_symmetry_multiplicity
 _atom_site_fract_x
 _atom_site_fract_y
 _atom_site_fract_z
 _atom_site_occupancy
  Mg  Mg0  1  0.355  0.000  0.500  1.0
  Mg  Mg1  1  0.645  0.500  0.000  1.0
  Mg  Mg2  1  0.030  0.000  0.000  1.0
  Mg  Mg3  1  0.970  0.500  0.500  1.0
  Co  Co4  1  0.008  0.500  0.241  1.0
  Co  Co5  1  0.008  0.500  0.759  1.0
  Co  Co6  1  0.992  0.000  0.259  1.0
  Co  Co7  1  0.992  0.000  0.741  1.0
  Co  Co8  1  0.500  0.250  0.250  1.0
  Co  Co9  1  0.500  0.750  0.750  1.0
  Co  Co10  1  0.500  0.750  0.250  1.0
  Co  Co11  1  0.500  0.250  0.750  1.0
  O  O12  1  0.349  0.500  0.145  1.0
  O  O13  1  0.349  0.500  0.855  1.0
  O  O14  1  0.651  0.000  0.355  1.0
  O  O15  1  0.651  0.000  0.645  1.0
  O  O16  1  0.684  0.500  0.347  1.0
  O  O17  1  0.684  0.500  0.653  1.0
  O  O18  1  0.316  0.000  0.153  1.0
  O  O19  1  0.316  0.000  0.847  1.0
  O  O20  1  0.166  0.252  0.358  1.0
  O  O21  1  0.166  0.748  0.642  1.0
  O  O22  1  0.834  0.752  0.142  1.0
  O  O23  1  0.834  0.248  0.858  1.0
  O  O24  1  0.834  0.248  0.142  1.0
  O  O25  1  0.834  0.752  0.858  1.0
  O  O26  1  0.166  0.748  0.358  1.0
  O  O27  1  0.166  0.252  0.642  1.0
[/CIF]
.