As a kid, your mom probably warned you that eating too much Halloween candy could be dangerous. Cavities aside, she was sadly onto something. At high enough doses, sugar can be toxic and can even kill you—but where does the line cross between delicious and deadly?

In their latest Reactions video, the American Chemical Society crunched the numbers and discovered it would take 262 average fun-sized Halloween candy packs to poison a 180-pound person. Watch the clip above to find out how scientists reached this calculation. And for a formula to find out how much sweet stuff would be fatal for you, read the video description on YouTube.

[h/t Reactions]

Banner image: iStock

Know of something you think we should cover? Email us at tips@mentalfloss.com.