AI Auto-Markdown: Smart Pricing for Perishables
When should you discount expiring stock — 30 days? 15? 7? AI analyzes your sales velocity to time markdowns perfectly and recover maximum value.
The markdown timing dilemma that costs retailers lakhs every year
Every retailer with perishable products faces the same pricing decision, and most of them get it wrong in one of two predictable directions.
Mark down too early and you sacrifice margin unnecessarily. That curd with 5 days of shelf life might have sold at full price if you'd waited — but you panicked and slapped a 20% discount on it today, giving up margin on a product that had plenty of selling time left. Do this across dozens of SKUs and you're training customers to wait for discounts. You're also leaving money on the table that you didn't need to leave.
Mark down too late and the product expires. That same curd, held at full price until the day before expiry, now needs a 50% discount to move — and even then, many customers won't buy dairy with one day left. What doesn't sell gets binned. Total revenue: zero. Total cost: full purchase price. This is the more expensive mistake, and it's the more common one, because humans are naturally optimistic about future sales and naturally resistant to reducing prices on products they paid full price for.
The optimal markdown moment lives somewhere between these two extremes, and it's different for every product, every store, every day of the week, and every season. Finding it manually — through gut feel, through experience, through habit — is possible but inconsistent. This is exactly the kind of problem where algorithmic analysis can outperform human intuition, not because the algorithm is smarter, but because it can process more variables simultaneously and apply them consistently.
Not sure how much you're losing to expiry?
Run a free inventory waste audit — find your bleeding SKUs in 60 seconds. No sign-up required.
Run free auditWhat AI-powered markdown pricing actually does
Let's strip away the marketing language and describe the mechanism plainly.
An AI markdown system looks at three categories of data for each product approaching its expiry window:
Historical sales velocity. How fast does this product typically sell? Not on average across the year, but specifically: how fast does it sell on Tuesdays, in February, in this store? Sales velocity varies by day of week, season, weather, nearby events, and other factors. A good model captures these patterns from your own historical sales data.
Current inventory position. How many units do you have, across how many batches, with what expiry dates? If you have 40 units of paneer expiring in 4 days and your average daily sales are 12 units, the math says you'll sell 48 units in that window — you're fine at full price. But if your average daily sales are 8 units, you'll only sell 32 units and 8 will expire. The system catches this discrepancy and recommends action.
Price elasticity. How much does demand increase when you reduce the price? If a 20% discount on near-expiry curd increases sales volume by 50%, that's a profitable markdown. If it only increases volume by 10%, the discount is destroying margin without adequately accelerating sell-through, and you'd be better off trying a deeper discount on fewer days or returning the product to the supplier.
The system combines these three inputs and outputs a recommendation: "Reduce price on paneer SKU X by 30% starting Thursday. Estimated sell-through: 90% of remaining stock. Estimated revenue recovery: ₹2,800 versus ₹0 if held at full price until expiry."
That's it. No magic. No mysterious black box. Just math applied to your own data, at a speed and consistency that a human manager cannot match across hundreds of SKUs.
Tiered markdowns: the 30-50-75 approach
The most effective AI markdown systems don't apply a single discount and hope for the best. They implement tiered markdowns — a sequence of increasing discounts timed to the product's remaining shelf life. Here's how this typically works, using a product with a 10-day shelf life as an example:
Tier 1: The early signal (5-7 days before expiry)
A modest discount — typically 15-30% — applied when the system detects that current sales velocity won't clear the stock before expiry. This first markdown serves two purposes: it accelerates sales slightly, and it signals to price-sensitive customers that a deal is available. At this stage, the product still has enough shelf life that most customers will buy it without hesitation.
Example math: You have 30 units of yogurt at ₹45 each, expiring in 6 days. Daily sales at full price: 3 units (18 over 6 days, leaving 12 to expire). Apply a 25% discount (₹34/unit): daily sales increase to 5 units (30 over 6 days). All stock sells. Revenue: ₹1,020 instead of ₹810 from full-price sales plus ₹0 from the 12 expired units. Net gain: ₹210 plus the avoided waste.
Tier 2: The acceleration (2-4 days before expiry)
If stock remains after the first markdown (because the early discount wasn't enough, or because the product category has lower price sensitivity), the system recommends a steeper discount — typically 40-50%. At this point, the goal shifts from "protect margin" to "recover cost." You're no longer trying to make a profit on these units; you're trying to avoid a total loss.
Example math: 10 units of yogurt remain, now 3 days from expiry. At the Tier 1 price of ₹34, daily sales are 3 units (9 over 3 days, leaving 1 to expire). Increase discount to 50% (₹23/unit): daily sales jump to 5 units. All remaining stock clears. Revenue: ₹230. The product cost was ₹30 per unit, so you're recovering ₹230 on ₹300 of product cost. Not profitable, but dramatically better than ₹0.
Tier 3: The last chance (final day)
For products still in stock on the last viable selling day, a deep discount — 60-75% — gives the product one final push. At this stage, every unit sold is pure recovery. Every unit unsold is pure waste. The economics favour aggressive pricing.
Example math: 3 units remain on the final selling day. Original price: ₹45. Tier 3 price: ₹12 (75% off). If all 3 sell, you recover ₹36 on ₹90 of cost. You've lost ₹54. But without the markdown, you'd lose ₹90. The markdown saved ₹36. Across hundreds of products over a year, these final-day saves add up to meaningful money.
The full picture
Across all three tiers, the 30 units of yogurt might generate approximately ₹1,250 in total revenue. Without any markdown strategy, selling only what moves at full price and discarding the rest, total revenue might be ₹810. The tiered approach recovers an additional ₹440 — roughly 54% more revenue from the same inventory.
Scale this across a store with 50-100 perishable SKUs and the annual difference can run into several lakhs. Industry estimates suggest that well-implemented markdown programs recover 20-40% of what would otherwise be waste revenue. For a mid-size grocery store doing ₹15-20 lakhs per month, that can translate to ₹1.5-3 lakhs per year in recovered revenue.
Why human-managed markdowns underperform
Store managers make markdown decisions every day. Many of them are experienced, knowledgeable about their customers, and genuinely motivated to reduce waste. So why does algorithmic markdown consistently outperform manual markdown?
Consistency. A human manager makes good decisions when they're focused, well-rested, and not dealing with three other crises. An algorithm makes the same quality decision at 5 AM and 5 PM, on Monday and Saturday, during Diwali rush and quiet February mornings. The variance in decision quality is zero.
Coverage. A manager with 200 perishable SKUs cannot evaluate each one individually every day. They focus on the high-value items, the ones they remember, the ones that are visually obvious. The algorithm evaluates every SKU, every batch, every day. The ₹25 packet of buttermilk gets the same analytical attention as the ₹200 block of cheese.
Speed. The analysis that an algorithm performs in seconds — checking historical sales patterns, calculating sell-through probability, determining optimal discount depth — would take a human 10-15 minutes per SKU. For 50 SKUs needing markdown evaluation, that's 8-12 hours of analysis. No manager has that time. So they approximate, which means they sometimes mark down too much, sometimes too little, and sometimes forget entirely.
Emotional detachment. This is the subtle one. Humans have a psychological aversion to marking down products they purchased at full price. It feels like admitting a mistake. An algorithm has no ego. If the math says a 40% discount is optimal, it recommends 40%. A human might recommend 20% because 40% "feels like too much" — and then throw the product away when it expires, which is effectively a 100% discount that nobody chose.
The honest limitations of AI markdown
AI markdown systems are not perfect, and pretending they are would be dishonest. Here are the real constraints:
They need historical data to work well
An AI model trained on your sales data gets better over time. But at the start — the first few weeks or months — it doesn't have enough data about your specific store, your customers, and your product mix to make optimal recommendations. Early recommendations will be based on general category benchmarks (e.g., "dairy products in stores of this size typically have this price elasticity"), which are directionally correct but not precise. The system improves as it accumulates your specific data. Expect 2-3 months before the recommendations feel genuinely tailored.
They don't work well for new products
If you introduce a new SKU that the system has never seen, it has no sales history to analyse. It can estimate based on similar products in the same category, but those estimates are rough. For new products, human judgment about markdown timing is often as good as or better than algorithmic recommendation. The system adds value once the product has been in your store long enough to establish a sales pattern — typically 4-8 weeks.
They can't account for everything
Weather, local events, competitor promotions, construction blocking your storefront, a viral social media post about your store — these factors affect sales and they're not captured in historical sales data. A sudden 40-degree heatwave will spike demand for cold dairy products in ways the model didn't predict. The system's recommendation might say "this lassi won't sell through" when in reality the heat is driving customers in droves. Good systems allow manual overrides for exactly these situations.
They require accurate inventory data
The model can only make recommendations based on what it knows. If your inventory records are inaccurate — if the system thinks you have 30 units but you actually have 50 because deliveries weren't logged promptly — the markdown recommendation will be based on the wrong starting point. AI markdown amplifies the quality of your inventory data, for better or worse. Garbage in, garbage out remains true regardless of how sophisticated the algorithm is.
They don't eliminate waste entirely
Even a perfect markdown system can't sell every unit. Some products simply don't move even at deep discounts — perhaps there's a quality issue, or customer preferences have shifted, or the product was over-ordered by such a wide margin that no realistic discount can clear it in time. AI markdown reduces waste significantly but doesn't eliminate it. Based on retail research, a reasonable expectation is a 30-50% reduction in expiry waste, not zero waste.
The customer psychology angle
There's an interesting side effect of well-managed markdowns that goes beyond the direct financial recovery: customer loyalty.
Customers who discover genuinely good deals on near-expiry products — products that are perfectly fine to consume but discounted because their shelf life is limited — often become more loyal to the store. They appreciate the transparency ("this curd expires in 2 days, so we've discounted it 40%") and the savings. Some stores have built a dedicated customer segment around near-expiry deals — a WhatsApp group, a dedicated shelf section, an end-of-day discount hour.
The opposite — customers finding expired products on your shelf — has a dramatically negative effect on trust. A proactive markdown system that moves near-expiry products before they become expired products is also a customer experience improvement. The absence of expired products on your shelves is a form of quality assurance that customers notice, even if unconsciously.
The difference between rules-based and AI-driven markdowns
It's worth distinguishing between two approaches that often get conflated:
Rules-based markdowns follow fixed rules: "Any product within 3 days of expiry gets a 30% discount." These are better than no system at all, but they treat every product the same way. A fast-selling product that would sell through at full price gets unnecessarily discounted. A slow-selling product that needs a 50% discount only gets 30% and expires anyway. Rules don't adapt to actual sales patterns.
AI-driven markdowns adjust the discount depth and timing based on the specific product's sales velocity, the current inventory level, the day of week, and historical patterns. They might recommend no discount at all for a fast-mover and a deep discount for a slow-mover, even if both products have the same days-to-expiry. This product-specific optimization is where the additional value lies compared to simple rules.
Most modern systems start with rules-based logic and layer AI optimization on top as data accumulates. This gives you immediate improvement from day one (rules are better than nothing) with progressive improvement over time (AI refinement makes the rules smarter).
Making it work in practice
If you're considering AI-powered markdown for your store, here's a practical implementation path:
Start with data collection. Before the AI can recommend anything, it needs your sales history — ideally 3-6 months of transaction data including timestamps, quantities, and prices. If you're already using a POS system that records this, you have the data. If you're billing manually, this is the first gap to close.
Define your product categories. Not all perishables are equal. Milk with a 3-day shelf life needs a different markdown strategy than ghee with a 6-month shelf life. Set up categories with appropriate markdown windows and discount tiers.
Establish markdown authority. Who can execute a markdown? If only the store owner can change prices, and the store owner isn't there at 5 PM when the end-of-day markdowns need to happen, the system's recommendations go unexecuted. Empower someone on the floor to act on markdown recommendations within defined limits.
Communicate transparently with customers. "Reduced for quick sale — expires in 2 days" is honest, appreciated, and effective. Don't try to hide that the product is near expiry. Customers who feel informed make purchases they're satisfied with. Customers who feel tricked don't come back.
Measure and iterate. Track three numbers monthly: total markdown revenue (what you recovered through discounts), total waste cost (what expired despite your efforts), and markdown as a percentage of perishable revenue. The first number should go up, the second should go down, and the third should stabilize at a level that reflects the healthy balance between margin protection and waste prevention.
ShelfLifePro includes AI-powered markdown recommendations that analyse your sales patterns and suggest optimal discount timing and depth for near-expiry products. The system improves as it learns from your data — but we're honest about the ramp-up period. It's not magic on day one. It's math that gets better over time, built into a workflow your staff can actually follow.
See what batch-level tracking actually looks like
ShelfLifePro tracks expiry by batch, automates FEFO rotation, and sends markdown alerts before stock expires. 14-day free trial, no credit card required.