Independent comparisons• Spec-based, not sponsored • No fake reviewsFollow on Pinterest ↗Follow on Facebook ↗Follow on Instagram ↗

How to Substitute Butter in Baking

Butter, coconut oil, and shortening on a kitchen counter for baking

How to substitute butter in baking depends on what the butter is doing in your recipe: if it is creamed with sugar for lift, you need a solid fat; if it is melted for moisture, almost any fat works. The wrong swap gives a flat cake or a greasy cookie, while the right one is invisible. This guide gives you the swap for each job butter does, with the amounts that keep the math right.

How to substitute butter in baking — what is the short answer?

For 1 cup of butter, use 1 cup of coconut oil, shortening, or margarine, or use 7/8 cup, which is 14 tablespoons, of vegetable oil. For half the butter in muffins and quick breads, you can use applesauce or mashed banana for that half, but not for all of it. Do not swap butter in shortbread, buttercream, or puff pastry, because no substitute matches butter there.

How do I do it step by step?

  1. Work out what the butter does in the recipe. Read the recipe first. If the butter is creamed with sugar, it is making lift, so you need a solid fat. If the butter is melted, it is adding moisture, so almost any fat works. If the butter is cut into flour, it is making flakes, so you need a solid fat that stays cold.
  2. Pick the swap from the table. Choose the swap that matches the job: coconut oil or shortening for creaming and pastry, vegetable oil for muffins and quick breads, margarine for general baking. Do not pick a swap for flavor alone, because the job matters more than the taste.
  3. Measure the swap, not the butter. Measure the substitute by its own amount, not by the butter amount. Vegetable oil is used at 7/8 cup for every cup of butter, which is 14 tablespoons, so measure 14 tablespoons, not 16.
  4. Melt coconut oil before creaming. If the recipe creams butter with sugar, melt the coconut oil first and let it cool until it is soft but not liquid, then cream it the same way. Coconut oil straight from the jar is too firm to cream, and fully liquid coconut oil will not hold air.
  5. Mix the recipe as written. Once the swap is measured, follow the recipe exactly. Do not change the mixing time, the oven temperature, or the bake time for the swap, because those stay the same and changing them hides whether the swap worked.
  6. Watch the first batch. Bake a small test batch first when you try a new swap, and check the rise, the spread, and the texture. If the first batch is flat or greasy, the swap was wrong for that recipe, and you will know before you waste a full batch.
  7. Write down what worked. Write the swap and the recipe on a card and keep it with the recipe. A swap that works in muffins may not work in cookies, so the note saves you from guessing again next time.

What mistakes should I avoid?

What do I need, and what should I skip?

You need the substitute fat, measuring cups and spoons, and the recipe itself. A pen and a card for writing down what worked helps, because a swap that works in one recipe may not work in another.

Creaming butter with sugar in a mixing bowl
Pouring vegetable oil into a measuring cup for baking

Skip guessing the amount, because the oil swap is 7/8 cup per cup of butter, not 1 cup, and guessing gives a greasy bake. Skip low-fat spreads, because they are mostly water, and skip swapping butter in shortbread, buttercream, or puff pastry, where no substitute matches butter.

Which method should I choose?

SwapPer 1 cup of butterBest forWatch out
Coconut oil1 cupCookies and muffinsMelt first if the recipe creams butter
Shortening1 cupPie crust and flaky pastryNo butter flavor
Vegetable oil7/8 cup, which is 14 tablespoonsMuffins and quick breadsNo creaming lift, so cakes turn dense
Margarine1 cupGeneral bakingUse baking margarine, at least 80 percent fat
Applesauce1/2 cup replaces 1/2 cup of butterMuffins, only for half the butterNever replace all the butter
Ghee1 cupGeneral bakingNuttier flavor, no milk solids

What does the worked example look like?

Worked example: a muffin recipe needs 1/2 cup of butter, and you want to use vegetable oil. One cup of butter takes 7/8 cup of oil, which is 14 tablespoons, so half a cup of butter takes half of that, which is 7 tablespoons of oil. Measure 7 tablespoons of oil, add it where the recipe adds the butter, and bake as written. The muffins will be moist and tender, because oil suits muffins, where the butter is melted for moisture rather than creamed for lift.

When should I stop?

Stop swapping and use butter when the recipe is a butter-forward one: shortbread, buttercream, puff pastry, and butter cookies get their flavor and texture from butter itself, and no substitute matches them. A swap that saves a muffin recipe will ruin a shortbread recipe, so the right choice is sometimes to wait until you have butter.

What is the quick checklist?

What else helps on Kitchenlify?

Can I use oil instead of butter in cake?

Yes, in muffins and quick breads, at 7/8 cup of oil for every cup of butter, which is 14 tablespoons. Oil suits cakes where the butter is melted for moisture, and it keeps the cake moist for days.

Do not use oil in a cake where the butter is creamed with sugar for lift, because oil cannot be creamed and the cake turns dense. Use a light or neutral oil, not extra-virgin olive oil, because a strong oil flavor shows through in a vanilla or lemon cake.

Butter is only one swap of many — the Ingredient Substitution Calculator works out the amount when you swap one ingredient for another.

Frequently asked questions

Can I use olive oil instead of butter in baking?

Yes, in muffins and quick breads, at 7/8 cup of oil for every cup of butter. Use a light olive oil, not extra-virgin, because extra-virgin has a strong flavor that shows through in a delicate cake.

Can I replace all the butter with applesauce?

No. Replace only up to half the butter with applesauce, and only in muffins and quick breads. Applesauce adds water, not fat, so replacing all the butter makes the bake gummy and wet.

Does margarine bake the same as butter?

Close, but not exactly. Use a baking margarine with at least 80 percent fat, because low-fat spreads are mostly water and ruin baking. Margarine gives a similar texture to butter but a milder flavor, and it works 1 to 1 by volume.

Can I use coconut oil 1 to 1 for butter?

Yes, by volume: 1 cup of coconut oil replaces 1 cup of butter. Melt it first if the recipe creams the butter with sugar, and let it cool until it is soft but not liquid, so it creams the same way.

What about ghee as a butter substitute?

Yes, ghee replaces butter 1 to 1. Ghee is clarified butter, so it behaves like butter in baking, with a nuttier flavor and no milk solids, which means it browns less than butter.

Can I substitute butter in pie crust?

Yes, with shortening or lard, 1 to 1, for a flaky crust, but you lose butter flavor. Do not use oil in pie pastry, because oil makes the crust mealy instead of flaky.

Which butter substitute is best for cookies?

Coconut oil or shortening, 1 to 1, because both are solid fats that cream with sugar and hold the cookie shape. Oil makes cookies spread too much, and applesauce makes them cakey, so save those swaps for muffins.

What can I use instead of butter in cookies?

Use coconut oil or shortening, 1 to 1, because both are solid fats that cream with sugar and hold the cookie shape. Oil makes cookies spread too much, and applesauce makes them cakey, so save those swaps for muffins.

What is the best butter substitute for baking?

A butter substitute is any fat that replaces butter in a recipe. The best butter substitute for baking depends on the job: coconut oil or shortening for creaming and pastry, vegetable oil for muffins and quick breads, and margarine with at least 80 percent fat for general baking.

Found this helpful? Share it:

Help a friend with a small kitchen too.

Copy link to share on Instagram.