How to calculate
For each drink, divide the estimated remaining amount by two for every elapsed half life. Add the remaining amounts from all doses.
Worked example
Use Doses as hours before your reference time, caffeine (mg) 0, 100 / 5, 100 · Assumed half life (hours) 5 · Hours after reference to check 5. The result is ≈ 75 mg.
Input and result notes
Enter dose times as hours before a shared reference, such as right now. Use 0 for a drink at the reference time. This model assumes immediate absorption and a fixed half life. Individual caffeine clearance varies, and the result cannot predict sleep or alertness.
Randomized study of caffeine pharmacokinetics
FDA guide to caffeine amounts and variability