Tariff volatility is hitting retail margins and availability. Here’s how AI demand forecasting and pricing optimization help retailers stay stable and protect growth.

Tariff Whiplash: AI Playbook for Retail Stability
A 28% average effective tariff rate is the kind of number that doesn’t stay on a spreadsheet. It shows up in slower replenishment, surprise cost increases, and the awkward moment when a loyal customer can’t find the product they came for.
That’s the backdrop retailers have been operating under throughout 2025: a rapid-fire sequence of tariff announcements, pauses, reversals, court challenges, and category-specific duties (from steel to furniture to prescription drugs). If you run merchandising, supply chain, e-commerce, or pricing, you already know the real issue isn’t one tariff. It’s the unpredictability.
This post is part of our “AI in Retail and E-Commerce” series, where we focus on practical ways retailers (including teams across Ireland balancing UK/EU/US exposure) use AI for pricing optimization, demand forecasting, customer behavior analysis, personalized recommendations, and omnichannel experience. Here’s my stance: tariff volatility is exactly the kind of messy, fast-changing environment where AI earns its keep—if you implement it with discipline.
The real retail problem isn’t tariffs—it’s volatility
Tariffs hurt margins, but volatility breaks operations. When policy changes weekly, the downstream effects are brutal: purchase orders are placed on old assumptions, allocation logic sends scarce inventory to the wrong stores, and promotional calendars become liabilities.
The 2025 timeline illustrates why planning got so difficult:
- Early-year threats and rapid pauses (Mexico/Canada); fast escalation with China.
- April’s extreme swings, including a temporary universal 10% tariff approach (excluding China) and a spike that put China-related totals as high as 145% before later rollbacks.
- Summer’s “letter” approach to new country rates, creating a rolling schedule of uncertainty into August.
- Category-focused actions later in the year (furniture, kitchen cabinets, semi trucks, prescription drugs) that hit specific retail sectors unevenly.
- Ongoing court battles over authority, meaning the policy itself could change with legal decisions.
For retail leaders, the practical question becomes:
How do you run pricing, forecasting, and fulfillment when your landed cost can change faster than your planogram cycle?
AI helps, not because it predicts politics, but because it reduces decision latency when inputs change.
AI demand forecasting under tariff shocks: what to model differently
Answer first: Demand forecasting during tariff shocks works when you treat tariffs as drivers of availability, price, and substitution, not as a single binary feature.
Most forecasting failures I see come from assuming demand is “normal” and cost is “the finance team’s problem.” Under tariff disruption, demand changes because:
- Customers trade down (smaller pack sizes, cheaper brands)
- Shoppers switch channels (online for assortment; store for immediacy)
- Promo sensitivity spikes when households feel squeezed
- Stockouts rewrite behavior (customers learn new substitutes)
What to feed your models (beyond last year’s sales)
If you’re using machine learning for demand forecasting, your best lift often comes from better features, not fancier algorithms. Under tariff volatility, prioritize:
- Landed cost signals (estimated cost bands, not just final invoice cost)
- Lead time variability (port delays, supplier confirmation lags)
- Price change cadence (how often you’ve repriced an SKU in the last 30/60 days)
- Stockout and “ghost stock” indicators (inventory accuracy becomes a demand predictor)
- Substitution graphs (what customers buy when SKU A isn’t available)
- Search and browse intent from e-commerce (rising intent + low availability = imminent conversion loss)
The forecasting goal shifts: from precision to decision quality
During stable periods, teams obsess over MAPE improvements. During disruption, the better KPI is:
- Service level achieved for priority SKUs
- Lost sales avoided due to earlier reallocation
- Margin protected through smarter promo decisions
A “good enough” forecast delivered daily can outperform a “perfect” forecast delivered monthly.
Real-time pricing optimization when costs jump overnight
Answer first: The safest pricing response to tariffs is not blanket price hikes—it’s AI-guided, rule-governed price moves that protect margin where demand is inelastic and defend volume where customers are ready to switch.
Retailers tend to make two mistakes under tariff pressure:
- Across-the-board increases that punish price-sensitive categories and drive churn.
- Delayed increases that protect short-term revenue but quietly destroy margin.
AI pricing optimization is useful because it can recommend SKU-level actions based on elasticity, competition, and inventory risk.
A practical pricing framework (that won’t blow up trust)
I’ve found pricing works best when you combine ML recommendations with hard constraints:
- Guardrails: max % change per week, min price endings, brand/price ladder rules
- Elasticity-aware moves: raise where customers don’t switch; hold where they do
- Inventory-aware moves: don’t discount items with supply risk; clear items at tariff-risk before the cost hits
- Competitor-aware moves: if you’re in a price-matched market, model the likely competitor response
Where AI adds immediate value
Use AI to generate a daily (or near real-time) queue of:
- SKUs with margin at risk (cost up, price stale)
- SKUs with demand at risk (price up, conversion dropping)
- Categories with substitution pressure (private label likely to benefit)
Even a lightweight system can outperform manual pricing when the tariff environment changes by the week.
Omnichannel inventory: using AI to keep shelves and carts filled
Answer first: Omnichannel resilience comes from dynamic allocation and smarter substitution, not from trying to keep everything in stock.
Tariff swings create two classic omnichannel problems:
- Misallocated scarcity: product exists, but it’s in the wrong place (or channel).
- Assortment gaps: you have demand, but the supply pipeline can’t refill.
AI can help you make faster, less emotional decisions about where inventory should go.
Dynamic allocation that reflects customer value
Modern allocation models can optimize across channels by weighing:
- Probability of sale by location/channel
- Customer lifetime value (CLV) impact of a stockout
- Fulfillment cost-to-serve (ship-from-store vs. warehouse)
- Contractual obligations (marketplaces, wholesale partners)
The key is to agree internally on a principle like:
“When inventory is constrained, allocate to where the stockout hurts the relationship most.”
That might be your top-tier loyalty base, your highest-repeat category, or a region with fewer substitutes.
Substitution that feels helpful, not spammy
Personalized recommendations are often pitched as revenue boosters. Under disruption, they become a service recovery tool:
- Offer in-stock alternatives with similar attributes (size, compatibility, dietary needs)
- Highlight “good/better/best” options to preserve the price ladder
- Adapt substitutions by customer behavior (brand-loyal vs. deal-seeking)
Done right, this reduces “dead-end sessions” in e-commerce and lowers store frustration.
Scenario planning: the AI workflow retail teams actually use
Answer first: The winning pattern is “human sets scenarios, AI runs the math.” Your team shouldn’t guess the future; it should prepare for a few plausible futures.
The 2025 tariff timeline shows why a single annual plan is fragile. Instead, build 3–5 scenarios that reflect how tariffs tend to change:
- Base case: tariffs remain at current rates for 90 days
- Escalation case: a targeted category jumps (e.g., furniture, kitchen cabinets)
- De-escalation case: a bilateral pause reduces a major corridor for a quarter
- Legal reversal case: court decisions force rapid unwind or reissue
What to simulate (and what decisions it should drive)
Run scenarios that output decisions, not just charts:
- Price actions: which SKUs need immediate changes, which can wait
- Assortment edits: which fringe SKUs to pause, which substitutes to expand
- Supplier mix shifts: nearshoring vs. alternate country sourcing vs. domestic
- Promo calendar changes: what to pull, what to re-message, what to bundle
- Working capital impact: inventory buys that are smart vs. panic buys
A clean rule: if a scenario doesn’t change a decision, it’s not a useful scenario.
“People also ask” (quick answers your team will need)
How fast should retailers reprice during tariff changes?
As fast as your customer trust can handle. Weekly cadence is common during volatility, with tight guardrails and clear internal approvals.
Is AI pricing optimization safe for brand perception?
Yes—if you implement constraints (max changes, price ladders, promo rules) and audit outcomes. Unconstrained automation is what creates brand risk.
What’s the first AI use case to prioritize under tariff uncertainty?
Start with demand forecasting + inventory risk detection for your top revenue and top frustration SKUs. Pricing comes next once cost signals are reliable.
What I’d do next (a practical 30-day plan)
If you’re a retail or e-commerce leader trying to stabilize performance into early 2026 planning, here’s a realistic sequence:
- Stand up a “tariff impact feed” inside your data stack (cost estimates, supplier lead time changes, category flags).
- Create an at-risk SKU list (top sellers + high substitution pain + long lead time).
- Run weekly scenario reviews with merchandising, supply chain, and e-commerce in the same room.
- Pilot AI-driven recommendations in one category: pricing suggestions, allocation suggestions, and substitution content.
- Measure outcomes that matter: service level, lost sales, margin, and customer complaints—not just model accuracy.
Tariff turbulence has been the storyline of 2025. Retailers that treat it as a one-off event will keep reacting. Retailers that build AI-backed sensing and response loops will keep trading.
If you had to choose one area to get “response-ready” before the next policy swing—pricing, forecasting, or omnichannel allocation—which one would you bet your next quarter on?