But even 40 mg of caffeine — about the amount in a cup of tea or a can of soda — will give most people a subtle boost. In fact, many people can detect the effects of just 15 mg of caffeine, about the amount in a single sip of strong coffee or a large cup of decaf.