In a cake, butter helps to add fats which make the cake smooth, and taste good. It also lets the cake keep for longer as if you made a fat less cake it would only taste at its best for about 4-5 hours as a cake with margarine would keep for a lot longer!
very rare only when you are baking something that has to have peanut butter in it. EX:peanut butter cookies
For baking, it is generally recommended to use unsalted butter.
A suitable substitute for butter when baking is margarine, coconut oil, or vegetable oil.
Baking-wise it will work,but the butter may taste better.
A suitable ghee substitute for butter in baking recipes is coconut oil.
A useful butter softening hack for baking is to grate cold butter using a cheese grater. This helps the butter soften quickly and evenly, making it easier to incorporate into your baking recipes.
It has calories.
A suitable butter substitute for vegetable oil in baking recipes is margarine.
A suitable substitute for vegetable oil when baking that can be replaced with butter is margarine.
A suitable substitute for margarine in baking recipes is butter. Butter can provide a similar texture and flavor to margarine in most baking recipes.
A common shortening substitute for baking is butter.
A suitable margarine substitute for butter in baking recipes is vegetable shortening or coconut oil.