Almost every cake recipe is based on that of Five-Ingredient Cake, aka the Basic Cake Recipe. How you vary the proportions, make substitutions, and add other flavorings is what creates the flavor and texture of other cakes.
If you want to do some baking experiments on a rainy weekend, start with this simple cake recipe that only requires 5 common ingredients.
Pre-heat the oven to 350 degrees Fahrenheit. In a mixing bowl, cream the butter and sugar together with a wire whisk until thoroughly mixed. To soften the stick of butter, warm it in the microwave for about 30 seconds.
Next, add the two eggs and beat until the eggs are completely mixed with the butter and sugar.
Add the flour and baking powder and beat for another minute. You can also use an electric mixer to blend everything. The cake will turn out much better if you use sifted flour, but if you forget, just make sure there are no lumps in the batter.
Pour the batter into a nonstick cake pan. You can also prep a regular pan with butter and flour. If you use an 8x8 pan, bake for 25-30 minutes, if you use a larger pan, 20-25 minutes. You'll know it's done when a toothpick comes out clean when you poke it in the center of the cake.