We often talk about the amount of caffeine in drinks like coffee and tea, but does chocolate have caffeine ... An average, 12-ounce can of soda contains 30 to 40 mg of caffeine.