Inventory math

Stockout Cost Calculator

The yearly bill for running out: lost profit plus the rush freight and ad spend it takes to recover.

Stockout cost = lost profit + recovery spend, where lost profit = stockout days × daily sales × price × margin. Running out costs you twice: first the profit on sales you never made, then the money spent clawing back position — expedited freight, relaunch ads, marketplace rank recovery. A SKU dark 24 days a year at 20 units a day and $35 loses $16,800 of revenue, $5,040 of profit at a 30% margin; add $1,500 of rush freight and recovery ads and the year’s stockouts cost $6,540. Weigh that against the carrying cost of deeper safety stock — prevention is usually cheaper.

Stockout Cost Calculator — your numbers

Total stockout cost per year

$6,540.00

Revenue lost

$16,800.00

Profit lost

$5,040.00

Estimate only. Results reflect exactly the numbers you enter — verify against your own accounting before making pricing decisions.

Embed this calculator on your site — free →

Worked examples

Chronic Q4 stockouts

Stockout days per year 24
Average daily sales 20
Selling price $35.00
Contribution margin 30%
Recovery spend per year $1,500.00
Total stockout cost per year $6,540.00
Revenue lost $16,800.00
Profit lost $5,040.00

A $6,540 yearly bill — enough to fund a serious safety stock buffer instead.

One bad container delay

Stockout days per year 10
Average daily sales 50
Selling price $28.00
Contribution margin 25%
Recovery spend per year $2,000.00
Total stockout cost per year $5,500.00
Revenue lost $14,000.00
Profit lost $3,500.00

Ten dark days on a fast mover: $3,500 of profit gone plus $2,000 to recover rank.

Frequently asked questions

Why does a stockout cost more than the lost profit?

Because availability is an asset you have to rebuild. On Amazon, going dark drops your organic rank and resets ad-campaign learning, so merchants routinely spend weeks of elevated ad budgets and price cuts to recover position. Add expedited air freight to shorten the outage and the recovery spend often rivals the lost profit itself — which is why this calculator asks for both.

What counts as recovery spend?

Any cost you incur because of the outage that you wouldn’t have paid otherwise: air freight upgrades to land stock sooner, extra PPC budget to regain rank after relaunch, win-back discounts or back-in-stock promotions, and marketplace fees on liquidating a rushed over-order afterward. Pull last year’s numbers from your freight invoices and ad reports — most merchants find the real figure is higher than their guess.

How do I compare stockout cost against holding more inventory?

Put both on an annual basis. If this calculator shows stockouts costing $6,540 a year and eliminating them takes 300 more buffer units at $10 cost, that extra stock at a 25% carrying rate costs about $750 a year — a 8-to-1 win for the buffer. The comparison flips only for slow movers or perishables where the buffer itself risks becoming dead stock.

Is some level of stockout acceptable?

Yes — chasing 100% availability on every SKU means overstocking the tail. A practical policy sets service levels by class: A-items at 98–99% availability because their stockout cost dwarfs their carrying cost, B-items around 95%, and C-items allowed to run out occasionally. Spend your buffer budget where this calculator shows the biggest annual bill, not evenly across the catalog.

Related calculators

Part of the Inventory collection.