Preheat oven to 350°F and coat an 8x8 inch baking pan with non-stick cooking spray. Whisk together the sugar, flour, cocoa powder, baking powder and salt in a medium mixing bowl.
In a separate mixing bowl, add eggs, oil, and vanilla, and mix until well combined. Pour the bowl of wet ingredients into the bowl of the dry ingredients.