Safety stock versus cash locked in inventory
You cannot tell whether you are holding too much stock or too little, and both cost money.
You cannot tell whether you are holding too much stock or too little, and both cost money.
A full warehouse locks up cash and an empty one loses sales. Both cost money and neither appears in the accounts under its own name. This case puts a price on both for the same product and compares three policies.
The shop is hypothetical. The starting figures are declared and belong to no real company.
| Figure | Value |
|---|---|
| Average daily sales | 22 units |
| Standard deviation of daily demand | 6 units |
| Average lead time | 12 days |
| Lead time deviation | 2.5 days |
| Unit cost | €9.40 |
| Selling price | €24.90 |
| Contribution per unit | €7.10 |
| Annual carrying rate | 20% |
This case rests on two assumptions that are not measured data and that belong on the table before any number is read.
First: how much unserved demand is genuinely lost. When a product is out of stock, not everyone walks away. Some wait, some buy something else from you and some go to a competitor and never come back. Here it is assumed that 55% of unserved demand is lost and that the remaining 45% is simply deferred. Turning all unserved demand into lost sales would overstate the cost of a stockout, and it is a very common mistake.
Second: how many stockouts each policy brings. It is assumed the aggressive policy suffers 3 stockouts a year, the balanced one 2 and the conservative one 1, each lasting 4 days. That is a plausible relationship, not a law: the real frequency depends on the product and the supplier.
Both assumptions are stress-tested below.
| Policy | Service level | Safety stock | Reorder point | Cash locked in | Holding cost | Stockout cost | Total cost |
|---|---|---|---|---|---|---|---|
| Aggressive | 90.0% | 76 units | 340 units | €714.40 | €142.88 | €1,030.92 | €1,173.80 |
| Balanced | 95.0% | 97 units | 361 units | €911.80 | €182.36 | €687.28 | €869.64 |
| Conservative | 99.0% | 137 units | 401 units | €1,287.80 | €257.56 | €343.64 | €601.20 |
Read it left to right and you can see the two forces pulling against each other. Raising the service level from 90% to 99% multiplies safety stock from 76 units to 137 units and cash locked in from €714.40 to €1,287.80. Holding cost rises from €142.88 to €257.56.
But stockout cost does the opposite: it falls from €1,030.92 to €343.64.
Adding the two columns, the lowest total cost belongs to the conservative policy, at €601.20 a year against €869.64 for the balanced one and €1,173.80 for the aggressive one.
This surprises a lot of people, because intuition says less stock is always better for cash. And it is — for cash. But not for total cost, because on this product a stockout costs more than the buffer does: every point of service level bought saves more in lost sales than it spends in the warehouse.
The reason is in the starting figures. Contribution per unit is €7.10 on a cost of €9.40, so losing a sale hurts nearly as much as storing a unit for a whole year costs. On a thin-margin product the sum would flip.
Here is the important part of the case. That conclusion depends on the first assumption, and that assumption is not measured.
Sweeping the share of demand genuinely lost, from 5% up to 95%, the winning policy changes twice: no is the answer to whether the decision survives the sweep.
The case assumption, 55%, falls inside the third band and comfortably away from the boundary. That gives confidence in the conclusion, but the figure genuinely worth measuring before deciding is how much unserved demand is really lost, not the service level.
That is what this case contributes: the question was never "99 or 90?". It was "how many people wait?".
Sources
What is not cited. There is no source for "what percentage of customers never come back after a stockout". We looked, and no identifiable study exists with a sample, a method, a date and a population that applies to ecommerce. That is why the percentage appears here as a declared case assumption and gets swept, rather than being cited as a fact.
Methodology
Four Profyza calculation engines, run three times each, once per policy: safety stock, reorder point, inventory cost and stockout cost. The assumption sweep runs the stockout engine another nineteen times, from 5% to 95%. No figure is typed by hand and all of them are checked against an independent calculation.
Currency and market: euros, European Union.
Last reviewed: 9 September 2026.
Author: Profyza editorial team.
How the figures were produced. Each one is generated by the Profyza calculation engine for that step, using the inputs declared above. Every figure is also cross-checked against an independent arithmetic check — also automated — that recomputes it without calling the engine, which is what catches the text and the calculation drifting apart. It is not a human review, and this piece has not been reviewed by an economist, an accountant or a licensed adviser. If your situation needs that, get it.
Methodology: how all of this is calculated is set out on the methodology page.
Automated mathematical verification: Profyza calculation engines. This is not a human or professional review.
Find out how much you can pay for a sale or a click without losing money.
Work out how much returns cut from your monthly profit.
Strip out the fees, the tax, the materials, the shipping and the ads.
Work out your profit per unit after fees, fulfillment and advertising.
What each order really leaves you, and how much of that you can spend winning the customer.
What each imported unit really costs once it is sitting in your warehouse, ready to sell.
The order value above which you can give shipping away without losing money.
How much you can afford to pay for a customer without giving up your profit.
How many months it takes to recover what you paid to acquire a customer.
The stock level at which you have to place the order to avoid running out.
How many buffer units you need so a deviation does not leave you out of stock.
What a full warehouse costs you per year, and what share of your inventory that is.
What running out of stock really cost you, in lost contribution and extra spending.
Whether the bundle you are building leaves more money than selling the same items separately.
How far you can cut the price without falling below the margin you want to keep.
How many more units you have to sell so a discount does not leave you worse off.
The price below which you lose money, and the one your target margin needs.
How many days pass between paying your supplier and collecting from your customer.
Whether the supplier's minimum order pays off once you have paid to hold it.
Which sales channel leaves most per order for the same product and its real costs.