Ecommerce size-run depth allocation calculator

Calculate purchase units by size and purchase packs by size with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use purchase units by size and purchase packs by size to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Sizes: name, relative demand weight, minimum purchase packs
S,1,1 M,2,1 L,1,1
Total unit purchase budget
12
Common units per indivisible size pack
2
Purchase units by size
S: 4; M: 4; L: 4
Purchase packs by size
S: 2; M: 2; L: 2
Units used
12
Unspent unit budget
0
Total whole packs
6

Try another scenario

Sizes: name, relative demand weight, minimum purchase packs
S,1,1 M,2,1 L,1,1
Total unit purchase budget
16
Common units per indivisible size pack
2
Purchase units by size
S: 4; M: 8; L: 4
Purchase packs by size
S: 2; M: 4; L: 2
Units used
16
Unspent unit budget
0
Total whole packs
8
Calculation method

Calculation method

Purchase units by size

Reserve every entered minimum pack, then allocate remaining whole packs by demand weights with largest remainders and input-order ties; multiply by common pack size.

Purchase packs by size

Reserved packs+weighted remaining-pack allocation.

Units used

Sum whole allocated packs×common pack size.

Unspent unit budget

Unit budget−used units, including any remainder smaller than one pack.

Total whole packs

floor(unit budget/common pack size).

Symbols and units
a
Sizes: name, relative demand weight, minimum purchase packs
b
Total unit purchase budget
c
Common units per indivisible size pack

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • An explicit minimum-pack-first allocation under supplied size weights and one common pack size. Demand is not forecast and the method does not claim a globally optimal assortment.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Further reading

Google Merchant Center: product-data terminology and consistency background ↗

Background reading; this does not imply endorsement or independent review of SumFizz.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.