EN
We present the results of ab initio study of electronic and magnetic properties of Gd(In_{1-x}Snₓ)₃ alloys carried out with the use of FP-LAPW method. Our precise ab initio calculations for the first time uniquelly confirmed experimentally based predictions that the ground state magnetic structure of the alloys is antiferromagnetic and that upon the In/Sn substitution the magnetic structure undergo transition, changing the antiferromagnetic ordering from the (π00)-type for the GdSn₃ compound to the (ππ0)-type for the GdIn₃ one. Moreover, calculations gave an explanation of the oscillatory variation of density of states at Fermi level indicated by XPS measurements.