Kanban Calculation: How to Size a Supermarket (Formula and Calculator)

Advanced 8 min read · Updated 2026-10-31

A supermarket only works if its size matches demand and replenishment lead time. Too small, and the downstream process stops. Too large, and the inventory eats up the gains of your future state design.

Kanban calculator

–

Formula

The classic kanban formula gives the number of cards (containers) in the loop.

Number of kanbans = (daily demand × replenishment lead time [days] × (1 + safety factor)) ÷ container size
Example: 920 pcs per day, replenishment lead time 0.5 days, safety factor 20%, container 60 pcs: (920 × 0.5 × 1.2) ÷ 60 = 9.2, so 10 cards and a supermarket of no more than 600 pcs.

Replenishment lead time

Replenishment lead time covers the card return, waiting time in the kanban post, changeover, producing one batch and moving it back to the supermarket. It is the biggest lever: cut changeover time in half and run smaller batches, and the supermarket shrinks by half.

In the editor

The kanban calculator in the toolbar takes daily demand from the settings, calculates cards and inventory, and can write the quantity straight into the selected supermarket. The map checks flag supermarkets that have no pull or kanban connection.

Practice in the editor

Open the future state template and resize the "Stamped parts" supermarket with the kanban calculator.

Open the template in the editor Start blank

Free, no sign-up, in your browser. Metrics, timeline and checks are calculated automatically.

Frequently asked questions

What safety factor is typical?

10 to 30%, depending on how much demand and uptime vary. Start on the high side and lower it once the loop is stable.

What is the difference between a production kanban and a withdrawal kanban?

The withdrawal kanban authorizes the downstream process to pull material from the supermarket. The production kanban tells the upstream process to make the quantity that was pulled.

Self-test

1. 500 pcs/day, 2 days replenishment lead time, 10% safety factor, container of 50: how many cards?
(500 × 2 × 1.1) ÷ 50 = 22.
2. Which change shrinks the supermarket the most?
Replenishment lead time enters the card count linearly.

Keep learning