Fede Cocina

Kitchen science

Can You Use Oil Instead of Butter? When It Works and When It Doesn't

By 6 min read

In short

Butter and oil aren't the same fat: butter is about 16% water and, when creamed with sugar, it traps the air that makes cookies and cakes rise. That's why oil doesn't work in recipes that cream the butter, but it does in those that call for it melted, using a little less. What King Arthur and Milk Street found, and the middle ground of using a little of each.

Caro wanted to make vanilla cookies, opened the fridge and found no butter. She used the same amount of oil instead, since both are fat. The cookies came out shiny, fell apart in her hand and had an odd taste, like old cooking oil. It wasn't bad luck: butter and oil don't do the same job. Whether you can swap one for the other depends on one thing, which is how the recipe uses the butter.

They aren't the same fat

Oil is pure fat. Butter, on the other hand, is a mix of fat and water. According to a fact sheet from Oklahoma State University, the international food standard (the Codex Alimentarius) requires butter to have at least 80% milkfat and at most 16% water. Susan Reid, who wrote recipes for King Arthur for 20 years, puts the water at 18%. Whichever number you go with, about 16 g of every 100 g of butter isn't fat.

That water evaporates in the oven. So if you swap butter for the same amount of oil, you're adding more fat than the recipe called for.

PJ Hamel, of King Arthur, baked the same sugar cookie recipe with six different fats: butter, vegetable shortening, margarine, low-fat cream cheese, a butter and cream cheese mix, and vegetable oil. She measured them all by volume, the way most home bakers do.

The oil dough already looked wetter than the others, and the cookies came out a little darker. When tasted, the oil cookies were tender and crumbly, but greasy. The flavor was the worst part: they tasted like old cooking oil. Her conclusion was to avoid sugar cookies made with 100% oil.

What butter does when you cream it

In many cookie and cake recipes, the first step is beating soft butter with sugar until creamy. That step isn't just for mixing. According to the Exploratorium, the San Francisco science museum, the jagged edges of the sugar crystals drag air into the butter, which is why it turns paler and lighter.

That air goes to work later in the oven. The gas released by baking powder or baking soda doesn't make bubbles of its own: it collects in the pockets left by creaming. As they heat up, those bubbles expand, so the cake rises and stays tender. If the batter curdles when you add the eggs, some of that air is lost.

Oil can't do that. Milk Street, Christopher Kimball's cooking magazine and school, puts it this way: in recipes where the butter is creamed, oil is not an appropriate substitute, because it can't trap and hold air the way softened butter can.

There's a second case where it doesn't work either: doughs where cold butter is cut into the flour, like pie pastry, biscuits or scones. According to Milk Street, the dry ingredients absorb the oil there and the dough ends up sodden.

When you can use oil

If the recipe calls for melted butter, it's a different story. There the butter is simply mixed with the other ingredients, and the rise comes from baking powder, baking soda or beaten egg whites. According to Milk Street's kitchen tests, oil is a reasonable substitute in those recipes.

Some cakes even come out better. Oil stays liquid at room temperature, unlike butter, and that gives a moister, softer crumb. That's what happens with carrot cake or chiffon cake.

Just use a little less. Since butter is about 16% water and oil has none, Milk Street recommends scaling back a bit so the result isn't greasy. They don't give a number. The math I use as a guide is based on fat: 100 g of butter holds about 80 g of fat, so about 80 g of oil gives you the same amount.

Two more details from Milk Street's tests:

  • Extra-virgin olive oil has a strong flavor. They didn't like it in a plain vanilla cake. It did work with spices, citrus and chocolate. For something neutral, go with a mild oil.
  • It may brown less. In some cases, baked goods made with olive oil didn't brown as well as those made with butter.

The middle ground: a little of each

You don't have to choose. Susan Reid explains that King Arthur reworked several of its butter cakes so they wouldn't dry out so fast: they replaced 25% to 50% of the butter with oil.

The reason goes back to water. Since part of the water in butter evaporates in the oven, replacing that portion with oil leaves more fat in the cake, which makes it more tender. Oil also coats the flour evenly, so the layers don't turn tough even if you overbeat the batter.

If you want to try it in a butter cake, her advice is to replace 25% of the butter with oil, add it along with the butter and sugar, and cream as usual. That way you keep the air from creaming.

How to tell with your own recipes

Look at the first step of the recipe:

  • In my vanilla cookies, the 110 g of room-temperature butter is beaten with the sugar until creamy. Oil doesn't belong there: you'd end up like Caro.
  • In the coffee muffins, the butter goes in melted, along with the oil and the beaten eggs. There the 90 g of butter can be swapped for oil: by the fat math, that's about 72 g.
  • And if you have no butter at all, my chocolate cookies without butter are already built around 120 g of oil, so there's nothing to adjust.

Frequently asked questions

Can I substitute oil for butter?

It depends on how the recipe uses it. If it calls for melted butter, yes: oil is a good substitute. If the butter is creamed with sugar or cut cold into the flour, no, because oil doesn't trap air and the dough turns out greasy.

How much oil do I use instead of butter?

A little less, because butter is about 16% water and oil has none. As a guide, about 80 g of oil for every 100 g of melted butter, which matches the fat in the butter.

Why do cookies made with oil turn out greasy?

Because oil is all fat and doesn't trap the air that butter traps when creamed with sugar. In King Arthur's test, sugar cookies made with oil came out greasy and tasted like old cooking oil.

Which oil should I use instead of butter?

A mild-tasting one. Extra-virgin olive oil has a strong flavor that doesn't suit a vanilla cake, though it pairs well with spices, citrus and chocolate.

Can I use half butter and half oil?

Yes. King Arthur replaced 25% to 50% of the butter with oil in several of its cakes so they would stay moist. In a creamed butter cake, swap 25% and cream the oil along with the butter and sugar.

Related recipes

Sources

The facts in this post come from these sources (checked when it was written).

  1. When Can You Substitute Oil for Butter? — Christopher Kimball's Milk Street
  2. Cookie chemistry — King Arthur Baking (PJ Hamel) (2015)
  3. The key to making a cake with the moist texture of a boxed mix — King Arthur Baking (Susan Reid) (2022)
  4. Butter: Chemical and Physical Properties and Health Effects — Oklahoma State University Extension (Nurhan Turgut Dunford) (2024)
  5. Science of Cooking: Ask the Inquisitive Cooks — Exploratorium

More from the blog

See the whole blog →