← Back to Eco Tool Hub

☕ Caffeine Half-Life Calculator

How long coffee stays in your system — and your personal caffeine cutoff time before bed.

☕ Total caffeine:-
📉 Still in your system:-
😴 Below 50 mg at:-
🛑 Drink it before:-
RECOMMENDED GUIDE

Caffeine & Sleep: The Full Guide

How caffeine blocks adenosine, why 6-hour-old coffee still ruins sleep, and smart timing strategies.

Try the General Half-Life Calculator →

How the Caffeine Half-Life Calculator Works

Caffeine follows first-order elimination: the amount in your body halves every half-life period. With an average 5-hour half-life, a 95 mg morning coffee leaves about 47 mg after 5 hours and 24 mg after 10 hours. Below roughly 50 mg, most people sleep undisturbed — that is the threshold this calculator targets.

Your personal cutoff time is the latest moment you can have your drink and still drop under 50 mg by bedtime. Slow metabolizers (7-hour half-life: pregnancy, oral contraceptives, certain medications) may need a cutoff 3–4 hours earlier than fast metabolizers (3-hour half-life: smokers, CYP1A2 fast variants).

Caffeine Half-Life FAQs

How long does caffeine stay in your system?

About 5 half-lives to ~97% clearance: roughly 25 hours for average metabolizers (5-hour half-life), 15 hours for fast (3-hour), and 35 hours for slow (7-hour) metabolizers.

When should I stop drinking coffee before bed?

8–10 hours before bed is the safe rule. Research (Drake et al., 2013) showed caffeine 6 hours before bed still cut sleep by over an hour. Enter your bedtime above for your exact cutoff.

Does metabolism change caffeine half-life?

Yes — from ~3 hours (fast, e.g. smokers) to ~7+ hours (slow, e.g. pregnancy, oral contraceptives). The CYP1A2 gene is the main driver.

How much caffeine is in espresso vs drip coffee?

Espresso: ~63 mg per shot. Drip coffee: ~95 mg per 8 oz. Cold brew: ~200 mg per 12 oz. Energy drinks: 80–300+ mg depending on brand and size.