A year ago, U.S. military researchers presented an algorithm that can tell an individual how much caffeine to consume, and when, to achieve optimal alertness. Now they’ve turned the technique into a freely available tool for “designing effective strategies to maximize alertness while avoiding excessive caffeine consumption.”