Skip to main content
Zimt

Home baking recipes and cinnamon favourites

Science Behind Making a Cake: How Baking Works

The science behind making a cake lies in the controlled chemical reactions and physical changes that occur when batter is heated, primarily the coagulation of proteins, the gelatinization of starches, and the leavening action of gases.

Basic Chemistry of Cake Batter

At room temperature, the ingredients in a cake batter exist as a relatively stable mixture of liquids, fats, sugars, and dry powders. When the batter is mixed, sugar dissolves, fat is dispersed into tiny droplets, and proteins from flour and eggs begin to unwind, a process called denaturation. This creates a matrix that can trap air and later, steam, which will expand during baking.

Once the batter enters the oven, heat supplies the energy needed for three key reactions: (1) protein coagulation, where unfolded proteins form a network that gives structure; (2) starch gelatinization, where starch granules absorb water, swell, and become viscous; and (3) leavening, where gases such as carbon dioxide or steam expand and create the crumb’s pores. The balance among these reactions determines whether a cake is dense, tender, or overly dry.

How Leavening Agents Work

Leavening agents are substances that generate gas bubbles in the batter. The most common are baking powder, baking soda, and yeast, each operating through a different mechanism. Baking soda (sodium bicarbonate) needs an acid—such as buttermilk, lemon juice, or cocoa powder—to produce carbon dioxide; baking powder contains both acid and base, so it reacts when moistened and again when heated (double‑acting). Yeast ferments sugars, releasing carbon dioxide slowly, but it is rarely used in cakes because the fermentation time would lengthen the process.

The amount of gas produced must be matched to the batter’s ability to retain it. Too much leavening creates large bubbles that rise and burst, resulting in a collapsed or “tunneling” cake. Too little leads to a flat, heavy product. A practical rule of thumb is about 1 tsp (4 g) of baking powder per cup (120 g) of flour for standard sponge cakes.

Role of Fats and Sugars

Fats—usually butter, oil, or shortening—serve several functions. They coat flour particles, limiting gluten formation and producing a tender crumb. They also act as emulsifiers, helping water and fat blend, and they trap air when creamed with sugar, contributing to leavening. The type of fat influences flavor and mouthfeel; butter adds a characteristic richness, while oil yields a softer, more moist texture.

Sugar’s primary role is sweetness, but it also affects texture and moisture retention. Sugar is hygroscopic, meaning it attracts and holds water, slowing the drying of the cake during baking. It also lowers the coagulation temperature of proteins, which allows the cake to rise higher before the structure sets. Caramelization and Maillard reactions at the crust surface create the golden color and complex flavors.

Gluten Development and Starch Gelatinization

Gluten is formed when two proteins in wheat flour—gliadin and glutenin—combine in the presence of water and mechanical agitation. In cakes, the goal is minimal gluten development to keep the crumb fine and tender. Over‑mixing creates a strong network that makes the cake chewy, similar to bread. That is why recipes often call for “mix until just combined.”

Starch gelatinization begins around 140 °F (60 °C) and peaks near 190 °F (88 °C). As the temperature rises, starch granules absorb water, swell, and burst, turning the batter from a liquid into a semi‑solid gel. This gel traps the gas bubbles created by leavening, solidifying the crumb structure. The timing of gelatinization relative to protein coagulation determines the final texture; ideally, starch sets just as proteins finish hardening.

Temperature, Heat Transfer, and Baking Time

Heat moves into the cake by conduction through the pan and convection from the oven air. The pan material influences how quickly the batter’s edges set: metal pans conduct heat rapidly, producing a higher rise and a crisper crust, while glass or silicone pans heat more slowly, giving a gentler rise and a softer crust. Oven temperature must be accurate; most cakes bake at 325 °F–350 °F (163–177 °C). Too hot a setting causes the outer layer to set and brown before the interior has expanded, leading to a dense center.

Internal temperature is the most reliable indicator of doneness. A fully baked cake reaches about 190 °F (88 °C) in the center, at which point proteins have coagulated and starches have gelatinized. Inserting a calibrated thermometer is safer than relying on visual cues alone, especially for large or multi‑layer cakes.

Common Problems and How to Fix Them

Even with a solid understanding of the science, cakes can go wrong. A flat cake usually means insufficient leavening, low oven temperature, or over‑mixing that over‑develops gluten. Adjust by checking the freshness of baking powder, calibrating the oven with an external thermometer, and mixing only until ingredients are just combined.

A dry or crumbly cake often results from over‑baking, too much flour, or insufficient fat/sugar. To remedy, reduce baking time, sift flour to avoid packing, and consider increasing the fat proportion by 10–15 %. If the cake collapses after cooling, it may have risen too quickly; lowering the oven temperature by 10 °F (6 °C) and adding a small amount of extra flour can provide more structural support.

Choosing Ingredients, Equipment, and Safety

Ingredient quality matters. Fresh, unexpired leavening agents are essential; a simple test is to drop a teaspoon of baking powder into warm water—if it bubbles vigorously, it is still active. Use pasteurized eggs or egg substitutes when serving vulnerable populations to avoid salmonella risk from raw batter.

Equipment should be clean, dry, and appropriately sized. A 9‑inch (23 cm) round pan holds about 2 cups of batter; over‑filling leads to overflow, while under‑filling reduces rise. Use light-colored metal pans for even browning; dark pans absorb more heat and may require a temperature reduction of 25 °F (14 °C). After baking, cool the cake on a wire rack within two hours, then cover and refrigerate if not served immediately. Store refrigerated cake for up to five days; it can be frozen for three months, wrapped tightly in plastic and foil.

Frequently Asked Questions

Why does my cake sink in the middle?

The center sinks when the structure sets too late, often because the oven temperature is too low, the batter is under‑mixed, or too much leavening caused an early rise followed by collapse. Verify oven temperature, mix just until combined, and measure leavening accurately.

Can I substitute oil for butter in a cake?

Yes. Oil can replace butter at a 1:1 ratio, but the flavor will be less buttery and the crumb may be slightly softer. For a richer taste, use a blend of half melted butter and half oil.

What is the safe internal temperature for a baked cake?

A cake is safely baked when its internal temperature reaches about 190 °F (88 °C). This ensures proteins have coagulated and any potential pathogens in the batter are destroyed.

How long can I keep a baked cake at room temperature?

Most unfrosted cakes can sit at room temperature for up to two days if covered loosely with foil or a cake dome. After that, refrigerate to prevent mold growth.

Why does my cake have a dense, gummy texture?

Gummy texture is usually caused by under‑baking or excess moisture from ingredients like fruit purees or too much liquid. Check the internal temperature, and if needed, extend baking time by 5–10 minutes while monitoring browning.

Read next