It really depends on the MY car you get PLUS the parts for the conversion.
You can get a 93 L and a jdm ej20 and run the whole thing with an aftermarket ecu for about 5k total. That's of course that you do all the work yourself.
you can get a 2001 Impreza and get a legal swap for about 16k.
So you see the ranges vary greatly.