Kanban Card Count Calculator
In a kanban pull system, the number of cards in circulation caps the work in process and sets how much inventory sits in the replenishment loop. Too few cards starve the line; too many bury it in excess stock. The standard sizing formula multiplies average demand by the replenishment lead time, adds a safety buffer, and divides by the container size. This calculator returns the raw card count, the rounded-up count you would actually run, and the resulting inventory ceiling. Use the same time unit for demand and lead time, and set the safety factor from your own process variability.
Kanban card count formula
Demand during lead time = average demand * lead time
Card count (raw) = demand during lead time * (1 + safety factor) / container size
Cards required = round up (card count raw)
Inventory in loop = cards required * container size
Demand and lead time must share a time unit. The safety factor inflates the loop to cover variability. Rounding up guarantees the loop never holds less than the calculated requirement, so the line is not starved.
Sizing a kanban loop
- Keep demand and lead time in the same units (both per day, or both per week).
- Set the safety factor from real variability: steadier processes need a smaller buffer.
- Always round the card count up so replenishment never falls short.
- Inventory in the loop equals cards times container size: it is the work-in-process ceiling.
- Re-size the loop whenever demand, lead time, or container size changes materially.
Kanban cards: frequently asked questions
How do you calculate the number of kanban cards?
The standard formula is: number of cards = (average demand per period x replenishment lead time x (1 + safety factor)) / container size. Demand and lead time must use the same time unit. The result is usually rounded up so the system never runs short.
What is the safety factor in kanban?
The safety factor is a buffer, expressed as a fraction, that protects against demand spikes and lead-time variability. A safety factor of 0.20 adds 20% extra cards. It is set from your own experience of process variation; higher variability calls for a larger buffer.
What is container size in a kanban system?
Container size is the number of units represented by one kanban card, that is, the quantity in one standard bin or pallet. Larger containers mean fewer cards but more inventory per signal. Container size is chosen for handling convenience and replenishment economics.
Should I round the card count up or down?
Round up. The formula gives a theoretical number; rounding up ensures there is always at least enough inventory in the loop to cover demand during replenishment plus the safety buffer. Rounding down risks stockouts. This calculator shows both the raw and rounded-up counts.
What inventory does the card count represent?
Total inventory in the loop equals the number of cards times the container size. This is the maximum work in process the pull system allows. Multiplying rounded cards by container size gives the practical inventory ceiling the kanban system enforces.
Official sources
- National Institute of Standards and Technology (Manufacturing Extension Partnership): nist.gov.
- American Society for Quality, lean resources: asq.org.
Reviewed by the CalculatorHub team, edited by James Graham, 17 June 2026. See our methodology.