Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Caffeine Calculator

  • Free
  • Runs in your browser
  • No account needed

If you drank three 240 ml mugs of brewed coffee (95 mg each) you would have 285 mg today. That is 71 percent of a 400 mg adult limit and about 125 mg would remain after six hours.

Caffeine today
271 mg
Suggested daily limit for you
400 mg
Share of your limit
68%
Still in your body at bedtime
89 mg
Verdict
Within the suggested limit.

Bedtime caffeine assumes all drinks were taken at once. People with heart rhythm problems, anxiety or high blood pressure, or on some medicines, may need less. This is an estimate for general information, not medical advice. Talk to a doctor, midwife or other qualified health professional about your own health.

Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About the Caffeine Calculator

This free browser tool adds common drinks and shows your total caffeine today, a suggested daily limit for your group, the share of that limit, and how much may remain at bedtime. You pick counts for brewed coffee, espresso, instant coffee, black and green tea, cola, energy drinks, dark chocolate, or enter "Other" from a product label. Choose your group: healthy adult, pregnant or breastfeeding, trying to conceive, or teenager, then give your weight and hours to bedtime. Calculations run in your browser only; nothing is uploaded. The tool uses public sources such as USDA FoodData Central, product labels, and regulator guidance (FDA, EFSA, Health Canada). Results update instantly and you can copy or share a link that reopens with your numbers.

How to use it

  1. 1Select how many servings you had for each preset drink or enter a custom mg from a label.
  2. 2Pick your group (healthy adult, pregnant or breastfeeding, trying to conceive, or teenager), enter weight and hours to bedtime.
  3. 3Read your total caffeine, the suggested daily limit, percent of that limit, and estimated mg remaining at bedtime.
  4. 4Copy the result or create a share link that reopens with your numbers.
Advertisement

Worked example

Example: You choose 2 brewed coffee mugs (240 ml, 95 mg each), 1 espresso shot (63 mg), and 1 cola can (355 ml, 34 mg). Total caffeine = 95*2 + 63 + 34 = 287 mg. Suggested limit for a healthy adult = 400 mg. Share of limit = 287 / 400 = 71.8 percent. If bedtime is in 6 hours, remaining = 287 * 0.5^(6/5) ≈ 125 mg.

The formula

Caffeine = sum of drinks x typical caffeine per drink (USDA FoodData Central and product labels; brewed coffee varies from about 70 to 140 mg a mug)Limits: up to 400 mg a day for healthy adults (US FDA, EFSA 2015); 200 mg a day in pregnancy and while breastfeeding (US FDA, EFSA, NHS); for teenagers about 2.5 mg per kg of body weight (Health Canada)Caffeine left at bedtime = caffeine x 0.5^(hours / 5), using a typical half-life of 5 hours (it ranges from about 2 to 10 hours)

Source: US Food and Drug Administration guidance on caffeineEFSA explains caffeine (European Food Safety Authority)PubChem entry for caffeine (pharmacokinetics, half-life). Last checked 6 November 2026.

What it is good for

  • Quickly totals common drinks using typical mg per serving.
  • Shows a suggested limit for your group and percent of that limit.
  • Estimates mg likely left at bedtime using a 5 hour half-life.
  • This is an estimate for general information, not medical advice.
  • Bedtime estimates assume all drinks were taken at once and half-life varies by person.
Advertisement

Questions people ask

How does the calculator count caffeine?

It multiplies your servings by typical caffeine amounts for each preset (for example brewed coffee 240 ml ≈ 95 mg) and adds them. You can enter an "Other" value from a product label when available.

Where do the daily limit numbers come from?

The tool uses regulator guidance: about 400 mg/day for healthy adults (US FDA, EFSA) and 200 mg/day for pregnancy and breastfeeding (EFSA, NHS, ACOG guidance reflected). For teens the tool uses roughly 2.5 mg per kg (Health Canada).

How is caffeine remaining at bedtime estimated?

The calculator applies first-order elimination with a 5 hour half-life: remaining = dose × 0.5^(hours ÷ 5). That models an average adult; individual half-life can range from about 2 to 10 hours.

Can I rely on the bedtime number for sleep advice?

No. The number is a pharmacokinetic estimate assuming instant absorption and a single half-life. Clinical factors like medications, pregnancy, genetics, heart rhythm or anxiety can change effects. Talk to a clinician about your sleep or health.

Does the tool send my data anywhere?

No. Calculations run in your browser and nothing needs to be uploaded. You may copy results or create a link that reopens the page with your entered numbers.

What if a drink has different caffeine than the preset?

Use the Other field and type the mg from the product label. Preset values are typical estimates based on USDA and common product labels, but brands vary widely.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement