Cake Mix DIY: Make Your Own From Scratch
In this article
Make a DIY cake mix by whisking 2 1/2 cups (300 g) all-purpose flour, 1 3/4 cups (350 g) granulated sugar, 1 tablespoon (12 g) baking powder, and 1 teaspoon (6 g) fine salt; this batch replaces one standard 15.25-ounce boxed mix. Store it in an airtight jar for up to 3 months at room temperature. To bake, add 3/4 cup (170 g) softened butter, 3 large eggs, and 1 cup (240 ml) milk, then bake at 350°F (175°C).
What Goes Into a DIY Cake Mix
A boxed mix is mostly flour and sugar with leavening, salt, and sometimes emulsifiers and flavoring. Reproducing it at home means getting the ratio right, because too much baking powder gives a soapy taste and a cake that rises then collapses. The base ratio above works for a two-layer 8-inch cake or a 9x13-inch sheet cake. Use bleached or unbleached all-purpose flour; both work, but bleached flour produces a slightly finer crumb closer to boxed results. Cake flour gives a more tender texture: substitute 2 3/4 cups (300 g) cake flour and reduce the milk in the baking step to about 3/4 cup (180 ml), since cake flour absorbs less liquid.
Baking powder loses potency over time, so check yours before committing a whole batch. Stir 1 teaspoon into 1/2 cup of hot water; it should fizz actively within a few seconds. If it barely bubbles, replace it. Single-acting and double-acting baking powder both work, but double-acting is standard in US supermarkets and gives a more reliable rise in a home oven.
The Exact Ratio for One Box Equivalent
Keep the ratio at roughly 12 parts flour to 14 parts sugar by weight, with about 4 percent baking powder and 2 percent salt. That means for every 100 g of flour you use about 117 g of sugar, 4 g of baking powder, and 2 g of salt. Scaling up is simple: double every ingredient for two box equivalents, which suits a large bundt pan or a three-layer cake. Write the date on the jar, because the mix is only as good as the freshest ingredient in it.
| Ingredient | 1 batch (1 box equiv.) | 2 batches | Half batch |
|---|---|---|---|
| All-purpose flour | 300 g (2 1/2 cups) | 600 g (5 cups) | 150 g (1 1/4 cups) |
| Granulated sugar | 350 g (1 3/4 cups) | 700 g (3 1/2 cups) | 175 g (7/8 cup) |
| Baking powder | 12 g (1 tbsp) | 24 g (2 tbsp) | 6 g (1 1/2 tsp) |
| Fine salt | 6 g (1 tsp) | 12 g (2 tsp) | 3 g (1/2 tsp) |
How to Bake a Cake From the DIY Mix
Heat the oven to 350°F (175°C) and grease two 8-inch round pans or one 9x13-inch pan. Beat 3/4 cup (170 g) softened butter into the dry mix until it looks like coarse sand, about 2 minutes; this step coats the flour in fat and limits gluten development. Add 3 large eggs one at a time, then 1 cup (240 ml) milk and 2 teaspoons vanilla extract, and beat 2 minutes more until smooth. Divide between the pans and bake 25 to 30 minutes for rounds or 30 to 35 minutes for a sheet cake. The cake is done when a toothpick inserted in the center comes out with a few moist crumbs, and the internal temperature reads about 200°F to 210°F (93°C to 99°C) on an instant-read thermometer.
Cool the rounds in the pans 10 minutes, then turn out onto a rack. Frost only when fully cool, or the buttercream will slide. If the batter looks stiff, add milk 1 tablespoon at a time; if it is runny, stir in 1 tablespoon of flour. High-altitude bakers should reduce baking powder by about 1/4 teaspoon per batch and add 2 tablespoons extra milk.
Substitutions That Still Work
Swap the butter for an equal weight of neutral oil for a moister, longer-keeping cake, but reduce the milk to 3/4 cup because oil adds liquid. For a dairy-free version, use 1 cup (240 ml) oat or soy milk and 3/4 cup (150 g) oil. Replace 1/4 cup of the milk with sour cream or buttermilk for a tangier crumb. Brown sugar can replace up to half the granulated sugar; pack it firmly and expect a darker color and softer texture. Do not cut the sugar below about 60 percent of the flour weight, because sugar keeps the crumb tender and holds moisture.
Egg substitutes work in a pinch: 1/4 cup (60 g) unsweetened applesauce or 1 tablespoon ground flax mixed with 3 tablespoons water per egg. Cakes made this way are denser and brown faster, so check them 5 minutes early.
Flavor Variations to Build Into the Jar
Add dry flavorings to the mix itself so the jar is ready to use: 2 tablespoons cocoa powder plus 1/4 teaspoon espresso powder for a chocolate version (increase milk to 1 1/4 cups), 1 tablespoon dried citrus zest, 1 teaspoon ground cinnamon, or 1/2 teaspoon almond extract powder. Spices stale faster than flour, so a spiced mix keeps its best flavor for about 6 weeks rather than 3 months. Keep wet flavorings like vanilla and extracts for the baking step.
How Long DIY Cake Mix Lasts and How to Store It
An airtight container in a cool, dark cupboard holds the mix for up to 3 months; beyond that the baking powder weakens and the cake rises less. In a freezer bag with the air pressed out, it keeps 6 months. Do not store it near the oven or a sunny window, and never let a wet spoon touch the mix. If the mix clumps or smells stale or rancid, discard it. Label the jar with the date and the wet ingredients needed, so nobody has to look up the recipe later.
Gifting the Mix and Scaling for a Crowd
A one-quart jar holds one batch with a little headroom; press the flour down gently and leave 1 inch of space at the top. Attach a card listing the wet ingredients and the oven temperature, since the mix alone is useless without them. For a crowd, make four batches at once and store in a large food-safe bucket with a lid; measure from the bucket with a scale rather than a cup for consistency. One batch yields about 12 cupcakes, baked at 350°F (175°C) for 18 to 21 minutes.
If a baked cake sinks in the middle, the usual causes are too much liquid, an oven running cool, or opening the door early. Check the oven with a separate thermometer and avoid opening it before the 20-minute mark. A cake that crumbles when cut was likely underbaked or cut warm; let it cool completely first.