When and Why to Substitute
Sometimes you're out of an ingredient. Sometimes you have dietary restrictions. Either way, baking substitutions work when you understand what each ingredient does in the recipe. Flour provides structure. Fat provides moisture and tenderness. Sugar provides sweetness and browning. Eggs bind and leaven. Swap thoughtfully and you'll get good results. Swap blindly and you might not.
Butter Substitutions
Butter to Oil
Replace 1 cup (227g) of butter with 3/4 cup (180ml) of neutral oil like vegetable or canola. You need less oil because butter is about 80% fat and 20% water. Oil gives a moister, denser crumb — great for quick breads and muffins, not ideal for cookies where you want butter's firming effect when cold.
Butter to Coconut Oil
Use a 1:1 ratio. Coconut oil is solid at room temperature just like butter, so it behaves similarly in most recipes. Refined coconut oil won't add coconut flavor. Virgin coconut oil will.
Flour Substitutions
All-Purpose to Cake Flour
For every 1 cup (125g) of all-purpose flour, use 1 cup plus 2 tablespoons (140g) of cake flour. Cake flour has less protein (7-9% vs 10-12%), so it produces a more tender crumb. Going the other direction: replace 1 cup of cake flour with 1 cup minus 2 tablespoons of all-purpose flour plus 2 tablespoons of cornstarch.
All-Purpose to Self-Rising Flour
Self-rising flour already contains baking powder and salt. If substituting, omit the leavening and salt from your recipe. To make your own self-rising flour: 1 cup (125g) all-purpose flour + 1.5 teaspoons baking powder + 1/4 teaspoon salt.
Dairy Substitutions
Milk to Buttermilk
Add 1 tablespoon of white vinegar or lemon juice to a liquid measuring cup, then fill to the 1-cup line with milk. Let it sit for 5 minutes. The acid curdles the milk slightly, mimicking buttermilk's acidity and thickness. This works for pancakes, biscuits, and quick breads.
Heavy Cream
For cooking (not whipping): mix 3/4 cup whole milk with 1/4 cup melted butter. This won't whip into peaks, but it works in sauces, soups, and baked goods where the fat content matters more than the texture. One cup of heavy cream weighs about 238 grams.
Egg Substitutions
For Binding
Each egg can be replaced with: 1 tablespoon ground flaxseed mixed with 3 tablespoons water (let it gel for 5 minutes), or 1/4 cup (60g) unsweetened applesauce, or half a mashed banana. These work well in muffins, pancakes, and quick breads. They won't work in recipes where eggs provide most of the structure, like souffles or angel food cake.
For Moisture
1/4 cup (60g) of yogurt or sour cream per egg. This adds moisture and a slight tang. Good for cakes and quick breads.
Sugar Substitutions
Granulated to Brown Sugar
Use a 1:1 swap. Brown sugar adds moisture and a mild molasses flavor. Your baked goods will be slightly chewier and darker. One cup of granulated sugar weighs 200g; one cup of packed brown sugar weighs about 220g, so if measuring by weight, adjust accordingly.
Sugar to Honey
Use 3/4 cup (255g) of honey for every 1 cup (200g) of sugar. Reduce the other liquid in the recipe by about 3 tablespoons per cup of honey used. Also lower your oven temperature by 15°C (25°F) because honey browns faster than sugar. The result will be denser and moister.
Sugar to Maple Syrup
Use 3/4 cup maple syrup for every 1 cup of sugar. Reduce other liquids by 3 tablespoons. Maple syrup adds a distinct flavor that works well in pancakes, oatmeal cookies, and spice cakes, but can overpower delicate vanilla or white cakes.
A Word of Caution
Substitutions change the outcome. Sometimes the change is barely noticeable. Other times it transforms the texture, flavor, or appearance. When possible, test a substitution with a half-batch first. And remember that substituting more than one ingredient at a time multiplies the unpredictability.