Fill each cupcake liner about 2/3 full of batter. That will leave enough room for the cupcakes to rise as they bake without overflowing each cup. Always check what the recipe recommends as well. Some cupcake batters rise more than others so filling the liner ½ full is ideal.