For nearly two decades, there has been conflicting research and opinions surrounding how much coffee to consume in a single day. But a new study published in the journal Food and Chemical Toxicology may have just settled the debate once and for all.

While reviewing 15 years of data on the potentially adverse effects of caffeine, researchers looked carefully at the effects on cardiovascular and bone health, behavior, and development. After combing through 5,000 articles' worth of research, the team concluded that adults can safely consume 400 milligrams of caffeine each day.

So how much is that exactly? In terms of plain drip coffee, that's roughly four 8-ounce cups. When it comes to espresso, you'll be able to have about six. Of course, this doesn't mean you should start chugging cold brew or helping yourself to more lattes than you're used to — the jitters are real and they will still come for you.

Oddly enough, these findings contradict the Food and Drug Administration's recommendation (from 2012) to not exceed 300 mg of caffeine in a single day. But that could be due to the benefits researchers have discovered about coffee, including helping reverse liver damage from alcohol consumption, lowering depression, preventing breast cancer, and protecting against Type 2 diabetes.

Follow Delish on Instagram.