Yellow Cake · Birthday Layer with Chocolate Frosting

Yellow Birthday Layer Cake with Chocolate Frosting

Two tender, buttery yellow layers stacked with fluffy chocolate buttercream. It is the classic birthday cake, with step-by-step help for even layers and a neat crumb coat.

New, no ratings yet0 reviewsby Simmerbee Kitchen

Prep
45 min
Cook
28 min
Total
3 hr 20 min
Serves
one 9-inch two-layer cake
Level
Medium

Ingredients

  • Cake
  • 2 ½ cups all-purpose flour, spooned and leveled (315 g)
    Swaps for all-purpose flour

    Instead of all-purpose flour

    • Gluten-free 1:1 baking flour: The same amount, a blend that includes xanthan gum. A little grittier and more crumbly, browns faster and dries out sooner.
    • Bread flour: The same amount. More gluten: chewier cookies and bread, tougher cakes.
    • Whole wheat flour: Up to half of the flour. Nuttier, darker and denser.

    All 4 swaps for all-purpose flour

    Cooking for an allergy? Check every label.

  • 2 ½ tsp baking powder
    Swaps for baking powder

    Instead of baking powder

    • Baking soda + cream of tartar: ¼ tsp baking soda + ½ tsp cream of tartar for each 1 tsp baking powder. Rises the same if you don't let the batter sit.
    • Baking soda + buttermilk or yogurt: ¼ tsp baking soda for each 1 tsp baking powder, and swap ½ cup of the recipe's milk for buttermilk or thinned yogurt. Good rise with a light tang.
    • Self-rising flour: Use it for the flour and leave out the baking powder and salt. Each cup has about 1½ tsp baking powder and ¼ tsp salt built in, so it only fits recipes close to that ratio.

    More for baking powder

  • ½ tsp baking soda
    Swaps for baking soda

    Instead of baking soda

    • Baking powder: 3 tsp baking powder for each 1 tsp baking soda. It rises, but bakes come out paler and puffier, cookies spread less, and the extra powder can taste a little bitter.

    More for baking soda

  • 1 tsp kosher salt
    Swaps for kosher salt

    Instead of salt

    • Table salt or fine sea salt: About half as much as Diamond Crystal kosher, about ¾ as much as Morton kosher. The same saltiness when measured this way.
    • Salt by weight: 1 tsp is about 6 grams of table salt, 5 grams of Morton kosher, 3 grams of Diamond Crystal kosher. The most reliable way to swap, especially in baking and brines.

    More for salt

  • 1 cup unsalted butter, softened (227 g), plus more for the pans
    Swaps for unsalted butter

    Instead of butter

    • Salted butter: The same amount, with about ¼ tsp less salt per stick (½ cup) elsewhere in the recipe. Nothing noticeable once you cut the salt.
    • Plant-based butter sticks: The same amount. The closest swap.
    • Refined coconut oil: The same amount: solid when the butter is soft or cold, melted when it is melted. It is all fat, so bakes are a bit more tender and rich, with no butter flavor.

    All 4 swaps for butter

    Cooking for an allergy? Check every label.

  • 1 ½ cups granulated sugar, 300 g
    Swaps for granulated sugar

    Instead of sugar

    • Less sugar: Up to ¼ less in cookies, muffins and quick breads. Less browning and spread, a drier, more cake-like texture, and bakes go stale sooner.
    • Brown sugar: The same amount, packed. Moister and chewier, with a caramel flavor and darker color.
    • Coconut sugar: The same amount. Darker and caramel-like, a little less sweet; cookies spread slightly less.

    All 4 swaps for sugar

  • 4 large eggs, room temperature
    Swaps for eggs

    Instead of eggs

    • Flax egg: 1 tbsp ground flaxseed + 3 tbsp water for each egg. Binds well but gives less lift, so bakes are a little denser and flatter, with a mild nutty taste and brown flecks.
    • Chia egg: 1 tbsp chia seeds + 3 tbsp water for each egg. Works like a flax egg: good binding, little lift, slightly denser crumb.
    • Unsweetened applesauce: ¼ cup for each egg. Moister and denser, with a soft, slightly gummy crumb if you swap more than one egg.

    All 5 swaps for eggs

    Cooking for an allergy? Check every label.

  • 1 tbsp vanilla extract
    Swaps for vanilla extract

    Instead of vanilla extract

    • Vanilla bean paste: The same amount. Stronger, with visible vanilla seeds.
    • Vanilla bean: The seeds of 1 bean for each 1 tbsp extract. A deeper, floral flavor and visible seeds.
    • Alcohol-free vanilla: The same amount. Made with glycerin; a slightly milder taste.

    All 5 swaps for vanilla extract

  • 1 cup buttermilk, room temperature (240 ml)
    Swaps for buttermilk

    Instead of buttermilk

    • Milk + lemon juice or vinegar: 1 tbsp lemon juice or white vinegar in a measuring cup, topped up with milk to 1 cup, for each cup. Thinner and a bit less tangy, so bakes are a touch less tender.
    • Plain yogurt + milk: ¾ cup plain yogurt + ¼ cup milk for each cup (with Greek yogurt: ½ cup + ½ cup). The closest match for tang and thickness.
    • Plain kefir: The same amount. Similar tang, a little thinner.

    All 4 swaps for buttermilk

  • Chocolate frosting
  • 1 cup unsalted butter, softened (227 g)
    Swaps for unsalted butter

    Instead of butter

    • Salted butter: The same amount, with about ¼ tsp less salt per stick (½ cup) elsewhere in the recipe. Nothing noticeable once you cut the salt.
    • Plant-based butter sticks: The same amount. The closest swap.
    • Refined coconut oil: The same amount: solid when the butter is soft or cold, melted when it is melted. It is all fat, so bakes are a bit more tender and rich, with no butter flavor.

    All 4 swaps for butter

    Cooking for an allergy? Check every label.

  • 3 cups powdered sugar, 360 g
    Swaps for powdered sugar

    Instead of powdered sugar

    • Homemade powdered sugar: 1 cup granulated sugar + 1 tbsp cornstarch, blended. Slightly grainier in uncooked frosting; fine in glazes and for dusting.

    More for powdered sugar

  • ¾ cup unsweetened cocoa powder, 64 g
    Swaps for unsweetened cocoa powder

    Instead of cocoa powder

    • Natural and Dutch-process cocoa: The same amount. Swap freely when the recipe uses baking powder.
    • Unsweetened chocolate: 1 oz melted unsweetened chocolate for each 3 tbsp cocoa; cut the butter or oil by 1 tbsp. Fudgier and richer.
    • Carob powder: The same amount. Caffeine-free and naturally sweet, but it tastes like carob, not chocolate.

    More for cocoa powder

  • ¼ tsp kosher salt
    Swaps for kosher salt

    Instead of salt

    • Table salt or fine sea salt: About half as much as Diamond Crystal kosher, about ¾ as much as Morton kosher. The same saltiness when measured this way.
    • Salt by weight: 1 tsp is about 6 grams of table salt, 5 grams of Morton kosher, 3 grams of Diamond Crystal kosher. The most reliable way to swap, especially in baking and brines.

    More for salt

  • 2 tsp vanilla extract
    Swaps for vanilla extract

    Instead of vanilla extract

    • Vanilla bean paste: The same amount. Stronger, with visible vanilla seeds.
    • Vanilla bean: The seeds of 1 bean for each 1 tbsp extract. A deeper, floral flavor and visible seeds.
    • Alcohol-free vanilla: The same amount. Made with glycerin; a slightly milder taste.

    All 5 swaps for vanilla extract

  • ¼–⅜ cups heavy cream, or milk
    Swaps for heavy cream

    Instead of heavy cream

    • Half-and-half: The same amount. Thinner and less rich.
    • Milk + melted butter: ¾ cup whole milk + ¼ cup melted butter for each cup. Close in richness for cooking and baking, but it won't whip.
    • Full-fat coconut milk: The same amount. Rich and silky with a coconut taste.

    All 4 swaps for heavy cream

    Cooking for an allergy? Check every label.

  • sprinkles, for decorating (optional)

Different pan? Written for 2 × 9-inch round; rescale the amounts for an 8x8, 9x13, round, loaf or sheet pan.

Cooking for a crowd? Pans, timing and salt for 12 to 50.

Missing something? Tap Swaps next to an ingredient, or see all substitutions.

Steps

Kid helper. A child can do steps 2, 3, 4, 5, 6, 10, 11, 13, 15 and 16: no knife, no heat. Steps marked “Grown-up” use a knife or heat. Cooking with kids

  1. Heat the oven to 350°F (175°C).
    Butter (how to grease and flour a pan) Grease and flour a pan Coat a pan with fat (and sometimes flour) so baked goods release cleanly. 1. Rub a thin layer of soft butter or shortening into every corner with a paper towel, or use baking spray.2. For cakes, add a spoonful of flour, tilt and tap the pan until it is coated.3. Turn the pan over and tap out the extra flour.4. For chocolate cakes, use cocoa instead of flour so there is no white film. Done when: Every surface, corners included, is lightly coated with no bare spots or thick clumps. How to grease and flour a baking pan: mistakes to avoid
    two 9-inch round cake pans,
    line (how to line a pan) Line a pan Cover the bottom (and sometimes sides) of a pan with parchment or foil so food doesn't stick and lifts out easily. 1. For a sheet pan, tear parchment the size of the pan and lay it flat.2. For a round cake pan, trace the bottom on parchment, cut the circle out and press it in.3. For brownies and bars, leave two long sides hanging over to make handles (a "sling").4. A little grease under the paper holds it in place. Done when: The paper lies flat with no folds where the batter could run under it. How to line a baking pan with parchment: mistakes to avoid
    the bottoms with parchment circles, then butter the parchment and dust the pans with flour.
    350°FGrown-up: heat
  2. In a medium bowl,
    whisk (how to whisk) Whisk Beat ingredients with a whisk to mix them smoothly or to add air. 1. Use a bowl big enough to whisk without splashing; set it on a damp towel to stop it spinning.2. Hold the whisk loosely and move it in quick circles or side to side, touching the bottom.3. For lumpy mixtures, add liquid a little at a time and whisk after each.4. For sauces on the stove, keep the whisk moving across the whole bottom of the pan. Done when: The mixture is even with no lumps or streaks of egg. How to whisk: mistakes to avoid
    the flour, baking powder, baking soda and salt.
    Kid step
  3. In a stand mixer with the paddle,
    beat the butter and sugar (how to cream butter and sugar) Cream butter and sugar Beat soft butter with sugar until pale and fluffy, trapping air that helps cakes and cookies rise. 1. Let the butter soften to about 65°F: it dents when pressed but isn't greasy.2. Beat the butter alone for 30 seconds.3. Add the sugar and beat on medium speed.4. Scrape the bowl once or twice.5. Keep going for 2 to 4 minutes. Done when: The mixture is lighter in color, fluffy and has grown a little in the bowl. Safety: Don't taste raw cookie dough or batter; raw eggs and raw flour can carry germs.How to cream butter and sugar: mistakes to avoid
    on medium-high until very pale and fluffy, scraping the bowl once.
    ⏱ Cream butter: 4 minKid step
  4. Add the eggs one at a time, beating about 30 seconds after each.
    Beat (how to beat) Beat Mix hard and fast, by hand or with a mixer, to blend ingredients fully and add air. 1. Use a mixer on the speed the recipe gives, or a fork or whisk for a few eggs.2. Add eggs one at a time, beating until each disappears before the next.3. Stop and scrape the bowl and beaters now and then.4. Mix on low once flour goes in, just until combined. Done when: The mixture is smooth and even, with no streaks of yolk or white. Safety: Turn the mixer off before you scrape the bowl or reach in.How to beat eggs and batters: mistakes to avoid
    in the vanilla.
    Kid step
  5. With the mixer on low, add one-third of the flour mixture, then half the buttermilk. Repeat, ending with the last of the flour. Mix only until each addition disappears.
    Kid step
  6. Divide the batter evenly between the pans (weigh them for matching layers) and smooth the tops.
    Kid step
  7. Bake until golden, the tops spring back when pressed and
    a toothpick (how to toothpick test) Toothpick test A quick way to tell if a cake, quick bread or brownie is baked through. 1. Near the end of the baking time, open the oven and pull out the rack.2. Poke a toothpick or thin skewer into the center (the last place to set).3. Pull it straight out and look at it.4. If wet batter clings, bake a few minutes more and test again. Done when: Clean, or with a few moist crumbs for brownies and fudgy cakes. Wet, shiny batter means not yet. How to test a cake with a toothpick: mistakes to avoid
    in the center comes out clean.
    350°F⏱ Bake: 28 minGrown-up: heat
  8. Cool the cakes in their pans on a rack.
    ⏱ Cool in pans: 15 minGrown-up: heat
  9. Run a thin knife around the edges, turn the cakes out onto the rack and peel off the parchment. Let them cool completely.
    ⏱ Cool layers: 1 hr 30 minGrown-up: knife
  10. For the frosting, beat the butter on medium until creamy.
    Sift (how to sift) Sift Pass dry ingredients through a fine sieve to break up lumps and mix them evenly. 1. Set a fine-mesh strainer over a bowl or a sheet of parchment.2. Spoon in the dry ingredients.3. Tap the side of the strainer or stir gently so they fall through.4. Press any lumps through with the back of a spoon. Done when: There are no lumps of powdered sugar, cocoa or baking soda left. How to sift flour and powdered sugar: mistakes to avoid
    in the powdered sugar and cocoa and mix on low until combined.
    Kid step
  11. Add the salt, vanilla and 4 tablespoons of cream. Beat on medium-high until fluffy, adding more cream a spoonful at a time if it is too stiff to spread.
    ⏱ Whip frosting: 2 minKid step
  12. If the cake tops are domed,
    slice (how to slice) Slice Cut food into flat pieces of the same thickness. 1. Give round food a flat side to sit on.2. Hold it with your fingertips curled under.3. Cut with long strokes, pushing the knife forward and down rather than straight down.4. Move your guiding hand back the same distance each time so every slice matches. Done when: The slices are even. For meat, slicing across the grain (across the lines of muscle) gives the tenderest bite. Safety: Keep the fingertips of your guiding hand curled under, knuckles toward the blade, and set the board on a damp towel so it can't slide. Slice hot roasts on a board with a groove for the juices.How to slice evenly: mistakes to avoid
    them level with a long serrated knife.
    Grown-up: knife
  13. Set one layer on a plate. Spread about 1 cup of frosting over it right to the edge.
    Kid step
  14. Place the second layer on top, cut side down. Spread a thin layer of frosting over the top and sides to trap crumbs.
    Grown-up: knife
  15. Chill the cake so the crumb coat firms up.
    ⏱ Chill crumb coat: 20 minKid step
  16. Spread the rest of the frosting over the top and sides with an offset spatula, then add sprinkles if you like.
    Kid step

Tap an underlined word for how to do it, or see all techniques.

Tips

  • Room-temperature eggs and buttermilk blend smoothly into the butter. Cold ones can make the batter curdle.
  • Frost only fully cool layers. Even slightly warm cake melts buttercream.
  • Spoon and level the flour, or weigh it. Too much flour makes a dry, heavy cake.

Storage

Cover and keep at cool room temperature up to 2 days, or refrigerate up to 5 days. Let it sit out 1 hour before serving.

Make ahead

Bake the layers up to 1 day ahead and keep them wrapped at room temperature, or freeze them wrapped up to 2 months. Frost while still slightly cold for fewer crumbs.

Quick answers

Can I freeze it?

Bake the layers up to 1 day ahead and keep them wrapped at room temperature, or freeze them wrapped up to 2 months.

What can I swap?

Cooking for an allergy? Check every label.

Answered from this recipe's own storage, make-ahead and swap notes.

Estimated nutrition per serving

Calories
650
Protein
7 g
Carbohydrates
80 g
Fiber
3 g
Sugars
56 g
Fat
36 g
Saturated fat
22 g
Sodium
400 mg

Whole recipe, 12 servings: about 7,810 calories.

Estimate from USDA FoodData Central; not medical or dietary advice. Based on 15 of 15 ingredients.

How we estimate

We add up USDA FoodData Central values for each measured ingredient as written and divide by the recipe's 12 servings, so changing the servings or units here doesn't change a serving. Brands, swaps, trimming and cooking all change the real numbers.

Not counted: sprinkles (to taste or as needed).

Estimated cost

About $0.80 a serving

About $9.50 for the recipe as written (12 servings).

Estimate; prices vary by store and region. U.S. average prices for September 2026 from BLS Average Price Data and USDA ERS Purchase to Plate prices updated with the BLS Consumer Price Index. Priced: 9 of 15 ingredients, 98% by weight.

How we estimate

Each measured ingredient is weighed as in the nutrition estimate and priced at the U.S. average: BLS's average price where BLS publishes one, else USDA ERS's Purchase to Plate price for 2017-18 raised to September 2026 with the CPI for that food group. Whole packages, store brands, sales and regions all change the real cost: treat it as a ballpark.

  • unsalted butter $2.00 BLS
  • unsalted butter $2.00 BLS
  • unsweetened cocoa powder $1.40 ERS
  • powdered sugar $1.25 ERS
  • eggs $0.75 BLS
  • granulated sugar $0.65 BLS
  • heavy cream $0.55 ERS
  • buttermilk $0.55 ERS
  • all-purpose flour $0.40 BLS

Not priced (no official average price we can match, so not in the total): baking powder, baking soda, kosher salt, vanilla extract.

Not counted: sprinkles (optional, or to taste).

More dishes for less: cheap eats.

Keep this one

Sign in to save recipes into your own collections, log the days you cook them and keep private notes, like "use less sugar next time". Only you see them.

Sign in to saveNo password: we email you a code.

Gear for this recipe

As an Amazon Associate we earn from qualifying purchases. Brands are suggestions; any similar item works.

Cleanup score 3/5 (some cleanup): 3 things to wash, cake pans, mixing bowl, stand mixer bowl.

More kitchen gear and our gear guides

Reviews (0)

No reviews yet. Made it? Tell us how it went.