# Caffeine half-life calculator > How much caffeine could remain after a few hours? Explore a single dose with an adjustable half-life assumption. Estimate caffeine remaining from one dose using exponential half-life decay. Adjust elapsed time and half-life, with EFSA and FDA guidance on intake limits. - Page: https://how.box/caffeine/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/caffeine/?dose_mg={dose_mg}&elapsed_hours={elapsed_hours}&half_life_hours={half_life_hours} - `dose_mg` (number 0 to 2000): Caffeine in one dose. mg Example: `100`. - `elapsed_hours` (number 0 to 168): Time since the dose. h Example: `5`. - `half_life_hours` (number 0.5 to 24): Assumed half-life. h Example: `5`. Example answer: https://how.box/caffeine/?dose_mg=100&elapsed_hours=5&half_life_hours=5 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `caffeine_calculate`: Estimate caffeine remaining from one dose using exponential half-life decay. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"caffeine_calculate","arguments":{"dose_mg":100,"elapsed_hours":5,"half_life_hours":5}}}` - GET: https://how.box/mcp/run/caffeine_calculate?dose_mg=100&elapsed_hours=5&half_life_hours=5 ## How it works Half-life is the time for an amount to fall by half. This simple first-order model treats one caffeine dose as immediately absorbed, then follows its elimination; it does not estimate a measured blood concentration. For dose D, elapsed time t and assumed half-life H, remaining amount R = D × 2^(−t/H). A 100 mg dose with a five-hour half-life leaves 50 mg after five hours and 25 mg after ten. The five-hour starting value is an adjustable illustration, not an individual measurement. EFSA describes 200 mg in a single dose and 400 mg over a day as amounts of no safety concern for healthy adults, excluding pregnancy; its pregnancy guidance is 200 mg a day. FDA also cites 400 mg a day for most adults. These are intake guidance, not thresholds for the amount remaining in your body. BfR reports a wide adult half-life range, and metabolism varies with medicines, pregnancy and health. This model cannot tell you when sleep will be unaffected or another dose is safe. Multiple doses, delayed absorption and individual metabolism are outside the calculation. ## FAQ **Can this tell me when it is safe to drink more?** No. A calculated residual amount is not a dosing recommendation. **Does zero hours mean the caffeine is already absorbed?** Yes. Immediate absorption is a simplifying assumption; the early result is not a blood-level prediction. **Why does caffeine never reach exactly zero?** Exponential decay approaches zero gradually. A rounded display of zero does not mean complete elimination. **Can I combine several coffees into one dose?** Only if consumed at approximately the same time. Different drinking times need separate decay calculations. **How long does caffeine stay in the body?** With the five-hour half-life used as a starting value, half is left after five hours and a quarter after ten. Real half-lives vary widely between people. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)