Home » Recipes » Dessert » Cakes » Homemade Vanilla Cake {Vanilla Birthday Cake}

Homemade Vanilla Cake {Vanilla Birthday Cake}

This vanilla birthday cake is made from just two small 6” layers of yellow cake covered in chocolate Swiss buttercream frosting. It is the perfect classic vanilla birthday cake recipe with soft crumbs and creamy frosting, only in smaller form.

Vanilla cake with chocolate frosting on a white cake stand with candles being lightedHappy birthday blog baby! Yes, this month marks year 5, half a decade, of this blog existence in the world wide web. That’s like 50 years in blog years and a century of blood, sweat, and tears. But it’s also the birthday month of my most favorite person in the world, my partner in crime, best friend, my Carl in UP, the only one I’d trust in an apocalypse. Hence, this classic birthday cake combo of yellow cake with chocolate frosting is the only thing to make, always a a favorite, classic but never boring.

Are yellow cake and vanilla cake the same?

Yes and no. A yellow cake can be a vanilla cake but a vanilla cake can be either a yellow cake or a white cake. This depends on whether whole eggs or egg whites are called for in the recipe. But a yellow cake flavored with vanilla extract is always a vanilla cake.

Small vanilla cake with chocolate buttercream on a white cake stand

What is the difference between yellow cake and white cake?

Yellow cake gets its name from the golden hue of the cake which comes from whole eggs, or more specifically the egg yolks. As opposed to white cake which uses only or mostly egg white in the cake batter.

Yellow cake is typically made with all-purpose flour. It’s richer, denser and sturdier, which holds up well to layering and frosting. White cake tends to call for cake flour. It’s more delicate, cloud-like and spongier. Yellow cake makes me think birthdays and white cake makes me think weddings.A slice of yellow cake with chocolate frosting on a white cake stand being lifted up by a cake server

How to make yellow cake from scratch

Most people associate yellow cake with boxed cake mix. Nothing’s wrong with that if it’s your thing, but making cake from scratch is easier than you think. I used to be intimidated by cakes, so I started with cupcakes and slowly work my way up to making small cakes like this.A collage of photos showing the process of making yellow cake from scratch

  1. For this recipe, I use my stand mixer to beat together whole eggs, sugar and vanilla for two whole minutes.
  2. Once beaten, the mixture should be light in color and look creamy. Though it won’t be thick.
  3. Then, in a small bowl, mix the dry ingredients together and add it to the stand mixer bowl.
  4. Stir until completely incorporated. Now the mixture will thicken.
  5. Next, warm the milk in a heat proof bowl; the easiest way is to zap it in the microwave for just under a minute. Alternately, you can heat it on the stove top, but for a small amount of milk like this recipe calls for, microwaving is entirely acceptable. Melt the butter in the hot milk and mix the oil in as well. Pour this mixture in the stand mixer bowl with the speed set on “stir”.
  6. Use a spatula to scrape the side and bottom of the bowl to make sure the batter is thoroughly incorporated.

Divide vanilla cake batter between two cake pans using a kitchen scale and bake until golden brown

  1. Divide the batter into two 6” cake pans. You can eyeball it but I like to use a kitchen scale to make sure they have the exact same amount of batter because 1) I’m slightly OCD and 2) this will help the cakes bake evenly in the oven.
  2. Bake just until a toothpick inserted in the middle of the cakes comes out clean.

Can I use both butter and oil in cake?

Absolutely! This small vanilla cake recipe calls for both butter and oil. Cakes with oil tends to be more moist than ones with all butter. Oil is 100% fat, and fat inhibits gluten formation. Whereas butter typically contains 15% water, and water strengthens gluten formation. Too much gluten can result in denser crumbs and dryer cakes. But butter imparts a more delicious flavor that we all know and love. This cake gets the best of both world with a balance of both butter and oil in the batter.

Vanilla birthday cake on a white cake stand with candles blown outAs for the frosting, I went with chocolate Swiss buttercream because it is currently my obsession, and also because it’s delicious, and it makes for a classic birthday cake combo. This cake might be small, but it’s mighty! It will serve 8 easily, and 6 very generously, perfect for a small birthday dessert without too much left over to tempt you the next day.

More Birthday Cake Idea

A slice of yellow cake half eaten on a plateIf you make this recipe, please let me know! Leave a comment, rate it and don’t forget to tag me @wildwildwhisk on Instagram. I’d love to see what’s cooking up in your kitchen. Cheers!

A slice of yellow cake with chocolate frosting on a white cake stand being lifted up by a cake server

Homemade Vanilla Cake

This vanilla birthday cake is made from just two small 6” layers of yellow cake covered in chocolate Swiss buttercream frosting. It is the perfect classic vanilla birthday cake recipe with soft crumbs and creamy frosting, only in smaller form.
5 from 2 votes
Print Rate
Course: Dessert
Cuisine: American
Prep Time: 40 minutes
Cook Time: 20 minutes
Total Time: 1 hour
Servings: 8 slices
Calories: 543kcal
Author: Trang



  • 1 cup all-purpose flour ((125 g))
  • 1/4 teaspoon kosher salt ((1g))
  • 1 teaspoon baking powder ((4 g))
  • 2 large eggs
  • 3/4 cup granulated sugar ((135 g))
  • 1 tablespoon pure vanilla extract ((14 g))
  • 1/2 cup whole milk ((122 g))
  • 2 tablespoon unsalted butter ((28 g))
  • 3 tablespoon vegetable oil ((40 g))


  • 3 oz egg white ((85 g))
  • 1/2 cup + 1 tablespoon granulated sugar ((104 g))
  • 1/2 teaspoon vinegar ((3 g))
  • 7.5 oz unsalted butter ((213 g, room temperature, cubed))
  • 1/2 teaspoon vanilla ((2 g))
  • 3 oz dark chocolate ((85 g))
  • 1 tablespoon dutch-processed cocoa powder ((7 g))


Make the cake

  • Preheat oven to 325°F.
  • Butter two 6” cake pans and line the bottom of each pan with a piece of round parchment paper cut to fit (optional but highly recommended).
  • In a small mixing bowl, add flour, salt, baking powder and mix with a whisk to distribute evenly. Set aside.
  • Add egg, sugar and vanilla extract to the bowl of a stand mixer and beat until light and creamy, about 2 minutes. Add the flour mixture and stir until just combined.
  • Heat the milk in the microwave for 40 - 50 seconds, add butter and oil to the hot milk and stir until the butter is completely melted. Add milk mixture to the stand mixer bowl while stirring to combine. Scrape the bowl with a spatula to ensure thorough mixing.
  • Divide batter evenly between the 2 prepared cake pans, about 280 g of batter per pan.
  • Bake in the middle oven rack for 20 - 25 minutes until a toothpick inserted in the middle of the cake comes out clean.
  • Remove from the oven and allow to cool to the touch. Run a paring knife along the edge to loosen the cakes if necessary and remove them from the pan. Peel off parchment paper if using and allow to cool completely on a wire rack.

Make the frosting

  • Melt the chocolate in a heat proof bowl over a pot of simmering water just until most is melted. Continue to stir as you take it off the heat until all the chocolate is completely melted and smooth. Set aside to cool.
  • Add egg white to the stand mixer bowl and beat with a wire whisk attachment on medium low speed until frothy.
  • Increase speed to medium and slowly add sugar, one tablespoon at a time to allow it to incorporate into the egg white. Half way through adding the sugar, stream in the vinegar. Then continue to add the sugar until all gone.
  • Increase speed to medium high speed and beat until stiff peak forms and the meringue is shiny and smooth.
  • Reduce speed to medium low and slowly add the room temperature cubed butter, one cube at a time and allow it to incorporate into the meringue. When all the butter is added it will look chunky, like cottage cheese.
  • Add vanilla and increase mixer to high speed and beat for 4-5 mins until buttercream is formed and smooth. Add the completely cooled melted chocolate and cocoa powder and beat until incorporated and fluffy.

Assemble the cake

  • When the cakes are completely cool, place 1 layer on a cake stand or plate. Put a few pieces of parchment paper underneath the cake to cover the cake stand or plate. This is to keep the frosting from smearing everywhere.
  • Add 1/2 cup of frosting on top of the first layer and even it out with an offset spatula. Add the second layer of cake on top.
  • Frost the side and top to your liking. If there is any left over frosting, add piping decoration on top and side. Carefully pull out the pieces of parchment paper underneath the cake.
  • Refrigerate until ready to serve.


Serving: 135g | Calories: 543kcal
Tried this recipe?Mention @WildWildWhisk or tag #WildWildWhisk!

This recipe is adapted from King Arthur Flour’s Classic Birthday Cake Recipe.

Shop The Recipe Tools

Some of the links above are affiliate links, which pay me a small commission for my referral at no extra cost to you! Thank you for supporting my blog.


Are you hungry for more?

Sign up for email updates and never miss a recipe

+ Get my FREE ebook ROOM FOR PIE!



  1. monika
    September 25, 2020 /

    Also, I only have fresh eggs. How many egg whites is 85 grams?

    • Trang
      September 26, 2020 /

      One egg white is about 30-33 grams, you can use about 3 egg whites or weight them and take a bit back out.

  2. monika
    September 25, 2020 /


    For the frosting I am weary about the fact that the eggs are not being whisked with the sugar so as to dissolve the sugar. Your method isn’t standard. Does the granulated sugar dissolve or is the frosting gritty?

    • Trang
      September 26, 2020 /

      You do have to beat the sugar into the egg white in the recipe instructions. You just want to get it a little frothy at first and then start adding sugar slowly so it will incorporate in the egg white and make a meringue. It is not gritty, I make this frosting all the time. Please refer to my post about swiss buttercream for my details.

  3. aman
    August 25, 2020 /

    wow nice i will try i am 12

  4. Susan B
    July 23, 2020 /

    5 stars
    This cake was so very delicious! The texture was outstanding and it was fluffy AND moist! The Chocolate buttercream frosting was light and delicious, a great compliment to the cake. I plan to make this cake again as my go-to cake recipe. (Instead of two, 6″ pans, I used a rectangular 7″ x 11″ clear, glass casserole dish that I lined with parchment and baked for 25 min.)

  5. Margot Vieytez Ruan
    June 10, 2020 /

    What number of Tid did you used in this cake?? It looks beautiful

    • Trang
      June 11, 2020 /

      Hi Margot, I’m assuming you’re asking about the tip, I use the open star tip, wilton 1M.

  6. Margot Vieytez Ruan
    May 27, 2020 /

    What tip do you used in this decoration??? Please advise.

  7. Ellie B
    April 5, 2020 /

    Do you have to use whole milk? Will any other kind of milk work?

    • Trang
      April 6, 2020 /

      I prefer whole milk or 2%. And if you don’t have 2% then any other milk will work.

  8. Tiffany
    September 12, 2019 /

    This recipe sounds amazing!! I want to try bake it tomorrow…however I only have 8 inch tins, will this affect the baking time etc?

    • Trang
      September 12, 2019 /

      Yes it will, and it will also depend on whether you’re planning to bake in two 8″ tins or one tin. If you bake in 2 tins, each layer will be much thinner and I think it may bake faster. If you bake in 1 tin, it will be thicker and may need to bake longer. Make sure to check them while baking. I usually leave the oven light on so I can see what the cake surface looks like, that gives me an idea when to pull them out and check with a toothpick. Let me know if you have any other questions.

  9. Shilpa
    September 2, 2019 /

    Can i use this recipe for cupcakes as well?? If yes, any idea how many time will they bake??

    • Trang
      September 2, 2019 /

      Hi Shilpa, I have a similar cupcake recipe with vanilla cake and chocolate frosting here.

  10. June 18, 2019 /

    5 stars
    This is serously beautiful. Such a perfect birthday cake and I love the smaller size too.

    • Trang
      June 18, 2019 /

      Thanks! I love cake but I can go without leftover for weeks so the smaller size is totally a plus.

  11. Monika
    June 14, 2019 /

    Can I use margarine for the 7.5 oz unsalted butter (213 g, room temperature, cubed)?

    I KNOW the butter flavour won’t be there, but it’s all I have…
    Taste aside, will it still WORK?

    • Trang
      June 14, 2019 /

      Monika, I’ve never made Swiss buttercream with margarine so I cannot guarantee that it will work. But my round about answer is it depends on the water content in your margarine. If it has high water content, it will most likely not work. If it has high fat content it may work, but your frosting may turn out much softer than if you use butter and it may be difficult to frost. Bottom line is that I don’t recommend it if you don’t want to take a chance. But if you do decide to experiment with it, I’d love to know the result.

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.

As Featured On