Tech & AI 2026 E-commerce

AI Sales Forecasting That Cut Stockouts by 47% for an E-commerce Brand

A machine-learning forecasting engine unifying sales, inventory, marketing and weather signals — cutting stockouts 47% and lifting inventory turns from 3.1 to 4.6 in two quarters.

Client: NorthCrest Apparel

-47%
Stockout rate
31% → 12%
Forecast error
3.1 → 4.6
Inventory turns
$1.9M
Revenue recovered
AI Sales Forecasting That Cut Stockouts by 47% for an E-commerce Brand

The Company

NorthCrest Apparel is a direct-to-consumer apparel brand built around accessible everyday fashion: tees, knitwear, denim and seasonal collections sold through its Shopify storefront, two online marketplaces and a small network of retail partners. The company employs roughly 180 people across design, sourcing, marketing, customer care and operations, and it ships tens of thousands of orders per month with pronounced seasonal peaks around back-to-school and the holiday window. Its catalog is deceptively complex for a "simple" apparel brand: around 2,400 active SKUs once every style is multiplied by size, color and fit, and each season introduces hundreds of new variants while retiring old ones.

That combination — high SKU count, fast trend cycles, sharp seasonal spikes — makes inventory the single most financially sensitive part of the business. Every unit ordered too early ties up cash and risks a markdown; every unit ordered too late becomes a stockout, an apology email and a customer who buys from a competitor. NorthCrest's leadership knew this intimately: the founding team had grown the brand from a two-person operation into a mid-market retailer, but the planning process had never evolved beyond the spreadsheets the founders built in the early years.

Where Things Stood

Before Emerson Technology engaged, demand planning at NorthCrest ran on a weekly spreadsheet ritual maintained by three analysts. Every Monday, the analysts exported Shopify order history into a workbook, layered on last year's numbers, adjusted for gut-feel seasonality, and circulated buy plans to the buying team by Wednesday. The process consumed most of each analyst's week, and it was already creaking at the seams: the workbook had grown to dozens of interdependent tabs, and no single person fully understood every formula chain.

Returns made the problem worse in a way the spreadsheets never captured. Apparel returns run high, and NorthCrest's planning workbook treated a returned unit as lost demand rather than future sellable stock, so the team systematically over-bought to compensate for units that were actually coming back. Reconciliation between the Shopify export and the 3PL's warehouse figures happened monthly, by hand, which meant the planners were always steering with at least two-week-old information. During peak season, when decisions compound daily, that lag turned small errors into expensive ones.

The consequences were measurable and painful. Hero SKUs — the top sellers that anchor each collection — went out of stock during nearly every seasonal spike, producing a 28% stockout rate that the finance team estimated at $2.3M in lost sales annually. Meanwhile, slow movers accumulated quietly in the warehouse and forced margin-destroying end-of-season markdowns. Forecast error sat at 31% MAPE (mean absolute percentage error), which is low enough to look respectable on a dashboard and high enough to be commercially useless at SKU level. Because planners could not trust the numbers, the buying team over-ordered defensively, tying up roughly $4.1M of working capital in the wrong sizes and colors — cash that could not fund marketing, product development or new hires.

The Challenge

The challenge was not simply "forecasting is hard." It was the compound effect of three structural problems that reinforced each other. First, the demand signals the company needed already existed but lived in separate systems: three years of Shopify orders here, web analytics there, paid-media spend in an ad platform, promotion calendars in a marketing planner, and nobody joining them together. Second, the forecasting workload was manual, so its cadence was weekly at best — far too slow for demand patterns that shift within days during a promotion or a weather-driven spike. Third, and most corrosive, the organization had lost confidence in its own numbers, so planners layered defensive padding onto every buy, which quietly converted forecast error into excess inventory.

There was a human cost as well. The three analysts who owned the spreadsheets were talented people spending the majority of their week on copy-paste data assembly. Buying meetings started from blank templates rather than system-generated plans, so discussion time went to reconciling whose number was right instead of deciding what to do about it. Any solution therefore had to change not just the math but the daily workflow of the buying team — or it would end up as another dashboard nobody opens.

Discovery and Diagnosis

Emerson Technology began with a two-week discovery sprint across NorthCrest's data landscape, systems and planning rituals. The audit inventoried every potential demand signal and found that the brand already captured an estimated 80% of the inputs a modern forecasting model needs: order history with SKU-level granularity, web traffic and conversion analytics, paid-media spend by channel and campaign, promotion calendars, and — because apparel demand is weather-sensitive — historical local weather for each major shipping region. The data was scattered, but it existed.

The diagnosis also surfaced less obvious blockers. SKU taxonomy was inconsistent: duplicate product codes, inconsistent size labels across channels, and roughly 14% of catalog entries that were orphaned variants no longer in active use. Catalog hygiene, not model sophistication, would cap forecast quality — a finding that shaped the entire rollout. The audit further showed that forecast error was not evenly distributed: it concentrated in promotion weeks and in the tails of the size curve, exactly the places where a naive historical average performs worst. Finally, interviews confirmed the ownership gap — marketing planned campaigns without informing the buying team, and buying planned inventory without visibility into upcoming promotions.

The Solution

Emerson Technology designed and built a unified forecasting pipeline on AWS that turns NorthCrest's fragmented signals into SKU-level demand forecasts and, critically, into decisions a planner can act on. The architecture has three layers.

The data foundation

An ingestion layer pulls three years of Shopify order history, web analytics, paid-media spend, promotion calendars and local weather data into a single feature store. Every signal is normalized to the same SKU-week grain, so a model sees one coherent row per product per week instead of five disconnected exports. The SKU taxonomy was cleaned first — deduplicated codes, canonical size and color labels, orphaned variants archived — because every downstream layer inherits catalog quality. Automated validation checks now flag new data-quality issues before they can contaminate a forecast.

The forecasting ensemble

At the core, an ensemble of gradient-boosted trees and seasonal decomposition models generates SKU-level demand forecasts at 13-week granularity, retrained nightly. The gradient-boosted models capture interactions — a promotion's lift differing by category, a heatwave pulling demand forward on summer weight knitwear — while seasonal decomposition provides a stable statistical baseline that keeps forecasts grounded when patterns drift. Ensembling matters commercially: no single algorithm survives promotion shocks and new-season launches equally well, but a weighted combination degrades gracefully. Every forecast ships with prediction intervals, so the buying team sees not just a number but a confidence band.

The planner experience

A Next.js planning dashboard translates raw model output into weekly buy plans with confidence bands, exception flags and drill-downs from category to SKU. Low-latency APIs push approved replenishment suggestions straight into NorthCrest's ERP, so the forecast becomes an operational instruction rather than a screenshot. Planners now approve exceptions instead of building spreadsheets — the system proposes, the human disposes. This inversion of the workflow, not the model choice, is what made adoption stick: within a month, buying meetings started from the system-generated plan, and the analysts who once assembled workbooks became the people who manage exceptions and tune the model's business rules.

The First 90 Days

The rollout was deliberately narrow at the start. Weeks one and two covered discovery and the SKU taxonomy cleanup. Weeks three through six launched the pilot: forecasts for hero SKUs only — the roughly 20% of products driving 80% of revenue — compared weekly against the legacy spreadsheet process, with both runs visible to the buying team. The pilot built trust the honest way: on hero SKUs, the ensemble's error was visibly lower, especially during a mid-season promotion that the model flagged and the spreadsheet missed.

Weeks seven through ten delivered the planner dashboard and the ERP integration, converting pilot forecasts into approved buy plans and automated replenishment suggestions. Weeks eleven and twelve extended coverage from hero SKUs to the full active catalog and included hands-on training sessions for every planner and buyer. Adoption was treated as an engineering requirement, not an afterthought. Every planner received a 45-minute onboarding session, a one-page playbook describing the exception workflow, and a named contact for questions during the first month. The team agreed on a simple rule for the transition period: when the model and a planner disagreed by more than 20%, the case was logged and reviewed in the weekly buying meeting. That review loop did two things — it caught genuine model blind spots early, and it gave planners visible evidence that the system earned its confidence rather than demanding it. Within six weeks, disagreement logs had thinned to a handful of cases a week, most concentrated on newly launched styles with no sales history, which became the next modeling focus.

By the end of the first quarter the weekly spreadsheet ritual was retired, the three analysts had new exception-management roles, and the organization had a single agreed number to argue with — which, in practice, meant far less arguing.

The Results

Within two quarters, the improvements were unambiguous. The stockout rate fell from 28% to 15% — a 47% reduction — with the largest gains precisely where they mattered most: hero SKUs during seasonal spikes. Forecast error dropped from 31% to 12% MAPE, crossing the threshold where planners stop hedging every buy. Inventory turns improved from 3.1 to 4.6, releasing roughly $1.2M of working capital that had been sleeping in the wrong sizes and colors. The finance team estimates $1.9M in previously lost revenue was recovered in the first two quarters as best-sellers stayed in stock through demand peaks.

MetricBeforeAfter
Stockout rate28%15%
Forecast error (MAPE)31%12%
Inventory turns3.14.6
Revenue recovered-$1.9M

The qualitative changes compounded the quantitative ones. Buying meetings now start from system-generated plans with exceptions flagged, cutting meeting time and moving the conversation from "whose number is right" to "what do we do this week." Markdown pressure eased because slow movers are identified earlier in their lifecycle. The planning team's weekly rhythm shifted from data assembly to decision-making, and the company finally has a forecasting capability that improves every night while the business sleeps.

What Your Business Should Do

The pattern behind NorthCrest's result is repeatable, and none of the steps require a research lab. Start by auditing every demand signal you already own: point-of-sale and e-commerce history, marketing spend, promotion calendars, seasonality and weather. Most companies discover, as NorthCrest did, that 80% of what a model needs already sits in their systems — it simply never gets joined. Next, unify your SKU taxonomy before any modeling begins; deduplicate product codes, sizes and colors into one canonical catalog, because forecast quality is capped by catalog hygiene, not by model complexity.

Prove the concept on hero SKUs only — the 20% of products driving 80% of revenue — and let the narrow scope build organizational trust before widening. Choose an ensemble of methods rather than a single model, combining machine learning with seasonal baselines so the system survives promotion shocks. Retrain on a fixed nightly cadence with drift alerts, because demand patterns move weekly and a model refreshed quarterly is a model quietly going stale. Ship a planner dashboard rather than raw charts: weekly buy plans, confidence bands and exception flags designed around the buying decision. Connect the forecast to replenishment so approved suggestions flow into your ERP automatically — a forecast that requires manual copy-paste will quietly stop being used. Finally, track forecast error and stockout rate side by side in one monthly report leadership actually reviews; what the organization reviews monthly is what it improves quarterly. Work through these eight steps with your team using the action checklist in this practice book, and revisit the reflection questions each quarter to keep the capability honest.

Real-World Proof & Benchmarks

The numbers above are from this project. Here is what publicly reported research and industry leaders say about this approach.

  • McKinsey research reports that AI-driven supply-chain forecasting typically reduces forecasting errors by 20-50% and lost sales from stockouts by up to 65%. — McKinsey & Company
  • Amazon's anticipatory-shipping program showed years ago that predictive models can position inventory before demand peaks, a method now standard across large e-commerce operators. — Reuters, reported 2014
  • Inditex (Zara) credits AI-assisted inventory allocation for its ability to refresh fashion lines in weeks — a benchmark its retail competitors still chase. — Harvard Business Review case coverage

Free download: the Practice Book (fillable PDF)

The complete story plus fillable practice pages — 8 actions with owner and date fields, 6 reflection questions, a 90-day plan and a session sign-off. Type your answers straight into the PDF. No email required.

Download PDF

Ready to be our next success story?

Get a free consultation and a tailored roadmap for your project.

Talk to an Expert

More Tech & AI case studies

View all