Hotel minibar quantity and cart volume estimate calculator

Calculate restock [SKU,needed,available fill,shortage] and minimum volume-only cart loads with your own figures.

Your numbers

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

Use restock [SKU,needed,available fill,shortage] and minimum volume-only cart loads to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Items [SKU,consumed units,stock units,litres/unit]; enter JSON
[["Water",20,15,0.5],["Snack",10,12,0.2]]
Cart usable volume (litres)
5
Restock [SKU,needed,available fill,shortage] (JSON)
[["Water",20,15,5],["Snack",10,10,0]]
Minimum volume-only cart loads (count)
2

Try another scenario

Items [SKU,consumed units,stock units,litres/unit]; enter JSON
[["Water",25,30,0.5],["Snack",15,10,0.25]]
Cart usable volume (litres)
6
Restock [SKU,needed,available fill,shortage] (JSON)
[["Water",25,25,0],["Snack",15,10,5]]
Minimum volume-only cart loads (count)
3
Calculation method

Calculation method

Restock [SKU,needed,available fill,shortage] (JSON)

For each item fill=min(consumed,stock); shortage=max(0,consumed−stock).

Minimum volume-only cart loads (count)

ceil(sum(min(consumed,stock)×litres/unit)/cart litres); indivisible packing may need more.

Symbols and units
a
Items [SKU,consumed units,stock units,litres/unit]; enter JSON
b
Cart usable volume (litres)

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

Calculation steps and notation

sum(list) adds all entries in the list.

Assumptions & limits

Assumptions & limits

  • Aggregate minibar restocking with user-measured per-unit cart volume; ignores corridors and route ordering. Supported limits: All numeric inputs and computed intermediates must remain finite. Supported numeric input magnitude is zero or 1e-12 through 1e12 in absolute value; reject values outside this bounded range. All lists/JSON record tables are limited to 100 records unless a stricter bound is stated; reject malformed record arity and wrong member types. All numeric values must be finite. Lists contain at most 100 records; required lists must be nonempty. Rates, probabilities and fractions are entered as fractions, not percentages; fractions must be between 0 and 1. Use a single consistent user-selected currency for all amounts; no exchange-rate conversion.
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.