Learned that after my first foray into insomnia at age 19, but a lot of people don't know.
It's not exact --- depends on brewing and type of tea leaf, but:
>"Black tea, coffee, and espresso contain the most caffeine, with coffee delivering 90 to 200 mg per 8-ounce cup and espresso packing about 127 mg per shot. Green tea offers a moderate 45 mg per cup, while white teas vary widely and herbal teas are caffeine-free.
>"Coffee beans contain less caffeine than tea leaves, but the hot-water brewing process extracts more caffeine from coffee. Longer steeping times and hotter water temperatures increase the caffeine content in both tea and coffee.
>"To stay within safe limits, aim for no more than 400 mg of caffeine daily — about 3 to 5 cups of regular coffee. People who are pregnant, breastfeeding, or have heart disease should limit intake to 200 mg per day.
https://www.healthline.com/nutrition/caffeine-in-tea-vs-coffee#caffeine-content