Days of Supply & Stockout Date Calculator
Find out how long your current inventory is expected to last and when you may run out of stock based on your sales velocity.
Sales don't stay constant.
This calculator estimates inventory coverage using a historical sales rate. Real demand can change with trends, seasonality and recent sales patterns. Stocksight analyzes your Shopify sales and inventory data to forecast demand, identify products at risk and help determine what to purchase next.
How to calculate days of supply
Days of supply tells you how long your current inventory will last at your normal sales pace. The formula is simple:
Days of supply = Units on hand ÷ Average units sold per day
Your estimated stockout date is today's date plus your days of supply. If your supplier needs time to deliver, subtract the lead time to find the last day you can reorder without running out.
Worked example
You have 600 units on hand and sell an average of 20 units a day. 600 ÷ 20 = 30 days of supply. If today is March 1, you'll run out around March 31. With a 14-day supplier lead time, you need to place your order by March 17.
Weeks of supply
Some teams plan in weeks instead of days. Weeks of supply = Units on hand ÷ Average units sold per week, or simply days of supply ÷ 7. In the example above, 600 units ÷ 140 units a week = about 4.3 weeks of supply.
Tips for an accurate number
Use your last 30 to 90 days of sales, not a single week.
Leave out days when the item was out of stock, or your average will look too low.
Adjust for seasonality and promotions before a busy period.
Track each location separately if you sell from more than one warehouse or store.
Related free tools
Stocksight does this for every product and location in your Shopify store automatically, and tells you what to reorder and when.
Stocksight
Turns your Shopify sales and inventory data into clear purchasing recommendations - so you can avoid stockouts, reduce excess inventory, and make better use of your cash.
© 2026 Stocksight - built by Pixel Perfect Creations.
Demand Forecasting - Purchase Planning - Recommendations
