In a microwave-safe mug (I used a 10oz mug), whisk together the cake mix, milk, oil, and salt (if using) until well combined.
Microwave on high for about 1 minute and 15 seconds, or until the cake has risen and is cooked through. The cooking time may vary depending on the wattage of your microwave, so keep an eye on it to avoid overcooking.
Let the cake cool for a few minutes before adding any toppings you like. Some popular toppings for mug cakes include whipped cream, chocolate chips, sprinkles, or ice cream.
Notes
I’ve also made this cake in a 12oz mug (9 tbsp cake mix, 6 tbsp milk, 1.5 tbsp vegetable oil). It does overflow while cooking but it comes back down. You can easily wipe the mug and still enjoy it!