Preheat oven to 350°F (175°C). Grease two 9-inch cake pans and line with parchment paper.
Whisk together flour, baking powder, and salt in a medium bowl.
Cream butter and sugar until light and fluffy, about 5 minutes.
Add eggs one at a time, beating well after each addition.
Mix in vanilla extract.
Alternately add flour mixture and milk, beginning and ending with flour mixture.
Divide batter between prepared pans.
Bake for 25-30 minutes until a toothpick comes out clean.
Cool in pans for 10 minutes, then remove and cool completely on wire racks.