What is inventory cost?
Inventory cost is the full cost of buying, ordering, storing, and running short of stock, combined into one figure. The formula most businesses and inventory management texts use is: Inventory Cost = Purchase Cost + Ordering Cost + Holding Cost + Shortage Cost.
Most businesses track only the first term, purchase cost, because it's the one that shows up on a supplier invoice. The other three are real money, they just don't arrive as a single visible charge, which is exactly why they get underestimated until a margin review or a cash crunch forces the question.
The four components of inventory cost
Each component answers a different question about where money actually goes once you decide to stock a product.
- Purchase cost: what you paid the supplier for the goods themselves, the number on the invoice
- Ordering cost: the labor, freight, and administrative cost of placing and receiving each purchase order, separate from the goods themselves
- Holding cost (carrying cost): the cost of storing that inventory over time, capital tied up, warehouse space, insurance, and the risk of obsolescence or shrinkage
- Shortage cost: lost sales, expedited replacement shipping, and customer goodwill damage from not having stock when a customer wants it
A worked example
Take a business that buys $80,000 of a product over a year (purchase cost). Placing and receiving those orders, staff time, freight-in, receiving inspection, costs $3,000 across the year (ordering cost). Average inventory value for that product sits at $20,000, and at a 25% holding cost rate, that adds $5,000 (holding cost). Two stockouts during the year cost an estimated $2,000 in lost sales and rush-shipped replacements (shortage cost).
Total inventory cost: $80,000 + $3,000 + $5,000 + $2,000 = $90,000, about 12.5% above the $80,000 purchase price alone. A business that only tracks purchase cost sees a product that "costs $80,000." The real figure is $90,000, and the $10,000 gap is exactly the part most spreadsheets never capture.
Why tracking purchase cost alone gives you the wrong picture
A product with a low purchase price can still be expensive to stock if it ties up a lot of warehouse space, moves slowly, or triggers frequent small orders instead of a few large ones. A product with a higher purchase price can be cheap to stock overall if it turns over fast and rarely runs short. Comparing products on purchase price alone, without ordering, holding, and shortage cost, routinely leads to stocking decisions that look fine on the invoice and lose money in practice.
This is also why 'we're profitable on paper' and 'we keep running out of cash' can both be true: gross margin is calculated off purchase cost, but ordering, holding, and shortage costs still draw down cash even though they don't show up in that margin line.
Where each number actually comes from
Purchase cost comes straight from supplier invoices and purchase orders, the easiest of the four to pull. Ordering cost needs a rough allocation of staff time and freight-in per order, most businesses estimate this once a year rather than tracking it per order. Holding cost is calculated from average inventory value and a holding cost rate, worked through in detail on the carrying cost page linked below. Shortage cost is the hardest to pin down exactly, since a lost sale rarely gets logged anywhere, but a stockout log paired with average order value gives a usable estimate.
Inventory software helps most with the two components that are otherwise easy to lose track of: average inventory value (needed for holding cost) and a running stockout history (needed for shortage cost), both of which are difficult to reconstruct by hand after the fact.
Trusted by small businesses
What our customers say
“Super Kind! Quick replies from their support and very easy fixes, changed the dashboard a bit and customized it. Also gave me 450 items extra on the free plan just for me. Highly recommend and again great service!”
“Best customer service! Stockflow's customer support is fast and extremely helpful. They assisted me with customization of the software to improve my experience as a user.”