Brew cap stock and pack planner calculator

Calculate caps required and packs to buy with your own figures.

Your numbers

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

Use caps required and packs to buy to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Bottles to fill (count)
120
Caps in stock (count)
100
Reserve caps (count)
10
Caps per pack (count)
100
Caps required (count)
130
Packs to buy (count)
1
Caps left after filling (count)
80

Try another scenario

Bottles to fill (count)
121
Caps in stock (count)
100
Reserve caps (count)
10
Caps per pack (count)
100
Caps required (count)
131
Packs to buy (count)
1
Caps left after filling (count)
79
Calculation method

Calculation method

Caps required (count)

Required caps = bottles + reserve; round the stock shortfall up to whole packs.

Packs to buy (count)

Required caps = bottles + reserve; round the stock shortfall up to whole packs.

Caps left after filling (count)

Required caps = bottles + reserve; round the stock shortfall up to whole packs.

Symbols and units
a
Bottles to fill (count)
b
Caps in stock (count)
c
Reserve caps (count)
d
Caps per pack (count)

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

  • User-supplied measurements and assumptions; Required caps = bottles + reserve; round the stock shortfall up to whole packs. Supported limits: Finite numeric values bounded to 1e9 magnitude; lists and tables contain 1–100 records unless a stricter bound is stated. Inputs use the units shown. Lists explicitly paired by a method must have matching lengths; independent polynomial coefficient vectors may differ. Respect stated physical, interpolation, policy and computational domain limits.
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.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.