Caffeine Calculator
Pick a drink, enter how many servings, and see your total caffeine, the amount per kg of body weight, and how it compares with the 400 mg daily guidance.
Caffeine hides in plain sight. A morning coffee feels like one drink, not a dose, yet two large coffees, a cola at lunch and a tea in the afternoon can quietly add up to more than most people would guess. This caffeine calculator turns a day of drinks into one honest number: your total caffeine in milligrams, the same amount expressed per kilogram of your body weight, and a clear comparison with the 400 mg daily figure that health authorities most often quote for healthy adults.
That number is worth knowing. Caffeine affects sleep long after the buzz fades, it interacts with how alert, jittery or headachy you feel, and people vary enormously in how fast they clear it. Whether you are trying to cut down, timing your last coffee of the day, or simply curious about what your habit really adds up to, start here. One important note before the numbers: this calculator gives general information only. It is not medical advice, and it cannot account for your health, medications, pregnancy or personal sensitivity.
What This Calculator Does
Pick a drink from the list and the calculator uses a typical caffeine value for one serving of it: about 95 mg for an 8 oz brewed coffee, 63 mg for a shot of espresso, 80 mg for an 8 oz energy drink, 47 mg for an 8 oz black tea, 28 mg for an 8 oz green tea, 34 mg for a 12 oz cola, and about 200 mg for a 2 oz energy shot. Multiply by the number of servings and you have your total in milligrams.
If you add your body weight, the calculator also expresses the total as milligrams per kilogram of body weight, written mg/kg. That measure matters because the same 200 mg is a light dose for a 100 kg person and a much stronger one for a 50 kg person; researchers and regulators use mg/kg precisely because it adjusts for size. Finally, the result places your total against the 400 mg daily guidance explained below, so the number arrives with its meaning attached.
How to Use This Calculator
Choose the drink closest to what you actually had, and be honest about serving size: a 16 oz coffee from a cafe is two 8 oz servings, not one, and a mug at home often holds 12 oz rather than 8. Enter how many servings you have had, or plan to have, today. Add your body weight in kilograms if you want the mg/kg figure; a kilogram is about 2.2 pounds, so divide your weight in pounds by 2.2 to convert. Leave it empty if you only want the daily total.
To total a full day across different drinks, run the calculator once per drink and add the totals. Two coffees plus a cola, for example, is one run at 2 servings of coffee and a second run at 1 serving of cola, and the sum of the two totals is your day. People are often surprised less by any single drink than by the accumulation, which is exactly what this habit of adding reveals.
The Guidance Behind the 400 Mg Figure
The United States Food and Drug Administration cites 400 milligrams of caffeine a day as an amount not generally associated with dangerous, negative effects for healthy adults. That sentence carries two careful qualifiers. It is about healthy adults, not children, teenagers or people who are pregnant, and “not generally associated” is a population-level statement, not a personal guarantee: plenty of people feel wired, anxious or sleepless well below 400 mg, especially if the caffeine comes late in the day.
The mg/kg view gives a second lens. Effects such as alertness commonly begin around 1 to 3 mg/kg, and sleep can suffer when a dose anywhere near a few mg/kg lands in the evening, because caffeine’s half-life in the body is roughly five to six hours for many adults: half of a 4 pm coffee is still with you at 10 pm. Genetics, liver health, smoking and some medicines speed up or slow down that clock, which is another reason the same total feels different to different people.
Worked Example: Two Coffees at 70 Kg
Say you drink two 8 oz brewed coffees and weigh 70 kg. Step 1: caffeine per serving is about 95 mg, so total = 95 x 2 = 190 mg. Step 2: mg per kg = 190 / 70 = 2.71 mg/kg. Step 3: compare with the guidance: 190 mg is comfortably within the 400 mg daily amount, using a little under half of it. That is exactly what the calculator prints. Read as a day plan, it also tells you there is room in the budget, on paper at least, for an afternoon tea at 47 mg without passing the 400 mg mark, though your sleep may have its own opinion if that tea lands at 6 pm.
Worked Example: Three Energy Drinks at 60 Kg
Now three 8 oz energy drinks for someone weighing 60 kg. Step 1: total = 80 x 3 = 240 mg. Step 2: mg per kg = 240 / 60 = 4.00 mg/kg. Step 3: the total is still under 400 mg, but notice how the picture changes: a smaller body and three servings stack up to 4.00 mg/kg, a noticeably stronger dose per kilogram than the two-coffee example, and energy drinks often arrive fast and on an empty stomach during study or gaming sessions, which makes the hit feel sharper. The calculator’s two numbers, total and mg/kg, are telling you different and both useful things.
How to Read Your Results
Treat the total as an estimate built on averages. The real caffeine in a coffee can range from about 70 to 140 mg depending on the bean, the grind, the water temperature and the brew time, and cafe serving sizes have grown well past the 8 oz cup these classic values assume. If your total lands close to a boundary that matters to you, assume the real figure could be a quarter higher or lower and leave yourself margin.
Treat timing as a second result the number alone cannot show. The same 300 mg spread between 7 am and 10 am barely touches the night, while 300 mg at 4 pm leaves roughly 150 mg active at 10 pm and about 75 mg at 4 am. If your totals look reasonable but your sleep does not, move the cutoff earlier before you cut the amount; many people find a noon cutoff for caffeinated drinks changes more than halving the dose does.
Where Caffeine Hides
Beyond the obvious drinks, caffeine turns up in chocolate (roughly 20 to 30 mg in a typical bar), cocoa, some pain relievers and cold medicines, pre-workout powders that can pack 150 to 300 mg per scoop, and decaf coffee, which is not caffeine-free: a cup can still hold 2 to 15 mg. None of these ruins the calculator’s estimate, but a heavy pre-workout habit or a medicated cold can add a meaningful slice that a drinks-only count will miss.
Common Mistakes When Counting Caffeine
The biggest mistake is counting drinks instead of servings: the 20 oz cafe coffee counted as “one coffee” can be 2.5 servings and close to 240 mg on its own. The second is treating the 400 mg figure as a target or a personal safe line rather than a general population reference for healthy adults. The third is forgetting that caffeine values are averages, then arguing over 10 mg differences that the underlying drink never promised.
Two more habits distort the picture. Counting only coffee and ignoring tea, cola, energy drinks and medicines understates a mixed day. And judging caffeine by how it feels in the moment ignores the half-life: feeling fine at 9 pm says nothing about how much is still circulating at 2 am, which is when it quietly lightens your deep sleep even if you fall asleep on time.
Frequently Asked Questions
1. How much caffeine is in a cup of coffee?
An 8 oz cup of brewed coffee typically contains about 95 mg, though the honest range across beans and brewing methods runs from roughly 70 to 140 mg. Larger cafe servings multiply that: a 16 oz coffee is about two servings.
2. What does the 400 mg daily figure mean?
The US FDA cites 400 mg a day as an amount not generally associated with negative effects for healthy adults. It is a general reference point, not a personal safety guarantee, and it does not apply in the same way to children, teenagers or pregnancy.
3. Why show mg per kg of body weight?
Because dose scales with size. Two hundred milligrams is 2 mg/kg for a 100 kg person but 4 mg/kg for a 50 kg person, and the second dose will generally feel stronger and last longer. Researchers use mg/kg for exactly this reason.
4. How much caffeine is in tea and cola?
An 8 oz black tea has about 47 mg, green tea about 28 mg, and a 12 oz cola about 34 mg. Teas vary with steeping time, and some colas and citrus sodas differ, so check labels for the drinks you have most often.
5. Is espresso stronger than coffee?
Per ounce, yes, but a shot is small: one espresso shot has about 63 mg, less than a full 8 oz brewed coffee at about 95 mg. A double-shot drink lands around 126 mg, and milk drinks built on two shots match that figure.
6. How long does caffeine stay in the body?
For many adults the half-life is around five to six hours, meaning half a dose remains after that time and a quarter after ten to twelve hours. It varies with genetics, medicines, liver health and whether you smoke, so treat it as a guide, not a clock.
7. Does decaf coffee contain caffeine?
Yes, a small amount: typically 2 to 15 mg per cup. That is far below regular coffee and rarely matters, but someone drinking many decaf cups late in the evening, or someone advised to avoid caffeine entirely, should know it is not zero.
8. Can I go over 400 mg on a single day?
Many healthy adults occasionally do without obvious harm, but the guidance exists because effects like anxiety, tremor, fast heartbeat and ruined sleep become more likely as totals climb. This calculator gives general information only; for personal advice about your intake, ask a health professional.
9. How do I add up different drinks in one day?
Run the calculator once for each drink type and add the totals. Two coffees give 190 mg and one cola adds 34 mg, for a day total of 224 mg. The mg/kg figure follows from whichever combined total you reach.
10. Why do I feel caffeine more than other people?
Sensitivity varies with genes, body size, tolerance from habit, medicines, and how fast your liver clears caffeine. Someone who rarely drinks coffee can feel one cup strongly, while a daily drinker may notice little at the same dose but still pay for it in sleep quality.
11. What is the best time to stop drinking caffeine?
Given a half-life of roughly five to six hours, many sleep researchers suggest a cutoff eight or more hours before bed. Noon is a practical rule for a 10 pm bedtime. Experiment: move the cutoff earlier for a week and compare your sleep before changing the amount.
12. Do energy drinks contain more caffeine than coffee?
Per 8 oz, a typical energy drink at about 80 mg is close to a brewed coffee at 95 mg. The confusion comes from can sizes: a 16 oz can doubles to about 160 mg, and concentrated energy shots pack around 200 mg into 2 oz.
13. Should children and teenagers use this calculator’s guidance?
The 400 mg reference applies to healthy adults. Health authorities advise much lower intakes for teenagers and none from energy drinks for children. The calculator’s arithmetic still works, but the adult comparison should not be used to judge a young person’s intake.
14. What are signs I am having too much caffeine?
Jitters, anxiety, a racing or fluttering heartbeat, stomach upset, headache, and sleep that is light or broken are the common ones. They are your body’s own feedback; if they show up at totals this calculator calls modest, your personal line is lower than the general figure.
15. Is this calculator medical advice?
No. It provides general information and estimates based on typical caffeine values, which vary by product and preparation. It does not know your health, medicines or circumstances. For advice about caffeine in pregnancy, with a heart condition, or alongside medication, consult a qualified health professional.
Final Thoughts
Caffeine works best when it is a choice rather than a surprise. Total your day honestly, glance at the mg/kg figure, respect the rough 400 mg reference without worshipping it, and mind the clock as much as the count. Do that, and the same drinks that power your morning stop quietly taxing your night.