Kanban calculator
Kanban cards = demand × replenishment lead time × (1 + safety factor) ÷ container quantity, rounded up. In the worked example, 480 parts a day, a loop that takes a day and a half, a 10% safety factor and totes of 40 need 19.8 cards, so 20.
Size your kanban loop
Enter the user's average demand, the loop's full replenishment lead time in days, and the container size.
The whole loop: collect, queue, make, move
Parts per container, one card each
- Units in the loop
- 800
- Days of cover
- 1.67 days
- Units to cover
- 792
- Added by rounding
- 8 units
Show the working
- Usage during the lead time: 480 a day × 1.5 days = 720 units.
- With a 10% safety factor: × 1.1 = 792 units.
- Cards: 792 ÷ 40 per container = 19.8, rounded up to 20.
- The full loop holds 20 × 40 = 800 units, 8 more than calculated because of the rounding: 1.67 days of usage.
The kanban formula
Each card authorizes one container to be filled. While one container is being used, the others are travelling round the loop: the empty one's card waits to be collected, sits in a queue at the supplying process, is filled, and comes back. The loop needs enough containers to keep the user supplied for that whole round trip, which is why the lead time is the full replenishment time, not just the time to make the parts.
The safety factor covers variation in demand and in the loop's lead time. Start with a modest figure, watch how often the user runs low, and adjust. Round the card count up: rounding down means the loop can never hold the stock the formula says it needs.
Keep demand and lead time in the same unit. If the lead time is in hours, use demand per hour; if it is in shifts, use demand per shift.
Worked example
An assembly cell uses 480 machined brackets a day, pulled from a machining cell in returnable totes of 40. When a tote is emptied its card goes in the collection box. Collecting the cards, queuing them at machining, making the brackets and moving the tote back takes a day and a half on average. The team adds a 10% safety factor for days when machining has a changeover in the way.
- Usage during the lead time: 480 a day × 1.5 days = 720 units.
- With a 10% safety factor: × 1.1 = 792 units.
- Cards: 792 ÷ 40 per container = 19.8, rounded up to 20.
- The full loop holds 20 × 40 = 800 units, 8 more than calculated because of the rounding: 1.67 days of usage.
Running the loop
This formula sizes a withdrawal loop, with containers moving between a user and the process or store that refills them. A production kanban between two processes is sized the same way, with the lead time running from the moment a card reaches the supplying process until the full container is back at the user, including the supplier's queue and changeovers.
Once the loop is running, the card count is the inventory control. Take a card out when full containers sit unused for days; add one when the user runs short. Recalculate when demand or the lead time changes noticeably, for example after a changeover is shortened or a supplier moves. For a safety margin based on measured variation rather than a percentage, size it with the safety stock calculator and add it to the usage during the lead time before dividing by the container quantity.
Common mistakes
- Using only the production time as lead time. Making the parts may take an hour, but the card can wait half a shift to be collected and another shift in the queue. Measure the loop from the card's release to the full container's return.
- Rounding down. 19.8 cards is 20 cards. With one card short, the loop runs dry every time the lead time runs long.
- A safety factor nobody revisits. A factor set high at launch and never reviewed hides the problems a pull loop is meant to expose. Reduce it as the lead time becomes reliable.
- Lost or hoarded cards. A card in a drawer is a container that never gets refilled. Count the cards in the loop regularly against the number it should have.
- Containers that are too large. Big containers make the rounding expensive. With totes of 300 instead of 40, the example needs 2.64 cards, rounded to 3, so the loop holds 900 parts instead of 800: the rounding alone adds 108 parts.
Kanban FAQ
How do you calculate the number of kanban cards?
Multiply average demand per day by the replenishment lead time in days, multiply by 1 plus the safety factor, divide by the number of parts in one container, and round up. 480 × 1.5 × 1.1 ÷ 40 = 19.8, so 20 cards.
What is the replenishment lead time in a kanban loop?
The whole time from a container being emptied to it coming back full: waiting for the card to be collected, the queue at the supplier, making or picking the parts, and the move back to the user.
What safety factor should I use?
Enough to cover how much demand and the lead time vary. Many teams start with a modest percentage and lower it as the loop proves reliable. For a margin based on measured variation, work out safety stock and add it to the usage during the lead time instead.
Why round up the number of cards?
A fraction of a card can't circulate, and rounding down leaves the loop short of the stock it needs whenever the lead time runs long. The extra stock from rounding is small when containers are small.
What is the difference between a withdrawal kanban and a production kanban?
A withdrawal kanban authorizes moving a container from a store or a supplying process to the user. A production kanban authorizes the supplying process to make a container's worth of parts. Both are sized the same way, each with its own lead time.
Is anything I enter saved?
No. The calculator runs in your browser and nothing you type is sent to AutoOps AI or stored. There is no login.