Candy bag assortment allocation calculator

Fixed exact assortment recipe, no flavor substitutions.

Your inputs

Separate numbers with commas or spaces.
Input format

Use this format with your own values:

100,80,60
Separate numbers with commas or spaces.
Input format

Use this format with your own values:

2,2,1

Use the units shown.

Maximum complete bags from stock
40
Bags to assemble
30
Leftover pieces by flavor
40, 20, 30

Your calculation
How is this calculated?

Find the limiting flavor inventory divided by its required count.

Limit stock-supported output to the requested bag count.

Subtract pieces consumed in complete assembled bags.

Fixed exact assortment recipe, no flavor substitutions. Produces as many complete bags as inventory and target allow; leftover stock is retained by flavor.

OpenStax: Solve proportions and their applications ↗

Try an example

Worked example

Maximum complete bags from stock: 40

Inputs
  • Flavor inventory counts: 100,80,60
  • Required pieces of each flavor per bag: 2,2,1
  • Target bags: 30

Compare inputs

Maximum complete bags from stock: 40

Inputs
  • Flavor inventory counts: 100,80,60
  • Required pieces of each flavor per bag: 2,2,1
  • Target bags: 50
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.