Stock and purchases · free tool
Purchase calculator limited by validity
A cheaper box can be expensive when some of the contents don't sell in time. Compare the expected output by expiration with the previous stock and see how many unopened packages fit within this range.
Free, no sign-up required
In action
See an example
You sell 6 units a day and the new batch has 10 days until it expires, so 60 units should sell. Since 15 older units go first, 45 are left for the new batch. In boxes of 12, 3 boxes fit, or 36 units. Buying 5 boxes would bring 60 units, 15 more than should sell.
Use “Fill in example” to try these fictional values.
How we calculate
- Saída prevista = unidades por dia × dias disponíveis, arredondada para baixo em unidades inteiras.
- Tiramos o estoque anterior dessa saída. A procura que sobra para o lote novo nunca fica negativa.
- Dividimos essa demanda pela embalagem e arredondamos para baixo. A proposta acima da demanda produz o excesso mostrado.
Selling days
Count only the days when the batch can be sold.
These are the days between the goods arriving and the expiration date. Do not include transport before arrival or count on sales after expiration.
Existing stock goes first and uses up part of that same demand.
If the batches have different storage needs or dates, do separate calculations. Adding everything up can hide what expires first.
Closed boxes
Closed boxes leave a gap in demand.
The calculation rounds the number of boxes down, so you do not buy more than expected sales. That is why some demand may be left that one more box would exceed.
The result shows the limit without excess and compares it with the purchase you are considering.
To close that gap, try negotiating smaller boxes, split deliveries or a later restock with the supplier.
Questions when filling out
Is forecasted output a sales recommendation?
No. It is a hypothesis that you inform based on your control. A movement smaller than expected may leave a surplus even when the purchase respects the calculated limit.
Why don't I buy the ceiling on the number of boxes?
Because that could exceed what should sell before expiration. The goal here is to limit the purchase, and rounding down is part of that choice.
Sources and further reading
- Sebrae Atende · Inventory management (opens in new tab)
Pages 7–13: inventory planning, turnover, coverage, and economic order quantity.
Organize everyday life with Focca
After adjusting the order, track the purchase cost and keep the expiration date in your control. Discover Focca notes and reminders.