Why these aren't all 1:1
Butter is roughly 80% fat and about 15-17% water, with the rest milk solids — that composition is what gives baked goods their structure, flavor, and texture, and no substitute matches it exactly. Oil is 100% fat with no water, so recipes typically call for slightly less oil (about ¾ the volume) to avoid an overly greasy result. Applesauce is mostly water and fiber with almost no fat, so it cuts richness substantially — great for health-conscious quick breads, poor for anything wanting a rich, tender crumb like shortbread or classic butter cookies. Solid coconut oil is the closest match in fat structure and solid-at-room-temperature behavior, which is why it's the one true 1:1 swap on this list.
Where each substitute works best
Oil substitutes work well in quick breads, muffins, and brownies where a slightly denser, moister crumb is fine or even desirable — but avoid it in recipes relying on creaming butter with sugar (classic cookies, pound cake), since oil can't trap air the way solid butter does during creaming. Applesauce and Greek yogurt both work best in moisture-forward bakes (muffins, banana bread) and both cut calories/fat meaningfully — but neither will give you a crisp cookie edge or a flaky pastry texture, since both lack butter's fat structure entirely.
Salted versus unsalted
A US stick of butter is ½ cup, 8 tablespoons, or 113 g. Salted butter contains salt, roughly ¼ to ½ teaspoon per stick depending on the brand, so if you use it in a recipe written for unsalted butter, reduce the added salt slightly. Unsalted is the standard in baking because it lets you control the seasoning, and because it is usually fresher.
Temperature matters as much as the fat
Butter's state changes what it does: softened butter creams with sugar to trap air for tender cakes and cookies, cold butter makes flaky biscuits and pie crust, and melted butter gives chewier, denser results. A substitute has to be used in the same state to behave similarly. Solid substitutes like vegan baking sticks and solid coconut oil can be softened and creamed; liquid oil cannot, which is why it works best in recipes that call for melted butter.
Oil cake versus butter cake
Oil is liquid, so it coats the flour evenly and limits gluten, which gives a soft, moist crumb that tends to stay tender for days. It has little flavor of its own, so it suits carrot, banana and chocolate cakes. Butter is about 80% fat and the rest water and milk solids. Creamed with sugar it traps air, which gives lift and a lighter, fluffier texture, and it adds a rich flavor oil can't. Butter cakes can dry out faster. If you swap, remember that oil can't be creamed, so a recipe built on creaming loses some rise. Some bakers use half butter and half oil to get both flavor and moisture.
Margarine and spreads
Stick margarine can usually replace butter 1:1, though it tastes less rich. Tub spreads contain more water and air and are not formulated for baking, so they can make cakes and cookies spread and turn out greasy or flat. Ghee, which is butterfat with the water and milk solids removed, behaves more like oil than like butter in dough.
FAQ
Will my cookies still spread and crisp with a substitute? Generally no — oil-based substitutes make cookies spread more and stay softer/chewier rather than crisping, since butter's water content (which turns to steam and helps set structure) isn't replicated.
Can I substitute for pastry/pie crust? Not well — pastry relies on solid butter's ability to create flaky layers when it melts in the oven; none of these substitutes replicate that mechanism, so a true 1:1 fat swap (like solid coconut oil) is the only reasonable option here, and even that changes flavor.