if substituting olive oil for vegetable oil (or another cooking oil) in your baking recipe, you can use a 1 to 1 ratio. because of olive oil's distinct flavor, it might affect the flavor of the baked product.