If u r using aluminum foil pan, then y can use butter paper as a lining and use oil or oil spray so cake will not stick in to the pan.
The size of pan is mentioned behind the cake mix box.
Some times I made single layered cake with half ingredient so u can do it.