IE 11 Not Supported

For optimal browsing, we recommend Chrome, Firefox or Safari browsers.

The U.S. Army has developed an algorithm that can calculate what?

Answer: How much coffee you should drink, and when, to achieve maximum alertness.

The algorithm, revealed Monday, works by combining user-input data on sleep schedules and maximum caffeine allowance with psychomotor vigilance task (PVT) tests. As it gathers data over time and gets to know the user, the algorithm can predict exactly when and how much caffeine they should drink in order to be more productive. It can even calculate how to get optimal results while reducing overall caffeine intake.

“We found that by using our algorithm, which determines when and how much caffeine a subject should consume, we can improve alertness by up to 64 percent, while consuming the same total amount of caffeine,” Jaques Reifman, a biotechnology software researcher with the U.S. Department of Defense, told Science Daily. “Alternatively, a subject can reduce caffeine consumption by up to 65 percent and still achieve equivalent improvements in alertness.”

Currently the algorithm is only being used on soldiers in training, but the Army is planning to license it as a smartphone app for the general public in the future.

Kate is a senior copy editor in Northern California. She holds a bachelor's degree in English with a minor in professional writing from the University of California, Davis.