OTHER · LOCAL CALCULATOR

Trick-or-Treat Calculator

Use this trick-or-treat calculator to find out how much candy you'll need for Halloween this year, or to estimate how much your container can hold.

Enter values

How it works

This calculator evaluates the displayed equation variants locally in your browser. Enter the known values; results are shown for equations whose required inputs are available.

Check units, assumptions and professional guidance before using results for medical, financial, legal, engineering or safety-critical decisions.

Formulas used by this calculator

The Trick-or-Treat Calculator works with 64 quantities and 54 relations between them. Enter the values you know, leave the one you want to find blank, and press Calculate. Blank fields are never treated as zero. Each formula below is solved for one quantity.

46 further rearrangements of the same relations let you solve for other quantities.

Inputs

FieldName in formulasCan be solved for
mmmmInput only
N 1n_1Yes
N 2n_2Yes
N 3n_3Yes
N 4n_4Yes
N 5n_5Yes
N 6n_6Yes
N 7n_7Yes
N 8n_8Yes
DepthdepthYes
WidthwidthYes
ChoicechoiceInput only
HeightheightYes
LengthlengthYes
VolumevolumeYes
Pc fullpc_fullYes
DiameterdiameterYes
SkittlesskittlesInput only
SnickerssnickersInput only
Top sidetop_sideYes
Volume 1volume_1Yes
Volume 2volume_2Yes
Volume 3volume_3Yes
Volume 4volume_4Yes
Volume 5volume_5Yes
Volume 6volume_6Yes
Volume 7volume_7Yes
Base sidebase_sideYes
Candy onecandy_oneInput only
Candy twocandy_twoInput only
Gum ballsgum_ballsInput only
Peanut mmpeanut_mmInput only
StarburststarburstInput only
Candy corncandy_cornInput only
Candy fivecandy_fiveInput only
Candy fourcandy_fourInput only
Candy typecandy_typeInput only
No of kidsno_of_kidsYes
Reese cupsreese_cupsInput only
Candy threecandy_threeInput only

24 more inputs are available in the calculator form.

Limitation: 5 of the 59 underlying relations rely on lookup tables or helper routines that run only on the original source calculator, so this page skips them. Quantities that depend on those relations are not solved here.