Contact, if you are interested in this website / domain name / Sponsorship / Advertisement / Partnership

Caffeine cut-off calculator

Enter your bedtime and what you drink. See when to have your last one, how much caffeine is still in you at bedtime, and your daily total.

How it works

Caffeine leaves the body slowly. Its half-life, the time to clear half a dose, is about 5 hours in most adults but ranges from under 3 to more than 9.

Amount left = dose × 0.5 raised to (hours since the drink ÷ half-life)

Example: a 95 mg coffee at 3 pm with a 5-hour half-life leaves about 31 mg at 11 pm.

We set your cut-off so that a single serving has fallen under 25 mg by bedtime, and never later than 8 hours before bed. In one well-known sleep-lab study, 400 mg taken even 6 hours before bed cut sleep by more than an hour, and people did not notice.

Typical amounts

DrinkCaffeine
Brewed coffee, 240 ml (8 oz)about 95 mg
Espresso, one shotabout 63 mg
Black tea, 240 mlabout 47 mg
Green tea, 240 mlabout 28 mg
Cola, 355 ml (12 oz)about 34 mg
Energy drink, 250 mlabout 80 mg

Coffee-shop servings are often two to three times a home cup.

Daily limits

The U.S. FDA cites 400 mg a day as an amount not generally associated with negative effects in healthy adults. In pregnancy, most guidance advises staying under 200 mg.

Questions people ask

How late can I drink coffee?

As a rule, at least 8 hours before bed. For an 11 pm bedtime that means a last coffee by about 3 pm, and earlier for large servings.

Does decaf have caffeine?

A little: usually 2 to 15 mg a cup.

Sources

Checked against these sources on 19 November 2026.

Turn this into a plan

Answer five short questions and get a free 30-day plan built around your numbers. No account needed.

Build my free plan

This tool gives general information, not medical advice. It cannot account for your full health picture. Check any decision about your health with a qualified professional.