EN
Bookkeeping

How Do You Calculate Safety Stock and the Reorder Point? A Guide to the Formula, a Sample Calculation and Economic Order Quantity

How do you calculate safety stock? Simple and statistical formulas, service level, reorder point, economic order quantity (EOQ) and example calculations.

Contents 10 sections
  1. What is safety stock?
  2. What information do you need to calculate safety stock?
  3. How is safety stock calculated? Formulas
  4. Example: How is safety stock calculated for the same product?
  5. How is the reorder point calculated?
  6. How is the economic order quantity (EOQ) calculated?
  7. How do you set up an inventory plan step by step?
  8. The 7 most common mistakes when calculating safety stock and the reorder point
  9. How do you track critical stock with NetKasam?
  10. Frequently Asked Questions About Safety Stock

Your best-selling product runs out, an order is placed with the supplier and the goods arrive a week later; for that week the product shows as "sold out" on marketplaces and customers go to another seller. Or the opposite happens: fear of running out leads to over-ordering, and the warehouse fills with goods that don't sell for months. Both problems have the same source: deciding when and how much to order by guesswork rather than calculation. The answers to the questions how to calculate safety stock and what the reorder point is tie this decision to a few simple formulas.

In this guide we explain the three core calculations of inventory planning step by step: safety stock, held so that you don't run out during the lead time; the reorder point, which shows at what inventory level to order; and the economic order quantity (EOQ), which finds how many units to order at a time. We compare the simple and statistical methods on the same product, show how the service level changes safety stock and list the 7 most common mistakes. The products and figures in the examples were chosen only to illustrate the method.

What is safety stock?

In short: Safety stock (buffer stock) is extra inventory held above normal needs so that you don't run out if demand turns out higher than expected or the supplier delivers late. It is not used under normal conditions; it only comes into play in unexpected situations. You can find the general framework of inventory planning in our article what you need to know about inventory management, and the definition of product management on the page product management in e-commerce.

A product's sales are not the same every day, and a supplier does not deliver every order in the same time. If the inventory you have at the moment you order is only enough for average sales over an average lead time, every above-average day or every delay means running out of stock. Safety stock is the buffer that covers this uncertainty.

Safety stock also has a cost: every extra unit on the shelf ties up capital and takes up warehouse space. So the goal is not "plenty of stock" but the smallest stock that keeps the risk of running out at an acceptable level. We explained the cost of holding inventory and which products to prioritize in our article how to do an ABC analysis.

What information do you need to calculate safety stock?

In short: You need the product's average daily sales, how much daily sales fluctuate (standard deviation or highest daily sales), the supplier's average and longest delivery time, and the target service level.

InformationHow do you find it?Example
Average daily salesUnits sold in the last 90 days ÷ 9020 units
Highest daily salesThe highest daily sales seen in the same period (excluding campaign days)30 units
Standard deviation of daily salesCalculated from daily sales with the STDEV function in Excel5 units
Average lead timeAverage number of days from the order to the goods entering the warehouse7 days
Longest lead timeThe longest delivery time seen in recent orders10 days
Service levelTarget probability of not running out of stock during the lead time%95

Lead time is not just the supplier's production or shipping time: preparing the order, approval, transport, receiving goods at the warehouse and putting the product on sale are also included. To measure the real lead time, look at the difference between the "order placed" and "product available for sale" dates in your last few orders. Sales data must be taken per product and variant; for products with variants, sales of each size and color are tracked separately. We explained the variant structure in our article how to manage products with variants.

How is safety stock calculated? Formulas

In short: There are two common methods. Simple method: (Highest daily sales × Longest lead time) − (Average daily sales × Average lead time). Statistical method: Z × Standard deviation of daily sales × √Average lead time. The statistical method usually gives a lower and more accurate result.

FormulaFive core formulas used in inventory planning
  1. Safety stock (simple) = Highest daily sales × Longest lead time − Average daily sales × Average lead time
  2. Safety stock (statistical) = Z × Standard deviation of daily sales × √Average lead time
  3. If lead time also fluctuates = Z × √(Lead time × Variance of sales + Daily sales² × Variance of lead time)
  4. Reorder point = Average daily sales × Average lead time + Safety stock
  5. Economic order quantity (EOQ) = √(2 × Annual demand × Cost per order ÷ Annual holding cost per unit)

Variance is the square of the standard deviation. Results are always rounded up.

The Z value is the statistical coefficient corresponding to the target service level. The service level describes the probability of not running out of stock during the lead time. Commonly used values are:

Target service levelZ valueMeaning
%901,28Risk of running out in about 1 of every 10 replenishment cycles
%951,65Risk in about 1 of every 20 cycles
%982,05Risk in about 1 of every 50 cycles
%992,33Risk in about 1 of every 100 cycles

Example: How is safety stock calculated for the same product?

In short: For a product that sells an average of 20 units a day, with daily sales deviating by 5 units and a lead time of 7 days, safety stock at a 95% service level is 22 units. For the same product, the simple method gives 160 units; the difference comes from the simple method assuming the worst sales and the longest delay at the same time.

Let's take a duvet cover set, an A-class product of a store selling home textiles. Based on the last 90 days of data, average daily sales are 20 units, the highest daily sales are 30 units and the standard deviation of daily sales is 5 units. The supplier delivers in 7 days on average and in 10 days at the latest. The figures were chosen only to illustrate the method.

  1. Simple method: 30 × 10 − 20 × 7 = 300 − 140 = 160 units.
  2. Statistical method (95%): 1.65 × 5 × √7 = 1.65 × 5 × 2.646 ≈ 21.8 → 22 units.
  3. If lead time also fluctuates (standard deviation 1.5 days, 95%): 1.65 × √(7 × 25 + 400 × 2.25) = 1.65 × √1,075 ≈ 54.1 → 55 units.

The three results are very different for the same product, and each one tells you something. The simple method is very cautious because it assumes the highest sales day will coincide with the longest delivery time, and it ties up more inventory than necessary. The statistical method only takes sales fluctuation into account. When lead time fluctuation is added, safety stock rises from 22 to 55: for this product, the real risk is not sales but uncertainty in the supplier's delivery time.

ComparisonSafety stock for the same product by method and service level
  1. Statistical, 90% service level17 units
  2. Statistical, 95% service level22 units
  3. Statistical, 99% service level31 units
  4. Lead time also fluctuates, 95%55 units
  5. Simple method (worst case)160 units

Example: average daily sales 20 units, standard deviation 5 units, lead time 7 days. Results are rounded up.

The chart teaches two practical lessons. First, raising the service level from 95% to 99% increases safety stock from 22 to 31, that is, by about 40%; the last few points of assurance are expensive. Second, making the lead time more predictable (agreeing on a fixed delivery day with the supplier, finding an alternative supplier) can lower safety stock more than improving the sales forecast.

How is the reorder point calculated?

In short: Reorder point = Average daily sales × Average lead time + Safety stock. The moment inventory falls to this level, an order is placed. For the example product, it is 20 × 7 + 22 = 162 units.

The reorder point (order point, critical stock level) is the answer to the question "when should I order?" The first part of the formula is the quantity expected to be sold between placing the order and the goods arriving; the second part is the safety stock that comes into play if something unexpected happens during that time. For the example product:

  1. Expected sales during the lead time: 20 × 7 = 140 units.
  2. Safety stock (95%): 22 units.
  3. Reorder point: 140 + 22 = 162 units.

An order is placed on the day inventory falls to 162 units. If sales run at the average, when the goods arrive seven days later 22 units remain on the shelf, exactly the safety stock. The chart below shows how the inventory level changes over one replenishment cycle:

Inventory cycleInventory level from the reorder point to the arrival of new goods
  1. Inventory at the moment of ordering (reorder point)162 units
  2. Sales during the lead time (7 days × 20 units)−140 units
  3. Inventory remaining when goods arrive (safety stock)22 units
  4. Incoming order (economic order quantity)296 units
  5. Inventory after goods receipt318 units

Prepared with example values. If sales come in above average, safety stock is used.

One more detail matters at the reorder point: orders in transit are also counted when calculating the inventory level. If there is an order placed earlier that has not yet arrived, no new order is placed until "inventory on hand + inventory in transit" falls below the reorder point; otherwise you order twice for the same need. In multichannel selling, the reorder point working correctly depends on inventory being deducted from a single source across all channels; we explained this in our article inventory sync.

Recommended ReadingHow to Do an ABC Analysis? A Guide to Inventory Classification, the Pareto Rule and Identifying Dead Stock

How is the economic order quantity (EOQ) calculated?

In short: The economic order quantity is the order size that minimizes the total of ordering cost and holding cost: √(2 × Annual demand × Cost per order ÷ Annual holding cost per unit). For the example product, it is about 296 units.

The reorder point answers "when," and the economic order quantity answers "how much." Ordering small and often keeps inventory low, but every order has a cost: preparation, freight, goods receipt and accounting work. Ordering large and infrequently reduces this cost but increases average inventory and therefore holding cost. EOQ is the point where these two costs balance.

For the example product: Annual demand is 20 × 365 = 7,300 units. If the cost per order is taken as ₺600 for example, the unit cost as ₺400 and the annual holding rate as 25% for example, the annual holding cost per unit is 400 × 0.25 = ₺100.

  1. EOQ: √(2 × 7,300 × 600 ÷ 100) = √87,600 ≈ 296 units.
  2. Orders per year: 7,300 ÷ 296 ≈ 25 orders, that is, about once every 15 days.
  3. Average inventory: 296 ÷ 2 + 22 = 148 + 22 = 170 units.

EOQ is a starting point, not a strict rule. The supplier's minimum order quantity, units per carton, bulk purchase discounts, warehouse capacity and cash position can change the result. For example, if the supplier sells in cartons of 50, you order 300 units instead of 296. You can check the impact on your cash plan with the weekly plan in our article how to prepare a cash flow statement.

Key numbersFour numbers from the example product's inventory plan
  • 22units: safety stock at a 95% service level
  • 162units: reorder point (critical stock level)
  • 296units: economic order quantity
  • 15days: approximate order interval (25 orders a year)

Prepared with sample values.

How do you set up an inventory plan step by step?

In short: Sales and lead time data are collected per product, the service level is chosen by ABC class, safety stock, reorder point and order quantity are calculated, the reorder point is defined in the system as critical stock, and the values are updated every month.

Step by stepSix steps to setting up a per-product inventory plan
  1. 01
    Collect the dataTake daily sales for the last 90 days and delivery times for recent orders.
  2. 02
    Choose the service levelSet targets such as 98%–99 for A-class, 95% for B and 90% for C.
  3. 03
    Calculate safety stockCalculate it with sales fluctuation and, if needed, lead time fluctuation.
  4. 04
    Find the reorder pointAdd safety stock to expected sales during the lead time.
  5. 05
    Define critical stockEnter the reorder point in the system as the product's critical stock quantity.
  6. 06
    Update every monthRedo the calculation as sales velocity, lead time or the campaign plan changes.

During campaign and seasonal periods, the reorder point is temporarily raised in proportion to the expected increase in sales.

The most neglected of these steps is the last one. If the reorder point of a product whose sales have doubled is not updated, the old calculation is no longer enough and the product runs out. Likewise, if the reorder point of a product whose sales have slowed is not lowered, excess inventory builds up and can turn into dead stock.

The 7 most common mistakes when calculating safety stock and the reorder point

In short: The most common mistakes are counting lead time as only the supplier's shipping time, including campaign days in the average, forgetting orders in transit and doing the calculation once without updating it.

  1. Measuring lead time incompletely. Order preparation, transport, goods receipt and the time to put the product on sale are also part of the lead time.
  2. Including campaign days in the average. A single campaign day inflates the average and the deviation. Campaigns are planned separately.
  3. Counting out-of-stock days as zero sales. When the product is out of stock, sales appear as zero, but there was demand. These days are removed from the calculation; otherwise demand looks lower than it is.
  4. Forgetting orders in transit. If an order that has not yet arrived is not taken into account, a second order is placed for the same need.
  5. Giving every product the same service level. A 99% target for C-class products means unnecessary inventory, and a 90% target for A-class means unnecessary stockouts.
  6. Lumping variants together. Safety stock calculated on the product total does not protect the best-selling size. The calculation is done per variant.
  7. Not updating the calculation. Sales velocity and lead time change. Values are refreshed at least once a month, and separately before campaigns and seasons.

How do you track critical stock with NetKasam?

In short: In NetKasam, you define a critical stock quantity for your products and see the products that are due for reordering with critical stock reports prepared according to inventory turnover. Simply enter the reorder point you calculated as the critical stock quantity.

With NetKasam inventory management, you set a critical stock quantity for your products and make purchases on time with critical stock reports prepared according to inventory turnover. The detailed inventory movements report gives the daily sales data needed for the safety stock calculation per product and variant; by exporting the reports to Excel, you calculate the average and standard deviation with a few formulas.

If you have more than one warehouse, with branch and warehouse management you report on each warehouse separately and make inventory transfers. Because your marketplace and e-commerce orders are gathered in one panel with marketplace integration, your inventory is deducted from sales on all channels; the critical stock calculation is also based on real total sales. Bookkeeping and the e-Invoice system are always free.

Frequently Asked Questions About Safety Stock

How is safety stock calculated?

With the statistical method, the formula Z × Standard deviation of daily sales × √Lead time is used. For example, with a 95% service level (Z = 1.65), a deviation of 5 units and a 7-day lead time, safety stock is about 22 units.

Are safety stock and critical stock the same thing?

No. Safety stock is extra inventory held for unexpected situations. Critical stock (the reorder point) is the level at which an order should be placed, and it equals expected sales during the lead time plus safety stock.

How is the reorder point calculated?

Average daily sales are multiplied by the average lead time and safety stock is added. For a product that sells 20 units a day, is supplied in 7 days and has 22 units of safety stock, the reorder point is 162 units.

What is the service level?

It is the target probability of not running out of stock during the lead time. A 95% service level means accepting the risk of running out in only about 1 out of every 20 replenishment cycles.

What is the difference between the simple method and the statistical method?

The simple method assumes that the highest sales will coincide with the longest lead time and usually gives a very high result. The statistical method takes fluctuation and the target service level into account and finds a more balanced safety stock.

What is the economic order quantity?

It is the order size that minimizes the total of ordering and holding costs. It is calculated with the formula √(2 × Annual demand × Cost per order ÷ Annual holding cost per unit).

How often should safety stock be updated?

At least once a month, and immediately when sales velocity, lead time or the supplier changes. It is temporarily increased during campaign and seasonal periods.

Should safety stock be held for every product?

No. For C-class products that are supplied to order, move slowly or carry dead stock risk, safety stock can be kept very low or not held at all. Safety stock matters most for A-class products.

Safety stock and the reorder point move inventory decisions from guesswork to calculation. Today, pull the daily sales of your five best-selling products for the last 90 days and your supplier's recent delivery times, calculate safety stock and the reorder point at a 95% service level, and enter these numbers in the system as critical stock quantities. Instead of the next stockout, you will start to see the next order coming in advance.

Bookkeeping Is Now Completely Free

Manage your bookkeeping and e-Invoice operations with NetKasam without paying a thing. Customer and supplier accounts, inventory, collections and more in one panel, completely free.

Start FreeCustomer and Supplier Account Tracking

Read similar articles

19 free tools

Commission, shipping, VAT and profit calculations in your browser, no sign-up needed.

All tools