Here’s how much caffeine it takes to kill you

BROOKLYN, NY - FEBRUARY 22: A customer carries a cup of coffee to her table at Colson Patisserie on February 22, 2016 in the Brooklyn borough of New York City. A recently released study found that drinking two cups of coffee a day decreases one's chance of developing liver cirrhosis by 44 percent.

(Photo by Bryan Thomas/Getty Images)

Credit: Bryan Thomas

Credit: Bryan Thomas

BROOKLYN, NY - FEBRUARY 22: A customer carries a cup of coffee to her table at Colson Patisserie on February 22, 2016 in the Brooklyn borough of New York City. A recently released study found that drinking two cups of coffee a day decreases one's chance of developing liver cirrhosis by 44 percent. (Photo by Bryan Thomas/Getty Images)

Caffeine has a ton of health benefits, but the results could be deadly if you consume too much.

So how much does it take to kill you?

While it varies based on body weight, you would have to drink quite a bit of joe to overdo it.

"It would likely take anywhere from 50-100 cups of coffee to result in a lethal dose of caffeine," Robert Glatter, an emergency physician at Lenox Hill Hospital in New York City, told USA Today. "That said, pure powdered caffeine can be lethal if a teaspoon of it is consumed at once."

If you intake an excessive amount of caffeine, you may experience serious side effects. Glatter said many have had palpitations, dizziness, elevated blood pressure, nervousness and anxiety.

And the risk of alcohol poisoning increases even more for those who mix caffeine with alcohol, because “the person often believes and feels they are more alert,” he said. “They feel the caffeine will keep them awake and alert."

To prevent you from going overboard, the Food and Drug Administration says caffeine in doses up to 400 mg is generally safe. That's about five cups of coffee.

While coffee isn't likely to cause an overdose, popular energy drinks bring higher risks. In general, a 24-oz. energy drink can contain as much as 500 milligrams of caffeine. A 24-oz. Red Bull has 205 milligram of caffeine, while a Rockstar has 240 and a Monster has 244.

Researchers have also found that commercial energy drinks have been linked to heart problems.

» RELATED: How dangerous are energy drinks, really? Study finds link to serious heart problems