You’ve made the perfect batter only to realize you’ve got the wrong sized pan. Don’t panic. If your pan is bigger than that in the recipe, increase the temperature and reduce the baking time. And if your pan is smaller, decrease the temperature and increase the baking time. Time adjustments depend on the depth of the batter. For example, in a wider pan, the batter will be deeper and will dry out faster so you should decrease baking time. There is no hard rule. If you’re using a different sized pan, you should check your cake regularly to find out if it’s done.