BaMgWF7 crystallizes in the monoclinic P2_1/c space group. Ba(1) is bonded in a 12-coordinate geometry to one F(1), one F(2), two equivalent F(3), two equivalent F(4), two equivalent F(5), two equivalent F(6), and two equivalent F(7) atoms. Mg(1) is bonded to one F(1), one F(2), one F(3), one F(5), one F(6), and one F(7) atom to form MgF6 octahedra that share corners with three equivalent W(1)F6 octahedra and  an edgeedge with one W(1)F6 octahedra. The corner-sharing octahedral tilt angles range from 51-57°. W(1) is bonded to one F(1), one F(2), one F(3), one F(4), one F(5), and one F(6) atom to form WF6 octahedra that share corners with three equivalent Mg(1)F6 octahedra and  an edgeedge with one Mg(1)F6 octahedra. The corner-sharing octahedral tilt angles range from 51-57°. There are seven inequivalent F sites. In the first F site, F(1) is bonded in a distorted bent 120 degrees geometry to one Ba(1), one Mg(1), and one W(1) atom. In the second F site, F(2) is bonded in a distorted bent 120 degrees geometry to one Ba(1), one Mg(1), and one W(1) atom. In the third F site, F(3) is bonded in a 4-coordinate geometry to two equivalent Ba(1), one Mg(1), and one W(1) atom. In the fourth F site, F(4) is bonded in a trigonal planar geometry to two equivalent Ba(1) and one W(1) atom. In the fifth F site, F(5) is bonded in a 2-coordinate geometry to two equivalent Ba(1), one Mg(1), and one W(1) atom. In the sixth F site, F(6) is bonded in a distorted water-like geometry to two equivalent Ba(1), one Mg(1), and one W(1) atom. In the seventh F site, F(7) is bonded in a distorted trigonal planar geometry to two equivalent Ba(1) and one Mg(1) atom.
BaMgWF7 crystallizes in the monoclinic P2_1/c space group. Ba(1) is bonded in a 12-coordinate geometry to one F(1), one F(2), two equivalent F(3), two equivalent F(4), two equivalent F(5), two equivalent F(6), and two equivalent F(7) atoms. The Ba(1)-F(1) bond length is 3.25 Å. The Ba(1)-F(2) bond length is 3.07 Å. There is one shorter (2.91 Å) and one longer (3.04 Å) Ba(1)-F(3) bond length. There is one shorter (2.71 Å) and one longer (2.73 Å) Ba(1)-F(4) bond length. There is one shorter (3.00 Å) and one longer (3.32 Å) Ba(1)-F(5) bond length. There is one shorter (3.12 Å) and one longer (3.14 Å) Ba(1)-F(6) bond length. There is one shorter (2.65 Å) and one longer (2.66 Å) Ba(1)-F(7) bond length. Mg(1) is bonded to one F(1), one F(2), one F(3), one F(5), one F(6), and one F(7) atom to form MgF6 octahedra that share corners with three equivalent W(1)F6 octahedra and  an edgeedge with one W(1)F6 octahedra. The corner-sharing octahedral tilt angles range from 51-57°. The Mg(1)-F(1) bond length is 1.97 Å. The Mg(1)-F(2) bond length is 1.99 Å. The Mg(1)-F(3) bond length is 2.12 Å. The Mg(1)-F(5) bond length is 2.03 Å. The Mg(1)-F(6) bond length is 2.07 Å. The Mg(1)-F(7) bond length is 1.94 Å. W(1) is bonded to one F(1), one F(2), one F(3), one F(4), one F(5), and one F(6) atom to form WF6 octahedra that share corners with three equivalent Mg(1)F6 octahedra and  an edgeedge with one Mg(1)F6 octahedra. The corner-sharing octahedral tilt angles range from 51-57°. The W(1)-F(1) bond length is 2.11 Å. The W(1)-F(2) bond length is 2.11 Å. The W(1)-F(3) bond length is 2.13 Å. The W(1)-F(4) bond length is 2.08 Å. The W(1)-F(5) bond length is 2.13 Å. The W(1)-F(6) bond length is 2.13 Å. There are seven inequivalent F sites. In the first F site, F(1) is bonded in a distorted bent 120 degrees geometry to one Ba(1), one Mg(1), and one W(1) atom. In the second F site, F(2) is bonded in a distorted bent 120 degrees geometry to one Ba(1), one Mg(1), and one W(1) atom. In the third F site, F(3) is bonded in a 4-coordinate geometry to two equivalent Ba(1), one Mg(1), and one W(1) atom. In the fourth F site, F(4) is bonded in a trigonal planar geometry to two equivalent Ba(1) and one W(1) atom. In the fifth F site, F(5) is bonded in a 2-coordinate geometry to two equivalent Ba(1), one Mg(1), and one W(1) atom. In the sixth F site, F(6) is bonded in a distorted water-like geometry to two equivalent Ba(1), one Mg(1), and one W(1) atom. In the seventh F site, F(7) is bonded in a distorted trigonal planar geometry to two equivalent Ba(1) and one Mg(1) atom.