Preheat to 350°F. Spray two 9-inch square cake pans with nonstick spray and line the inside bottom of each pan with parchment paper. Set aside.
In a medium bowl, whisk the flour, baking powder, and salt together. Set aside for now.
2½ cups all-purpose flour, 2 teaspoons baking powder, ½ teaspoon kosher salt
In the bowl of a stand mixer fitted with the paddle attachment, beat the butter, granulated sugar, and vegetable oil together on high speed until well combined.
½ cup unsalted butter, 1½ cups granulated sugar, ⅓ cup vegetable oil
Add the eggs and vanilla extract into the wet mixture and beat until combined.
3 large eggs, 1 tablespoon pure vanilla extract
On low speed, beat half of the dry ingredients into the wet mixture. Do not overmix – mix just until you no longer see streaks of white flour in the batter.
Add all of the milk and beat on low speed until just combined.
1 cup milk
Beat in the remaining dry ingredients. Again, do not overmix.
Pour the cake batter evenly between both prepared cake pans. To ensure even baking time, try to split the mixture equally between both pans (about 615 grams per pan).
Bake for 28-30 minutes, or until a toothpick inserted in middle comes out clean.
Let cakes cool in pans for 15 minutes before removing cakes from pans then placing on wire racks to finish cooling. Be sure to let cakes cool completely before the next step.
Once cakes have completely cooled, use a large serrated knife to cut the dome tops off both cakes so they both have a flat top.
Before frosting, cover cakes completely in food-safe plastic wrap and refrigerate for 2 hours. You’ll want the cakes to be firm before frosting so that they don’t crumble or tear while spreading frosting.