Articles

How do you calculate the number of kanban cards?

A kanban loop is a reorder point counted in containers, and the flat safety factor in the textbook formula has no idea how variable demand is.

The number of kanban cards is demand during the replenishment lead time plus a safety allowance, divided by the container quantity, rounded up: N = (D × L + safety stock) / C. On an illustrative loop with 480 units a day, a 0.75-day lead time and 40-unit containers, the usual 10 per cent safety factor gives 10 cards, which protects only a 68.5 per cent cycle service level; sizing the safety stock for 95 per cent gives 13 cards, for 120 more units in the loop.

Worked in full in Supply Chain Management by Julian R. Sterling, with every figure reproduced in a free workbook.See the book on Amazon →

A kanban loop is a reorder point system in which the reorder point is counted in containers. Each card authorises one container. When a container is emptied, its card goes back to the supplying process and a full container must arrive before the cards still in the loop run out. So the cards must cover what is consumed while the replenishment is on its way, plus a margin for the days when consumption runs ahead. The textbook formula puts that margin in as a flat factor, α. That is where most loops are mis-sized.

The assumptions

One part, one kanban loop, illustrative figures
InputValue
Average demand, units a day (D)480
Standard deviation of daily demand96
Waiting for card collection and in queue0.40 day
Processing0.25 day
Transport back to the point of use0.10 day
Replenishment lead time (L)0.75 day
Units per container (C)40
Rule-of-thumb safety factor (α)10%
Target cycle service level95%
Unit cost6.50 EUR

The lead time is the whole time a card spends away from the point of use, not the machine time. Here processing is only a third of it.

The calculation, step by step

Step 1: demand during the lead time

D × L = 480 × 0.75 = 360 units, or 9 containers of 40.

Step 2a: the textbook formula with a flat factor

N = D × L × (1 + α) / C = 360 × 1.10 / 40 = 9.90, rounded up to 10 cards.

Excel: =ROUNDUP(480*0.75*(1+10%)/40,0)

Step 2b: the safety allowance from a service level

Standard deviation of demand over the lead time = 96 × √0.75 = 96 × 0.866 = 83.1 units.

Safety stock = z × 83.1, with z = NORM.S.INV(95%) = 1.645, so 136.8 units.

N = (360 + 136.8) / 40 = 12.42, rounded up to 13 cards.

Excel: =ROUNDUP((480*0.75+NORM.S.INV(95%)*96*SQRT(0.75))/40,0)

Step 3: what the flat factor actually buys

Ten cards hold 400 units, 40 more than lead-time demand. z = 40 / 83.1 = 0.48, and NORM.S.DIST(40/83.1,TRUE) = 68.5%.

The result

Two ways of sizing the same loop
MethodRaw NCardsUnits in the loopSafety unitsCycle service level
Flat 10% factor9.90104004068.5%
Sized for 95%12.421352016097.3%

The flat factor leaves the loop short in roughly one replenishment cycle in three. A 10 per cent margin on 360 units is 36 units; the variability of demand over the lead time is 83.1 units, more than twice that. The factor is a percentage of the mean, and it has no way of knowing how variable the demand is.

Three extra cards put 120 more units into the loop, 780.00 EUR of stock, which costs 156.00 EUR a year at a 20 per cent holding rate. Rounding up to a whole card also lifts the service level above the target, to 97.3 per cent, because 13 cards hold 160 units of safety rather than the 136.8 needed.

What if the service level, the lead time or the container changes?

Cards needed by cycle service level, 0.75-day lead time, 40-unit containers
Service levelzSafety stockRaw NCards
90%1.28210711.6612
95%1.64513712.4213
99%2.32619313.8414
Cards and maximum units in the loop at 95%, by lead time and container size
Lead time20 units40 units60 unitsMax units, 40-unit
0.50 day1896360
0.75 day25139520
1.00 day321611640

The lead time moves the loop far more than the service level does. Going from 95 to 99 per cent adds one card; cutting the card's waiting time so that the lead time falls from 0.75 to 0.50 day removes four and takes 160 units out of the loop. Smaller containers change the card count but barely the stock: at 0.75 day the loop holds 500, 520 or 540 units for 20, 40 or 60-unit containers. Container size is a handling decision; lead time is the inventory decision.

The common mistake

Using the processing time as the lead time. With 0.25 day the flat-factor formula gives 3.30, rounded to 4 cards instead of 10, 160 units, a third of a day of demand. Cards sit in a post box waiting for the next collection round, then in a queue at the supplying cell, and that time is consumed at the point of use just as surely as machine time. Measure the lead time as the card's round trip, and measure it more than once: if it varies, the safety allowance must cover that variance too, as in safety stock when lead time varies.

Takeaway

The service level table and the safety stock arithmetic behind the z values are in the free workbooks for this book.

Questions readers ask

What safety factor should you use in the kanban formula?

Derive it rather than pick it. The safety allowance should be z times the standard deviation of demand over the lead time. In the illustration that is 1.645 times 83.1, or 136.8 units, equivalent to a factor of 38 per cent of lead-time demand, not the customary 10 per cent, which buys only a 68.5 per cent service level.

Does a smaller kanban container reduce inventory?

Only slightly. At a 0.75-day lead time and a 95 per cent service level the loop needs 25 cards of 20 units, 13 of 40 or 9 of 60, holding at most 500, 520 or 540 units. Cutting the lead time to 0.50 day lowers the 40-unit loop from 520 to 360 units.

What lead time goes into the kanban formula?

The time a card spends away from the point of use: waiting to be collected, queueing, processing and transport. In the illustration that is 0.75 day, of which processing is 0.25. Using processing time alone with the same 10 per cent factor gives 4 cards instead of 10, against the 13 a loop sized for 95 per cent needs.

Read the whole case

This article is one calculation from Supply Chain Management. The book takes the same case from first principles to the decision, chapter by chapter, and every figure it prints is a live formula in the free companion workbooks.

Get the book on Amazon →Free companion files

Also on Amazon UK · Amazon Germany · Amazon France · Amazon Canada

Also on this site

Reading guide: business operations: cost, contracts, pricing and supply chain → · All 1682 articles →

If this book helped, or didn’t, a few lines on Amazon are worth more than they look: they are what the next reader goes on. Write a review. The workbook stays free either way.