The research works says that the impacts of facts devices changes with the change of their location on transmission line. Basically in power system we have two types of compensation devices. First is series facts devices, second is shunt facts devices by using these devices controlling of transmission line voltage and power flow is possible. Facts devices are also very useful to control the reactance power of transmission line and damping of power system oscillation for high power is possible. Series facts devices are connected in series of transmission line and works as a controllable voltage source. Shunt facts devices are connected in shunt with power system line.it works as a controllable current source. During the SLG fault, shunt capacitance of SSSC-compensated line affects the performance of distance relay. Research also shows the impact of ignoring the shunt capacitance of the line on the distance relay over and under reach conditions. By using MATLAB we can study the effects of series and shunt compensation according to the variation of location of these in transmission line. We can find the most suitable and optimal location of series, shunt or the combination of both compensation.