Butter and margarine are virtually interchangeable. However, goods baked with butter will have a richer flavor than those baked with margarine.