Mg2W3InS8 crystallizes in the triclinic P1 space group. There are two inequivalent Mg sites. In the first Mg site, Mg(1) is bonded to one S(1), one S(5), one S(6), and one S(8) atom to form MgS4 tetrahedra that share corners with three equivalent W(3)S6 octahedra and corners with three equivalent In(1)S6 octahedra. The corner-sharing octahedral tilt angles range from 45-68°. In the second Mg site, Mg(2) is bonded in a rectangular see-saw-like geometry to one S(2), one S(3), one S(4), and one S(7) atom. There are three inequivalent W sites. In the first W site, W(1) is bonded in a 6-coordinate geometry to one S(1), one S(3), one S(4), one S(5), one S(6), and one S(7) atom. In the second W site, W(2) is bonded in a 6-coordinate geometry to one S(1), one S(2), one S(3), one S(5), one S(7), and one S(8) atom. In the third W site, W(3) is bonded to one S(1), one S(2), one S(4), one S(6), one S(7), and one S(8) atom to form distorted WS6 octahedra that share corners with three equivalent Mg(1)S4 tetrahedra and edges with two equivalent In(1)S6 octahedra. In(1) is bonded to one S(2), one S(3), one S(4), one S(5), one S(6), and one S(8) atom to form InS6 octahedra that share corners with three equivalent Mg(1)S4 tetrahedra and edges with two equivalent W(3)S6 octahedra. There are eight inequivalent S sites. In the first S site, S(1) is bonded in a 4-coordinate geometry to one Mg(1), one W(1), one W(2), and one W(3) atom. In the second S site, S(2) is bonded to one Mg(2), one W(2), one W(3), and one In(1) atom to form distorted SMgInW2 trigonal pyramids that share  a cornercorner with one S(7)MgW3 tetrahedra, corners with two equivalent S(5)MgInW2 tetrahedra, corners with two equivalent S(6)MgInW2 tetrahedra, corners with three equivalent S(8)MgInW2 tetrahedra,  a cornercorner with one S(3)MgInW2 trigonal pyramid,  a cornercorner with one S(4)MgInW2 trigonal pyramid,  an edgeedge with one S(7)MgW3 tetrahedra,  an edgeedge with one S(3)MgInW2 trigonal pyramid, and  an edgeedge with one S(4)MgInW2 trigonal pyramid. In the third S site, S(3) is bonded to one Mg(2), one W(1), one W(2), and one In(1) atom to form distorted SMgInW2 trigonal pyramids that share  a cornercorner with one S(7)MgW3 tetrahedra, corners with two equivalent S(6)MgInW2 tetrahedra, corners with two equivalent S(8)MgInW2 tetrahedra, corners with three equivalent S(5)MgInW2 tetrahedra,  a cornercorner with one S(2)MgInW2 trigonal pyramid,  a cornercorner with one S(4)MgInW2 trigonal pyramid,  an edgeedge with one S(7)MgW3 tetrahedra,  an edgeedge with one S(2)MgInW2 trigonal pyramid, and  an edgeedge with one S(4)MgInW2 trigonal pyramid. In the fourth S site, S(4) is bonded to one Mg(2), one W(1), one W(3), and one In(1) atom to form distorted SMgInW2 trigonal pyramids that share  a cornercorner with one S(7)MgW3 tetrahedra, corners with two equivalent S(5)MgInW2 tetrahedra, corners with two equivalent S(8)MgInW2 tetrahedra, corners with three equivalent S(6)MgInW2 tetrahedra,  a cornercorner with one S(2)MgInW2 trigonal pyramid,  a cornercorner with one S(3)MgInW2 trigonal pyramid,  an edgeedge with one S(7)MgW3 tetrahedra,  an edgeedge with one S(2)MgInW2 trigonal pyramid, and  an edgeedge with one S(3)MgInW2 trigonal pyramid. In the fifth S site, S(5) is bonded to one Mg(1), one W(1), one W(2), and one In(1) atom to form distorted SMgInW2 tetrahedra that share  a cornercorner with one S(6)MgInW2 tetrahedra,  a cornercorner with one S(8)MgInW2 tetrahedra, corners with two equivalent S(7)MgW3 tetrahedra, corners with two equivalent S(2)MgInW2 trigonal pyramids, corners with two equivalent S(4)MgInW2 trigonal pyramids, corners with three equivalent S(3)MgInW2 trigonal pyramids,  an edgeedge with one S(6)MgInW2 tetrahedra, and  an edgeedge with one S(8)MgInW2 tetrahedra. In the sixth S site, S(6) is bonded to one Mg(1), one W(1), one W(3), and one In(1) atom to form distorted SMgInW2 tetrahedra that share  a cornercorner with one S(5)MgInW2 tetrahedra,  a cornercorner with one S(8)MgInW2 tetrahedra, corners with two equivalent S(7)MgW3 tetrahedra, corners with two equivalent S(2)MgInW2 trigonal pyramids, corners with two equivalent S(3)MgInW2 trigonal pyramids, corners with three equivalent S(4)MgInW2 trigonal pyramids,  an edgeedge with one S(5)MgInW2 tetrahedra, and  an edgeedge with one S(8)MgInW2 tetrahedra. In the seventh S site, S(7) is bonded to one Mg(2), one W(1), one W(2), and one W(3) atom to form a mixture of distorted corner and edge-sharing SMgW3 tetrahedra. In the eighth S site, S(8) is bonded to one Mg(1), one W(2), one W(3), and one In(1) atom to form distorted SMgInW2 tetrahedra that share  a cornercorner with one S(5)MgInW2 tetrahedra,  a cornercorner with one S(6)MgInW2 tetrahedra, corners with two equivalent S(7)MgW3 tetrahedra, corners with two equivalent S(3)MgInW2 trigonal pyramids, corners with two equivalent S(4)MgInW2 trigonal pyramids, corners with three equivalent S(2)MgInW2 trigonal pyramids,  an edgeedge with one S(5)MgInW2 tetrahedra, and  an edgeedge with one S(6)MgInW2 tetrahedra.
Mg2W3InS8 crystallizes in the triclinic P1 space group. There are two inequivalent Mg sites. In the first Mg site, Mg(1) is bonded to one S(1), one S(5), one S(6), and one S(8) atom to form MgS4 tetrahedra that share corners with three equivalent W(3)S6 octahedra and corners with three equivalent In(1)S6 octahedra. The corner-sharing octahedral tilt angles range from 45-68°. The Mg(1)-S(1) bond length is 2.45 Å. The Mg(1)-S(5) bond length is 2.37 Å. The Mg(1)-S(6) bond length is 2.35 Å. The Mg(1)-S(8) bond length is 2.36 Å. In the second Mg site, Mg(2) is bonded in a rectangular see-saw-like geometry to one S(2), one S(3), one S(4), and one S(7) atom. The Mg(2)-S(2) bond length is 2.48 Å. The Mg(2)-S(3) bond length is 2.48 Å. The Mg(2)-S(4) bond length is 2.48 Å. The Mg(2)-S(7) bond length is 2.63 Å. There are three inequivalent W sites. In the first W site, W(1) is bonded in a 6-coordinate geometry to one S(1), one S(3), one S(4), one S(5), one S(6), and one S(7) atom. The W(1)-S(1) bond length is 2.38 Å. The W(1)-S(3) bond length is 2.57 Å. The W(1)-S(4) bond length is 2.55 Å. The W(1)-S(5) bond length is 2.38 Å. The W(1)-S(6) bond length is 2.37 Å. The W(1)-S(7) bond length is 2.70 Å. In the second W site, W(2) is bonded in a 6-coordinate geometry to one S(1), one S(2), one S(3), one S(5), one S(7), and one S(8) atom. The W(2)-S(1) bond length is 2.39 Å. The W(2)-S(2) bond length is 2.55 Å. The W(2)-S(3) bond length is 2.57 Å. The W(2)-S(5) bond length is 2.38 Å. The W(2)-S(7) bond length is 2.70 Å. The W(2)-S(8) bond length is 2.37 Å. In the third W site, W(3) is bonded to one S(1), one S(2), one S(4), one S(6), one S(7), and one S(8) atom to form distorted WS6 octahedra that share corners with three equivalent Mg(1)S4 tetrahedra and edges with two equivalent In(1)S6 octahedra. The W(3)-S(1) bond length is 2.39 Å. The W(3)-S(2) bond length is 2.55 Å. The W(3)-S(4) bond length is 2.55 Å. The W(3)-S(6) bond length is 2.38 Å. The W(3)-S(7) bond length is 2.69 Å. The W(3)-S(8) bond length is 2.38 Å. In(1) is bonded to one S(2), one S(3), one S(4), one S(5), one S(6), and one S(8) atom to form InS6 octahedra that share corners with three equivalent Mg(1)S4 tetrahedra and edges with two equivalent W(3)S6 octahedra. The In(1)-S(2) bond length is 2.61 Å. The In(1)-S(3) bond length is 2.61 Å. The In(1)-S(4) bond length is 2.61 Å. The In(1)-S(5) bond length is 2.70 Å. The In(1)-S(6) bond length is 2.71 Å. The In(1)-S(8) bond length is 2.71 Å. There are eight inequivalent S sites. In the first S site, S(1) is bonded in a 4-coordinate geometry to one Mg(1), one W(1), one W(2), and one W(3) atom. In the second S site, S(2) is bonded to one Mg(2), one W(2), one W(3), and one In(1) atom to form distorted SMgInW2 trigonal pyramids that share  a cornercorner with one S(7)MgW3 tetrahedra, corners with two equivalent S(5)MgInW2 tetrahedra, corners with two equivalent S(6)MgInW2 tetrahedra, corners with three equivalent S(8)MgInW2 tetrahedra,  a cornercorner with one S(3)MgInW2 trigonal pyramid,  a cornercorner with one S(4)MgInW2 trigonal pyramid,  an edgeedge with one S(7)MgW3 tetrahedra,  an edgeedge with one S(3)MgInW2 trigonal pyramid, and  an edgeedge with one S(4)MgInW2 trigonal pyramid. In the third S site, S(3) is bonded to one Mg(2), one W(1), one W(2), and one In(1) atom to form distorted SMgInW2 trigonal pyramids that share  a cornercorner with one S(7)MgW3 tetrahedra, corners with two equivalent S(6)MgInW2 tetrahedra, corners with two equivalent S(8)MgInW2 tetrahedra, corners with three equivalent S(5)MgInW2 tetrahedra,  a cornercorner with one S(2)MgInW2 trigonal pyramid,  a cornercorner with one S(4)MgInW2 trigonal pyramid,  an edgeedge with one S(7)MgW3 tetrahedra,  an edgeedge with one S(2)MgInW2 trigonal pyramid, and  an edgeedge with one S(4)MgInW2 trigonal pyramid. In the fourth S site, S(4) is bonded to one Mg(2), one W(1), one W(3), and one In(1) atom to form distorted SMgInW2 trigonal pyramids that share  a cornercorner with one S(7)MgW3 tetrahedra, corners with two equivalent S(5)MgInW2 tetrahedra, corners with two equivalent S(8)MgInW2 tetrahedra, corners with three equivalent S(6)MgInW2 tetrahedra,  a cornercorner with one S(2)MgInW2 trigonal pyramid,  a cornercorner with one S(3)MgInW2 trigonal pyramid,  an edgeedge with one S(7)MgW3 tetrahedra,  an edgeedge with one S(2)MgInW2 trigonal pyramid, and  an edgeedge with one S(3)MgInW2 trigonal pyramid. In the fifth S site, S(5) is bonded to one Mg(1), one W(1), one W(2), and one In(1) atom to form distorted SMgInW2 tetrahedra that share  a cornercorner with one S(6)MgInW2 tetrahedra,  a cornercorner with one S(8)MgInW2 tetrahedra, corners with two equivalent S(7)MgW3 tetrahedra, corners with two equivalent S(2)MgInW2 trigonal pyramids, corners with two equivalent S(4)MgInW2 trigonal pyramids, corners with three equivalent S(3)MgInW2 trigonal pyramids,  an edgeedge with one S(6)MgInW2 tetrahedra, and  an edgeedge with one S(8)MgInW2 tetrahedra. In the sixth S site, S(6) is bonded to one Mg(1), one W(1), one W(3), and one In(1) atom to form distorted SMgInW2 tetrahedra that share  a cornercorner with one S(5)MgInW2 tetrahedra,  a cornercorner with one S(8)MgInW2 tetrahedra, corners with two equivalent S(7)MgW3 tetrahedra, corners with two equivalent S(2)MgInW2 trigonal pyramids, corners with two equivalent S(3)MgInW2 trigonal pyramids, corners with three equivalent S(4)MgInW2 trigonal pyramids,  an edgeedge with one S(5)MgInW2 tetrahedra, and  an edgeedge with one S(8)MgInW2 tetrahedra. In the seventh S site, S(7) is bonded to one Mg(2), one W(1), one W(2), and one W(3) atom to form a mixture of distorted corner and edge-sharing SMgW3 tetrahedra. In the eighth S site, S(8) is bonded to one Mg(1), one W(2), one W(3), and one In(1) atom to form distorted SMgInW2 tetrahedra that share  a cornercorner with one S(5)MgInW2 tetrahedra,  a cornercorner with one S(6)MgInW2 tetrahedra, corners with two equivalent S(7)MgW3 tetrahedra, corners with two equivalent S(3)MgInW2 trigonal pyramids, corners with two equivalent S(4)MgInW2 trigonal pyramids, corners with three equivalent S(2)MgInW2 trigonal pyramids,  an edgeedge with one S(5)MgInW2 tetrahedra, and  an edgeedge with one S(6)MgInW2 tetrahedra.