Prep the pan and oven. Heat the oven to 350°F (175°C).
Grease a 9x13-inch metal baking pan and line with parchment, leaving overhang to lift the cake out. Lightly grease the parchment too.
Measure accurately. Spoon and level your flour so you don’t pack it. This helps keep the cake fluffy.
Whisk the dry ingredients. In a large bowl, whisk flour, baking powder, baking soda, and salt until well combined.
Beat butter, oil, and sugar. In a separate bowl, beat softened butter, oil, and sugar on medium-high until pale and slightly fluffy, about 2–3 minutes.
Add eggs and extracts. Beat in eggs one at a time, mixing well after each.
Add vanilla and almond extract if using.
Mix in sour cream. Blend in the sour cream until smooth. Scrape the bowl as needed.
Alternate dry ingredients and buttermilk. Add half the dry mixture, then half the buttermilk. Repeat with the rest.
Mix on low just until combined to avoid overmixing.
Fold in sprinkles. Using a spatula, gently fold in 1/2 cup Christmas sprinkles. Avoid overmixing so colors don’t bleed.
Bake. Spread batter evenly in the prepared pan. Tap the pan once to release air bubbles.
Bake 25–32 minutes, or until the center springs back and a toothpick comes out clean or with a few moist crumbs.
Cool completely. Let the cake cool in the pan for 15 minutes, then use parchment to lift it onto a rack. Cool fully before frosting.
Make the frosting. Beat softened butter with a pinch of salt until creamy. Gradually add powdered sugar, mixing on low.
Add vanilla and 2–3 tablespoons cream or milk, then beat on medium-high for 2 minutes until fluffy and spreadable. Adjust with a splash more liquid if needed.
Frost and decorate. Spread frosting over the cooled cake. Add more sprinkles on top—go generous for a festive look.
Slice and serve. Cut into neat squares.
For cleaner cuts, chill the frosted cake for 20–30 minutes first.