🏠
🏠 Home & living

Trick-or-Treat Calculator (how much Halloween candy to buy)

Results update as you type. Any currency.

Your numbers

Understanding the trick-or-treat candy calculator — concept and principle

This calculator estimates how much Halloween candy to buy for the trick-or-treaters you expect, how many bags that is, what it costs and how often the doorbell will ring. Use it a few days before 31 October so you neither run out nor end up with a bowl of leftovers.

Candy for 60 trick-or-treatersCandy for 60 trick-or-treatersChildren60Each2 piecesBuffer15 %60 × 2 × 1.15 = 138 → 2 × 100Bags · cost2 bags · $24.00
Bags come whole, so 138 pieces means two bags of 100 and 80 left over.

How it is calculated

Pieces needed = children × pieces per child × (1 + buffer), rounded up

Bags = pieces needed ÷ pieces per bag, rounded up

Cost = bags × price per bag

Pieces left = bags × pieces per bag − children × pieces per child

The principle

It is a supply estimate with a safety margin. The base need is visitors times pieces each. The buffer covers what you cannot predict: a bigger group than expected, siblings tagging along, or a second pass. Because candy comes in whole bags, the number of bags is rounded up, which usually adds more spare pieces than the buffer itself. The leftover figure assumes exactly the expected number of children come, so you can see how much the rounding and buffer leave over.

Worked example

Default inputs: 60 children, 2 pieces each, 15 % buffer, 100 pieces per bag at $12, 3 hours.

  1. Pieces needed = 60 × 2 × 1.15 = 138.
  2. Bags = 138 ÷ 100 = 1.38, rounded up to 2.
  3. Cost = 2 × $12 = $24.00.
  4. Pieces left if 60 children come = 200 − 120 = 80.
  5. Visit rate = 60 ÷ 3 = 20 children per hour, one every 3 minutes.
How Candy bags to buy changes with Pieces per bagHow Candy bags to buy changes with Piece…123456255075100125150200Example: 2Pieces per bag
Each point is the calculator re-run with only “Pieces per bag” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Pieces per bagCandy bags to buy
256
503
752
1002
1252
1501
2001

How to read the result

The best predictor is last year's count, so keep a tally on the night. If the leftover number is large, you could give 3 pieces per child or buy a smaller bag size instead. The visit rate helps you decide whether to sit by the door or leave a bowl out; most visits cluster in the early evening, so the peak rate is higher than the average shown. Offering a few non-food treats helps children with allergies.

Common mistakes

Keep in mind: All inputs are guesses until you count your own visitors. Prices and bag sizes vary by store.

Frequently asked questions

How much candy do I need for 100 trick-or-treaters?

At 2 pieces each with a 15 % buffer, 230 pieces, which is 3 bags of 100.

How many pieces should I give each child?

One or two is common; the calculator lets you set any number.

What can I give instead of candy?

Stickers, pencils or small toys work, and they are safe for children with food allergies.

Sources: Arithmetic only; all default values are examples

Checked 9 Nov 2026. Arithmetic only; all defaults (number of children, pieces per child, buffer, bag size and price) are example values.

🏠 All home & living tools →🌍 Calculators by country →