Dark chocolate containing 70 to 85 percent cocoa solids contains 23 milligrams of caffeine per ounce. If you eat a 100-gram bar, you will get 81 milligrams of caffeine, which may cause sleeplessness or increase your heart rate. Some people are more sensitive to caffeine and should eat no more than an ounce of dark chocolate per day.