Preheat your oven to 350°F (175°C) and line a cupcake pan with liners.
In a large bowl, whisk together flour, sugar, cocoa powder, baking powder, baking soda, and salt.
In another bowl, combine oil, eggs, milk, and vanilla extract.
Pour the wet ingredients into the dry ingredients and mix until just combined.
Fill each cupcake liner about 2/3 full with batter.
Bake for 18-20 minutes or until a toothpick inserted in the center comes out clean.
Remove from the oven and let cool in the pan for 5 minutes.
Transfer the cupcakes to a wire rack to cool completely.
Prepare your favorite chocolate frosting while the cupcakes cool.
Frost the cooled cupcakes and enjoy!