If your recipe calls for oil but you'd rather use butter, you can replace the oil with the same amount of melted butter. However, if a recipe calls for butter and you want to use oil, you'll need to use a quarter less oil than butter called for. So if the recipe calls for 1 cup butter, use 3/4 cup neutral-flavored oil.