How to Calculate Safety Stock in Kanban: A Step-by-Step Guide
Learn how to calculate safety stock in your kanban system with proven formulas, worked examples, and step-by-step instructions for manufacturers.

What happens when your supplier delivers two days late and your production line grinds to a halt? For manufacturers running a kanban system, the answer should be nothing — because safety stock absorbs that shock before it reaches your shop floor.
Safety stock is the extra inventory you hold beyond your normal kanban quantity to protect against unpredictable demand spikes and supply chain disruptions. Getting this number right is one of the most important calculations in kanban inventory management. Set it too high and you tie up cash in excess inventory. Set it too low and you're back to firefighting stockouts.
This guide walks you through exactly how to calculate safety stock for your kanban system — with practical formulas, real manufacturing examples, and a clear process you can apply today.
What Is Safety Stock in a Kanban System?
Safety stock is the buffer inventory built into your kanban loop to account for variability in your supply chain. It protects you when things don't go according to plan — a supplier ships late, a machine breaks down, or a customer places an unexpectedly large order.
In a kanban system, safety stock is typically expressed as a percentage added to your base kanban calculation. It's the insurance policy that keeps your pull system running smoothly even when conditions aren't perfect.
Without safety stock, any variation in lead time or demand causes a stockout. With the right amount, your kanban cards continue triggering replenishment on schedule and your team keeps building without interruption.
Safety Stock vs. Buffer Stock: What's the Difference?
These two terms are often used interchangeably, but in kanban they serve distinct roles. Understanding the difference helps you size your inventory correctly.
Safety Stock Buffer Stock Protects against Supply-side variation (late deliveries, quality rejects, machine downtime) Demand-side variation (unexpected order spikes, seasonal surges) Driven by Supplier reliability and process stability Customer demand patterns When consumed During supply disruptions During demand surges How to reduce Improve supplier performance and process control Better demand forecasting and customer communicationBoth get factored into your total kanban quantity, but diagnosing which type of variation you're experiencing determines where to focus your improvement efforts.
The Kanban Safety Stock Formula
The standard kanban formula that incorporates safety stock is:
Number of Kanban Cards = (DD × LT × (1 + %SS)) ÷ Q
Where:
- DD = Daily demand (average units consumed per day)
- LT = Lead time (days from order to delivery)
- %SS = Safety stock percentage (your buffer for variation)
- Q = Container quantity (units per kanban container or bin)
This formula tells you how many kanban cards — and therefore how many containers of material — you need in your loop to keep production running without interruption.
Worked Example: Calculating Kanban Cards with Safety Stock
A machine shop uses 50 cutting inserts per day. The supplier delivers in 5 days. Each box holds 100 inserts. Based on historical variation, you've set safety stock at 20%.
Number of Kanban Cards = (50 × 5 × (1 + 0.20)) ÷ 100
- Daily demand × Lead time = 250 units
- With 20% safety stock = 250 × 1.20 = 300 units
- Divided by container quantity = 300 ÷ 100 = 3 kanban cards
Those 3 cards circulate through your kanban loop, each triggering a reorder of 100 inserts. The extra card (compared to the 2.5 you'd need without safety stock) provides your buffer against supply disruptions.
Put that card count on real cards. You can make your first kanban cards free and print them with the part and the bin quantity on the card.
How to Calculate the Safety Stock Percentage
The 20% in the example above isn't arbitrary — or at least it shouldn't be. Here are three methods for calculating your safety stock percentage, from simplest to most precise.
Method 1: The Average-Max Method (Best for Getting Started)
This is the fastest approach and works well when you're setting up kanban for the first time.
Safety Stock = (Max Daily Usage × Max Lead Time) − (Avg Daily Usage × Avg Lead Time)
Example: A manufacturer of custom trailers tracks their weld wire consumption:
- Maximum daily usage: 60 lbs
- Maximum lead time: 8 days
- Average daily usage: 45 lbs
- Average lead time: 5 days
Safety Stock = (60 × 8) − (45 × 5) = 480 − 225 = 255 lbs
To convert this to a percentage for your kanban formula:
%SS = Safety Stock ÷ (Avg Daily Usage × Avg Lead Time) = 255 ÷ 225 = 113%
That's a high number — and it tells you this item has significant variation in both demand and lead time. This is common with variable consumption goods like welding supplies, adhesives, and cutting tools.
Method 2: Standard Deviation Method (Best for Ongoing Optimization)
Once you have 30+ days of consumption data, the standard deviation method gives you a more statistically accurate result.
Safety Stock = Z × σ_D × √LT
Where:
- Z = Z-score for your desired service level (1.28 for 90%, 1.65 for 95%, 2.33 for 99%)
- σ_D = Standard deviation of daily demand
- √LT = Square root of your lead time in days
Example: A parts manufacturer consumes an average of 80 fasteners per day with a standard deviation of 15 units. Lead time is 4 days. They want a 95% service level.
Safety Stock = 1.65 × 15 × √4 = 1.65 × 15 × 2 = 49.5 ≈ 50 fasteners
As a percentage: %SS = 50 ÷ (80 × 4) = 15.6%
This is a more refined estimate than Method 1 and will typically produce a lower (and more cost-effective) safety stock level.
Method 3: Combined Variability Method (Best for High-Value Items)
When both demand and lead time fluctuate significantly — and the item is expensive enough to justify precise calculation — use this formula:
Safety Stock = Z × √((σ_D² × LT) + (μ_D² × σ_LT²))
Where:
- σ_D = Standard deviation of daily demand
- LT = Average lead time
- μ_D = Average daily demand
- σ_LT = Standard deviation of lead time
Example: An equipment manufacturer orders precision bearings:
- Average daily demand (μ_D): 20 units
- Demand standard deviation (σ_D): 5 units
- Average lead time (LT): 10 days
- Lead time standard deviation (σ_LT): 3 days
- Target service level: 95% (Z = 1.65)
Safety Stock = 1.65 × √((25 × 10) + (400 × 9)) = 1.65 × √(250 + 3,600) = 1.65 × √3,850 = 1.65 × 62.05 = 102 bearings
This method accounts for the compounding effect of variation in both demand and supply — giving you the most accurate safety stock for critical components.
Related reading

Inventory Turnover Ratio Formula: How Manufacturers Measure Inventory Efficiency
Learn the inventory turnover ratio formula, how to calculate it with a real manufacturing example, and what a good ratio looks like for your shop floor.
Jul 8, 2026Read article
Buffer Stock vs. Safety Stock: Understanding the Key Differences
Buffer stock manages internal flow variations while safety stock guards against supply disruptions. Learn the formulas, when to use each, and how they work in Kanban systems.
Mar 20, 2026Read article
OEE for Manufacturers: How to Calculate and Improve Overall Equipment Effectiveness
Learn how to calculate OEE in manufacturing with the exact formula, a worked example, Six Big Losses breakdown, and practical steps to improve your score.
Jul 13, 2026Read articleMake the first replenishment loop visible.
Generate free Kanban cards for the parts that most often stop production.
Make Free Kanban Cards