Inventory Turnover for Online Stores: Formula and Examples (2026)
How to calculate inventory turnover and days of inventory for an online store, with worked examples, what a high or low ratio means, and how to improve it.
Cash spent on inventory is cash you cannot use for ads, new products or payroll until that stock sells. Inventory turnover tells you how fast that happens: how many times in a year you sell through your average stock. It is one of the simplest numbers an online store can track, and one of the most useful for deciding what to reorder, what to discount and how much cash your catalog ties up.
This guide shows how to calculate inventory turnover and days of inventory, works through examples, explains what a high or low result means, and covers practical ways to improve it.
The formula
Inventory turnover = cost of goods sold ÷ average inventory
Average inventory = (beginning inventory + ending inventory) ÷ 2
Days of inventory = 365 ÷ inventory turnover
A few rules keep the number honest:
- Use cost of goods sold (COGS), not sales. Inventory is valued at cost, so dividing revenue (which includes your markup) by inventory at cost makes turnover look better than it is. If you are not sure how to calculate COGS, our COGS guide for online stores walks through it.
- Use the same period for both. A year of COGS with a year’s average inventory, or a quarter with a quarter.
- Average, if you can. Some sources use ending inventory only, which is fine when your stock level is steady. For a store with big seasonal swings, an average of monthly balances is more accurate than an average of two dates.
Example 1: a single-brand store
A skincare store has, for the year:
| Beginning inventory (at cost) | $40,000 |
| Ending inventory (at cost) | $60,000 |
| Cost of goods sold | $250,000 |
- Average inventory: ($40,000 + $60,000) ÷ 2 = $50,000
- Inventory turnover: $250,000 ÷ $50,000 = 5.0
- Days of inventory: 365 ÷ 5.0 = 73 days
On average, a product sits for about two and a half months between landing in the warehouse and being sold.
Example 2: the same store, product by product
Store-wide turnover hides the story. Split by product line, the same store looks like this:
| Product line | Annual COGS | Average inventory | Turnover | Days |
|---|---|---|---|---|
| Cleanser (best seller) | $150,000 | $15,000 | 10.0 | 37 |
| Serums | $80,000 | $20,000 | 4.0 | 91 |
| Gift sets | $20,000 | $15,000 | 1.3 | 274 |
| Total | $250,000 | $50,000 | 5.0 | 73 |
The cleanser turns ten times a year. The gift sets hold 30% of the inventory money but turn barely more than once, and they are the line to reorder less of, bundle or discount. This product-level view is where turnover becomes a decision tool.
Example 3: a seasonal store and monthly averages
A store that stocks up in October and sells through in December can look very different depending on which dates you average. Suppose its inventory at cost was $30,000 at the start of the year and $32,000 at the end, but sat between $60,000 and $110,000 from September to November.
- Averaging only the two dates gives ($30,000 + $32,000) ÷ 2 = $31,000.
- Averaging the 13 month-end balances (the opening balance plus each month’s closing balance) gives a figure much closer to what the store actually held, say $52,000.
With $260,000 of COGS, the two-date average shows a turnover of 8.4; the monthly average shows 5.0. The second number is the honest one: for most of the autumn, far more cash was tied up in stock than the year-end balances suggest. Most accounting software can report inventory balances by month, so use them.
What a high or low turnover means
Higher turnover usually means stock sells quickly, less cash is tied up, and there is less risk of products expiring, going out of style or being damaged in storage. But a very high number can also mean you are under-stocked: if products keep selling out, you are losing sales and turnover is high for the wrong reason.
Lower turnover usually means too much stock for the demand, slow-moving products or products bought in bulk for a discount. It is not always bad: a store that buys a season’s worth of stock before a peak, or keeps a deep catalog on purpose, will have lower turnover by design.
There is no universal good number. Fast-moving, low-cost products turn far more often than high-value or seasonal ones, and comparing across industries misleads. Compare against:
- your own results, period over period;
- the same product line last year;
- similar products in your own catalog.
Turnover and margin together: GMROI
Turnover alone does not tell you whether stock is worth holding. A product that turns slowly but carries a high margin can earn more than a fast seller with a thin one. As AccountingTools puts it, high turnover with a low gross margin can be equivalent to low turnover with a high margin, in terms of return.
Gross margin return on inventory investment (GMROI) puts both in one number:
GMROI = gross profit ÷ average inventory at cost
It shows how many dollars of gross profit each dollar of stock earned in the period. Above 1, the stock earned more gross profit than it cost to hold, on average. For the skincare store, adding sales by line:
| Product line | Sales | COGS | Gross profit | Average inventory | GMROI |
|---|---|---|---|---|---|
| Cleanser | $375,000 | $150,000 | $225,000 | $15,000 | 15.0 |
| Serums | $200,000 | $80,000 | $120,000 | $20,000 | 6.0 |
| Gift sets | $40,000 | $20,000 | $20,000 | $15,000 | 1.3 |
Illustrative figures. The gift sets still return their cost, but each dollar there earns a fraction of what it would earn in cleanser or serum stock. That is the case for moving cash from the slow line to the fast ones.
Things that distort the number
- Inventory valuation method. FIFO, LIFO and weighted average cost can each produce different COGS and inventory balances from the same physical goods, so keep one method consistently.
- Seasonality. A December ending balance after the holidays can be very different from an October balance. Average monthly balances where you can.
- Stock you do not own. Dropshipped or print-on-demand products never sit in your inventory, so leave them out of both COGS and inventory when you measure the stock you do hold.
- Write-offs. Damaged or expired stock you write off lowers inventory, which can make turnover jump without a single extra sale.
How to improve inventory turnover
- Measure by product, not just store-wide. The slowest lines are usually a small part of sales and a large part of inventory.
- Reorder from sales data. Set reorder points from how fast each product actually sells and how long your supplier takes to deliver.
- Order smaller, more often for products with reliable suppliers, even at a slightly higher unit cost, when the cash freed up is worth more.
- Clear slow movers deliberately: bundles with best sellers, targeted email offers to past buyers, or a planned clearance, rather than letting them age.
- Promote what you already have. Email and on-site recommendations can push products with the most days of inventory first. We compare tools that do this in our ecommerce email marketing guide.
- Avoid fixing it by running out. Watch stockouts alongside turnover so a better ratio is not just lost sales.
Reorder points: turning turnover into purchasing
Faster turnover comes from buying closer to actual demand. The standard tool is the reorder point: the stock level at which you place the next order.
Reorder point = (average daily sales in units × supplier lead time in days) + safety stock
The first part covers what you expect to sell while you wait for the order. Safety stock is the buffer for when sales run faster or the supplier runs slower than expected.
Example: the cleanser sells an average of 60 units a day, the supplier takes 14 days to deliver, and you hold 4 days of sales as safety stock.
- Lead-time demand: 60 × 14 = 840 units
- Safety stock: 60 × 4 = 240 units
- Reorder point: 840 + 240 = 1,080 units
When stock falls to 1,080, order. Size the safety stock by how variable sales and delivery really are: a steady product from a reliable supplier needs little; a product that sells in bursts, or comes by sea from overseas, needs more. Recalculate as sales and lead times change, especially before peak season.
Getting the numbers
You need two figures: COGS for the period and inventory at cost at the start and end. Your store platform tracks units, but the cost side lives in your books. A ledger such as QuickBooks Online or Xero, fed by a connector such as A2X that records COGS with each payout, gives you both numbers every month without manual work. We compare those tools in our ecommerce accounting software guide.
Once you have them, calculate turnover monthly or quarterly, and keep a simple table by product line. Trends over a few quarters say far more than any single result.
The bottom line
Inventory turnover is COGS divided by average inventory; 365 divided by the result gives days of inventory. Use costs on both sides, average monthly balances when sales are seasonal, measure by product line, and pair turnover with GMROI so you keep stock that earns its place. Set reorder points from real sales and lead times, compare with your own history rather than other industries, and watch stockouts so a rising ratio means faster sales, not empty shelves.
More for e-commerce: how to calculate COGS, ecommerce accounting software and email marketing for online stores.
Frequently asked questions
What is the formula for inventory turnover?
Inventory turnover = cost of goods sold ÷ average inventory, where average inventory is usually (beginning inventory + ending inventory) ÷ 2 for the period. Use inventory at cost, the same basis as cost of goods sold.
How do I convert inventory turnover into days?
Divide 365 by the turnover ratio for a year. A turnover of 6 means stock sits about 61 days on average before it sells. You can also calculate it directly as average inventory ÷ cost of goods sold × 365.
What is a good inventory turnover ratio?
There is no single good number. Fast-moving, low-cost products turn many times a year, while slow, seasonal or high-value products turn far less. The useful comparison is against your own past periods and against similar products, and a ratio that rises because you keep running out of stock is not an improvement.
Should I use sales or cost of goods sold for inventory turnover?
Cost of goods sold. Inventory is recorded at cost, so dividing sales (which include your markup) by inventory at cost overstates turnover. Use sales only if you also value inventory at selling price, and be consistent.
Sources and updates
Facts in this article were last checked against the official sources below on . Rules and thresholds change, so confirm anything you act on with the official source or a qualified professional. Spot something out of date? Tell us and we will re-check it. How we work: editorial policy.