Safety stock is the buffer inventory you keep on hand to protect against unexpected demand spikes or supplier delays.
To calculate safety stock, use this formula: (Maximum Daily Sales × Maximum Lead Time) – (Average Daily Sales × Average Lead Time).
Here's how to apply it step by step.
What is safety stock?
Safety stock is extra inventory held above the amount you'd normally need to meet day-to-day demand. Think of it as a buffer. It sits in your warehouse specifically to cover the unexpected — a sudden jump in orders, a supplier that ships late, or a production delay.
One main reason manufacturers implement a safety stock strategy is to prevent stockouts. Stockouts are usually caused by:
Changes in consumer demand
Incorrect stock forecasts
Variability in lead times for raw materials
It can be challenging to plan for and maintain a target inventory level. However, this is where a safety stock formula comes in. Let's look at how the formula works and how it fits with the ordering process.
What is the safety stock formula?
The basic safety stock formula is:
Safety Stock = (Max Daily Sales × Max Lead Time) – (Average Daily Sales × Average Lead Time)
This is sometimes called the "min-max" method. It uses your historical sales data and supplier lead times to calculate a buffer that covers your worst-case scenario.
How each variable works
| Variable | What it means | Example |
|---|---|---|
| Max Daily Sales | The most units you've sold in a single day | 60 units |
| Max Lead Time | The longest it has ever taken to receive new stock (in days) | 12 days |
| Average Daily Sales | Your typical daily unit sales | 40 units |
| Average Lead Time | The typical number of days between placing an order and receiving it | 8 days |
Using these example numbers:
Safety Stock = (60 × 12) – (40 × 8) = 720 – 320 = 400 units
This means you'd want to keep 400 extra units on hand to cover demand variability and lead time fluctuations for that product.
Worked example: calculating safety stock step by step
Let's walk through a real scenario. Imagine you manufacture a popular protein bar. Here's what your data looks like:
Max daily sales: 150 cases (during a promotional week)
Max lead time: 10 days (when your packaging supplier ran behind)
Average daily sales: 90 cases
Average lead time: 6 days
Step 1: Multiply your max daily sales by your max lead time.
150 × 10 = 1,500
Step 2: Multiply your average daily sales by your average lead time.
90 × 6 = 540
Step 3: Subtract the average from the maximum.
1,500 – 540 = 960 cases of safety stock
This tells you to keep 960 cases as a buffer. When you pair this with your reorder point calculation, you'll know exactly when to trigger a new purchase order.
Want real-time visibility into every SKU? See how Brahmin tracks inventory across all your channels →
How to calculate safety stock in a spreadsheet
You can calculate safety stock for every product using a simple spreadsheet. Set up your columns like this:
| Column | Data |
|---|---|
| A | Product Name |
| B | SKU Number |
| C | Max Daily Sales |
| D | Average Daily Sales |
| E | Max Lead Time (days) |
| F | Average Lead Time (days) |
| G | Safety Stock (calculated) |
In cell G2, enter this formula:
=( C2 * E2 ) - ( D2 * F2 )
Drag the formula down for every row, and you'll have a safety stock figure for each SKU. This works well when you have a manageable number of products. As your catalog grows, an inventory management system is typically used to manage stock within ideal levels automatically once safety stock figures are set.
Other methods to calculate safety stock
The basic formula above works well for most growing manufacturers. But as your operation becomes more complex, you may want to explore methods that account for statistical variability. Here's how the most common approaches compare:
| Method | Formula | Best for | Complexity |
|---|---|---|---|
| Basic (min-max) | (Max Sales × Max Lead Time) – (Avg Sales × Avg Lead Time) | Simple operations, few SKUs | Low |
| Z-score / statistical | Z × σ_d × √L | Data-driven operations that track demand variability | Medium |
| Average-max | (Max Sales × Max Lead Time) – (Avg Sales × Avg Lead Time) | Same as basic — commonly used interchangeably | Low |
| Fixed safety stock | Set a flat number of units or days of supply | Very stable demand with predictable lead times | Low |
How the Z-score (statistical) method works
If you track your demand data over time and can calculate a standard deviation, the statistical method gives you more control. The formula is:
Safety Stock = Z × σ_d × √L
Where:
Z = Z-score, which represents your desired service level (for example, a 95% service level uses a Z-score of 1.65)
σ_d = standard deviation of daily demand
L = average lead time in days
For instance, if your daily demand has a standard deviation of 20 units, your average lead time is 9 days, and you want a 95% service level:
Safety Stock = 1.65 × 20 × √9 = 1.65 × 20 × 3 = 99 units
Common Z-scores for reference:
| Service Level | Z-score |
|---|---|
| 90% | 1.28 |
| 95% | 1.65 |
| 97.5% | 1.96 |
| 99% | 2.33 |
The statistical method is more precise, but it requires that you consistently track demand data. If you're just starting to formalize your inventory process, the basic formula is a great place to begin.
Understanding the safety stock formula for manufacturers
The safety stock formula works hand-in-hand with the reorder point formula. The reorder point is the inventory level where you need to place a new order. Safety stock adds a buffer on top of that to protect against variability.
If you manufacture products, you need to factor production time into your lead times — not just supplier delivery. Here are three things to account for:
Setup time: Time taken to set up a production run for that item
Transit time: Time to move finished goods from your production facility to your warehouse, if they're in different locations
Processing time: Any additional time to get your product ready for shipment (packaging, labeling, quality inspection)
Overlooking production lead time is one of the most common mistakes manufacturers make when calculating safety stock. Your lead time isn't just "days until the supplier ships" — it's the total time from placing the order (or starting production) to having sellable product on your shelf.
Why is safety stock important?
Safety stock ensures you always have enough product supply to fulfill orders on time and keep the raw materials you need for manufacturing on hand. If you don't maintain adequate stock levels, the consequences can be significant.
Stockouts and customer satisfaction
Stockouts can be very damaging to customer relationships. If a clothing manufacturer runs out of a specific shoe color, the impact might be minor. But if you sell components to other B2B businesses and run out of stock, your customers' production lines could stop — and they won't forget it.
Stockouts and revenue
Customer satisfaction matters, but stockouts hit your revenue directly. You can run the best marketing campaign in the world, but if your product isn't available when the customer is ready to buy, their money goes to a competitor.
Stockouts and production efficiency
Running out of a raw material during a production run can be especially harmful. It stops the line. If the production run is halted, labor costs relative to output go up. Even if you can switch to producing something else while you wait for the missing material, that added disruption makes everything less efficient and more expensive.
The downsides of too much safety stock
While stockouts are costly, holding too much safety stock creates its own problems.
Excess inventory ties up cash. You're paying for the stock itself, plus additional warehouse space, insurance, and labor to manage it. For growing manufacturers, that cash could be better spent on equipment, marketing, or hiring.
Certain products also lose value over time. Foods, beverages, supplements, and medicines can spoil or expire. Lot tracking helps you manage shelf life, but the underlying problem remains: overstocking perishable goods leads to waste.
The goal is balance — enough stock to cover realistic variability, but not so much that you're losing money on storage or spoilage.
Ready to get your inventory under control?
Real-time stock levels, automatic reorder points, and multi-warehouse tracking — all in one place.
Join 300+ manufacturers already using Brahmin
Who needs to calculate safety stock?
The specific job responsibilities vary by company size. In smaller companies, the owner or general manager often handles this. In larger operations, it typically falls to production managers, warehouse managers, or operations managers.
Pain points that lead to setting safety stock levels
Safety stock usually becomes a priority because one of two things happens:
Too much cash is tied up in inventory. The owner or CFO asks that stock levels be reduced to free up working capital.
Regular stockouts are hurting the business. Lost sales, unhappy customers, or production delays force the team to take inventory planning seriously.
Either situation is a sign that it's time to move from guessing to calculating.
Should you calculate safety stock for every SKU?
Not every product needs a safety stock buffer. You need to decide which items justify the extra inventory. The straightforward answer: you need safety stock for any product or component you can't afford to run out of.
Many manufacturers use an ABC analysis to prioritize:
A items — High-value or high-demand products. These get the most attention and tightest safety stock calculations.
B items — Moderate importance. Standard safety stock formulas work well here.
C items — Low-value or infrequent products. A minimal buffer or no safety stock may be appropriate.
This approach helps you focus your effort and your cash on the items that matter most to your operation.
When to recalculate safety stock
Safety stock isn't a set-it-and-forget-it number. You should recalculate when:
Demand patterns change — seasonal shifts, a new product launch, or a major customer win
Lead times shift — a new supplier, longer shipping times, or changes in your own production capacity
You add new sales channels — expanding to a new marketplace or retail partner increases variability
Your business is growing — if revenue is climbing, your historical data may understate future demand
For growing manufacturers, this last point is critical. If your business is expanding rapidly, your safety stock figures based on last year's data will be too low. You'll need to adjust upward to account for growth — and revisit the numbers quarterly at a minimum.
How to manage safety stock with Brahmin Solutions
Brahmin Solutions is a cloud-based MRP and inventory management platform built for growing manufacturers doing $500K–$50M in revenue. It handles safety stock, reorder points, and purchasing in one system — so you're not bouncing between spreadsheets to keep stock levels right.
You can manually set min/max stock levels per SKU using your calculated reorder points, or use the advanced reordering feature to let the system recalculate reorder points automatically as demand changes. Either way, a built-in reorder report shows you exactly what needs ordering and when.
If you're ready to move beyond spreadsheets, book a demo and see how it fits your operation.
Frequently asked questions
What is a good safety stock level?
There's no universal number. A good safety stock level is one that prevents stockouts without tying up excessive cash. It depends on your demand variability, lead time reliability, and how critical the product is to your operation. Start with the basic formula and adjust based on your actual stockout frequency.
What is the difference between safety stock and reorder point?
Safety stock is the buffer inventory you keep to absorb unexpected demand or supply delays. The reorder point is the inventory level at which you place a new order. Your reorder point is calculated by adding safety stock to your average demand during lead time. They work together — safety stock feeds into the reorder point formula.
How often should you recalculate safety stock?
At a minimum, review your safety stock levels quarterly. If your business is seasonal or growing quickly, monthly reviews are better. Any time you change suppliers, add a sales channel, or see a significant shift in demand, recalculate right away.
Can you have too much safety stock?
Yes. Excess safety stock ties up cash, increases warehousing costs, and raises the risk of spoilage or obsolescence — especially for perishable goods. The goal is to carry just enough buffer to hit your target service level without overinvesting in inventory that sits on the shelf.
About the author
Brahm Meka is Founder & CEO at Brahmin Solutions.



