Though both can be purchased in foil- or paper-wrapped sticks, butter and margarine are not equivalent when it comes to baking homemade cakes.