What is inventory optimization?

Inventory optimization is the practice of setting how much inventory to hold, of each item, at each location, to hit a target service level at the lowest total cost. It replaces rules of thumb like "carry four weeks of cover" with calculations based on demand variability, lead time variability, and the service each item needs to deliver.

Inventory sits across the whole supply chain: raw materials, work in progress, and finished goods at suppliers, plants, distribution centers, and stores. Too little and you lose sales and customers. Too much and you tie up cash, warehouse space, and eventually write off what does not sell. Inventory optimization is how you find the right amount for each item and location, deliberately rather than by habit.

This guide explains the building blocks of inventory optimization, how safety stock is calculated, how to set service levels by segment, and how to get started. It reflects inventory projects we have delivered for manufacturers, distributors, and retailers.

Why simple rules fall short

Most companies start with days of cover or weeks of supply: hold enough stock to cover a fixed number of days of average demand. It is easy to explain and easy to calculate, but it treats every item the same. An item with steady demand and a reliable supplier needs far less buffer than an item with erratic demand and a supplier whose lead times swing by weeks, even if both sell the same amount on average.

The relationship between inventory and service is also not linear. Moving from 90% to 95% service on an item costs modestly more stock. Moving from 98% to 99.5% can cost as much again. Inventory optimization makes that tradeoff visible item by item, so you spend inventory where it buys the most service.

The building blocks

Inventory optimization works with two sources of risk and a handful of inventory types.

Demand risk is the uncertainty in what customers will order, usually measured as forecast error. Supply risk is the uncertainty in when replenishment will arrive, measured as lead time variability. Both have to be covered, and supply risk is the one most often ignored.

Inventory typeWhy it existsWhat drives it
Cycle stockOrdering in batches rather than one unit at a timeOrder quantity and order frequency
Safety stockBuffer against demand and supply uncertaintyForecast error, lead time variability, service target
Pipeline stockGoods in transit between locationsTransit time and volume
Anticipation stockBuilding ahead of seasonal peaks, promotions, or planned shutdownsSeasonality and capacity limits
Excess and obsoleteStock beyond any of the aboveForecast misses, minimum order quantities, discontinued items

Inventory optimization sets safety stock and influences cycle stock directly. Its most visible result is usually shrinking the excess that accumulates when buffers are set by rule rather than by calculation.

How safety stock is calculated

The standard safety stock formula combines both sources of risk:

Safety stock = z × √(L × σd² + d² × σL²)

  • z is the service factor for the target service level (about 1.65 for 95%, 2.33 for 99%)
  • L is the average lead time, in days
  • σd is the standard deviation of daily demand (or forecast error)
  • d is average daily demand
  • σL is the standard deviation of lead time, in days

A worked example: an item sells an average of 100 units a day with a standard deviation of 30. The supplier's lead time averages 9 days with a standard deviation of 2 days. At a 95% service level:

ApproachCalculationSafety stock
Demand variability only1.65 × 30 × √9about 150 units
Demand and lead time variability1.65 × √(9 × 30² + 100² × 2²)about 360 units
Rule of thumb: 7 days of cover7 × 100700 units

Two lessons come from this one item. Ignoring lead time variability would leave it badly under-protected: a two-day swing in supplier lead time more than doubles the buffer it needs. And the week-of-cover rule holds about twice what the calculation says is needed. Across thousands of items, those differences add up to significant working capital, in both directions.

Set service levels by segment

Not every item deserves the same service target. A common approach segments items on two dimensions: value (ABC, by revenue or margin contribution) and variability (XYZ, by forecast error).

  • High-value, predictable items can carry high service targets at modest cost, because their buffers are small.
  • High-value, volatile items are where the service-versus-inventory tradeoff is sharpest and deserve the most attention.
  • Low-value, volatile items are candidates for lower targets, make-to-order, or consolidation into fewer locations.

Customer and channel commitments also matter. Items that a key account or a contractual service level depends on may need targets above what their value alone would justify.

Single-echelon and multi-echelon optimization

Single-echelon optimization sets buffers for each location independently. It is a big step up from rules of thumb, but it double-counts: the plant, the regional DC, and the local warehouse each buffer against the same uncertainty. Multi-echelon inventory optimization (MEIO) sets buffers across the whole network at once, often holding more at central locations where demand pools and less at the edges. For networks with several tiers, it typically reduces total inventory at the same service level. Our article on multi-echelon replenishment planning covers how it works.

Strategic, tactical, and operational decisions

Inventory decisions happen on three horizons, and inventory optimization connects them:

HorizonDecisionsTypical cadence
StrategicWhat to make versus buy, and from whom; where in the network to hold stock; in what form (finished goods or components)Annually, or when the network changes
TacticalService targets by segment; safety stock and reorder points; order quantitiesMonthly or quarterly
OperationalWhat to order, move, or expedite this week, using the tactical policiesDaily or weekly

The tactical policies that inventory optimization produces feed directly into replenishment planning and master planning, which turn them into orders.

What inventory optimization delivers

  • Lower inventory at the same service level, mostly by trimming buffers on items that were over-protected by rules of thumb.
  • Higher service at the same inventory, by moving buffer from items that do not need it to items that do.
  • Less expediting and premium freight, because buffers match the real risk on each item.
  • Cash and space freed from excess and slow-moving stock.
  • A defensible answer to "why do we hold this much?" that finance, sales, and operations can agree on.

Inventory optimization software

Most enterprise planning suites include inventory optimization, including BlueYonder, SAP IBP, Kinaxis, o9, and RELEX, and several support multi-echelon optimization. They add scale, scenario modeling to test policies before you adopt them, and direct handoff of policies into replenishment. For companies not ready for a full suite, safety stock and segmentation calculations can be built on a data platform such as Microsoft Fabric and reviewed in Power BI. Either way, the results are only as good as the forecast error and lead time history behind them.

How to get started

  1. Measure your variability. Calculate forecast error by item and location, and lead time variability by supplier and lane. This is often the first time anyone has looked at actual supplier lead times rather than the quoted ones.
  2. Segment your items. Group them by value and variability, and agree on service targets per segment with sales and finance.
  3. Recalculate safety stock for each item and location using both demand and lead time variability.
  4. Compare against today. The gap between calculated and current buffers shows where inventory can come out and where service is at risk.
  5. Feed the new policies into replenishment and track service and inventory monthly to tune the targets.

How K3 helps

We help manufacturers, distributors, and retailers design inventory strategy, set tactical policies, and connect them to execution. We implement inventory optimization tools that generate stock levels and policies for fulfillment and master planning, build the data models and what-if scenarios that show the impact of a policy before it is adopted, and work across BlueYonder, SAP, Kinaxis, o9, RELEX, and Microsoft Fabric. See our supply chain consulting services or talk to us about your inventory.

Frequently asked questions

What is inventory optimization?

Inventory optimization sets how much inventory to hold of each item at each location to meet a target service level at the lowest total cost, based on demand variability, lead time variability, and service targets.

How do you calculate safety stock?

A standard formula is safety stock = z × √(L × σd² + d² × σL²), where z is the service factor, L is average lead time, σd is the standard deviation of demand, d is average demand, and σL is the standard deviation of lead time. It covers both demand and supply uncertainty.

What is the difference between inventory management and inventory optimization?

Inventory management is the day-to-day work of tracking, ordering, and storing stock. Inventory optimization sets the policies that management follows: the safety stock, reorder points, and service targets for each item and location.

Why is days of cover not enough?

Days of cover sets buffers from average demand alone, so it ignores how variable demand and lead times are. Items with steady demand end up over-stocked and items with volatile demand or unreliable suppliers end up under-protected.

What is multi-echelon inventory optimization?

Multi-echelon inventory optimization sets buffers across all tiers of the network at once, such as plants, distribution centers, and stores, instead of each location independently. It avoids buffering the same uncertainty several times and typically lowers total inventory at the same service level.

What service level should we target?

It depends on the item. Segment items by value and demand variability, then set higher targets where stockouts are costly and buffers are cheap, and lower targets for low-value, volatile items. Contractual or key-account commitments can raise targets for specific items.