MgGd6In2O12 crystallizes in the triclinic P1 space group. Mg(1) is bonded in a 5-coordinate geometry to one O(1), one O(3), one O(4), one O(5), and one O(8) atom. There are six inequivalent Gd sites. In the first Gd site, Gd(1) is bonded to one O(1), one O(10), one O(12), one O(2), one O(3), and one O(5) atom to form distorted GdO6 pentagonal pyramids that share  a cornercorner with one In(2)O6 octahedra, corners with two equivalent Gd(2)O6 pentagonal pyramids,  an edgeedge with one In(2)O6 octahedra, and  an edgeedge with one Gd(5)O6 pentagonal pyramid. The corner-sharing octahedral tilt angles are 33°. In the second Gd site, Gd(2) is bonded to one O(11), one O(2), one O(3), one O(4), one O(6), and one O(7) atom to form distorted GdO6 pentagonal pyramids that share  a cornercorner with one In(2)O6 octahedra, corners with two equivalent Gd(1)O6 pentagonal pyramids,  an edgeedge with one In(2)O6 octahedra, and edges with two equivalent Gd(5)O6 pentagonal pyramids. The corner-sharing octahedral tilt angles are 44°. In the third Gd site, Gd(3) is bonded in a 6-coordinate geometry to one O(1), one O(4), one O(5), one O(6), one O(8), and one O(9) atom. In the fourth Gd site, Gd(4) is bonded in a 6-coordinate geometry to one O(12), one O(4), one O(5), one O(7), one O(8), and one O(9) atom. In the fifth Gd site, Gd(5) is bonded to one O(10), one O(11), one O(2), one O(6), one O(7), and one O(9) atom to form distorted GdO6 pentagonal pyramids that share  a cornercorner with one In(2)O6 octahedra,  an edgeedge with one In(2)O6 octahedra,  an edgeedge with one Gd(1)O6 pentagonal pyramid, and edges with two equivalent Gd(2)O6 pentagonal pyramids. The corner-sharing octahedral tilt angles are 35°. In the sixth Gd site, Gd(6) is bonded in a 6-coordinate geometry to one O(1), one O(10), one O(11), one O(12), one O(3), and one O(8) atom. There are two inequivalent In sites. In the first In site, In(1) is bonded in a 4-coordinate geometry to one O(11), one O(12), one O(2), and one O(9) atom. In the second In site, In(2) is bonded to one O(10), one O(3), one O(5), one O(6), one O(7), and one O(8) atom to form InO6 octahedra that share  a cornercorner with one Gd(1)O6 pentagonal pyramid,  a cornercorner with one Gd(2)O6 pentagonal pyramid,  a cornercorner with one Gd(5)O6 pentagonal pyramid,  an edgeedge with one Gd(1)O6 pentagonal pyramid,  an edgeedge with one Gd(2)O6 pentagonal pyramid, and  an edgeedge with one Gd(5)O6 pentagonal pyramid. There are twelve inequivalent O sites. In the first O site, O(1) is bonded in a 4-coordinate geometry to one Mg(1), one Gd(1), one Gd(3), and one Gd(6) atom. In the second O site, O(2) is bonded to one Gd(1), one Gd(2), one Gd(5), and one In(1) atom to form distorted OGd3In trigonal pyramids that share corners with two equivalent O(12)Gd3In tetrahedra, corners with two equivalent O(3)Gd3MgIn trigonal bipyramids,  a cornercorner with one O(11)Gd3In trigonal pyramid, corners with two equivalent O(6)Gd3In trigonal pyramids,  an edgeedge with one O(11)Gd3In trigonal pyramid, and  an edgeedge with one O(9)Gd3In trigonal pyramid. In the third O site, O(3) is bonded to one Mg(1), one Gd(1), one Gd(2), one Gd(6), and one In(2) atom to form a mixture of distorted corner and edge-sharing OGd3MgIn trigonal bipyramids. In the fourth O site, O(4) is bonded in a distorted rectangular see-saw-like geometry to one Mg(1), one Gd(2), one Gd(3), and one Gd(4) atom. In the fifth O site, O(5) is bonded in a 5-coordinate geometry to one Mg(1), one Gd(1), one Gd(3), one Gd(4), and one In(2) atom. In the sixth O site, O(6) is bonded to one Gd(2), one Gd(3), one Gd(5), and one In(2) atom to form distorted OGd3In trigonal pyramids that share corners with two equivalent O(3)Gd3MgIn trigonal bipyramids, corners with two equivalent O(11)Gd3In trigonal pyramids, corners with two equivalent O(2)Gd3In trigonal pyramids, and corners with two equivalent O(9)Gd3In trigonal pyramids. In the seventh O site, O(7) is bonded in a distorted see-saw-like geometry to one Gd(2), one Gd(4), one Gd(5), and one In(2) atom. In the eighth O site, O(8) is bonded in a 5-coordinate geometry to one Mg(1), one Gd(3), one Gd(4), one Gd(6), and one In(2) atom. In the ninth O site, O(9) is bonded to one Gd(3), one Gd(4), one Gd(5), and one In(1) atom to form a mixture of distorted corner and edge-sharing OGd3In trigonal pyramids. In the tenth O site, O(10) is bonded in a distorted see-saw-like geometry to one Gd(1), one Gd(5), one Gd(6), and one In(2) atom. In the eleventh O site, O(11) is bonded to one Gd(2), one Gd(5), one Gd(6), and one In(1) atom to form distorted OGd3In trigonal pyramids that share  a cornercorner with one O(2)Gd3In trigonal pyramid, corners with two equivalent O(6)Gd3In trigonal pyramids, corners with two equivalent O(9)Gd3In trigonal pyramids,  an edgeedge with one O(12)Gd3In tetrahedra,  an edgeedge with one O(3)Gd3MgIn trigonal bipyramid, and  an edgeedge with one O(2)Gd3In trigonal pyramid. In the twelfth O site, O(12) is bonded to one Gd(1), one Gd(4), one Gd(6), and one In(1) atom to form distorted OGd3In tetrahedra that share corners with two equivalent O(3)Gd3MgIn trigonal bipyramids, corners with two equivalent O(2)Gd3In trigonal pyramids,  an edgeedge with one O(11)Gd3In trigonal pyramid, and  an edgeedge with one O(9)Gd3In trigonal pyramid.
MgGd6In2O12 crystallizes in the triclinic P1 space group. Mg(1) is bonded in a 5-coordinate geometry to one O(1), one O(3), one O(4), one O(5), and one O(8) atom. The Mg(1)-O(1) bond length is 1.96 Å. The Mg(1)-O(3) bond length is 2.11 Å. The Mg(1)-O(4) bond length is 1.97 Å. The Mg(1)-O(5) bond length is 2.49 Å. The Mg(1)-O(8) bond length is 2.01 Å. There are six inequivalent Gd sites. In the first Gd site, Gd(1) is bonded to one O(1), one O(10), one O(12), one O(2), one O(3), and one O(5) atom to form distorted GdO6 pentagonal pyramids that share  a cornercorner with one In(2)O6 octahedra, corners with two equivalent Gd(2)O6 pentagonal pyramids,  an edgeedge with one In(2)O6 octahedra, and  an edgeedge with one Gd(5)O6 pentagonal pyramid. The corner-sharing octahedral tilt angles are 33°. The Gd(1)-O(1) bond length is 2.37 Å. The Gd(1)-O(10) bond length is 2.42 Å. The Gd(1)-O(12) bond length is 2.30 Å. The Gd(1)-O(2) bond length is 2.27 Å. The Gd(1)-O(3) bond length is 2.53 Å. The Gd(1)-O(5) bond length is 2.33 Å. In the second Gd site, Gd(2) is bonded to one O(11), one O(2), one O(3), one O(4), one O(6), and one O(7) atom to form distorted GdO6 pentagonal pyramids that share  a cornercorner with one In(2)O6 octahedra, corners with two equivalent Gd(1)O6 pentagonal pyramids,  an edgeedge with one In(2)O6 octahedra, and edges with two equivalent Gd(5)O6 pentagonal pyramids. The corner-sharing octahedral tilt angles are 44°. The Gd(2)-O(11) bond length is 2.39 Å. The Gd(2)-O(2) bond length is 2.24 Å. The Gd(2)-O(3) bond length is 2.41 Å. The Gd(2)-O(4) bond length is 2.50 Å. The Gd(2)-O(6) bond length is 2.36 Å. The Gd(2)-O(7) bond length is 2.34 Å. In the third Gd site, Gd(3) is bonded in a 6-coordinate geometry to one O(1), one O(4), one O(5), one O(6), one O(8), and one O(9) atom. The Gd(3)-O(1) bond length is 2.39 Å. The Gd(3)-O(4) bond length is 2.38 Å. The Gd(3)-O(5) bond length is 2.72 Å. The Gd(3)-O(6) bond length is 2.32 Å. The Gd(3)-O(8) bond length is 2.42 Å. The Gd(3)-O(9) bond length is 2.21 Å. In the fourth Gd site, Gd(4) is bonded in a 6-coordinate geometry to one O(12), one O(4), one O(5), one O(7), one O(8), and one O(9) atom. The Gd(4)-O(12) bond length is 2.21 Å. The Gd(4)-O(4) bond length is 2.36 Å. The Gd(4)-O(5) bond length is 2.34 Å. The Gd(4)-O(7) bond length is 2.26 Å. The Gd(4)-O(8) bond length is 2.67 Å. The Gd(4)-O(9) bond length is 2.30 Å. In the fifth Gd site, Gd(5) is bonded to one O(10), one O(11), one O(2), one O(6), one O(7), and one O(9) atom to form distorted GdO6 pentagonal pyramids that share  a cornercorner with one In(2)O6 octahedra,  an edgeedge with one In(2)O6 octahedra,  an edgeedge with one Gd(1)O6 pentagonal pyramid, and edges with two equivalent Gd(2)O6 pentagonal pyramids. The corner-sharing octahedral tilt angles are 35°. The Gd(5)-O(10) bond length is 2.40 Å. The Gd(5)-O(11) bond length is 2.21 Å. The Gd(5)-O(2) bond length is 2.44 Å. The Gd(5)-O(6) bond length is 2.40 Å. The Gd(5)-O(7) bond length is 2.45 Å. The Gd(5)-O(9) bond length is 2.28 Å. In the sixth Gd site, Gd(6) is bonded in a 6-coordinate geometry to one O(1), one O(10), one O(11), one O(12), one O(3), and one O(8) atom. The Gd(6)-O(1) bond length is 2.31 Å. The Gd(6)-O(10) bond length is 2.32 Å. The Gd(6)-O(11) bond length is 2.21 Å. The Gd(6)-O(12) bond length is 2.42 Å. The Gd(6)-O(3) bond length is 2.51 Å. The Gd(6)-O(8) bond length is 2.40 Å. There are two inequivalent In sites. In the first In site, In(1) is bonded in a 4-coordinate geometry to one O(11), one O(12), one O(2), and one O(9) atom. The In(1)-O(11) bond length is 2.67 Å. The In(1)-O(12) bond length is 2.49 Å. The In(1)-O(2) bond length is 2.60 Å. The In(1)-O(9) bond length is 2.46 Å. In the second In site, In(2) is bonded to one O(10), one O(3), one O(5), one O(6), one O(7), and one O(8) atom to form InO6 octahedra that share  a cornercorner with one Gd(1)O6 pentagonal pyramid,  a cornercorner with one Gd(2)O6 pentagonal pyramid,  a cornercorner with one Gd(5)O6 pentagonal pyramid,  an edgeedge with one Gd(1)O6 pentagonal pyramid,  an edgeedge with one Gd(2)O6 pentagonal pyramid, and  an edgeedge with one Gd(5)O6 pentagonal pyramid. The In(2)-O(10) bond length is 2.20 Å. The In(2)-O(3) bond length is 2.21 Å. The In(2)-O(5) bond length is 2.18 Å. The In(2)-O(6) bond length is 2.20 Å. The In(2)-O(7) bond length is 2.26 Å. The In(2)-O(8) bond length is 2.27 Å. There are twelve inequivalent O sites. In the first O site, O(1) is bonded in a 4-coordinate geometry to one Mg(1), one Gd(1), one Gd(3), and one Gd(6) atom. In the second O site, O(2) is bonded to one Gd(1), one Gd(2), one Gd(5), and one In(1) atom to form distorted OGd3In trigonal pyramids that share corners with two equivalent O(12)Gd3In tetrahedra, corners with two equivalent O(3)Gd3MgIn trigonal bipyramids,  a cornercorner with one O(11)Gd3In trigonal pyramid, corners with two equivalent O(6)Gd3In trigonal pyramids,  an edgeedge with one O(11)Gd3In trigonal pyramid, and  an edgeedge with one O(9)Gd3In trigonal pyramid. In the third O site, O(3) is bonded to one Mg(1), one Gd(1), one Gd(2), one Gd(6), and one In(2) atom to form a mixture of distorted corner and edge-sharing OGd3MgIn trigonal bipyramids. In the fourth O site, O(4) is bonded in a distorted rectangular see-saw-like geometry to one Mg(1), one Gd(2), one Gd(3), and one Gd(4) atom. In the fifth O site, O(5) is bonded in a 5-coordinate geometry to one Mg(1), one Gd(1), one Gd(3), one Gd(4), and one In(2) atom. In the sixth O site, O(6) is bonded to one Gd(2), one Gd(3), one Gd(5), and one In(2) atom to form distorted OGd3In trigonal pyramids that share corners with two equivalent O(3)Gd3MgIn trigonal bipyramids, corners with two equivalent O(11)Gd3In trigonal pyramids, corners with two equivalent O(2)Gd3In trigonal pyramids, and corners with two equivalent O(9)Gd3In trigonal pyramids. In the seventh O site, O(7) is bonded in a distorted see-saw-like geometry to one Gd(2), one Gd(4), one Gd(5), and one In(2) atom. In the eighth O site, O(8) is bonded in a 5-coordinate geometry to one Mg(1), one Gd(3), one Gd(4), one Gd(6), and one In(2) atom. In the ninth O site, O(9) is bonded to one Gd(3), one Gd(4), one Gd(5), and one In(1) atom to form a mixture of distorted corner and edge-sharing OGd3In trigonal pyramids. In the tenth O site, O(10) is bonded in a distorted see-saw-like geometry to one Gd(1), one Gd(5), one Gd(6), and one In(2) atom. In the eleventh O site, O(11) is bonded to one Gd(2), one Gd(5), one Gd(6), and one In(1) atom to form distorted OGd3In trigonal pyramids that share  a cornercorner with one O(2)Gd3In trigonal pyramid, corners with two equivalent O(6)Gd3In trigonal pyramids, corners with two equivalent O(9)Gd3In trigonal pyramids,  an edgeedge with one O(12)Gd3In tetrahedra,  an edgeedge with one O(3)Gd3MgIn trigonal bipyramid, and  an edgeedge with one O(2)Gd3In trigonal pyramid. In the twelfth O site, O(12) is bonded to one Gd(1), one Gd(4), one Gd(6), and one In(1) atom to form distorted OGd3In tetrahedra that share corners with two equivalent O(3)Gd3MgIn trigonal bipyramids, corners with two equivalent O(2)Gd3In trigonal pyramids,  an edgeedge with one O(11)Gd3In trigonal pyramid, and  an edgeedge with one O(9)Gd3In trigonal pyramid.