The compound described by MgAl2O4 crystallizes in the hexagonal P-6 space group. There are three inequivalent Mg sites. In the first Mg site, Mg(1) is bonded to six equivalent O(2) atoms to form distorted MgO6 pentagonal pyramids that share corners with six equivalent Al(1)O6 octahedra, corners with six equivalent Al(2)O6 octahedra, edges with three equivalent Al(1)O6 octahedra, and faces with two equivalent Mg(1)O6 pentagonal pyramids. The corner-sharing octahedral tilt angles range from 27-74°. In the second Mg site, Mg(2) is bonded to six equivalent O(1) atoms to form distorted MgO6 pentagonal pyramids that share corners with six equivalent Al(1)O6 octahedra, corners with six equivalent Al(2)O6 octahedra, edges with three equivalent Al(2)O6 octahedra, and faces with two equivalent Mg(2)O6 pentagonal pyramids. The corner-sharing octahedral tilt angles range from 27-73°. In the third Mg site, Mg(3) is bonded in a distorted trigonal planar geometry to three equivalent O(3) atoms. There are two inequivalent Al sites. In the first Al site, Al(1) is bonded to one O(1), one O(3), two equivalent O(2), and two equivalent O(4) atoms to form AlO6 octahedra that share corners with four equivalent Al(2)O6 octahedra, corners with two equivalent Mg(1)O6 pentagonal pyramids, corners with two equivalent Mg(2)O6 pentagonal pyramids, edges with two equivalent Al(1)O6 octahedra, edges with two equivalent Al(2)O6 octahedra, and  an edgeedge with one Mg(1)O6 pentagonal pyramid. The corner-sharing octahedral tilt angles are 55°. In the second Al site, Al(2) is bonded to one O(2), one O(4), two equivalent O(1), and two equivalent O(3) atoms to form AlO6 octahedra that share corners with four equivalent Al(1)O6 octahedra, corners with two equivalent Mg(1)O6 pentagonal pyramids, corners with two equivalent Mg(2)O6 pentagonal pyramids, edges with two equivalent Al(1)O6 octahedra, edges with two equivalent Al(2)O6 octahedra, and  an edgeedge with one Mg(2)O6 pentagonal pyramid. The corner-sharing octahedral tilt angles are 55°. There are four inequivalent O sites. In the first O site, O(1) is bonded to two equivalent Mg(2), one Al(1), and two equivalent Al(2) atoms to form distorted OMg2Al3 trigonal bipyramids that share corners with three equivalent O(3)MgAl3 tetrahedra, corners with four equivalent O(1)Mg2Al3 trigonal bipyramids,  an edgeedge with one O(3)MgAl3 tetrahedra, edges with two equivalent O(2)Mg2Al3 trigonal bipyramids, and edges with four equivalent O(1)Mg2Al3 trigonal bipyramids. In the second O site, O(2) is bonded to two equivalent Mg(1), one Al(2), and two equivalent Al(1) atoms to form distorted OMg2Al3 trigonal bipyramids that share corners with four equivalent O(3)MgAl3 tetrahedra, corners with four equivalent O(2)Mg2Al3 trigonal bipyramids, edges with two equivalent O(1)Mg2Al3 trigonal bipyramids, and edges with four equivalent O(2)Mg2Al3 trigonal bipyramids. In the third O site, O(3) is bonded to one Mg(3), one Al(1), and two equivalent Al(2) atoms to form distorted OMgAl3 tetrahedra that share corners with four equivalent O(3)MgAl3 tetrahedra, corners with three equivalent O(1)Mg2Al3 trigonal bipyramids, corners with four equivalent O(2)Mg2Al3 trigonal bipyramids, and  an edgeedge with one O(1)Mg2Al3 trigonal bipyramid. In the fourth O site, O(4) is bonded in a 3-coordinate geometry to one Al(2) and two equivalent Al(1) atoms. is represented by the CIF file [CIF]
data_MgAl2O4
_symmetry_space_group_name_H-M   'P 1'
_cell_length_a   8.763
_cell_length_b   8.763
_cell_length_c   2.832
_cell_angle_alpha   90.000
_cell_angle_beta   90.000
_cell_angle_gamma   120.000
_symmetry_Int_Tables_number   1
_cell_volume   188.304
_cell_formula_units_Z   3
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.333  0.667  0.000  1.0
  Mg  Mg1  1  0.000  0.000  0.500  1.0
  Mg  Mg2  1  0.667  0.333  0.000  1.0
  Al  Al3  1  0.020  0.344  0.000  1.0
  Al  Al4  1  0.323  0.980  0.000  1.0
  Al  Al5  1  0.656  0.677  0.000  1.0
  Al  Al6  1  0.314  0.323  0.500  1.0
  Al  Al7  1  0.009  0.686  0.500  1.0
  Al  Al8  1  0.677  0.991  0.500  1.0
  O  O9  1  0.135  0.203  0.000  1.0
  O  O10  1  0.068  0.865  0.000  1.0
  O  O11  1  0.797  0.932  0.000  1.0
  O  O12  1  0.199  0.464  0.500  1.0
  O  O13  1  0.265  0.801  0.500  1.0
  O  O14  1  0.536  0.735  0.500  1.0
  O  O15  1  0.564  0.039  0.000  1.0
  O  O16  1  0.475  0.436  0.000  1.0
  O  O17  1  0.961  0.525  0.000  1.0
  O  O18  1  0.770  0.628  0.500  1.0
  O  O19  1  0.858  0.230  0.500  1.0
  O  O20  1  0.372  0.142  0.500  1.0
[/CIF]
.
The compound described by MgAl2O4 crystallizes in the hexagonal P-6 space group. There are three inequivalent Mg sites. In the first Mg site, Mg(1) is bonded to six equivalent O(2) atoms to form distorted MgO6 pentagonal pyramids that share corners with six equivalent Al(1)O6 octahedra, corners with six equivalent Al(2)O6 octahedra, edges with three equivalent Al(1)O6 octahedra, and faces with two equivalent Mg(1)O6 pentagonal pyramids. The corner-sharing octahedral tilt angles range from 27-74°. In the second Mg site, Mg(2) is bonded to six equivalent O(1) atoms to form distorted MgO6 pentagonal pyramids that share corners with six equivalent Al(1)O6 octahedra, corners with six equivalent Al(2)O6 octahedra, edges with three equivalent Al(2)O6 octahedra, and faces with two equivalent Mg(2)O6 pentagonal pyramids. The corner-sharing octahedral tilt angles range from 27-73°. In the third Mg site, Mg(3) is bonded in a distorted trigonal planar geometry to three equivalent O(3) atoms. There are two inequivalent Al sites. In the first Al site, Al(1) is bonded to one O(1), one O(3), two equivalent O(2), and two equivalent O(4) atoms to form AlO6 octahedra that share corners with four equivalent Al(2)O6 octahedra, corners with two equivalent Mg(1)O6 pentagonal pyramids, corners with two equivalent Mg(2)O6 pentagonal pyramids, edges with two equivalent Al(1)O6 octahedra, edges with two equivalent Al(2)O6 octahedra, and  an edgeedge with one Mg(1)O6 pentagonal pyramid. The corner-sharing octahedral tilt angles are 55°. In the second Al site, Al(2) is bonded to one O(2), one O(4), two equivalent O(1), and two equivalent O(3) atoms to form AlO6 octahedra that share corners with four equivalent Al(1)O6 octahedra, corners with two equivalent Mg(1)O6 pentagonal pyramids, corners with two equivalent Mg(2)O6 pentagonal pyramids, edges with two equivalent Al(1)O6 octahedra, edges with two equivalent Al(2)O6 octahedra, and  an edgeedge with one Mg(2)O6 pentagonal pyramid. The corner-sharing octahedral tilt angles are 55°. There are four inequivalent O sites. In the first O site, O(1) is bonded to two equivalent Mg(2), one Al(1), and two equivalent Al(2) atoms to form distorted OMg2Al3 trigonal bipyramids that share corners with three equivalent O(3)MgAl3 tetrahedra, corners with four equivalent O(1)Mg2Al3 trigonal bipyramids,  an edgeedge with one O(3)MgAl3 tetrahedra, edges with two equivalent O(2)Mg2Al3 trigonal bipyramids, and edges with four equivalent O(1)Mg2Al3 trigonal bipyramids. In the second O site, O(2) is bonded to two equivalent Mg(1), one Al(2), and two equivalent Al(1) atoms to form distorted OMg2Al3 trigonal bipyramids that share corners with four equivalent O(3)MgAl3 tetrahedra, corners with four equivalent O(2)Mg2Al3 trigonal bipyramids, edges with two equivalent O(1)Mg2Al3 trigonal bipyramids, and edges with four equivalent O(2)Mg2Al3 trigonal bipyramids. In the third O site, O(3) is bonded to one Mg(3), one Al(1), and two equivalent Al(2) atoms to form distorted OMgAl3 tetrahedra that share corners with four equivalent O(3)MgAl3 tetrahedra, corners with three equivalent O(1)Mg2Al3 trigonal bipyramids, corners with four equivalent O(2)Mg2Al3 trigonal bipyramids, and  an edgeedge with one O(1)Mg2Al3 trigonal bipyramid. In the fourth O site, O(4) is bonded in a 3-coordinate geometry to one Al(2) and two equivalent Al(1) atoms. is represented by the CIF file [CIF]
data_MgAl2O4
_symmetry_space_group_name_H-M   'P 1'
_cell_length_a   8.763
_cell_length_b   8.763
_cell_length_c   2.832
_cell_angle_alpha   90.000
_cell_angle_beta   90.000
_cell_angle_gamma   120.000
_symmetry_Int_Tables_number   1
_cell_volume   188.304
_cell_formula_units_Z   3
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.333  0.667  0.000  1.0
  Mg  Mg1  1  0.000  0.000  0.500  1.0
  Mg  Mg2  1  0.667  0.333  0.000  1.0
  Al  Al3  1  0.020  0.344  0.000  1.0
  Al  Al4  1  0.323  0.980  0.000  1.0
  Al  Al5  1  0.656  0.677  0.000  1.0
  Al  Al6  1  0.314  0.323  0.500  1.0
  Al  Al7  1  0.009  0.686  0.500  1.0
  Al  Al8  1  0.677  0.991  0.500  1.0
  O  O9  1  0.135  0.203  0.000  1.0
  O  O10  1  0.068  0.865  0.000  1.0
  O  O11  1  0.797  0.932  0.000  1.0
  O  O12  1  0.199  0.464  0.500  1.0
  O  O13  1  0.265  0.801  0.500  1.0
  O  O14  1  0.536  0.735  0.500  1.0
  O  O15  1  0.564  0.039  0.000  1.0
  O  O16  1  0.475  0.436  0.000  1.0
  O  O17  1  0.961  0.525  0.000  1.0
  O  O18  1  0.770  0.628  0.500  1.0
  O  O19  1  0.858  0.230  0.500  1.0
  O  O20  1  0.372  0.142  0.500  1.0
[/CIF]
.