GMROI, or gross margin return on inventory, is the gross profit your stock earns for each dollar you paid for it: gross profit divided by average inventory at cost. A GMROI of 2 means every $1 of stock brought back $2 of gross profit. In Shopify, two reports hold both numbers.
Say two products each earned $1,200 of gross profit last quarter. One needed $1,000 of stock to do it. The other tied up $6,000. Your profit report shows them level, and only GMROI shows which one works harder for your cash.
What does GMROI mean?
GMROI is the gross profit your stock earns for each dollar you paid for it. Gross profit is your net sales minus what the goods you sold cost you. A profit and loss template shows where it sits among your other costs.
The ratio blends how often your stock sells through, its turnover, with the profit on each dollar of cost. So two products with the same margin can land far apart. It also ranks your products by what each earns for the cash tied up in it.
What is the GMROI formula?
GMROI equals gross profit divided by average inventory at cost, both for the same period.
GMROI = gross profit ÷ average stock at cost
Average stock is the stock's value at cost when the period starts plus its value on the last day, halved. If your stock swings with the seasons, average every month-end instead. Use what the stock cost you, never its selling price.
Say your store earned $18,000 of gross profit in a quarter. Stock at cost was $30,000 when the quarter started and $24,000 on its last day, so the average is $27,000. GMROI is $18,000 ÷ $27,000, or 0.67 for the quarter.
Compare quarter with quarter, because one quarter reads about a fourth of the yearly figure. Four quarters like this one make about 2.7.
How do you calculate GMROI from your Shopify reports?
Gross profit comes from "Gross profit by product" and your stock at cost from "Month-end inventory value". Both leave out any product with no "Cost per item", the box for what one unit cost you. No Shopify report is named GMROI, so you build it from those two and one division.
| What you need | Where in Shopify | What it leaves out |
|---|---|---|
| Gross profit for the period | Analytics, then Reports, with Category set to Profit Margin: "Gross profit by product" | Products with no cost when they sold. The figure is after discounts and refunds. |
| Stock at cost | Analytics, then Reports, with Category set to Inventory: "Month-end inventory value" | Products with no cost per item. It counts On hand units since October 1, 2026. |
| Days of stock left | The same Inventory list: "Products by days of inventory remaining", or the card above your Products list | A product with no sales in the period, which shows N/A. |
- Add a cost to every product. Under Products, open a product and click "Cost per item" in the Price section, then type the cost and save. A product with sizes or colors needs a cost on each one, and a cost added today doesn't reach earlier orders. For a whole catalog at once, use the Shopify bulk editor.
- Open "Gross profit by product" and set the dates. Read the "Gross profit" column, which is an amount of money. The "Gross margin" column is a percentage, so it isn't the number you need.
- Open "Month-end inventory value" and set the dates so they end on the last day of your period. Read the total in the Summary row. Then end the dates the day before your period starts, read it again and average the two. Since October 1, 2026 the report counts On hand units, not Available ones, so units already promised to orders or set aside are in the total.
- Divide the gross profit by the average stock. For the quarter above, $18,000 ÷ $27,000 gives 0.67.
- Do it for each product. Export the profit report, plus the stock report for the day before your period starts and for its last day: click "More actions", then "Export", then "Comma Separated Values (CSV)". Line the files up by product name in a spreadsheet and add up each product's sizes and colors. Then, for each product, divide its gross profit by the average of its two stock totals and sort the lowest first. The inventory spreadsheet template keeps each product's stock value in one column.
Take a mug and a lamp that each earned $1,200 of gross profit in the quarter:
| Product | Gross profit | Average stock at cost | GMROI |
|---|---|---|---|
| Mug | $1,200 | $1,000 | 1.2 |
| Lamp | $1,200 | $6,000 | 0.2 |
The lamp earned the same profit as the mug on six times the cash.
Two things skew your first reading. A period that crosses October 1, 2026 mixes Available units with On hand units, so the result can move for that reason alone. A product with no cost when it sold is left out of gross profit, yet it can enter your stock value once you add a cost, so the first period can read low. After you change a cost, check the report's cost column before comparing months. Shopify lists its other profit and stock reports in the guide to Shopify reports.
Report names and columns from Shopify's Help Center pages on profit reports, inventory reports and cost per item, read November 24, 2026.
What is a good GMROI?
Above 1 means your stock earned back more gross profit than it cost, and what counts as good depends on what you sell. Shopify's guide says it depends on the category and calculates five public retailers from their filings, from 1.82 to 6.08. SPS Commerce says 3.0 or higher is a common aim.
Guides differ, so treat any figure as a rule of thumb. Compare your products with each other and with your own past quarters.
How do you work out weeks of supply?
Weeks of supply is your stock divided by the units you sell in a week, and Shopify's days report gives you the days to divide by 7.
Open "Products by days of inventory remaining", which Shopify's Help Center calls "Inventory remaining per product". It divides each size and color's stock at the end of your dates by the average sold per day over the last 28 days. A size or color with no sales reads N/A.
Divide the days by 7. Take the mug with 14 left, selling 7 a week, and the lamp with 120 left, selling 4 a week. The report shows 14 days for the mug and 210 for the lamp, which is 2 weeks of supply against 30. If a supplier's lead time is 3 weeks, the mug runs out a week before an order placed today arrives. Safety stock and how to know when to reorder cover the buffer and the timing. Ordering so each batch lands as the last units sell is just-in-time inventory.
Units set aside as Unavailable still count as On hand, so check the report's stock against your Inventory page before you trust the weeks. On a store with no recent sales, the whole report reads No data.
What does GMROI leave out?
GMROI misses stockouts, products that exist to draw shoppers in, and what holding stock costs. Read it beside weeks of supply, which shows a product close to running out. A product that sells down to zero can outscore a steady seller, because it needed less stock on the shelf. A low-profit item that brings buyers to a high-profit one may score low on purpose, as a loss leader does. The formula also leaves out your inventory carrying cost, what holding stock costs. And it needs a cost on every product, so your first reading is a rough one.
What should you do when a product has a low GMROI?
A low GMROI is a reason to rethink what you hold, and a high one with few weeks left is a reason to reorder. Order smaller batches next time, use markdown pricing, or pair the product with a seller in a bundle. Stock that stops selling becomes dead stock, so check sell-through, the share of a product's stock that sold, before you cut an order. The mug, with the better GMROI of the two and 2 weeks of supply, is the one to reorder.
Sledge, a Shopify app for search, filters and store analytics, doesn't calculate any of these numbers. Its Signals tab in Sledge Analytics can show two rows that set your stock against recent sales, rebuilt twice a day and not tied to the date range at the top of the page.
"Best seller running low" shows for a product that sold at least 10 units in the last 30 days and has under 7 days of stock left at that pace. It names the units left and about how many days they last. "Stock not selling" shows when 10 or more products with stock sold nothing in 30 days and the store recorded at least one sale in that time. The row carries a "Create a bundle" button.
Sledge counts a product's sizes and colors together, and it uses a 30-day pace against Shopify's 28. It also counts only the purchases it records, so read Shopify's report for a single size or color.
FAQ
Questions, answered
-
14-day free trial
Explore Sledge on your store before you decide to commit.
-
No credit card required
Start improving your store with no upfront commitment.
-
Setup in minutes
Get Sledge running without a lengthy setup process.
-
Built to grow sales
Turn shopper behavior into actions that help you sell more.
What is GMROI?
GMROI stands for gross margin return on inventory. It is your gross profit divided by your average inventory at cost, so a GMROI of 2 means each $1 you spent on stock brought back $2 of gross profit. You can work it out for the whole store or for one product.
What is the GMROI formula?
GMROI = gross profit ÷ average inventory at cost. Gross profit is net sales minus what the goods you sold cost you. Average inventory adds your stock's value at cost at the start and end of the period, then halves it. Use the same period for both numbers.
What is a good GMROI?
Above 1 means your stock earned back more gross profit than it cost. Past that, guides differ: Shopify's says it depends on the category, SPS Commerce says 3 or higher is a common aim. Compare your products with each other and with your own past quarters.
How do you calculate weeks of supply?
Weeks of supply is the stock you have divided by the units you sell in an average week. Shopify's "Products by days of inventory remaining" report gives days: stock divided by the average sold per day over the last 28 days. Divide those days by 7 to get weeks.
Does Shopify show GMROI?
No report is named GMROI, but two hold its parts. "Gross profit by product", under Profit Margin, gives the top number. "Month-end inventory value", under Inventory, gives your stock at cost for the bottom one. Both leave out any product with no cost entered.
Does Sledge calculate GMROI or weeks of supply?
No. Sledge Analytics has no report for GMROI, turnover or weeks of supply, and none for cost or profit. Its Signals tab flags "Best seller running low", with about how many days of stock are left, and "Stock not selling", products with stock that sold nothing in 30 days.
Which of your stock sits unsold?
Sledge doesn't work out GMROI, turnover or weeks of supply, and Sledge Analytics has no cost or profit report. Its Signals tab flags a best seller with less than a week of stock left, and it flags 10 or more products with stock that sold nothing in 30 days, with a button that opens the bundle tools. Try it free for 14 days. Growth Intelligence turns on when you pick a paid plan, and its suggested fixes add up to one dollar figure, labeled Est. potential.