All challenges and every certification for $9 a month. And learn to build, buy and guide AI agents for supply chain: https://www.skool.com/supplychain

Optimal Cycle Service Level: The Cost of Overstocking and Understocking, With a Worked Example

Published November 13, 2026

New here? Play what you are reading about. The first 5 challenges are free, no card needed. Create a free account and start.

The optimal cycle service level is the in-stock probability where the cost of holding one more unit equals the cost of being one unit short. For a single-period order it is CSL* = Cu / (Cu + Co), where Cu is the cost of understocking one unit and Co is the cost of overstocking one unit.

That one ratio answers a question every planner and every supply chain student meets sooner or later: how high should the service level be? Not "as high as possible", but as high as the economics justify.

This article explains where the formula comes from, works through a full example with numbers, shows the version used for products that are replenished again and again, and ends with an exercise and its solution.

If you need a refresher on the metric itself first, read Cycle Service Level Explained: Definition, Formula, and Why It Matters.

The idea in one paragraph

Every unit you decide to stock has two possible futures. Either a customer wants it, and you earn the margin you would otherwise have lost. Or nobody wants it, and you lose part of what you paid for it. You should add the unit as long as the expected gain is larger than the expected loss. The last unit worth adding is the one where both are exactly equal. The probability of selling everything at that point is the optimal cycle service level.

The two costs

Cost of understocking (Cu) is what you lose for each unit of demand you cannot serve.

  • For a product sold once (a seasonal item, a newspaper, a fresh product): Cu = selling price − purchase cost. It is the margin you did not earn.
  • For a component that stops a production line, Cu can be far higher than the margin: overtime, expediting, a missed customer delivery.

Cost of overstocking (Co) is what you lose for each unit left over at the end of the period.

  • For a seasonal item: Co = purchase cost − salvage value. Salvage value is what you recover by selling the leftover at a discount or returning it.
  • For a perishable product with no salvage, Co is the full cost of the unit plus any disposal cost.

The formula

The optimal cycle service level is:

CSL* = Cu / (Cu + Co)

Read it as a balance. If understocking is expensive compared with overstocking, the ratio moves towards 1 and you should hold more. If leftover stock is expensive, the ratio falls and you should hold less.

Cu Co CSL* What it means
9 1 90% Shortages hurt far more than leftovers: stock generously
9 4 69% A shortage hurts about twice as much as a leftover
5 5 50% Both cost the same: order the expected demand
2 8 20% Leftovers are very expensive: order well below the average

Note the third row. When both costs are equal, the best order is simply the mean demand. Safety stock only appears when a shortage costs more than a leftover.

Worked example: a seasonal product

A retailer buys a winter jacket once, before the season.

  • Purchase cost: €6 per unit (a small accessory, to keep the numbers simple)
  • Selling price: €15
  • Leftovers are sold to an outlet at the end of the season for €2
  • Demand for the season is uncertain. Past seasons suggest an average of 400 units with a standard deviation of 80, roughly normally distributed.

Step 1: the two costs

  • Cu = 15 − 6 = €9 lost margin per unit short
  • Co = 6 − 2 = €4 lost per unit left over

Step 2: the optimal cycle service level

CSL* = 9 / (9 + 4) = 9 / 13 = 0.692

The retailer should accept about a 31% chance of selling out before the end of the season.

Step 3: from a probability to a quantity

Find the z-value whose cumulative normal probability is 0.692. In Excel or Google Sheets: =NORM.S.INV(0.692), which gives about 0.50.

Order quantity = mean + z × standard deviation = 400 + 0.50 × 80 = 440 units

So the best order is 440 units: 40 above the average demand. Those 40 units are the safety stock this product earns.

Step 4: what changes if the outlet pays more

Suppose the outlet pays €5 instead of €2. Then Co = 6 − 5 = €1, and:

CSL* = 9 / (9 + 1) = 0.90, z = 1.28, order quantity = 400 + 1.28 × 80 = 502 units.

A better salvage deal raises the right service level from 69% to 90% and the order by 62 units. Nothing about demand changed. Only the cost of being wrong changed.

The version for products you replenish again and again

Most stock in a warehouse is not bought once. It is reordered every few days or weeks, and leftover stock is not lost: it simply waits for the next cycle. In that case the cost of overstocking is a holding cost, and the cost of understocking is often expressed per stockout occasion rather than per unit.

A common textbook form (used in Chopra and Meindl's supply chain course) is:

CSL* = 1 − (H × Q) / (Cs × R)

  • H = holding cost per unit per year
  • Q = order quantity
  • Cs = cost of one stockout occasion (expediting, a lost order, an angry customer)
  • R = annual demand

Example: a product costs €50 and the holding cost is 20% a year, so H = €10. The company orders Q = 500 units at a time, sells R = 12,000 units a year, and estimates each stockout occasion costs Cs = €200.

CSL* = 1 − (10 × 500) / (200 × 12,000) = 1 − 5,000 / 2,400,000 = 1 − 0.0021 = 99.8%

For fast movers with expensive stockouts the optimal service level is usually very high. For slow, bulky or expensive items it can be much lower. That is the real lesson: one service level target for every item is almost never optimal.

What managers can do to raise profit

The formula also shows the levers that make a high service level cheaper:

  • Raise the salvage value (outlet agreements, returns to the supplier): lowers Co.
  • Lower the holding cost (cheaper storage, faster flow): lowers H.
  • Reduce uncertainty (better forecasts, shorter lead times, postponement): lowers the standard deviation, so every service level needs fewer units.
  • Offer a substitute when an item is out: lowers Cu, because the sale is not lost.

The last two are often worth more than any change in the target itself.

Common mistakes

  • Using the price as Cu for everything. Cu is the lost margin, not the price, unless a shortage causes extra costs.
  • Forgetting the salvage value. It can change the answer by twenty percentage points, as the example showed.
  • Applying the single-period formula to replenished stock. For repeated cycles, leftover stock is a holding cost, not a loss.
  • Mixing up cycle service level and fill rate. The ratio gives a probability of not running out, not a share of demand served. See Cycle Service Level vs Fill Rate.

Exercise

A bakery bakes a special cake for a weekend market. Each cake costs €12 to make and sells for €30. Unsold cakes are thrown away. Weekend demand averages 600 cakes with a standard deviation of 120.

  1. What is the optimal cycle service level?
  2. How many cakes should the bakery make?

Solution

  1. Cu = 30 − 12 = €18. Co = €12 (no salvage). CSL* = 18 / (18 + 12) = 0.60.
  2. z for 0.60 is about 0.25. Quantity = 600 + 0.25 × 120 = 630 cakes.

Even with no salvage at all, the bakery should bake 30 cakes above the average, because a lost sale costs more than a wasted cake.

Questions people ask

What is the optimal level of product availability?
It is the cycle service level at which the expected cost of one more unit left over equals the expected cost of one more unit short: Cu / (Cu + Co) for a single-period product.

Why is the optimal service level not 100%?
Because the last units needed to remove every possible stockout are very unlikely to be sold. Their expected cost is higher than the margin they protect.

Is this the newsvendor model?
Yes. The single-period version is known as the newsvendor (or newsboy) model, and Cu / (Cu + Co) is called the critical ratio.

Practise it

Formulas stick when you have to make the call yourself. In Play Supply Chain you set stock levels in simulated cycles and see the stockouts and the leftover stock that your choice creates. Start with the free challenges.

Related reading

Don't just read about supply chains. Play them.

  • The first 5 challenges are free, with the same game engines and debriefs as Premium
  • Your stars and your level are saved to your profile
  • No credit card, no spam

More in Planning

The first 5 challenges are free, no card needed.

Create a free account