How to Calculate the Number of Kanban Cards: Formula, Steps & Examples
What is the kanban card formula and how does it impact your processes? Here's what each variable means, how to choose your inputs, and a worked example from start to finish.

The number of kanban cards your system needs is a calculation, not a guess.
Most kanban explainers hand you the formula and walk away. The formula is the easy part. Where shops actually go wrong is the inputs, and whether anyone ever revisits the card count once the spreadsheet is closed. Get the inputs right, round up the result, and the card count follows directly from how the floor actually runs.
The formula N = (D × L × (1 + S)) / C gives you a defensible starting card count: enough cards circulating to keep the floor supplied while refills are in transit.
Key Takeaways
- The formula: N = (D × L × (1 + S)) / C, where D is average daily demand, L is average lead time, S is the safety factor, and C is container size.
- Always round up. Running fewer cards than the formula gives you means running short under normal conditions, not just peak ones.
- All variables must use the same time unit. If lead time is in days, demand must be in units per day.
- The most common input mistake is using the PO lead time instead of your actual average delivery time.
- Recalculate at minimum quarterly, and immediately when demand or lead times shift significantly.
What is the kanban card formula?
The kanban card formula is N = (D × L × (1 + S)) / C, where:
- N = number of kanban cards
- D = average daily demand (units consumed per day)
- L = average replenishment lead time (days from card scan to stock arriving in the bin)
- S = safety factor (a decimal cushion for variability, typically 0.10 to 0.25)
- C = container size (units per bin or container)
N tells you how many cards need to circulate in your system to keep production supplied without running short. It is a calculated starting point calibrated to current conditions, not a permanent setting.
One note for two-bin systems: in a one-card / two-bin setup, N is always 1 card per item, so you solve for bin size instead (bin size = D × L × (1 + S)).
What does each variable mean?
Each variable requires a specific type of measurement. Getting the inputs right matters more than getting the arithmetic right.
Variable What it represents How to measure it D Average daily demand 90-day rolling consumption total divided by 90 L Average replenishment lead time (days) Average of actual delivery records over the last 12 months S Safety factor (as a decimal) 0.10 to 0.25 based on variability C Container size (units per bin) Set by floor ergonomics and handling N Number of kanban cards Result — always round upD: average daily demand
D is units consumed per day, measured from actual floor consumption data. Use a rolling 90-day average: add up total units consumed over the past 90 days and divide by 90.
Do not use planned production rates or theoretical capacity. The formula needs what the floor actually used, not what the schedule assumed it would use.
Units consistency: All variables must use the same time unit. If L is measured in days, D must be units per day, not per week or per shift. Mixing daily demand with a weekly lead time produces a number that looks plausible but is wrong by a factor of seven.
L: replenishment lead time
L is the full cycle from the moment a card fires to the moment stock lands in the bin. This includes order processing, supplier lead time, transit, and any receiving or handling on your end.
Do not use the lead time on the purchase order. Pull the last 12 months of actual delivery records for this part and take the average time from order placement to bin arrival. The PO number is what the supplier promised; the average of real deliveries is what actually happens. You do not need to pad L for the late ones here, because the safety factor S is what covers that variability, and padding both L and S would buffer the same risk twice.
S: safety factor
S is a decimal cushion built into the formula to absorb variability. A safety factor of 0.20 means you are carrying 20 percent more stock than the base demand-during-lead-time quantity.
S rolls up two different risks into one practical number: suppliers delivering late or short (supply-side), and demand running hotter than your 90-day average (demand-side). Keeping it as one number is fine for setting a starting card count, but know what is inside it: if one of those two risks clearly dominates on a given part, size S for that risk rather than splitting the difference. A factor of zero means no cushion at all, so one late delivery or one demand spike leaves you short.
C: container size
C is the standardized quantity in each bin or container on the floor. It should be physically practical: easy to handle, easy to eyeball at a glance, and consistent across the floor for this part.
Container size determines how many cards circulate, not how much total stock you hold. Smaller bins mean more cards; larger bins mean fewer. Choose C based on floor ergonomics and handling practicality, then standardize.
Container size should normally remain stable. When demand changes, adjust card count first. Change container size only when handling, storage, or replenishment requirements change significantly, not simply because N increased.
Why does the formula work?
The formula encodes one simple idea: you need enough cards in circulation to cover everything the floor consumes while you wait for a refill.
D × L is demand during lead time. If daily demand is 60 units and the refill takes 2 days, the floor consumes 120 units before new stock arrives. The system needs enough cards to account for those 120 units being in active use. That is the base case with no cushion.
The safety factor is a multiplier rather than a fixed add-on because a percentage scales the cushion with the part's volume. A fixed addition (for example, "add 10 units of buffer") under-protects high-consumption parts and over-protects low-consumption ones. On a part you use 60 units per day, a 15 percent safety factor adds 9 units of cushion. On a part you use 600 per day, it adds 90. That is usually closer to right than a flat unit add-on. (Strictly, statistical safety stock scales with the variation in demand and lead time, not with average volume, so treat the percentage as a practical simplification, not a law.)
C divides because each card represents one container. The numerator D × L × (1 + S) tells you the total units that need to be in active circulation. Dividing by C converts that unit count into a container count. One container equals one card. If you need 138 units in circulation and each bin holds 30, you need 5 bins and therefore 5 cards.
Relationship to reorder point and safety stock. The numerator of the formula is equivalent to the reorder point: demand during lead time plus safety stock. The full formula then divides that reorder-point quantity by container size to produce a card count. Kanban and reorder-point systems use the same underlying logic. Kanban just expresses the answer as a number of cards rather than as a stock level.
Formula What it produces N = (D × L × (1 + S)) / C Number of kanban cards to circulate Reorder point = (D × L) + safety stock Stock level that triggers replenishment Safety stock = S × D × L Cushion quantity covering variabilityAll three are rooted in demand during lead time. Kanban converts the reorder-point quantity into a card count by dividing by container size.
How do you calculate kanban cards?
The calculation runs in five steps. Each step requires real data, not estimates from memory or planning documents.
Step 1: Measure average daily demand. Pull 90 days of consumption data for the part from your inventory records. Add up total units consumed and divide by 90. That number is D.
Step 2: Establish actual lead time. Pull delivery records for the last 12 months for this part and average the total time from order placement to bin arrival. Use that average, not the number printed on the purchase order, which routinely understates real delivery time. That is L.
Step 3: Set your safety factor. Choose S based on how variable D and L are. If you have stable demand and a reliable local supplier, 0.10 to 0.15 is reasonable. If demand swings significantly or the supplier is inconsistent, use 0.20 to 0.25. When unsure, start at 0.20 and calibrate after one quarter of clean data.
Step 4: Confirm container size. Decide on a practical, standardized bin quantity. It should fit the physical storage location, be easy to move, and be easy to read at a glance. Fix this number and standardize it.
Step 5: Calculate and round up. Plug the values into the formula. Solve for N. Round up to the next whole number. Always.
Related reading

Managing Tariff Costs: How Kanban WIP Limits Mitigate Risks
Learn how kanban WIP limits help manufacturers manage tariff costs, reduce inventory risk, and build resilient supply chains. Practical strategies and examples inside.
Mar 20, 2026Read article
Inventory Control Techniques: A Manufacturer's Guide to ABC, JIT, EOQ, Kanban & More
Master proven inventory control techniques for manufacturing — ABC analysis, JIT, EOQ, Kanban, MRP & more. Cut costs 10-30% and eliminate stockouts.
Mar 20, 2026Read article
The History of Kanban: From Toyota's Factory Floor to Modern Manufacturing
Trace the history of kanban from 1940s Toyota to today. Learn who invented kanban, how the system works, and why manufacturers still rely on it.
Mar 20, 2026Read articleMake the first replenishment loop visible.
Generate free Kanban cards for the parts that most often stop production.
Create Free Cards