The degree to which cations in a spinel structure (AB2X4) occupy non-ideal crystallographic sites (tetrahedral vs octahedral), often expressed as inversion fraction. Affects Mg migration pathways and electrochemical properties.