The egg gives a little leavening in cookie recipes, but it may not completely replace the baking powder. One good substitute for baking powder uses baking soda. For each teaspoon of baking powder in the recipe, use ¼ teaspoon baking soda plus ½ teaspoon cream of tartar.