If your pan holds less than the original recipe and you have too much batter, you can simply fill the extra cake batter in a smaller pan. Measure the leftover batter and find a smaller pan for smaller cakes, or fill cupcake cases and shorter bake time.