Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
In a large mixing bowl, cream together softened butter and sugar until light and fluffy.
Add in the eggs, one at a time, mixing well after each addition.
Stir in the crushed pineapple and vanilla extract until well combined.
In a separate bowl, whisk together the flour, baking powder, baking soda, and salt.
Gradually add the dry ingredients to the wet mixture, alternating with buttermilk, starting and ending with flour.
Once combined, pour the batter evenly into the prepared pans.
Bake in the preheated oven for 25–30 minutes, or until a toothpick inserted in the center comes out clean.
Allow the cakes to cool in the pans for about 10 minutes before transferring to wire racks to cool completely.
Once cooled, frost with your favorite icing or serve plain as desired.