All sleep toolsFree sleep tools

Caffeine half-life calculator

Your last coffee may outlast your afternoon. See how much could still be around when you go to bed.

Free · No account · Runs in your browser

Your drinks, one day

Drink 1

Use the caffeine listed for your whole drink. Our 200 mg starting value is an example, not a standard cup size.

Five hours is a starting assumption. Change it to explore slower or faster clearance.

Example: remaining at bedtime66 mg

At 23:00, from 200 mg across the day.

15:0023:00
Later in the same model
TimeCaffeine left

An estimate, not a sleep clearance test. This curve assumes immediate absorption and a constant half-life. It does not include earlier days.

Planning your night too? Choose a bedtime for your wake-up time.

Half gone does not mean all gone

A caffeine half-life calculator estimates how much of a dose remains after a given time. At a five-hour half-life, 200 mg taken at 15:00 leaves about 66 mg at 23:00. After another five hours, that estimate halves again.

The calculation is dose × 0.5(hours elapsed ÷ half-life). For several drinks, we calculate each one separately and add the amounts. The chart jumps when another drink is added.

Your half-life is an assumption here

A review of caffeine pharmacology reports an average half-life of about 3–6 hours in healthy people, with considerable individual variation. Pregnancy, medicines and health conditions can change clearance. This tool cannot identify your personal half-life.

The FDA’s caffeine guide also explains why serving sizes and sensitivity matter. Check your drink’s label rather than treating every coffee as the same dose. The number shown here is not a recommended intake or a guarantee that sleep will be unaffected.

Compare the coffee, keep the bedtime

Try moving your afternoon drink earlier while keeping its dose and your bedtime unchanged. Then compare a smaller dose. You can see what each choice changes in the model without pretending it predicts your night.

If short nights are adding up, the sleep debt calculator helps you review the week. For a daytime break, try the nap calculator and timer.

Questions before you start

How long does caffeine stay in your system?

There is no single countdown for everyone. A half-life is the time it takes for the amount to halve. With the example setting of five hours, 200 mg becomes 100 mg after five hours and 50 mg after ten. This model estimates an amount; it does not measure your blood caffeine or predict when you will fall asleep.

When should I stop drinking coffee?

This calculator does not give a universal safe cutoff. Compare an earlier drink with a later one at the same bedtime. Less estimated caffeine remaining does not guarantee undisturbed sleep, and your individual response may differ.

Can I add several coffees or energy drinks?

Yes. Add up to eight drinks from the same calendar day. Enter the caffeine for the whole serving, using the label when available. The calculator estimates the remaining amount from each drink and adds them together.

What if I go to bed after midnight?

If your bedtime is earlier on the clock than your latest drink, the calculator treats bedtime as the following day. Each drink still belongs to the same starting calendar day. It does not include drinks from previous days.

The Risly Sun-Ninja standing, hands on hips

Ready when you are

Choose your next wake-up mission.

Download on the App StoreiPhone · 3-day free trial