Food

Baking a Cake from Scratch: Ingredients You Need

By Hayride Live · Updated · 6 min read

The short answer: baking a cake from scratch takes about eight to ten basic ingredients—flour, sugar, eggs, butter or oil, milk or buttermilk, baking powder, baking soda, salt, and vanilla. For a simple vanilla layer cake, you’d use 2 cups (250 g) all-purpose flour, 1 3/4 cups (350 g) sugar, 3/4 cup (170 g) butter, 3 eggs, 1 cup (240 ml) milk, 1 1/2 teaspoons baking powder, 1/2 teaspoon salt, and 2 teaspoons vanilla.

What Are the Core Ingredients and Why Do They Matter?

Every cake relies on a balance of these components. Flour gives structure; sugar adds sweetness and helps browning; fat (butter or oil) makes it tender; eggs bind and add moisture; liquid (milk, buttermilk, water) hydrates the dry ingredients; leaveners (baking powder or baking soda) make it rise; salt balances flavor; vanilla adds aroma.

Here’s a quick rule of thumb: for a standard 9-inch (23 cm) round layer cake, start with equal weights of flour and sugar (about 250 g each), half that weight of fat (125 g), two to three eggs, and about 1 cup (240 ml) of liquid. Adjust leavener based on whether you use buttermilk (which needs baking soda) or plain milk (which needs baking powder).

Flour: All-Purpose vs. Cake Flour

All-purpose flour (about 10-12% protein) works for most scratch cakes. Cake flour (about 7-9% protein) gives a finer, more tender crumb because it forms less gluten. If you only have all-purpose, replace 2 tablespoons (16 g) per cup with cornstarch to approximate cake flour. Do not use bread flour—it makes a tough cake.

Leaveners: Baking Powder and Baking Soda

Baking powder contains its own acid, so it works with plain milk. Baking soda needs an acidic ingredient like buttermilk, yogurt, sour cream, or brown sugar to react. A typical rule: 1 teaspoon baking powder per 1 cup (125 g) flour, or 1/4 teaspoon baking soda per cup of buttermilk. If a recipe calls for both, it usually means there’s both acid and a need for extra lift.

How Do I Measure Ingredients Correctly for a Scratch Cake?

Use a kitchen scale for dry ingredients—it’s the most accurate. If using cups, spoon flour into the cup and level with a knife; never scoop directly from the bag, which packs it down and adds up to 20% extra. Brown sugar is the exception: pack it firmly into the cup. Measure liquids in a clear glass measuring cup at eye level.

For butter, 1 stick = 1/2 cup = 113 g. For eggs, large eggs (about 50 g each) are standard in recipes. If you use medium or extra-large, adjust by weight if you can.

Room Temperature Ingredients

Butter, eggs, and milk should be at room temperature (about 70°F/21°C) before mixing. Cold butter doesn’t cream properly, and cold eggs can make the batter curdle. Take them out 30-45 minutes before starting. If you’re short on time, put eggs in a bowl of warm water for 5 minutes, and cut butter into small cubes.

What Is the Right Mixing Order for a From-Scratch Cake?

The classic method is creaming: beat softened butter and sugar until light and fluffy (2-3 minutes), then add eggs one at a time, then dry ingredients and liquid alternately, starting and ending with flour. This builds structure and traps air for a tender crumb.

Alternate method: for oil-based cakes (like carrot or zucchini), whisk wet ingredients together, then stir in dry ingredients until just combined—no creaming needed. This is faster and produces a moister, denser cake.

Step-by-Step for a Basic Vanilla Cake

  1. Preheat oven to 350°F (177°C). Grease and flour two 9-inch (23 cm) round pans.
  2. Whisk together 2 cups (250 g) flour, 1 1/2 tsp baking powder, and 1/2 tsp salt.
  3. In a large bowl, beat 3/4 cup (170 g) softened butter and 1 3/4 cups (350 g) sugar until pale and fluffy, about 3 minutes.
  4. Add 3 large eggs one at a time, beating well after each; mix in 2 tsp vanilla.
  5. Add the flour mixture in three additions, alternating with 1 cup (240 ml) milk in two additions, starting and ending with flour. Mix just until smooth—do not overmix.
  6. Divide batter evenly between pans. Bake 25-30 minutes, until a toothpick inserted in the center comes out clean and the edges pull away from the pan.
  7. Cool in pans 10 minutes, then turn out onto a wire rack to cool completely before frosting.

Where Do People Go Wrong When Baking a Cake from Scratch?

The most common mistakes are overmixing, wrong oven temperature, and opening the oven door too early. Overmixing develops gluten, making a tough, dense cake. Mix only until the flour disappears—a few lumps are fine. Oven thermostats can be off by 25°F (14°C), so use an oven thermometer. Don’t open the door until the minimum bake time has passed, or the cake may sink.

Another frequent error: substituting ingredients without adjusting. Using oil instead of melted butter changes texture (oil gives a moister crumb but less flavor). Using baking soda instead of baking powder without adding acid will make a bitter, flat cake. If you must swap, use 1/4 teaspoon baking soda plus 1/2 cup buttermilk or yogurt for each teaspoon of baking powder.

Signs Your Cake Is Done

  • A toothpick or skewer inserted in the center comes out clean or with a few moist crumbs (not wet batter).
  • The top springs back when pressed lightly with a finger.
  • The cake has pulled away slightly from the sides of the pan.
  • An instant-read thermometer reads 200-210°F (93-99°C) in the center.

How Do I Adjust a Scratch Cake for High Altitude or Humidity?

Above 3,000 feet (900 m), lower air pressure makes cakes rise too fast and collapse. Increase oven temperature by 25°F (14°C), reduce baking powder by 1/8 to 1/4 teaspoon per teaspoon, and increase liquid by 1-2 tablespoons. Bake a test layer to see what works for your elevation.

In humid weather, flour absorbs moisture from the air, so you may need 1-2 extra tablespoons of flour per cup. Also, butter and sugar may not cream as well—chill your mixing bowl for 10 minutes first. If your cake domes or cracks, the oven is too hot or the batter is overmixed.

What Are the Best Substitutions for Common Cake Ingredients?

If you’re out of buttermilk, add 1 tablespoon lemon juice or white vinegar to 1 cup (240 ml) milk and let it sit 5 minutes. For eggs, use 1/4 cup (60 ml) unsweetened applesauce or 1/4 cup (60 g) mashed banana per egg—but know the cake will be denser and more moist. For butter, use equal parts plain yogurt or applesauce in oil-based cakes, but expect a softer crumb and less browning.

If you’re out of baking powder, mix 1/4 teaspoon baking soda with 1/2 teaspoon cream of tartar and 1/4 teaspoon cornstarch to make 1 teaspoon. For vanilla extract, use 1 teaspoon vanilla bean paste or the seeds of half a vanilla bean. Never use imitation vanilla in equal amounts—it’s stronger, so use half.

How Should I Store a From-Scratch Cake?

An unfrosted cake keeps at room temperature in an airtight container for up to 3 days. Frosted cakes with buttercream or cream cheese frosting also keep at room temperature for 1-2 days, but if the frosting contains dairy or eggs, refrigerate after 2 hours. Refrigerated cakes should be brought to room temperature before serving for best flavor.

For freezing: wrap unfrosted layers tightly in plastic wrap, then foil, and freeze for up to 3 months. Frosted cakes can be frozen unwrapped for 1 hour until firm, then wrapped and frozen for up to 2 months. Thaw in the refrigerator overnight, then bring to room temperature. Never leave a cake with perishable filling out more than 2 hours (1 hour above 90°F/32°C).

Scratch Cake for Large Batches and Cupcakes

To make cupcakes from the same recipe, fill liners two-thirds full and bake at 350°F (177°C) for 18-22 minutes—until a toothpick comes out clean. This recipe makes about 24 cupcakes. For a sheet cake, use a 9×13-inch (23×33 cm) pan and bake 30-35 minutes. If doubling the recipe, keep the same oven temperature but expect a few extra minutes of baking time—check with a toothpick.

For a bundt pan, grease well with butter and flour, or use a baking spray with flour. Bake at 350°F (177°C) for 45-55 minutes. Let cool in the pan 15 minutes before inverting, or the cake may stick.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.