Inventory
AI inventory management means software that forecasts demand, flags when to reorder and drafts the purchase order. It saves the most time on recalculating every product daily and on the paperwork. It fails when lead times slip, promotions distort sales, or nobody checks the maths, so learn the two formulas below and keep an approval step before anything is ordered.
By Vishruth, Founder, Tenpo AI
9 min read

Software can recalculate your reorder point for every product every day and draft the purchase order, and that is where AI inventory tools genuinely help. They fail when a supplier is late, when a promotion inflates your sales rate, or when you never checked the numbers they gave you. If you want to check a product right now, use the free reorder point calculator; the rest of this guide shows the maths behind it.
Key points
“AI inventory management” is three jobs: forecasting demand, setting reorder points, and doing the purchasing work. AI helps most with the first and third.
Reorder point = daily sales x lead time + buffer. Order quantity = daily sales x days of cover wanted - stock on hand - stock on order.
Overseas suppliers change the inputs: lead times are long, vary a lot, and stop for weeks around Chinese New Year (February 6, 2027).
Keep a person on every purchase order until the suggestions have been right for several cycles.
What does AI inventory management actually do?
It bundles three separate jobs, and tools differ a lot in which ones they do well. One commenter in an r/InventoryManagement thread on forecasting for a Shopify store put it simply: forecasting demand, working out safety stock and creating purchase orders are different problems, even when one product sells all three.

Shopify already counts your stock. The hard question is whether what you have will last until the next delivery lands. The second job is plain arithmetic you can do yourself, so we start there.
How do you calculate a reorder point for a Shopify product?
Multiply daily sales by supplier lead time, then add a buffer. Say a product sells 6 units a day, the supplier quotes 10 days, and you keep a 3-day buffer (18 units). The reorder point is 6 x 10 + 18 = 78 units. When stock falls to 78, you order. These numbers are an example; use your own.
Two things break this, and both are changes in the inputs, not counting mistakes.
Sales speed changes. A campaign doubles sales to 12 a day. The reorder point should be 12 x 10 + 36 = 156. If nobody recalculates, you order far too late.
Lead time slips. The supplier takes 17 days instead of 10. At 6 a day, 78 units last 13 days, so you are out of stock for 17 - 13 = 4 days. That is 24 units you could not sell. At $20 gross profit a unit (example figure) it is $480 of profit gone, plus any ad spend sending people to a sold-out page.

A fixed low-stock alert cannot see either problem. An owner in an r/ecommerce thread said their store’s standard “2 items remaining” email fired when the factory lead time was 3 to 4 weeks, so they were already guaranteed to stock out. The replies gave the same fix: base the alert on days of stock left, not units.
How big should the safety buffer be?
Size it from how late your supplier actually is, not from a round number. A simple version is: buffer = (slowest recent delivery - average delivery) x daily sales.
Take the last three deliveries from one supplier: 10, 11 and 17 days. The average is 38 / 3 = 12.7 days. The slowest was 17, so the buffer is (17 - 12.7) x 6 = 26 units, and the reorder point is 6 x 12.7 + 26 = 102 units. At 102, the 17-day delivery arrives just as stock reaches zero. At the old 78, it did not. Our supplier scorecard template keeps this delivery history in one sheet.
This is the slowest-case method. For a statistical buffer that targets a service level, use the safety stock calculator and read the safety stock formula guide.
How much should you order?
Order enough to reach your target stock position, minus what you already have or have coming. Order quantity = daily sales x days of cover wanted + buffer - stock on hand - stock on order, then round up to the case pack or minimum order quantity (MOQ).
Continue the example. Cover wanted is the average lead time plus how long until you will order again, say 12.7 + 30 days. Target position: 6 x 42.7 + 26 = 282 units. You are at the reorder point with 102 on hand and nothing on order, so the order is 282 - 102 = 180 units. With a case pack of 25, round up to 200.
MOQs change the answer. If the supplier’s MOQ is 250, you order 250, which is 70 units over the plan: about 11.7 extra days of cover (70 / 6). At an example $8 unit cost, that is $2,000 of cash instead of $1,600. Decide whether the extra cover is worth the cash before you accept it. The MOQ and order quantity guide goes deeper, and the landed cost guide shows how to price the unit correctly with freight and duty.
What changes when your supplier is overseas?
Lead time gets longer, more variable and more seasonal, so your buffer and your cover both grow. The quoted “10 days” from a domestic supplier becomes a chain of steps, each of which can slip.
Production plus waiting for a container. Factory time, inspection and booking. Example: 25 days.
Ocean freight. One freight guide puts transpacific transit at 14 to 18 days to Los Angeles or Long Beach, and 30 to 40 days to the US East Coast via Panama. Door to door adds 3 to 7 days.
Air freight. The same guide gives 2 to 3 days airport to airport and 5 to 8 door to door, at typically 8 to 12 times the ocean rate per kilogram. It is a rescue tool, not a plan.
Customs, delivery and receiving. Example: 6 days.
With those example numbers a “quick” order is 25 + 16 + 6 = 47 days, not 10. Use your own history, as in the buffer section.
Chinese New Year changes everything in one window. In 2027 it falls on February 6. Sourcing and freight guides, such as this one, describe the official holiday as about February 5 to 12, with factories slowing from mid-January and ramping back up over the following weeks. Estimates vary by source, so ask your supplier for their exact shutdown and restart dates in writing. The Chinese New Year order deadline guide works the dates back from your lead time. One owner in a dropshipping thread on CNY described the two options as ordering extra before the holiday, or pausing ads and putting a delay notice on the store.
Where does AI help, and where does it fail?
AI earns its keep in four places.
Recalculating constantly. A person recalculates when they remember. Software can recompute run rate and days of cover for every product every day from this week’s sales.
Reading more inputs than a sheet. One owner in an r/shopify thread on how to track when to reorder has ChatGPT read a year of sales, adjust for Meta ad spend and holiday bumps, and send a daily list of what to order and how many days of stock remain. Setup took about an hour, they said. Another commenter in the same thread uses spreadsheets plus AI and warns to double-check it, because it has made many mistakes.
Drafting the paperwork. Purchase orders, supplier emails and late-delivery chasers.
Sizing the damage. Knowing a product is low is one thing. Knowing it will leave you 24 units short and put $480 of profit at risk lets you rank problems.
It fails in three others.
Lead times that change. The top comment in that same thread says the hard part is not tracking inventory but accounting for supplier lead time and demand changes. A model learns from past deliveries; it cannot know about a factory delay nobody recorded.
Promotions. Advice from the forecasting thread: let Black Friday inflate your normal reorder point and you overstock for months, so tag promo weeks and review the suggested purchase order before it becomes real.
Cash. A forecast says what you might sell. It does not know your cash position or your supplier’s payment terms.
When you test any tool, use a messy real sample: a fast mover, a slow mover, a promo spike, and a supplier with a long lead time. Check that it shows how each number was reached, that bundles and variants forecast from their components, and that you can review a suggested order before it is sent.
What should you do this week?
List your top ten products by revenue. Shopify’s sales reports give you this. A stockout costs the most here.
Write down real lead times. Order date to shelf date for the last three deliveries per supplier.
Calculate each reorder point and buffer by hand with the formulas above, or paste them into the reorder point calculator.
Set an alert at the reorder point, in days of cover, with Shopify Flow or an inventory app.
Work out the order quantity now, including MOQ and case pack, so cash is ready when the alert fires.
Check Chinese New Year dates with each supplier and decide whether to order early or pause.
Approve every purchase order yourself until the suggestions have been right for several cycles.
Sold-out products keep running ads: see how to stop paying for ads on sold-out products. Replacing Stocky? See Stocky alternatives.
What free tools can do this for you?
You can run the whole routine without paying for software.
Tip 1: start with ten products, not the catalog.
Tip 2: track days of cover (stock / daily sales), not units.
Tip 3: use a 28-day sales average for the daily rate, and rebase it for peak season from last year’s peak.
Tip 4: keep real lead times per supplier in a sheet, updated at every delivery.
Tip 5: store MOQ, case pack and unit cost next to each product so order quantity is a formula.
Tip 6: backtest. One owner suggested testing reorder points against what actually happened last year and picking the lowest one that would have avoided most stockouts.
Paste this into ChatGPT or Claude along with a sales export and your delivery history:
I run a Shopify store. Attached are my last 90 days of orders by product and my last three delivery times per supplier, in days.
For my top 10 products by revenue, calculate: daily sales over the last 28 days; days of stock left from the on-hand numbers I give you; average lead time and slowest lead time per supplier; buffer = (slowest - average) x daily sales; reorder point = daily sales x average lead time + buffer.
Then, for products at or below the reorder point, calculate order quantity = daily sales x (average lead time + 30 days) + buffer - stock on hand - stock on order, rounded up to the case pack I give you.
Show every formula with the numbers substituted, flag any product where lead time varies by more than 5 days, and do not invent figures I did not supply.
A free Claude skill that runs the reorder check is available to download as a zip. For open-source options, InvenTree (MIT) handles stock and purchase orders, ERPNext (GPL-3.0) is a full ERP, statsforecast (Apache 2.0) provides forecasting models in Python, and n8n (Sustainable Use License, source-available) can schedule the nightly calculation and send you the alert.
Where Tenpo fits
Tenpo is our product, so weigh this accordingly. Otto, the operations employee, reads stock cover for each product, open purchase orders and your suppliers’ promised dates, and works out how many units you would be short and how much revenue and profit is exposed if a delivery runs late. It drafts the reorder, the purchase order and the supplier follow-up. Nothing is sent until you approve it, and supplier email goes from your own mailbox. Tenpo connects to Shopify today, and promo weeks and Chinese New Year timing stay your call. Plans are $79 a month for one store and $199 a month for up to three. You can try Tenpo or see the plans.
Related
Sources
r/shopify: How do you actually keep track of when to reorder inventory?
r/InventoryManagement: Looking for inventory forecasting for Shopify
r/ecommerce: Woo’s low stock alert ignores our supplier’s 4-week lead time
r/AutomateShopify: How do you decide how much inventory to order?
r/dropshipping: How do you manage orders during Chinese supplier holidays?
GitHub license pages for InvenTree, ERPNext, statsforecast and n8n









