Yes, just remember if you use a larger pan that the cake will not be quite as deep and will need less cooking time. Depending on the size of the pan you use, start checking for doneness after 45 minutes. If a wooden toothpick comes out cleanly then the cake is done.