Disclosure: This page may contain affiliate links. If you purchase through them, we earn a small commission at no extra cost to you.
Baking is chemistry. That's both its beauty and its challenge. A soufflé rises because of precise protein interactions and timing. A cookie spreads because of fat content and moisture balance. A cake rises because of gas expansion and gluten structure. This is why baking substitutions are deceptively difficult. You can't just swap out an ingredient and hope for the best. Every ingredient in a recipe serves specific functions—moisture content, fat, binding, leavening, browning, texture development. If you swap an ingredient without understanding what it does, your results will fail.
The good news is that certain substitutions work beautifully once you understand the science. Others will always fail, no matter how much you adjust. This guide covers which substitutions actually work, which don't, and the science behind why.
Before we discuss substitutions, you need to understand what each ingredient does. Flour provides structure through protein (gluten) and starch. Sugar provides moisture, browning, spread in cookies, and structure. Eggs provide moisture, binding, structure, and emulsification. Butter provides moisture, fat for flavor and texture, and structure. Leavening agents (baking powder, baking soda, yeast) create gas for rise. Salt enhances flavor and strengthens gluten. Vanilla and spices provide flavor. Milk provides moisture, fat (if whole), and lactose for browning.
When you substitute an ingredient, you're replacing one or more of these functions. If you remove an egg from a cake recipe, you're removing moisture, binding, and structure—and the cake will fail unless you add something else to compensate. If you swap all-purpose flour for almond flour, you're replacing starch and gluten structure with fat and protein, which creates a fundamentally different result. Understanding these functions helps you predict whether a substitution will work.
Flour is the backbone of most baked goods, and flour substitutions are where most people struggle. The issue is that different flours have vastly different protein contents and structures. All-purpose flour has about 10-12% protein. Bread flour has 12-14%. Cake flour has 7-9%. These differences dramatically affect gluten development and structure. Whole wheat flour has bran and germ, which absorb more moisture. Almond flour has no gluten at all.
Can you substitute cake flour for all-purpose? Yes, but you need to adjust. Cake flour produces softer, more tender crumb because it has less protein (less gluten development). If you're baking a delicate cake that you want tender, this works well. If you're baking a sturdy cookie or bread, it will be too soft. The swap is roughly 1:1 by volume but produce a different texture. For every cup of all-purpose flour, use 1 cup + 2 tablespoons of cake flour to maintain the right protein ratio.
Can you substitute bread flour for all-purpose? Yes, and it works well in cookies and dense cakes where you want more structure. Bread flour produces stronger gluten development, so cookies will be chewier and cakes will be sturdier. Use slightly less bread flour—about 1 cup for every 1 cup + 2 tablespoons of all-purpose called for. The extra protein means the dough will be stiffer.
Can you substitute whole wheat flour for all-purpose? This is trickier. Whole wheat flour absorbs more moisture because the bran absorbs water. You can replace up to 50% of the all-purpose flour with whole wheat in cookies, breads, and some cakes. Beyond that, the flavor becomes too strong and the texture becomes dense. If you're using 50% whole wheat, add 2-4 extra tablespoons of milk per cup of flour to account for moisture absorption.
Can you substitute almond flour for all-purpose? Fundamentally, no. Almond flour has no gluten, no starch, and is entirely fat and protein. Cookies made with almond flour taste delicious but have a completely different structure—they're dense, rich, and crumbly. If you want to bake a cake with almond flour, you need an entirely different recipe designed for almond flour. You can't just swap it 1:1 for all-purpose.
Eggs are complex. One large egg contains about 50 grams and provides moisture, fat (in the yolk), protein (binding), and emulsification. Substituting eggs is possible but requires understanding what role the egg plays. In a dense chocolate cake, an egg mostly provides moisture and binding. In a delicate chiffon cake, an egg provides air incorporation and structure. These require different substitutes.
For moisture and binding in dense cakes and quick breads: One large egg can be replaced with ¼ cup applesauce, ¼ cup mashed banana, or ¼ cup plain yogurt. These provide similar moisture but less binding. Your baked good will be slightly softer and may have a slightly different flavor. The applesauce or banana option works especially well in chocolate, spice, and fruit cakes. Cookies made with egg substitutes will be softer and more cake-like.
For binding in cookies: One large egg can be replaced with 2 tablespoons ground flaxseed mixed with 3 tablespoons water (let sit 5 minutes), or 2 tablespoons cornstarch mixed with 3 tablespoons water. These work reasonably well but produce a slightly different texture—cookies will be slightly denser and chewier. The flaxseed option adds a subtle nutty flavor.
For leavening and air incorporation in sponge cakes and angel food cakes: There is no good substitute. These cakes depend on whipped eggs to incorporate air and provide structure. You cannot replicate this with applesauce or aquafaba (liquid from canned chickpeas can work for some applications but produces different results). If you need to avoid eggs, use a different recipe type entirely.
For enriched doughs (brioche, challah): Eggs can be partially replaced with milk or cream, but the result will be less rich. If the recipe calls for 2 eggs, you could use 1 egg + ¼ cup milk. The dough will be slightly less custardy and less golden, but will still work.
Butter does three things: provides moisture (butter is about 16% water), provides fat for flavor and texture, and creates lamination (in croissants and puff pastry). Most of butter's weight is fat, but that water content matters for moisture in cakes and brownies. Substituting butter requires understanding which of these functions you're replacing.
Oil for butter: You can replace butter with vegetable oil, coconut oil, or other neutral oils. Use about 75% of the butter weight in oil. So if the recipe calls for 1 cup (8 oz) butter, use ¾ cup + 2 tablespoons oil. Oil has no water content and produces a more tender crumb. Cakes made with oil instead of butter will be moister and stay fresh longer, but less rich. Cookies made with oil will spread more easily. This works well for simple cakes, brownies, and muffins. It does not work for laminated doughs (croissants, puff pastry) because oil doesn't create layers.
Coconut oil for butter: Coconut oil is solid at room temperature and has a different flavor. You can use it 1:1 for butter in cookies and cakes, but understand that coconut oil has a higher water content than most people realize, and it will produce a slightly different result. Use refined coconut oil if you don't want coconut flavor. Coconut oil works well in tropical-flavored baked goods but can impart flavor in vanilla cakes.
Applesauce for butter: This is a lower-fat substitute. Use about 50-75% applesauce for the butter called for. So for 1 cup butter, use ½-¾ cup applesauce. This produces a much lower-fat baked good, but it's also much less moist and rich. This works for quick breads and some cakes but produces a different texture. Cookies made with applesauce instead of butter will be cake-like and dry quickly.
Sugar does four critical things: sweetens, provides moisture, creates browning through caramelization, and affects texture (more sugar = softer, more spread). Substituting sugar is possible but requires understanding these functions. You cannot simply replace white sugar with honey or brown sugar 1:1 and expect the same result.
Brown sugar for white sugar: Brown sugar is white sugar with molasses added. You can swap them 1:1 by weight, and the result will be slightly softer and moister (because molasses contains water). The flavor will be more complex, with subtle caramel notes. This works great in cookies and brownies. In delicate cakes, the extra moisture from molasses can affect texture.
Honey for sugar: Honey is sweeter than sugar, more moist, and has a distinct flavor. You can replace white sugar with honey at about 75% the weight (honey is about 20% water). So for 1 cup sugar (200g), use about 150g honey. Reduce other liquids in the recipe by about 3-4 tablespoons to account for honey's water content. Honey produces a more moist, tender crumb and adds subtle floral flavor. This works well in quick breads, cakes, and cookies. It does not work in frostings that need to hold a stiff peak.
Maple syrup for sugar: Similar to honey. Use 75% the weight in maple syrup, reduce other liquids by 3-4 tablespoons, and understand that maple flavor will come through. This works well in pancakes, quick breads, and fall-flavored baked goods. It's less suitable for vanilla cakes where you want neutral sweetness.
Agave nectar for sugar: Very similar to honey in terms of moisture and sweetness. Use the same ratio (75% the weight), reduce liquids, and expect a slightly different flavor. Agave is more neutral than honey, so it works well in cakes and cookies.
Artificial sweeteners for sugar: This is where substitutions get complicated. Artificial sweeteners don't provide moisture or browning like sugar does. A cookie made with stevia or aspartame instead of sugar will be very different—drier, paler, and with a different flavor. Some people have success with stevia blends designed for baking, but read the instructions carefully. These are specialized substitutes and won't produce the same result as sugar.
Baking powder and baking soda are not interchangeable. Baking soda (sodium bicarbonate) produces CO2 when it reacts with acid. It reacts immediately and must be baked right away or the rise is lost. Baking powder is baking soda mixed with acid (and cornstarch), so it can be stored in the dry ingredients and reacts during mixing and baking. You cannot simply swap them.
Can you use baking soda when the recipe calls for baking powder? Only if the recipe has acid (buttermilk, yogurt, lemon juice, vinegar, brown sugar). For every 1 teaspoon of baking powder, use ¼ teaspoon baking soda plus ½ teaspoon acid. So if a recipe calls for 2 teaspoons baking powder but has no acid, you cannot use baking soda instead—you'd need to add acid. If the recipe has acid, you can use baking soda alone.
Can you use baking powder when the recipe calls for baking soda? Generally, no. Baking soda reacts with acid in a specific way, and substituting baking powder will produce a different result. The batter will be thinner, the rise will be different, and the flavor may be affected. Some recipes (like certain cookies) can tolerate baking powder, but it's not a reliable substitution.
Milk provides moisture, fat (if whole or 2%), lactose for browning, and protein. Different milk substitutes provide different results. Whole milk, 2% milk, and skim milk can be swapped 1:1—the difference is fat content (whole milk has 4%, 2% has 2%, skim has 0%). Skim milk produces less rich, less moist baked goods, but in most recipes the difference is subtle.
Buttermilk: Buttermilk is lower in fat than whole milk and has acid, which affects browning and texture. You cannot swap buttermilk for regular milk 1:1 because the acid changes how leavening agents react. If a recipe calls for buttermilk and you use regular milk, your leavening will be different. If a recipe calls for regular milk and you use buttermilk, the same issue applies. If you need buttermilk and don't have it, make your own by adding 1 tablespoon lemon juice or vinegar to 1 cup milk and letting it sit 5 minutes.
Non-dairy milk (almond, oat, soy): These can substitute for regular milk 1:1 in most recipes. Almond milk is thin and lower in protein, so baked goods will be slightly less moist. Oat milk has more body and protein, so it works more like whole milk. Soy milk has the most protein, which strengthens gluten. These substitutions work well in cakes, quick breads, and muffins. They work less well in custards or cream-based fillings where full-fat dairy is essential.
Sour cream and yogurt: These can be swapped 1:1 in most recipes. They provide moisture and tang. They're acidic, which affects leavening. If a recipe calls for sour cream, you can use plain yogurt (same acid content). If a recipe calls for milk and you want to add tang, replace ¼ cup milk with ¼ cup sour cream or yogurt.
Vanilla is flavor, not function. You can substitute different vanilla sources (real vanilla extract, vanilla bean, vanilla powder) 1:1 and get similar results. Real vanilla extract has a more complex flavor than imitation, and vanilla bean paste is the most intense. For every 1 teaspoon vanilla extract, use about 1 inch vanilla bean pod (scrape the seeds) or ½ teaspoon vanilla bean paste.
Can you omit vanilla? Yes. The baked good will taste less interesting but will still work. If a recipe calls for 1 teaspoon vanilla and you omit it, you might add a pinch of salt to make the flavors pop, or increase another spice slightly.
Can you replace vanilla with other extracts? Yes. One teaspoon vanilla can be replaced with ½ teaspoon almond extract (which is more intense), or 1 teaspoon of another flavor extract (coconut, lemon, peppermint). The result will taste different but will still work. Almond extract is particularly strong—don't use it 1:1 with vanilla or it will overpower.
Baking substitutions work when you understand the functions of each ingredient and can identify a replacement that provides the same functions. Some substitutions are straightforward (brown sugar for white sugar, oil for butter at the right ratio). Others are complicated (egg substitutes in sponge cakes, almond flour for all-purpose flour). The key is understanding not just what to swap, but why you're swapping it, and what the result will be. Start with modest substitutions in recipes you've made before. Don't attempt three major substitutions in a recipe you've never made. Once you understand how individual swaps affect outcomes, you can combine them confidently.
Substitution success varies by recipe type and desired outcome. Always start with smaller batches to test.