Caffeine Calculator

Free Caffeine Calculator — see your daily caffeine intake from coffee, tea, energy drinks and cola, with half-life modelling and the 400 mg safe limit.

858.5K uses Updated · 2026-05-12 Runs locally · zero upload
AD

How to Use Caffeine Calculator

The Caffeine Calculator estimates your caffeine intake and how much is still in your body. Pick a drink preset or enter custom mg, set servings, half-life and hours since drinking.

  1. Pick a drink — Coffee, espresso, latte, energy drink, tea, cola, or custom.
  2. Enter servings and mg per serving — Adjust if your drink is stronger.
  3. Set half-life and hours since last cup — Default 5 h half-life for adults.
  4. Read the result — The Caffeine Calculator shows total mg, % of daily limit, remaining safe limit, and estimated mg still in body.

Formula & Theory — Caffeine Calculator

The Caffeine Calculator uses two equations:

total       = mg_per_serving × servings
percent     = total ÷ 400 × 100
in_body(t)  = total × 0.5^(t ÷ half_life)
DrinkTypical mg per serving
Brewed coffee95 (240 ml)
Espresso63 (30 ml)
Latte75
Energy drink80
Black tea47
Green tea28
Cola22

Assumptions and Limits

The Caffeine Calculator uses average half-life (3–7 h). Pregnancy, oral contraceptives, smoking, and some medications change the rate. People sensitive to caffeine may feel effects far below 400 mg.

Use Cases for Caffeine Calculator

The Caffeine Calculator is useful for:

  • Sleep planning — Estimate residual caffeine before bedtime.
  • Daily limit tracking — Stay under the 400 mg FDA guideline.
  • Comparing drinks — Quickly see how one energy drink stacks against two coffees.
  • Caffeine sensitivity — Find the threshold where you feel jittery.

Use the Caffeine Calculator before your afternoon coffee to protect your sleep — and before your morning ritual to know what you’re really drinking.

Frequently asked questions about Caffeine Calculator

What is a safe daily caffeine limit?

The FDA suggests up to 400 mg / day for healthy adults. The Caffeine Calculator compares your intake to this limit.

How does the Caffeine Calculator estimate caffeine in my body?

It uses an exponential decay with a configurable half-life (default 5 h): remaining = total × 0.5^(hours / half-life).

Are the per-drink values exact?

They are typical averages (e.g. 95 mg per 240 ml brewed coffee). Real values depend on bean, brand, and brewing strength.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.