Fixed prices, paid once·Written replies within one working day
CheckoutLoom.

Marketing and retentionWin shoppers back

View all marketing →

Support and order careAnswer faster

View all support →

Product contentBetter listings

View all product content →

Inventory and pricingPrices and suppliers

View all inventory →

Finance and riskMoney and disputes

View all finance →

Shopify and WooStore-specific

View all services →

Dropshipping and EtsyMarketplaces and print

View all services →

Explore everything

Pick a way in. Every page has a fixed price and a delivery window.

All services88 automations for storesAll platformsShopify, WooCommerce and moreAll integrations82 tools we connectRequest a quote →

ShopifyStore platform

View all Shopify →

WooCommerceStore platform

View all WooCommerce →

BigCommerceStore platform

View all BigCommerce →

WixStore platform

View all Wix →

AmazonMarketplace

View all Amazon →

EtsyMarketplace

View all Etsy →

eBayMarketplace

View all eBay →

Your platform

Automation built for the store or marketplace you already sell on.

Store platforms8 platformsMarketplaces11 marketplacesAll who we serve363 pagesRequest a quote →

DropshippersSeller type

View all dropshippers →

DTC brandsSeller type

View all dtc brands →

Handmade sellersSeller type

View all handmade sellers →

Subscription boxesSeller type

View all →

B2B and wholesaleSeller type

View all b2b and wholesale →

AgenciesSeller type

View all agencies →

PrintfulPrint-on-demand

View all Printful →

Your kind of store

Pages written for how each type of seller actually works.

Seller types14 types of sellerPrint-on-demand9 platformsPopular audiences20 moreRequest a quote →

Email and SMSKlaviyo, Mailchimp and more

View all email and sms →

Support and chatGorgias, Zendesk and more

View all →

Payments and accountingStripe, QuickBooks and more

View all →

Shipping and suppliersShipStation, DSers and more

View all →

Reviews, ads and creativeJudge.me, Meta Ads and more

View all →

Automation and dataZapier, Make, Sheets

View all →

Marketplace and feed toolsGoogle Merchant, Helium 10

View all →

Works with your tools

We build inside the apps you already pay for.

All integrations82 toolsEmail and SMSKlaviyo, MailchimpPaymentsStripe, QuickBooksRequest a quote →

How-to guidesStep by step

View all 63 how-to guides →

Templates and checklistsCopy and use

View all 68 templates →

ComparisonsTools and options

View all 44 comparisons →

Cost and ROIWhat it costs

View all 34 cost pages →

GuidesLong reads

View all 14 guides →

Compliance and riskRules in plain words

View all →

Glossary and statisticsTerms and numbers

View all 17 →

Learn before you buy

Guides, templates and honest comparisons, free to use.

Resources hub256+ free resourcesBlogPractical articlesStatisticsSourced numbersRequest a quote →
Checkout Loom blog

AI demand forecasting for small stores: is it worth it, and what to try first

When a learned forecast beats a simple average, what data it needs, how to measure accuracy honestly and a staged way to start without buying a platform.

  • 8 minute read
  • Written for store owners
  • Sources named
CopyTimingOffersTests

Every store owner is a forecaster, whether they think so or not. Each time you place an order with a supplier, you are betting on how many units you will sell before the next delivery. Order too few and you run out, losing sales and customers. Order too many and your cash sits in a warehouse, perhaps until the product goes out of season. The cost of getting it wrong is real and recurring, which is why forecasting is one of the most discussed uses of AI in retail.

It is also one of the most oversold. Vendors promise dramatic accuracy gains, and small stores wonder whether they need a machine learning system at all. This guide gives a sober answer. It explains what a demand forecast is, what simple methods achieve, when a learned model genuinely helps, what data it needs, how to measure accuracy without fooling yourself and how to turn a forecast into buying decisions. It follows from the examples in AI in ecommerce: fifteen practical examples and connects to the stock design in inventory sync across sales channels.

What you are really forecasting

A forecast answers a specific question: how many units of this product will customers want over this period? Notice the word want. What you can measure is what you sold, and those two differ whenever you were out of stock. If a product sold out on the tenth of the month, the sales for the last twenty days are zero, but demand was not. A forecast trained on raw sales learns that the product stopped selling, and recommends buying less next time, which makes the next stockout more likely. The first discipline of forecasting is to correct the history for stockouts and to note promotions, so that the model learns demand and not supply.

Distortion in historyWhat it does to a forecastRemedy
Stockout periodsMakes demand look lower than it wasMark those days, estimate demand from neighbours or exclude them
Promotions and discountsCreates spikes that are not baseline demandRecord promotion dates and sizes as separate inputs
Price changesShifts demand without a calendar causeInclude price as an input where you can
New products with no historyNothing to learn fromBorrow from similar products or use a launch plan
One-off bulk ordersA single large buyer distorts the averageFlag and cap outliers
Marketplace changes and adsTraffic moves for reasons outside the productRecord ad spend and channel mix

The baselines every model must beat

Before spending a cent on AI, compute three simple forecasts for each product, because they are cheap and strong. If a clever model does not beat them, it is not worth using.

MethodHow it worksStrengthWeakness
Naive: same as last periodNext week equals last weekCosts nothing; surprisingly hard to beat for stable itemsIgnores trend and season
Moving averageAverage of the last few weeksSmooths noiseLags behind changes
Seasonal naiveSame period last year, scaled by recent trendCaptures yearly patterns with no mathsNeeds a year of clean history
Exponential smoothingWeighted average that favours recent data, with trend and season optionsA classic, robust methodNeeds tuning and handles promotions poorly
Learned model (machine learning)Learns patterns from history and many inputs togetherCan use promotions, price, channel and many products at onceNeeds more data, setup and monitoring

For a small catalogue of steady sellers, a seasonal moving average is often within a few points of a sophisticated model. The advantage of learning grows with the number of products, the strength of promotions and seasons and the cost of an error.

When AI forecasting earns its keep

  • Hundreds or thousands of products. A model that learns across the catalogue can borrow strength between similar items, including new ones.
  • Strong, repeating promotions or events. A model with promotion inputs can tell baseline from lift.
  • Costly errors. Long lead times, expensive inventory or perishable goods raise the value of accuracy.
  • Several channels with different behaviour. A learned model can use channel inputs where a single average cannot.
  • Enough history. Two or more years of clean, consistent data allow seasons to be learned.

If most of these are false for you, start with the simple methods and improve your data. Our AI demand forecasting service includes a baseline comparison for exactly this reason: the first deliverable is a comparison against simple methods on your own history, so that you see whether learning earns its cost before you pay for a full build.

Data checklist before any model

  1. Daily or weekly sales by product and channel for at least two years if you have it.
  2. Stock levels over time, so that stockout days can be identified.
  3. Promotion calendar: dates, discount size and channels.
  4. Price history by product.
  5. Product attributes: category, season, launch date and variants.
  6. Supplier lead times and minimum order quantities.
  7. Returns and cancellations, so that net demand is clear.

Measuring accuracy without fooling yourself

A single accuracy percentage can mislead. The commonest measure, mean absolute percentage error, explodes for slow sellers with small numbers: forecasting two units and selling three is a fifty percent error, though it hardly matters. A weighted error, which divides total absolute error by total sales, treats large sellers as more important and is easier to interpret. Whichever you use, compare against a naive forecast, because the question is whether you are better than doing nothing clever.

MeasureFormula in wordsNotes
Absolute errorThe gap between forecast and actual, ignoring signEasy to explain; depends on scale
Weighted absolute percentage errorTotal absolute error divided by total actual salesStable across products; prefer for catalogues
BiasTotal forecast minus total actualShows whether you over or under forecast on average
Skill against baselineHow much your error is below the naive forecast’s errorThe honest verdict on a model
Service levelShare of demand met without stockoutsThe business outcome you care about

Test on a hold-out period the model has not seen: train on data up to a date, forecast the following weeks and compare with what happened. Repeat for several dates, including peak seasons. A model that wins on easy months and loses on peaks is not what you need.

From forecast to buying decision

A forecast is not a decision. To buy well, combine it with lead times, uncertainty and costs. The classic bridge is the reorder point: the stock level at which you place an order. It equals the expected demand during the lead time plus a safety margin for variation.

InputExample value
Average daily demand12 units
Supplier lead time14 days
Daily variation (standard deviation)4 units
Service level wanted95 percent (a factor of about 1.65)
Demand during lead time12 x 14 = 168 units
Safety stock1.65 x 4 x square root of 14, about 25 units
Reorder point168 + 25 = 193 units

Illustrative numbers. The method assumes demand variation is roughly bell-shaped and independent from day to day; use it as a starting point.

The benefit of a better forecast shows up in these numbers. Improve the demand estimate and the reduced variation lowers the safety stock, which frees cash without raising stockout risk. Better still, a forecast that anticipates a seasonal rise lets you order earlier, before the lead time makes it too late. The alerting side is straightforward once the reorder point exists, and AI purchase order automation drafts the orders for your approval.

A staged way to start

StageWhat you doWhat you learn
1. Clean the historyMark stockouts, promotions and outliers; assemble a weekly sales tableHow noisy and incomplete your data is
2. BaselinesCompute naive, moving average and seasonal forecasts for your top productsHow hard the products are to forecast
3. Back-testCompare accuracy on a hold-out period, including a peakWhich method wins where
4. Add a learned model only where it winsUse it for products or periods where baselines failWhether the extra complexity pays
5. Connect to buyingTurn forecasts into reorder points and draft purchase ordersWhether decisions improve
6. MonitorTrack error and bias monthly and retrain when neededWhen the world changes

A worked example

A store with 400 products and $1.2 million of annual sales holds an average of $180,000 of stock. Out-of-stock events cost it an estimated 3 percent of sales. After cleaning the history and moving from a flat average to a forecast that accounts for season and promotions, it cuts forecast error on its top 80 products by about a fifth. The improved accuracy lets it trim safety stock by perhaps 10 percent, releasing about $18,000 of cash, and reduces stockouts so that lost sales fall from 3 to 2 percent, or about $12,000 a year of revenue, perhaps $4,000 of margin. These figures are illustrative and the gains will differ, but they show the two sources of value: less cash tied up and fewer lost sales. They also show why the baseline comparison comes first; a store whose stock is already well managed will see smaller gains.

Sources and further reading

Figures and rules in this guide come from the primary pages below. Platform limits and prices change, so open the page before you build on a number.

Questions

8 questions readers ask about this topic

Is AI demand forecasting worth it for a small store?

Often a simple seasonal average captures most of the benefit. AI helps with many products, strong promotions or seasons, costly errors and at least two years of clean history.

What data do I need for demand forecasting?

Sales by product and channel, stock levels over time, promotion and price history, product attributes, lead times and returns.

How do I measure forecast accuracy?

Use a weighted absolute percentage error and compare it with a naive forecast on a hold-out period, including peak seasons.

What is the difference between sales and demand?

Sales are what you sold; demand is what customers wanted. When you are out of stock, sales understate demand.

How does a forecast become a reorder point?

Reorder point equals demand during the lead time plus safety stock for variation. A better forecast lowers the safety stock needed.

Can a forecast handle promotions?

Yes, if promotion dates and sizes are recorded as inputs, so the model separates baseline from lift.

What about new products?

With no history, borrow from similar products or use a launch plan, and review weekly.

Should AI place my purchase orders?

It can draft them, but a person should approve until the results are proven.

Test a forecast against your own history first

We compare simple methods and learned models on your data before you commit to a full build.

  • Fixed price, paid once
  • Built inside your tools
  • Thirty days of fixes