Prep your pans: Heat oven to 350°F (175°C).
Grease and line two 8-inch round cake pans with parchment, or grease a 9x13-inch pan. Dust with cocoa to prevent sticking.
Mix dry ingredients: In a large bowl, whisk 2 cups all-purpose flour, 2 cups sugar, 3/4 cup unsweetened cocoa, 1 1/2 teaspoons baking powder, 1 1/2 teaspoons baking soda, and 1 teaspoon salt until evenly combined.
Add wet ingredients (except hot liquid): Whisk in 2 large eggs, 1 cup buttermilk, 1/2 cup neutral oil, and 2 teaspoons vanilla. Stir until mostly smooth.
Do not overmix.
Bloom with heat: Pour in 1 cup hot coffee (or hot water). The batter will be thin—that’s correct. Stir gently until evenly combined and glossy.
Fill pans: Divide batter between the prepared round pans, or pour into the 9x13-inch pan.
Tap gently to release bubbles.
Bake: For two 8-inch rounds, bake 28–32 minutes. For a 9x13-inch pan, bake 32–36 minutes. The cake is done when a toothpick comes out with a few moist crumbs.
Cool: Set pans on a rack for 10 minutes.
Run a knife around the edges, then turn cakes out and peel off parchment. Let cool completely before frosting.
Optional frosting: Beat 1 cup (2 sticks) softened butter until creamy. Sift in 3 1/2 cups powdered sugar and 1/2 cup cocoa.
Add 1 teaspoon vanilla, a pinch of salt, and 3–4 tablespoons milk or cream, beating until fluffy and spreadable.
Assemble: For a layer cake, level domes if needed. Spread frosting over the first layer, top with the second, and frost the outside. For a sheet cake, frost directly in the pan.
Set and serve: Let the frosting set for 15–20 minutes.
Slice with a warm knife for clean cuts.